visual-chatgpt
visual-chatgpt copied to clipboard
Please help me support issue installing on my mac
File "/Users/nguyenphuong/miniconda3/lib/python3.10/site-packages/torch/utils/hipify/hipify_python.py", line 34, in <module> from .cuda_to_hip_mappings import CUDA_TO_HIP_MAPPINGS File "/Users/nguyenphuong/miniconda3/lib/python3.10/site-packages/torch/utils/hipify/cuda_to_hip_mappings.py", line 34, in <module> rocm_path = subprocess.check_output(["hipconfig", "--rocmpath"]).decode("utf-8") File "/Users/nguyenphuong/miniconda3/lib/python3.10/subprocess.py", line 421, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/Users/nguyenphuong/miniconda3/lib/python3.10/subprocess.py", line 503, in run with Popen(*popenargs, **kwargs) as process: File "/Users/nguyenphuong/miniconda3/lib/python3.10/subprocess.py", line 971, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/Users/nguyenphuong/miniconda3/lib/python3.10/subprocess.py", line 1847, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) NotADirectoryError: [Errno 20] Not a directory: 'hipconfig'
I install on mac pro 2017 Monterey version 12.5 but get error NotADirectoryError: [Errno 20] Not a directory: 'hipconfig'`
Can you help me resolve this?
Hi @phuongnguyen2311, please try the new version to see whether the issue still occurs. BTW, it seems you want to use CPU, and I think it will work if you follow the Quick Start steps in README.md. After installation, you can test it in your MAC using python visual_chatgpt.py --load ImageCaptioning_cpu,Text2Image_cpu.
Thanks~