Debug Records
Records for errors or bugs met before
Python related
-
CondaVerificationError: The package for pytorch located at...
- reason: cache of installation packages not cleaned
- solution:
conda clean --all
- refer: https://blog.csdn.net/weixin_42069606/article/details/111052017
-
[pytorch]
RuntimeError: Distributed package doesn't have NCCL built in
- reason: using torch.nn.distributed which requires
NCCL
not supporting Win - solution: download
NCCL
(https://developer.nvidia.com/nccl/nccl-download) in wsl - refer: installation guide: https://docs.nvidia.com/deeplearning/nccl/install-guide/index.html
- reason: using torch.nn.distributed which requires
-
[pytorch]
torch.distributed.DistNetworkError: Unknown error
- reason: exclusive problem for
torch2.2.1
in Win - solution: upgrade torch to ~>=2.2.2
- refer: https://github.com/pytorch/pytorch/issues/118868, could be derived from https://github.com/pytorch/pytorch/issues/118737#issuecomment-1920785766
- reason: exclusive problem for
-
TypeError: add_code_sample_docstrings() got an unexpected keyword argument 'tokenizer_class'
- reason: deprecated api
- solution: change
tokenizer_class
toprocessor_class
- refer: https://github.com/openai/gpt-2/issues/299
-
Using
bert-base-uncased
throwsValueError: Connection error, and we cannot find the requested files in the cached path. Please try again or make sure your Internet connection is on.
- reason: fail to download
bert-base-uncased
in China Mainland - solution: manual download and specify the model directory
- refer: https://blog.csdn.net/GCTTTTTT/article/details/136055023
- reason: fail to download
Lord have mercy~ Buy me an instant noodle(给穷学生买包泡面吧)
谢谢老爷!![]() |
Books Wanted(给穷学生捐点教科书吧)
谢谢老爷! 新书、旧书、电子版都可以;收货地址请私信博主!电子版可以直接发送博主邮箱!ISBN: 9787030720641![]() |
ISBN: 9787121295164![]() |
ISBN: 9787302540328![]() |
ISBN: 9787111609186![]() |
ISBN: 9787302297567![]() |
分类:
Note
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· Docker 太简单,K8s 太复杂?w7panel 让容器管理更轻松!