Load nvidia drivers on node startup (#2263)
* Load nvidia drivers on node startup * added new script to enable nvidia driver persistent mode * remove set -ex
This commit is contained in:
parent
7e3b54f826
commit
4bf797c8f1
|
@ -430,6 +430,10 @@ $(
|
|||
network-config.sh \
|
||||
remove-docker-interface.sh \
|
||||
|
||||
if "$enableGpu"; then
|
||||
cat enable-nvidia-persistence-mode.sh
|
||||
fi
|
||||
|
||||
)
|
||||
|
||||
cat > /etc/motd <<EOM
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
#!/usr/bin/env bash
|
||||
nvidia-smi -pm ENABLED
|
Loading…
Reference in New Issue