address review findings

This commit is contained in:
Benedikt Wagener committed 2023-09-14 19:35:22 +02:00
1 parent de45b7c96a
commit 2dfd8abf4d
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -23,4 +23,5 @@ yt_dlp~=2023.7.6
isort~=5.12
black~=23.3
pylint~=2.17
pytest~=7.3.1
pytest~=7.3.1
protobuf==3.20.*
@@ -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