RAGatouille & Pytorch 异常记录
RAGatouille 异常记录
错误一
问题:Using /root/.cache/torch_extensions/py310_cu121 as PyTorch extensions root..
问题描述:RAGatouille Loading decompress_residuals_cpp extension (set COLBERT_LOAD TORCH EXTENSION VERBOSE=True for more info)... 一直卡住
问题原因:删除根目录下的torch_extensions缓存文件,以加快初次构建速度并避免卡住
解决方案:
- rm -rf /root/.cache/torch_extensions(注意这里的路径要换成自己的)
- 重启服务即可,我这边是docker运行的(docker restart xxx)
Pytorch 异常记录
错误一
问题:Error loading ...\fbgemm.dll or one of its dependences
问题描述:pytorch 报错 Error loading ...\fbgemm.dll or one of its dependences
问题原因:缺少依赖,我遇到的问题,并不是 pytorch 安装的问题,而是缺少了系统文件
解决方案:
- 下载 Dependencies:下载链接
- 解压并进入 Dependencies 目录
- 双击 【DependenciesGui.exe】
- 选择 fbgemm.dll 文件(这张图不是我的,但是效果是一样的,我是因为缺少 vcomp140.dll)

- 从另外一台电脑上复制一个 【vcomp140.dll】文件放在 C:\Windows\System32 目录下即可,当然还是要根据实际情况去修复,例如上图中缺少 libomp140.x86_64.dll 就和我的缺少的不一样,所以大家要看自己具体缺少哪个哈
至此问题解决完成
参考链接:
- https://blog.csdn.net/tortorish/article/details/141600669
浙公网安备 33010602011771号