首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何在AI平台管道上使用GPU

如何在AI平台管道上使用GPU
EN

Stack Overflow用户
提问于 2020-12-17 02:00:16
回答 1查看 86关注 0票数 1

如何在AI平台管道上使用GPU?我的管道在其中一个操作中使用了set_gpu_limit(1),但最终得到了一个This step is in Pending state with this message: Unschedulable: 0/3 nodes are available: 3 Insufficient nvidia.com/gpu.错误。

EN

回答 1

Stack Overflow用户

发布于 2020-12-17 02:15:31

几分钟后就拿到了。我跟踪了normal Kubeflow on GPU instructions

代码语言:javascript
复制
export GPU_POOL_NAME=gpu-pool
export CLUSTER_NAME=cluster-1
代码语言:javascript
复制
gcloud container node-pools create ${GPU_POOL_NAME} \
--accelerator type=nvidia-tesla-k80,count=1 \
--zone us-central1-a --cluster ${CLUSTER_NAME} \
--num-nodes=0 --machine-type=n1-standard-4 --min-nodes=0 --max-nodes=1 --enable-autoscaling

kubectl apply -f https://raw.githubusercontent.com/GoogleCloudPlatform/container-engine-accelerators/master/nvidia-driver-installer/cos/daemonset-preloaded.yaml

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/65328649

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档