dagloop5 commited on
Commit
75ef1d3
·
verified ·
1 Parent(s): 73af1fe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -275,8 +275,8 @@ PENDING_LORA_STATUS: str = "No LoRA state prepared yet."
275
  weights_dir = Path("weights")
276
  weights_dir.mkdir(exist_ok=True)
277
  checkpoint_path = hf_hub_download(
278
- repo_id="ibyteohdear/Lightricks-LTX-2.3-DISTILLED-10-Eros-v1.2",
279
- filename="LTX2.3_DISTILLED_1.1_BAKED_v12_LoRA_fro99-avgrank91.safetensors",
280
  local_dir=str(weights_dir),
281
  local_dir_use_symlinks=False,
282
  )
@@ -292,7 +292,7 @@ LORA_REPO = "dagloop5/LoRA"
292
  print("=" * 80)
293
  print("Downloading LoRA adapters from dagloop5/LoRA...")
294
  print("=" * 80)
295
- singularity_lora_path = hf_hub_download(repo_id="TenStrip/LTX2.3_JoyAI_Lora_Extracted", filename="JoyAI-Echo_r256.safetensors")
296
  teneros_lora_path = hf_hub_download(repo_id=LORA_REPO, filename="LTX2.3-Furry-2D-NSFW-Multi-Purpose-Lora+Cum.safetensors")
297
  sulphur_lora_path =hf_hub_download(repo_id="SulphurAI/Sulphur-2-base", filename="sulphur_lora_rank_768.safetensors")
298
  pose_lora_path = hf_hub_download(repo_id=LORA_REPO, filename="LTX2_3_NSFW_furry_concat_v2.safetensors")
@@ -354,7 +354,7 @@ pipeline = LTX23DistilledA2VPipeline(
354
  spatial_upsampler_path=spatial_upsampler_path,
355
  gemma_root=gemma_root,
356
  loras=[],
357
- quantization=QuantizationPolicy.fp8_cast(), # keep FP8 quantization unchanged
358
  )
359
  # ----------------------------------------------------------------
360
 
@@ -489,7 +489,7 @@ def prepare_lora_cache(
489
  spatial_upsampler_path=str(spatial_upsampler_path),
490
  gemma_root_path=str(gemma_root),
491
  loras=tuple(loras_for_builder),
492
- quantization=getattr(ledger, "quantization", None),
493
  )
494
  new_transformer_cpu = tmp_ledger.transformer()
495
 
@@ -824,7 +824,7 @@ with gr.Blocks(title="LTX-2.3 Distilled") as demo:
824
  with gr.Column():
825
  gr.Markdown("### LoRA adapter strengths (set to 0 to disable; slow and WIP)")
826
  singularity_strength = gr.Slider(
827
- label="Singularity Lora strength",
828
  minimum=0.0, maximum=2.0, value=0.0, step=0.01
829
  )
830
  teneros_strength = gr.Slider(
 
275
  weights_dir = Path("weights")
276
  weights_dir.mkdir(exist_ok=True)
277
  checkpoint_path = hf_hub_download(
278
+ repo_id="TenStrip/LTX2.3-10Eros",
279
+ filename="10Eros_v1.2_bf16.safetensors",
280
  local_dir=str(weights_dir),
281
  local_dir_use_symlinks=False,
282
  )
 
292
  print("=" * 80)
293
  print("Downloading LoRA adapters from dagloop5/LoRA...")
294
  print("=" * 80)
295
+ singularity_lora_path = hf_hub_download(repo_id="TenStrip/LTX2.3_DMD_Lora", filename="LTX2.3_DMD_reshaped_r256.safetensors")
296
  teneros_lora_path = hf_hub_download(repo_id=LORA_REPO, filename="LTX2.3-Furry-2D-NSFW-Multi-Purpose-Lora+Cum.safetensors")
297
  sulphur_lora_path =hf_hub_download(repo_id="SulphurAI/Sulphur-2-base", filename="sulphur_lora_rank_768.safetensors")
298
  pose_lora_path = hf_hub_download(repo_id=LORA_REPO, filename="LTX2_3_NSFW_furry_concat_v2.safetensors")
 
354
  spatial_upsampler_path=spatial_upsampler_path,
355
  gemma_root=gemma_root,
356
  loras=[],
357
+ quantization=None, # keep FP8 quantization unchanged
358
  )
359
  # ----------------------------------------------------------------
360
 
 
489
  spatial_upsampler_path=str(spatial_upsampler_path),
490
  gemma_root_path=str(gemma_root),
491
  loras=tuple(loras_for_builder),
492
+ quantization=None,
493
  )
494
  new_transformer_cpu = tmp_ledger.transformer()
495
 
 
824
  with gr.Column():
825
  gr.Markdown("### LoRA adapter strengths (set to 0 to disable; slow and WIP)")
826
  singularity_strength = gr.Slider(
827
+ label="Distilled Lora strength",
828
  minimum=0.0, maximum=2.0, value=0.0, step=0.01
829
  )
830
  teneros_strength = gr.Slider(