Spaces:
Paused
Paused
Update app.py
Browse files377 unmodified lines378379380381382383377 unmodified linestry:progress(0.35, desc="Building fused CPU transformer")tmp_ledger = ledger.with_loras(tuple(loras_for_builder))orig_tmp_target = getattr(tmp_ledger, "_target_device", None)orig_tmp_device = getattr(tmp_ledger, "device", None)377 unmodified lines378379380381382383384385386387388389377 unmodified linestry:progress(0.35, desc="Building fused CPU transformer")tmp_ledger = ledger.with_loras(tuple(loras_for_builder))# --- FIX: force tmp_ledger to use already downloaded checkpoints ---tmp_ledger._distilled_checkpoint_path = checkpoint_pathtmp_ledger._spatial_upsampler_path = spatial_upsampler_pathtmp_ledger._gemma_root = gemma_root# ---------------------------------------------------------------assert os.path.exists(checkpoint_path), f"Checkpoint missing: {checkpoint_path}"orig_tmp_target = getattr(tmp_ledger, "_target_device", None)orig_tmp_device = getattr(tmp_ledger, "device", None)
app.py+6