-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
39 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/usr/bin/env bash | ||
# Script to tune NVIDIA H100 GPU on GCP | ||
# To reset GPU status | ||
|
||
# Reset GPU and Memory clocks | ||
sudo nvidia-smi -rgc | ||
sudo nvidia-smi -rmc | ||
|
||
# Restore the default power limit (500W) | ||
sudo nvidia-smi -pl 500 | ||
|
||
# Disable persistent mode | ||
sudo nvidia-smi -pm 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/usr/bin/env bash | ||
# Script to tune NVIDIA H100 GPU on GCP | ||
# To stablize performance | ||
|
||
set -ex | ||
|
||
# Enable persistent mode | ||
sudo nvidia-smi -pm 1 | ||
# Lock power limit to 650W | ||
sudo nvidia-smi -pl 650 | ||
|
||
# Default Memory Frequency: 2619 MHz | ||
# Default Graphics Frequency: 1980 MHz | ||
sudo nvidia-smi -lgc 1980,1980 | ||
sudo nvidia-smi -lmc 2619,2619 | ||
sudo nvidia-smi -ac 2619,1980 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters