等了一段时间后报错了:Torch not compiled with CUDA enabled,解决方式: 将这段代码: python model = AutoModel.from_pretrained("THUDM/chatglm2-6b", trust_remote_code=True).cuda() 修改为: model = AutoModel.from_pretrained("THUDM/chatglm2-6b", trust_remote_code=True).to('mps') 修改完后重...
最近把macOS升级到了13.4.1,另外webui启动的时候也会报错,报错的信息如下: No module ' xformers '. Proceeding without it. Warning: caught exception ' Torch not compiled with CUDA enabled' ,memory monitor disabled. 升级操作系统之前还有一行报错,升级以后没了。内容没及时记下来,好像就是要求升级操作系统...
通过与苹果公司的Metal工程团队合作,我们很高兴地宣布支持Mac上的GPU加速的PyTorch训练。到目前为止,Mac...
When I use my compiled*.jarfile with onnxruntime, which I created earlier for Mac and include it manually in the project for Mac, then it works. I guess something is wrong with the final jar or you need to release separate jars for different operating systems (Windows, Linux, Mac). C...
Warning: caught exception ' Torch not compiled with CUDA enabled' ,memory monitor disabled. 升级操作系统之前还有一行报错,升级以后没了。内容没及时记下来,好像就是要求升级操作系统的。目前的报错信息不影响使用,就是速度慢。搜索了一下,好像要通过虚拟环境来弄,嫌麻烦,就暂时先这样了。