Spaces:
Running
on
Zero
Running
on
Zero
load transformer in fp8
Browse files
app.py
CHANGED
|
@@ -29,7 +29,8 @@ DEFAULT_PROMPT = "An astronaut hatches from a fragile egg on the surface of the
|
|
| 29 |
# HuggingFace Hub defaults
|
| 30 |
DEFAULT_REPO_ID = "LTX-Colab/LTX-Video-Preview"
|
| 31 |
DEFAULT_GEMMA_REPO_ID = "google/gemma-3-12b-it-qat-q4_0-unquantized"
|
| 32 |
-
DEFAULT_CHECKPOINT_FILENAME = "ltx-2-19b-dev-rc1.safetensors"
|
|
|
|
| 33 |
DEFAULT_DISTILLED_LORA_FILENAME = "ltx-2-19b-distilled-lora-384-rc1.safetensors"
|
| 34 |
DEFAULT_SPATIAL_UPSAMPLER_FILENAME = "ltx-2-spatial-upscaler-x2-1.0-rc1.safetensors"
|
| 35 |
|
|
@@ -79,7 +80,7 @@ pipeline = DistilledPipeline(
|
|
| 79 |
spatial_upsampler_path=spatial_upsampler_path,
|
| 80 |
gemma_root=DEFAULT_GEMMA_REPO_ID,
|
| 81 |
loras=loras,
|
| 82 |
-
fp8transformer=
|
| 83 |
local_files_only=False,
|
| 84 |
)
|
| 85 |
|
|
|
|
| 29 |
# HuggingFace Hub defaults
|
| 30 |
DEFAULT_REPO_ID = "LTX-Colab/LTX-Video-Preview"
|
| 31 |
DEFAULT_GEMMA_REPO_ID = "google/gemma-3-12b-it-qat-q4_0-unquantized"
|
| 32 |
+
# DEFAULT_CHECKPOINT_FILENAME = "ltx-2-19b-dev-rc1.safetensors"
|
| 33 |
+
DEFAULT_CHECKPOINT_FILENAME = "ltx-2-19b-dev-fp8-rc1.safetensors"
|
| 34 |
DEFAULT_DISTILLED_LORA_FILENAME = "ltx-2-19b-distilled-lora-384-rc1.safetensors"
|
| 35 |
DEFAULT_SPATIAL_UPSAMPLER_FILENAME = "ltx-2-spatial-upscaler-x2-1.0-rc1.safetensors"
|
| 36 |
|
|
|
|
| 80 |
spatial_upsampler_path=spatial_upsampler_path,
|
| 81 |
gemma_root=DEFAULT_GEMMA_REPO_ID,
|
| 82 |
loras=loras,
|
| 83 |
+
fp8transformer=True,
|
| 84 |
local_files_only=False,
|
| 85 |
)
|
| 86 |
|