Giter Site home page Giter Site logo

Comments (7)

WingkaiHo avatar WingkaiHo commented on September 23, 2024 1

If you have use nvidia-smi to hide gpu, index will be change, number of device will be decrease. Such as

nvidia-smi drain -p <id> -m 0

id of gpu devices never delete in scheduler when number gpu decrease
volcano-sh/volcano#2215

from devices.

GLL550C avatar GLL550C commented on September 23, 2024

@Jeffwan

from devices.

Thor-wl avatar Thor-wl commented on September 23, 2024

/bug
This bug has also been mentioned in the Volcano wechat group.

from devices.

Thor-wl avatar Thor-wl commented on September 23, 2024

/cc @peiniliu @william-wang Can you help for that?

from devices.

Thor-wl avatar Thor-wl commented on September 23, 2024

Can you give the reproduce steps and environment? Let me take a try.

from devices.

WingkaiHo avatar WingkaiHo commented on September 23, 2024

If you have use nvidia-smi to hide gpu, index will be change, number of device will be decrease. Such as

nvidia-smi drain -p <id> -m 0

Or some gpu is damage,it disable by drive, such as
device2

but is still in path dev path
device1

When use nvidia-smi to hide gpu, for example is hide /dev/nvidia0, device plugin init

        deviceByIndex := map[uint]string{}
	for i := uint(0); i < n; i++ {
		d, err := nvml.NewDevice(i)
		check(err)
		var id uint
		_, err = fmt.Sscanf(d.Path, "/dev/nvidia%d", &id)
		check(err)
		deviceByIndex[id] = d.UUID
		// TODO: Do we assume all cards are of same capacity
	}

so device plugint do not have index 0 gpu, but scheduler start gpu index is 0, so if will fail to Warning UnexpectedAdmissionError 79s kubelet Allocate failed due to rpc error: code = Unknown desc = failed to find gpu id, which is unexpected error

from devices.

631068264 avatar 631068264 commented on September 23, 2024

same issue volcano-sh/volcano#2701 use Volcano 1.7 and https://github.com/volcano-sh/devices/blob/release-1.0/volcano-device-plugin.yml

I did not use

nvidia-smi drain -p <id> -m 0

from devices.

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.