Skip to content

Commit

Permalink
Isolated partition install nvidia-persistenced (#2081)
Browse files Browse the repository at this point in the history
Co-authored-by: Wyatt Hicken <whois@amazon.com>
  • Loading branch information
whoix and Wyatt Hicken authored Dec 4, 2024
1 parent 5b25e4d commit da3591e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/al2023/provisioners/install-nvidia-driver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,10 @@ sudo systemctl enable set-nvidia-clocks.service
################################################################################
sudo dnf -y install nvidia-fabric-manager

# NVIDIA Container toolkit needs to be locally installed for isolated partitions
# NVIDIA Container toolkit needs to be locally installed for isolated partitions, also install NVIDIA-Persistenced
if is-isolated-partition; then
install-nvidia-container-toolkit
sudo dnf -y install "nvidia-persistenced-${NVIDIA_DRIVER_MAJOR_VERSION}.*"
else
sudo dnf -y install nvidia-container-toolkit
fi
Expand Down

0 comments on commit da3591e

Please sign in to comment.