Spaces:
Running
on
Zero
Running
on
Zero
Update wan/modules/t5.py
Browse files- wan/modules/t5.py +1 -1
wan/modules/t5.py
CHANGED
@@ -475,7 +475,7 @@ class T5EncoderModel:
|
|
475 |
self,
|
476 |
text_len,
|
477 |
dtype=torch.bfloat16,
|
478 |
-
device=
|
479 |
checkpoint_path=None,
|
480 |
tokenizer_path=None,
|
481 |
shard_fn=None,
|
|
|
475 |
self,
|
476 |
text_len,
|
477 |
dtype=torch.bfloat16,
|
478 |
+
device="cuda",
|
479 |
checkpoint_path=None,
|
480 |
tokenizer_path=None,
|
481 |
shard_fn=None,
|