Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions templates/mps-control-daemon.tmpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ spec:
if [ -x /driver-root/bin/sh ] || [ -x /driver-root/usr/bin/sh ]; then
# Use chroot to avoid library mismatch between container and host
# when driver root is / (default value) or /run/nvidia/driver (default location for driver installation by GPU Operator)
# Export the paths explicitly for the chroot environment
Copy link
Copy Markdown
Contributor

@shivamerla shivamerla May 14, 2026

Choose a reason for hiding this comment

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

these are set via CDI edits that we generate. May be you have CDI disabled on your system?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

need to check that. i have lost access to the system.

export CUDA_MPS_PIPE_DIRECTORY=/tmp/nvidia-mps
export CUDA_MPS_LOG_DIRECTORY=/var/log/nvidia-mps
RUN="chroot /driver-root sh -c"
else
# No shell in driver root (e.g. GKE COS): run directly with PATH/LD_LIBRARY_PATH
Expand Down