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
NCCLnot 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.1in 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_classtoprocessor_class - refer: https://github.com/openai/gpt-2/issues/299
-
Using
bert-base-uncasedthrowsValueError: 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-uncasedin 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![]() |







浙公网安备 33010602011771号