Skip to content
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

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Conversation

JunAr7112
Copy link

Hello!

Thanks for making this contribution! When contributing to this repository please keep in mind the following:

@@ -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
Copy link
Contributor

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"
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here. update env.

@cdesiniotis cdesiniotis marked this pull request as draft July 5, 2024 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants