We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6720e82 commit 5707666Copy full SHA for 5707666
thunder/core/devices.py
@@ -140,7 +140,7 @@ def available_devices() -> tuple[Device]:
140
available_devices = [cpu]
141
142
# Short-circuits if there are no CUDA devices
143
- if not torch.cuda.is_available:
+ if not torch.cuda.is_available():
144
return available_devices
145
146
# NOTE torch.cuda.is_available, extends with CUDA devices
0 commit comments