service_manager: ONNX Runtime auto-install (hero_voice / hero_embedder / hero_editor) #94
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_router#94
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Tracked from #90.
The upstream nu modules for hero_voice / hero_embedder / hero_editor each install
libonnxruntime.so.1.25.1into~/hero/bin/alongside the binaries (download from the Forgejo release or microsoft/onnxruntime upstream). This is a runtime prerequisite — the binaries crash at startup without it.The v2 ports declare ORT presence implicitly (e.g. hero_editor sets
ORT_DYLIB_PATH) but do NOT install the .so. Operator must runservice_voice install_ortonce beforeservice start.Fix: add an
install_orthelper inservice_manager::lib(downloadslibonnxruntime.so.<ver>from upstream or forge), and have each ONNX-using service'sinstallcall it as a prerequisite step.Code-not-data design means each service decides whether to install ORT in its
installbody.Limitation:in: hero_voice.rs, hero_embedder.rs, hero_editor.rs.