From 3bf4bfa1de58291150083e7843f44493ba31a8fa Mon Sep 17 00:00:00 2001 From: askiiart Date: Fri, 30 Sep 2022 23:02:31 -0500 Subject: [PATCH] Temp demo done --- .idea/.gitignore | 3 +++ .idea/inspectionProfiles/profiles_settings.xml | 6 ++++++ .idea/k80_universal_cooling.iml | 10 ++++++++++ .idea/misc.xml | 4 ++++ .idea/modules.xml | 8 ++++++++ .idea/vcs.xml | 6 ++++++ gpu_temp_demo.py | 9 +++++++++ 7 files changed, 46 insertions(+) create mode 100644 .idea/.gitignore create mode 100644 .idea/inspectionProfiles/profiles_settings.xml create mode 100644 .idea/k80_universal_cooling.iml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml create mode 100644 gpu_temp_demo.py diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..26d3352 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 0000000..105ce2d --- /dev/null +++ b/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/k80_universal_cooling.iml b/.idea/k80_universal_cooling.iml new file mode 100644 index 0000000..74d515a --- /dev/null +++ b/.idea/k80_universal_cooling.iml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..f04d73c --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..b07e3e4 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/gpu_temp_demo.py b/gpu_temp_demo.py new file mode 100644 index 0000000..588fe3d --- /dev/null +++ b/gpu_temp_demo.py @@ -0,0 +1,9 @@ +import GPUtil +import time + +gpus = GPUtil.getGPUs() +gpu = gpus[0] + +while True: + print(str(gpu.temperature) + " C") + time.sleep(3)