-
Notifications
You must be signed in to change notification settings - Fork 303
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
Driver persistence changes #810
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Arjun <[email protected]>
@@ -6,9 +6,9 @@ spec: | |||
# use pre-compiled packages for NVIDIA driver installation. | |||
usePrecompiled: false | |||
driverType: gpu | |||
repository: nvcr.io/nvidia | |||
repository: "1837582943" #nvcr.io/nvidia |
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.
please revert this, this was required only for testing using your private image.
image: driver | ||
version: "550.90.07" | ||
version: "550.54.17" |
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.
this too
@@ -18,6 +18,8 @@ spec: | |||
useHostMofed: false | |||
gds: | |||
enabled: false | |||
persist: true |
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.
we don't want to enable this by default but only when CDI is enabled. Need to handle this in the code to error out accordingly.
manifest.diff
Outdated
- name: NVIDIA_VISIBLE_DEVICES | ||
value: void | ||
+ {{- if .Driver.Spec.PersistDriver }} | ||
+ - name: RESTARTS_ENABLED |
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.
update this env to PERSIST_DRIVER
@@ -205,6 +205,12 @@ spec: | |||
# always use runc for driver containers | |||
- name: NVIDIA_VISIBLE_DEVICES | |||
value: void | |||
{{- if .Driver.Spec.PersistDriver }} | |||
- name: RESTARTS_ENABLED |
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.
same here. update env.
Hello!
Thanks for making this contribution! When contributing to this repository please keep in mind the following: