/scripts

check_gpu_state, check_uninstall_packages

Primary LanguagePython

scripts

  • check_gpu_state
  • check_uninstall_packages

English

Some practical and simple scripts that I have written, feel free to use them if you need.

FileName Description
check_gpu_state.py Used for automatically querying server GPU usage. When a specified GPU is idle, it sends an email notification to the user.
check_uninstall_packages.py Used for checking if there are any packages in the requirement.txt file that are not installed and organizing them into a new requirement.txt file.

Chinese

一些自己编写的实用简易脚本,如果需要自行取用

FileName Description
check_gpu_state.py 用于自动查询服务器GPU使用情况,当指定GPU空闲时发送邮件提示自己
check_uninstall_packages.py 用于检查requirement.txt中是否有没安装的包,并将没安装的包组织成新的requirement.txt