Skip to content

Commit

Permalink
remove None from CPU_DEVICES
Browse files Browse the repository at this point in the history
  • Loading branch information
edpizzi committed Jan 3, 2022
1 parent e677d76 commit 6ca1018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytorch_lightning/utilities/apply_func.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
Batch = type(None)


CPU_DEVICES = (None, "cpu", torch.device("cpu"))
CPU_DEVICES = ("cpu", torch.device("cpu"))


def to_dtype_tensor(
Expand Down

0 comments on commit 6ca1018

Please sign in to comment.