gpt4 book ai didi

pytorch 代码在 colab 上与系统上的 NVIDIA 驱动程序突然失败太旧

转载 作者:行者123 更新时间:2023-12-03 23:34:06 27 4
gpt4 key购买 nike

不久前,我有一些在 colab(gpu 运行时)上运行的代码。突然我得到
您系统上的 NVIDIA 驱动程序太旧(发现版本 10010)。
nvcc 显示
Cuda编译工具,发布10.1,V10.1.243
我尝试了火炬版本 1.5.1,然后是 1.13.0。两者都不断收到此错误。
有一个讨论表明其他人有疑问。没有明确的解决办法。
https://github.com/pytorch/pytorch/issues/27738
有人有同样的问题吗?

最佳答案

light-the-torch 封装旨在解决此类问题。试试这个:

!pip install light-the-torch
!ltt install torch torchvision

关于pytorch 代码在 colab 上与系统上的 NVIDIA 驱动程序突然失败太旧,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63349832/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com