From 2dfd8abf4db36ceb0b29230199c14fdfa2e355c8 Mon Sep 17 00:00:00 2001 From: Benedikt Wagener Date: Thu, 14 Sep 2023 19:35:05 +0200 Subject: [PATCH] address review findings --- requirements.txt | 3 ++- src/modules/DeviceDetection/device_detection.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 43a4016..40bace8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -23,4 +23,5 @@ yt_dlp~=2023.7.6 isort~=5.12 black~=23.3 pylint~=2.17 -pytest~=7.3.1 \ No newline at end of file +pytest~=7.3.1 +protobuf==3.20.* \ No newline at end of file diff --git a/src/modules/DeviceDetection/device_detection.py b/src/modules/DeviceDetection/device_detection.py index 211519b..092f295 100644 --- a/src/modules/DeviceDetection/device_detection.py +++ b/src/modules/DeviceDetection/device_detection.py @@ -12,7 +12,7 @@ pytorch_gpu_supported = False def check_gpu_support() -> tuple[bool, bool]: """Check worker device (e.g cuda or cpu) supported by tensorflow and pytorch""" - print(f"{ULTRASINGER_HEAD} Checking GPU support for {blue_highlighted('tensorflow')} and {blue_highlighted('pytorch')}.") + print(f"{ULTRASINGER_HEAD} Checking GPU support for {blue_highlighted('tensorflow')} and {blue_highlighted('pytorch')}.") tensorflow_gpu_supported = False pytorch_gpu_supported = False