You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting ROCM_ROOT via hipconfig --rocmpath can cause compatibility issues if /opt/rocm/ changes due to updates.
DeePMD-kit Version
devel
Backend and its version
tensorflow14, ROCM
Python Version, CUDA Version, GCC Version, LAMMPS Version, etc
No response
Details
When the ROCM_ROOT environment variable is set, its value is automatically inferred by executing hipconfig --rocmpath. This command typically resolves the path to /opt/rocm/. However, this behavior can lead to compatibility issues if the contents of /opt/rocm/ are altered due to updates or changes on the server, such as discussed (#2523 (reply in thread)).
The text was updated successfully, but these errors were encountered:
This small commit closes issue #4149 by checking if `rocm_root` is not
set, and then inferring it from `rocm_path`, if it exists.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Enhanced flexibility in retrieving the ROCM root directory by checking
both `ROCM_ROOT` and `ROCM_PATH` environment variables.
- Updated installation documentation to clarify the fallback mechanism
for locating the ROCM toolkit, ensuring users have clear guidance on
configuration options.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Signed-off-by: Sigbjørn Løland Bore <31211370+sigbjobo@users.noreply.github.com>
Summary
Setting ROCM_ROOT via
hipconfig --rocmpath
can cause compatibility issues if/opt/rocm/
changes due to updates.DeePMD-kit Version
devel
Backend and its version
tensorflow14, ROCM
Python Version, CUDA Version, GCC Version, LAMMPS Version, etc
No response
Details
When the ROCM_ROOT environment variable is set, its value is automatically inferred by executing
hipconfig --rocmpath
. This command typically resolves the path to/opt/rocm/
. However, this behavior can lead to compatibility issues if the contents of/opt/rocm/
are altered due to updates or changes on the server, such as discussed (#2523 (reply in thread)).The text was updated successfully, but these errors were encountered: