Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -354,14 +354,12 @@ print("Initializing HQ Pipeline...")
|
|
| 354 |
|
| 355 |
pipeline = HQPipelineWithCachedLoRA(
|
| 356 |
checkpoint_path=checkpoint_path,
|
| 357 |
-
distilled_lora=[
|
| 358 |
-
|
| 359 |
-
|
| 360 |
-
distilled_lora_strength_stage_1=0.25,
|
| 361 |
-
distilled_lora_strength_stage_2=0.50,
|
| 362 |
spatial_upsampler_path=spatial_upsampler_path,
|
| 363 |
gemma_root=gemma_root,
|
| 364 |
-
loras=(), # LoRAs
|
| 365 |
quantization=QuantizationPolicy.fp8_cast(),
|
| 366 |
)
|
| 367 |
|
|
|
|
| 354 |
|
| 355 |
pipeline = HQPipelineWithCachedLoRA(
|
| 356 |
checkpoint_path=checkpoint_path,
|
| 357 |
+
distilled_lora=[], # No distilled LoRA at init - applied via cached state
|
| 358 |
+
distilled_lora_strength_stage_1=0.0, # Not used since loras is empty
|
| 359 |
+
distilled_lora_strength_stage_2=0.0, # Not used since loras is empty
|
|
|
|
|
|
|
| 360 |
spatial_upsampler_path=spatial_upsampler_path,
|
| 361 |
gemma_root=gemma_root,
|
| 362 |
+
loras=(), # No LoRAs at init - preloading will work
|
| 363 |
quantization=QuantizationPolicy.fp8_cast(),
|
| 364 |
)
|
| 365 |
|