4
本地下载完成模型,修改完代码,运行python cli_demo.py
,报错AssertionError: Torch not compiled with CUDA enabled
,似乎是cuda不支持arm架构,本地启了一个conda装了pytorch,但是不能装cuda
1、python cli_demo.py
Environment- OS: mac 13.0
- Python: 3.9.12
- Transformers:
- PyTorch:
- CUDA Support (`python -c "import torch; print(torch.cuda.is_available())"`) : false