dagloop5 commited on
Commit
e1766c4
·
verified ·
1 Parent(s): 21240c0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -307,7 +307,7 @@ pipeline = LTX23DistilledA2VPipeline(
307
  spatial_upsampler_path=spatial_upsampler_path,
308
  gemma_root=gemma_root,
309
  loras=[],
310
- quantization=QuantizationPolicy.fp8_cast(), # keep FP8 quantization unchanged
311
  )
312
  # ----------------------------------------------------------------
313
 
@@ -439,7 +439,7 @@ def prepare_lora_cache(
439
  spatial_upsampler_path=str(spatial_upsampler_path),
440
  gemma_root_path=str(gemma_root),
441
  loras=tuple(loras_for_builder),
442
- quantization=getattr(ledger, "quantization", None),
443
  )
444
  new_transformer_cpu = tmp_ledger.transformer()
445
 
 
307
  spatial_upsampler_path=spatial_upsampler_path,
308
  gemma_root=gemma_root,
309
  loras=[],
310
+ quantization=None, # keep FP8 quantization unchanged
311
  )
312
  # ----------------------------------------------------------------
313
 
 
439
  spatial_upsampler_path=str(spatial_upsampler_path),
440
  gemma_root_path=str(gemma_root),
441
  loras=tuple(loras_for_builder),
442
+ quantization=None,
443
  )
444
  new_transformer_cpu = tmp_ledger.transformer()
445