Skip to content

Commit

Permalink
🐛 fix hf space error ZeroGPU has not been initialized
Browse files Browse the repository at this point in the history
  • Loading branch information
zhzLuke96 committed Jun 7, 2024
1 parent 7585282 commit 562e17c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/devices/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def torch_gc():


cpu: torch.device = torch.device("cpu")
device: torch.device = get_optimal_device()
device: torch.device = None
dtype: torch.dtype = torch.float32
dtype_dvae: torch.dtype = torch.float32
dtype_vocos: torch.dtype = torch.float32
Expand Down

0 comments on commit 562e17c

Please sign in to comment.