Files
instinct-mi50-cooling/throttle_powerlimit/throttle_instinct.service

14 lines
326 B
Desktop File

[Unit]
Description=Throttle Instinct MI50 GPU to a desired power cap
After=sysinit.target
[Service]
Type=oneshot
# Set the power limit in watts via environment variable (default: 120W)
Environment="POWER_LIMIT_WATTS=120"
ExecStart=/usr/local/bin/throttle_instinct.sh
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target