Created
February 19, 2024 19:50
-
-
Save mkrupczak3/bed78338095fd2b106d8a6d4ef2ee200 to your computer and use it in GitHub Desktop.
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
[Unit] | |
Description=NVIDIA GPU Set Power Limit | |
After=syslog.target systemd-modules-load.service | |
ConditionPathExists=/usr/bin/nvidia-smi | |
[Service] | |
User=root | |
Environment="PATH=/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" | |
ExecStart=/usr/local/sbin/nv-power-limit.sh | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment