Skip to content

fix(runner): prioritize ROCm libraries across pretrain launchers#649

Merged
WangLingxun merged 3 commits intomainfrom
fix/rocm-ld-library-path-priority
Apr 13, 2026
Merged

fix(runner): prioritize ROCm libraries across pretrain launchers#649
WangLingxun merged 3 commits intomainfrom
fix/rocm-ld-library-path-priority

Conversation

@WangLingxun
Copy link
Copy Markdown
Collaborator

Keep /opt/rocm/lib ahead of system library paths in the base env, AINIC hooks, and legacy run_pretrain flow so rocm/primus:v26.2 does not load an incompatible HSA runtime. Add shared path helpers to dedupe LD_LIBRARY_PATH updates while preserving user-provided entries.

Keep /opt/rocm/lib ahead of system library paths in the base env, AINIC hooks,
and legacy run_pretrain flow so rocm/primus:v26.2 does not load an incompatible
HSA runtime. Add shared path helpers to dedupe LD_LIBRARY_PATH updates while
preserving user-provided entries.
Xiaoming-AMD
Xiaoming-AMD previously approved these changes Apr 10, 2026
Xiaoming-AMD and others added 2 commits April 10, 2026 15:46
Resolve AINIC hook conflicts by keeping the new hook-based flow and preserving ROCm-first LD_LIBRARY_PATH handling with deduplicated path updates.
@WangLingxun WangLingxun merged commit 32340be into main Apr 13, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants