Skip to content

Commit 6ca1018

Browse files
committed
remove None from CPU_DEVICES
1 parent e677d76 commit 6ca1018

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytorch_lightning/utilities/apply_func.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
Batch = type(None)
3636

3737

38-
CPU_DEVICES = (None, "cpu", torch.device("cpu"))
38+
CPU_DEVICES = ("cpu", torch.device("cpu"))
3939

4040

4141
def to_dtype_tensor(

0 commit comments

Comments
 (0)