跳转到文档内容
版本:v2.5.0

allocate_exclusive

apiVersion: v1 kind: Pod metadata: name: gpu-pod spec: containers:

  • name: ubuntu-container image: cr.metax-tech.com/public-ai-release/c500/colossalai:2.24.0.5-py38-ubuntu20.04-amd64 imagePullPolicy: IfNotPresent command: ["sleep","infinity"] resources: limits: metax-tech.com/sgpu: 1 # requesting 1 exclusive GPU