linoyts HF Staff commited on
Commit
979ef85
·
verified ·
1 Parent(s): 906d441

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -107,7 +107,9 @@ print("=" * 80)
107
  print("Downloading LTX-2.3 distilled model + Gemma + IC-LoRAs...")
108
  print("=" * 80)
109
 
110
- checkpoint_path = hf_hub_download(repo_id=LTX_MODEL_REPO, filename="ltx-2.3-22b-distilled.safetensors")
 
 
111
  spatial_upsampler_path = hf_hub_download(repo_id=LTX_MODEL_REPO, filename="ltx-2.3-spatial-upscaler-x2-1.0.safetensors")
112
  gemma_root = snapshot_download(repo_id=GEMMA_REPO)
113
 
@@ -143,9 +145,9 @@ def build_pipeline(lora_name: str) -> ICLoraPipeline:
143
  spatial_upsampler_path=spatial_upsampler_path,
144
  gemma_root=gemma_root,
145
  # loras=[lora],
146
- #loras=[],
147
- # quantization=QuantizationPolicy.fp8_cast(),
148
- quantization=QuantizationPolicy.fp8_scaled_mm()
149
 
150
  )
151
  return pipe
 
107
  print("Downloading LTX-2.3 distilled model + Gemma + IC-LoRAs...")
108
  print("=" * 80)
109
 
110
+ # checkpoint_path = hf_hub_download(repo_id=LTX_MODEL_REPO, filename="ltx-2.3-22b-distilled.safetensors")
111
+ checkpoint_path = hf_hub_download(repo_id="linoyts/ltx-2.3-22b-distilled-motion-track-control-fused", filename="ltx-2.3-22b-distilled-motion-track-control-fused.safetensors")
112
+
113
  spatial_upsampler_path = hf_hub_download(repo_id=LTX_MODEL_REPO, filename="ltx-2.3-spatial-upscaler-x2-1.0.safetensors")
114
  gemma_root = snapshot_download(repo_id=GEMMA_REPO)
115
 
 
145
  spatial_upsampler_path=spatial_upsampler_path,
146
  gemma_root=gemma_root,
147
  # loras=[lora],
148
+ loras=[],
149
+ quantization=QuantizationPolicy.fp8_cast(),
150
+ #quantization=QuantizationPolicy.fp8_scaled_mm()
151
 
152
  )
153
  return pipe