Without a valid MIGraphX cache dir, ONNX Runtime's MIGraphX EP reads an uninitialized cache path and crashes on the first query rather than just recompiling on every restart -- confirmed by hand while verifying the rocm backend. Previously commented out as an opt-in perf tweak; it's actually required for the rocm backend to work at all, so bakery-installed systems need it set by default. No-op for cpu/npu/cuda backends. Version bump: breadmill 0.2.1 -> 0.2.2.
20 lines
668 B
Desktop File
20 lines
668 B
Desktop File
[Unit]
|
|
Description=Breadmill semantic search indexer
|
|
Documentation=https://github.com/breadway/breadsearch
|
|
After=default.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
# Required (not just a perf tweak) when backend = "rocm": without a valid
|
|
# cache dir, ONNX Runtime's MIGraphX EP reads an uninitialized cache path and
|
|
# crashes on the first query instead of just recompiling every restart. Inert
|
|
# for cpu/npu/cuda backends. See README.md#gpu-backend-notes.
|
|
Environment=ORT_MIGRAPHX_MODEL_CACHE_PATH=%h/.cache/breadsearch/migraphx-cache
|
|
ExecStart=%h/.cargo/bin/breadmill
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
|
|
[Install]
|
|
WantedBy=default.target
|