Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

calculate gpu count error strconv.Atoi: parsing "": invalid syntax #6

Open
TaylorHere opened this issue Feb 18, 2020 · 1 comment
Open

Comments

@TaylorHere
Copy link

apiVersion: v1
kind: Pod
metadata:
  name: tensorflow
  annotations:
    k8s.aliyun.com/eci-gpu-type : "T4"
spec:
  containers:
  - image: registry-vpc.cn-hangzhou.aliyuncs.com/ack-serverless/tensorflow
    name: tensorflow
    command:
    - "sh"
    - "-c"
    - "python models/tutorials/image/imagenet/classify_image.py"
    resources:
      limits:
        nvidia.com/gpu: "1"
  - image: some-other-container 
    name: no-gpu-limits

if apply this pod into the cluster, will cause

  Warning  ParamsAdapterFailed  26s   virtual-kubelet-0/pod-controller  calculate gpu count error strconv.Atoi: parsing "": invalid syntax
@TaylorHere
Copy link
Author

this will cause a lot of issues, services such as Argo Work flow、JupyterHub, etc.. will lose ability to auto providing GPU node

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant