Skip to content

fix(entrypoint): add /usr/local/nvidia to PATH and ldconfig on GKE#877

Merged
alvarobartt merged 1 commit into
huggingface:mainfrom
oOraph:fix-gke
Jun 22, 2026
Merged

fix(entrypoint): add /usr/local/nvidia to PATH and ldconfig on GKE#877
alvarobartt merged 1 commit into
huggingface:mainfrom
oOraph:fix-gke

Conversation

@oOraph

@oOraph oOraph commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

GKE container runtime injects /usr/local/nvidia from the host but does not add it to PATH or run ldconfig, unlike the nvidia-container-runtime. This caused nvidia-smi not found errors on GCP since v1.9.0 introduced the explicit nvidia-smi check in the entrypoints.

Fixes # nvidia-smi not found error on GKE

GKE container runtime injects /usr/local/nvidia from the host but does not add it to PATH
or run ldconfig, unlike the nvidia-container-runtime. This caused
nvidia-smi not found errors on GCP since v1.9.0 introduced the explicit
nvidia-smi check in the entrypoints.
@alvarobartt alvarobartt self-requested a review June 22, 2026 10:20
@alvarobartt alvarobartt added this to the v1.9.4 milestone Jun 22, 2026
@alvarobartt alvarobartt merged commit f9a0643 into huggingface:main Jun 22, 2026
1 check passed
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