File "/tmp/pip-req-build-qa8r3e9n/setup.py", line 8, in
from torch.utils.cpp_extension import BuildExtension, CppExtension, CUDAExtension, CUDA_HOME
File "/home/zhenhengdong/anaconda3/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 19, in
from .hipify import hipify_python
File "/home/zhenhengdong/anaconda3/lib/python3.9/site-packages/torch/utils/hipify/hipify_python.py", line 34, in
from .cuda_to_hip_mappings import CUDA_TO_HIP_MAPPINGS
File "/home/zhenhengdong/anaconda3/lib/python3.9/site-packages/torch/utils/hipify/cuda_to_hip_mappings.py", line 34, in
rocm_path = subprocess.check_output(["hipconfig", "--rocmpath"]).decode("utf-8")
File "/home/zhenhengdong/anaconda3/lib/python3.9/subprocess.py", line 424, in check_output
return run(popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/home/zhenhengdong/anaconda3/lib/python3.9/subprocess.py", line 505, in run
with Popen(popenargs, **kwargs) as process:
File "/home/zhenhengdong/anaconda3/lib/python3.9/subprocess.py", line 951, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/zhenhengdong/anaconda3/lib/python3.9/subprocess.py", line 1821, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
NotADirectoryError: [Errno 20] Not a directory: 'hipconfig'
File "/tmp/pip-req-build-qa8r3e9n/setup.py", line 8, in
from torch.utils.cpp_extension import BuildExtension, CppExtension, CUDAExtension, CUDA_HOME
File "/home/zhenhengdong/anaconda3/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 19, in
from .hipify import hipify_python
File "/home/zhenhengdong/anaconda3/lib/python3.9/site-packages/torch/utils/hipify/hipify_python.py", line 34, in
from .cuda_to_hip_mappings import CUDA_TO_HIP_MAPPINGS
File "/home/zhenhengdong/anaconda3/lib/python3.9/site-packages/torch/utils/hipify/cuda_to_hip_mappings.py", line 34, in
rocm_path = subprocess.check_output(["hipconfig", "--rocmpath"]).decode("utf-8")
File "/home/zhenhengdong/anaconda3/lib/python3.9/subprocess.py", line 424, in check_output
return run(popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/home/zhenhengdong/anaconda3/lib/python3.9/subprocess.py", line 505, in run
with Popen(popenargs, **kwargs) as process:
File "/home/zhenhengdong/anaconda3/lib/python3.9/subprocess.py", line 951, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/zhenhengdong/anaconda3/lib/python3.9/subprocess.py", line 1821, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
NotADirectoryError: [Errno 20] Not a directory: 'hipconfig'