Modifying nvidia gpu device is not possible?
- Dominant language
- Go
- Stars
- 406
- Forks
- 102
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 8
Description
Hello, I'd like to modify nvidia gpu device assignment with NRI.
I was able to modify or add environment variable with `adjust.AddEnv` and `adjust.RemoveEnv` function in `func (p *plugin) CreateContainer()`.
However, modifying nvidia gpu device assignment is not possible with below reasons.
1. I was not able to modify "NVIDIA_VISIBLE_DEVICES" environment variable.
2. `adjust.RemoveDevice` function is not working for nvidia gpu devices.
I mean in above, `adjust.AddDevice` function is working to add nvidia gpu device additionally to container. However, removing is not possible with `adjust.RemoveDevice` function.
Do you have any idea on this kind of behavior?
Any comments are welcome!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.