mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
[aarch64] add libcufile for cu126 and cu128 (#148465)
seeing ` File "/usr/local/lib/python3.12/site-packages/torch/__init__.py", line 411, in <module> from torch._C import * # noqa: F403 ^^^^^^^^^^^^^^^^^^^^^^ ImportError: libcufile.so.0: cannot open shared object file: No such file or directory` with arm cu128 nightly. related to https://github.com/pytorch/pytorch/pull/148137 need to copy the dependency for arm build as well Pull Request resolved: https://github.com/pytorch/pytorch/pull/148465 Approved by: https://github.com/atalman, https://github.com/abhilash1910
This commit is contained in:
committed by
PyTorch MergeBot
parent
3d62e81a1e
commit
5a5ac98918
@ -99,10 +99,14 @@ def update_wheel(wheel_path, desired_cuda) -> None:
|
||||
if "126" in desired_cuda:
|
||||
libs_to_copy += [
|
||||
"/usr/local/cuda/lib64/libnvrtc-builtins.so.12.6",
|
||||
"/usr/local/cuda/lib64/libcufile.so.0",
|
||||
"/usr/local/cuda/lib64/libcufile_rdma.so.1",
|
||||
]
|
||||
elif "128" in desired_cuda:
|
||||
libs_to_copy += [
|
||||
"/usr/local/cuda/lib64/libnvrtc-builtins.so.12.8",
|
||||
"/usr/local/cuda/lib64/libcufile.so.0",
|
||||
"/usr/local/cuda/lib64/libcufile_rdma.so.1",
|
||||
]
|
||||
else:
|
||||
libs_to_copy += [
|
||||
|
Reference in New Issue
Block a user