Created
April 9, 2026 10:17
-
-
Save SqrtRyan/2ace8375da3ce38f4e610055460bc2a1 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| tic() | |
| while True: | |
| if toc()>30*60: | |
| break | |
| elif any(get_gpu_utilization()): | |
| tic() | |
| sleep(1) | |
| ntfy_send('idling') | |
| print('shutdown') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment