apex0.1版本安装踩坑指南
Zerycii:
torch.__version__ = 1.13.0+cu116
Traceback (most recent call last):
File "setup.py", line 137, in
_, bare_metal_version = get_cuda_bare_metal_version(CUDA_HOME)
File "setup.py", line 24, in get_cuda_bare_metal_version
raw_output = subprocess.check_output([cuda_dir + "/bin/nvcc", "-V"], universal_newlines=True)
File "/home/lmh/.conda/envs/guided/lib/python3.8/subprocess.py", line 415, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/home/lmh/.conda/envs/guided/lib/python3.8/subprocess.py", line 493, in run
with Popen(*popenargs, **kwargs) as process:
File "/home/lmh/.conda/envs/guided/lib/python3.8/subprocess.py", line 858, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/lmh/.conda/envs/guided/lib/python3.8/subprocess.py", line 1704, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory
apex0.1版本安装踩坑指南
piaoliangjinjin:
打脸了,昨天以为成功安装了,结果又报错了
Attr ibuteError: module ' torch.distributed' has no attribute '_ reduce_ scatter_base‘
解决方法是:
1.先删除现在的apex:
cd apex# 进入apex文件夹
python setup.py install --record install_location.txt # 记录安装后文件的路径
cat install_location.txt | xargs rm -rf # 删除这些文件
2.去https://www.github.com/nvidia/apex 下载22.04dev版本的apex,然后将apex-22.04-dev文件放到和原先apex同样的位置。
然后执行
cd apex-22.04-dev
python setup.py install –user
wampserver使用教程
m0_64008146:
需要下载mysql吗
窗口切换和网页标签切换快捷键
m0_58959095:
谢谢你把ctrl f4放在最后一个
wampserver使用教程
”|:
我也没有www