Spaces:
Build error
Build error
Update skyreelsinfer/skyreels_video_infer.py
Browse files
skyreelsinfer/skyreels_video_infer.py
CHANGED
|
@@ -45,7 +45,7 @@ class SkyReelsVideoSingleGpuInfer:
|
|
| 45 |
# subfolder="transformer",
|
| 46 |
torch_dtype=torch.bfloat16,
|
| 47 |
device="cpu",
|
| 48 |
-
).to("cpu")
|
| 49 |
if quant_model:
|
| 50 |
quantize_(text_encoder, float8_weight_only(), device="cpu")
|
| 51 |
text_encoder.to("cpu")
|
|
|
|
| 45 |
# subfolder="transformer",
|
| 46 |
torch_dtype=torch.bfloat16,
|
| 47 |
device="cpu",
|
| 48 |
+
).to("cpu").eval()
|
| 49 |
if quant_model:
|
| 50 |
quantize_(text_encoder, float8_weight_only(), device="cpu")
|
| 51 |
text_encoder.to("cpu")
|