GithubHelp home page GithubHelp logo

Comments (4)

cheyang avatar cheyang commented on July 21, 2024

The pod with gpu-count can be scheduled but it won't be enabled with GPU capabilities in device plugin.

It's just an extended resource for keeping the GPU count. See gpu count definition.

I think I can make gpu-count disable in scheduling time. Such as aliyun.com/gpu-count is not allowed to schedule, it's only for keeping the info of GPU count. What's your idea?

from gpushare-scheduler-extender.

reverson avatar reverson commented on July 21, 2024

Oh, interesting, what I'm seeing is that I'm getting access to the GPUs regardless of what I select for the GPU request (gpu-mem, gpu-count, or no gpu at all). However, I think my teammate discovered that using the cuda-vector-add example from the k8s documentation causes the nvidia-docker2 runtime to auto add all the GPUs to the docker image.

In terms of workflow I'd like to be able to use this plugin to manage both our workflow for shared GPUs as well as whole GPUs.

If that's not possible, then I'd definitely prefer to see gpu-count be an unscheduled resource as you describe.

from gpushare-scheduler-extender.

cheyang avatar cheyang commented on July 21, 2024

I think the reason is that you are using nvidia's cuda docker base image which includes the environment [NVIDIA_VISIBLE_DEVICES=all]
https://github.com/NVIDIA/nvidia-container-runtime#nvidia_visible_devices. That cause the nvidia-docker2 load nvidia runtime for the container. I think you can set NVIDIA_VISIBLE_DEVICES=void when building your docker image.

from gpushare-scheduler-extender.

cicijohn1983 avatar cicijohn1983 commented on July 21, 2024

你好 我在运行示例的时候报这个错误nvidia-container-cli: device error: unknown device id: no-gpu-has-1024MiB-to-run,请问一下怎么解决这个问题,和显卡驱动有关系吗?

from gpushare-scheduler-extender.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.