CodeGeeX2 icon indicating copy to clipboard operation
CodeGeeX2 copied to clipboard

mac M2报错: Torch not compiled with CUDA enabled

Open zhangyukun230 opened this issue 1 year ago • 1 comments

用mac M2运行, 报错。如何去解决。 File "/Users/zhangyukun33/anaconda3/envs/model-fine/lib/python3.8/site-packages/torch/cuda/init.py", line 293, in _lazy_init raise AssertionError("Torch not compiled with CUDA enabled") AssertionError: Torch not compiled with CUDA enabled

zhangyukun230 avatar Dec 26 '23 08:12 zhangyukun230

同错

zhou20120904 avatar Mar 02 '24 03:03 zhou20120904