Skip to content

Commit

Permalink
[ROCm] Add excluded libs for ROCm python package (#19586)
Browse files Browse the repository at this point in the history
The rocm lib version has changed in rocm 6.0

Using libs packaged in whl might cause errors. 
For example, `libamdhip64.so.6` packaged in whl will cause compute error
when training gpt2 model.

The root cause still in investigating.
  • Loading branch information
PeixuanZuo authored Feb 22, 2024
1 parent 8354329 commit 05ed89f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,18 +205,23 @@ def run(self):
rocm_dependencies = [
"libamd_comgr.so.2",
"libamdhip64.so.5",
"libamdhip64.so.6",
"libdrm.so.2",
"libdrm_amdgpu.so.1",
"libelf.so.1",
"libhipfft.so.0",
"libhiprtc.so.5",
"libhiprtc.so.6",
"libhsa-runtime64.so.1",
"libMIOpen.so.1",
"libnuma.so.1",
"librccl.so.1",
"librocblas.so.3",
"librocblas.so.4",
"librocfft.so.0",
"libroctx64.so.4",
"librocm_smi64.so.5",
"librocm_smi64.so.6",
"libroctracer64.so.4",
"libtinfo.so.6",
"libmigraphx_c.so.3",
Expand Down

0 comments on commit 05ed89f

Please sign in to comment.