-
Notifications
You must be signed in to change notification settings - Fork 737
Detect vendor before crafting cdiDeviceIDs for --gpus #4728
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
base: main
Are you sure you want to change the base?
Conversation
2b035ba to
087ebbf
Compare
|
Can someone help me explain these test failures? These don't seem to be related to the changes in the PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/containerd/nerdctl/blob/main/docs/gpu.md should be updated too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we do that in a follow up?
Once this is merged, we might organise our docs better and put the latest links here to help users install the AMD CDI specs through amd-ctk.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have updated the documentation in this PR itself. PTAL whenever you get time.
cc @elezar
138f373 to
0e65876
Compare
|
I have added the |
a945e3c to
9ad72de
Compare
This detects the GPU vendor from the CDI spec files while generating devicesIDs corresponding to the values passed to --gpus option. With this, the users can also use AMD gpus if a corresponding CDI spec is present. Signed-off-by: Shiv Tyagi <Shiv.Tyagi@amd.com>
9ad72de to
4649baa
Compare
This detects the GPU vendor from the CDI spec files while generating devicesIDs corresponding to the values passed to
--gpusoption. With this, the users can also use AMD gpus if a corresponding CDI spec is present.Here is a similar PR for ctr containerd/containerd#12839