docker task5

简介: 天池龙珠计划Docker训练营

天池龙珠计划Docker训练营

没用GPU的报错如下:

---------------------------------------------------------------------------

RuntimeError                              Traceback (most recent call last)

<ipython-input-3-69f55cbb8b56> in <module>

     4 a = torch.randn(3,3)

     5 b = torch.randn(3,3)

----> 6a = a.to(device)

     7 b = b.to(device)

     8 c = torch.matmul(a,b)


/opt/conda/lib/python3.6/site-packages/torch/cuda/__init__.py in _lazy_init()

   170         # This function throws if there's a driver initialization error, no GPUs

   171         # are found or any other error occurs

--> 172         torch._C._cuda_init()

   173         # Some of the queued calls may reentrantly call _lazy_init();

   174         # we need to just return without initializing in that case.


RuntimeError: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx

相关文章
|
Docker 容器
docker task3
天池龙珠计划docker训练营 dockerfile
285 0
|
Docker Python 容器
docker task4
天池龙珠计划docker训练营 练习赛问题
340 0
|
存储 人工智能 Cloud Native
docker task1
天池龙珠计划docker训练营
342 0
|
Kubernetes Devops Docker
Kubernetes 和 Docker Swarm:现代 DevOps 的理想容器编排工具
本指南深入解析 Kubernetes 与 Docker Swarm 两大主流容器编排工具,涵盖安装、架构、网络、监控等核心维度,助您根据团队能力与业务需求精准选型,把握云原生时代的技术主动权。
1113 115
|
缓存 前端开发 Docker
Docker Layer Caching:加速你的容器构建
Docker Layer Caching:加速你的容器构建
|
Kubernetes Cloud Native Devops
Docker:现代应用开发的容器化革命
Docker:现代应用开发的容器化革命
463 101

热门文章

最新文章