Skip to content

Commit

Permalink
fix: call list_gpus in deepssm mock task
Browse files Browse the repository at this point in the history
  • Loading branch information
annehaley committed Mar 27, 2024
1 parent f59ce71 commit 4f1ce4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shapeworks_cloud/core/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ def deepssm(progress_id):
try:
from ngpuinfo import NGPUInfo

gpus = NGPUInfo.list_gpus
gpus = NGPUInfo.list_gpus()
message += f' GPU available. Found {[gpu.name for gpu in gpus]}.'
except Exception:
message += ' GPU not available.'
Expand Down

0 comments on commit 4f1ce4f

Please sign in to comment.