Set PYTORCH_CUDA_ALLOC_CONF=expandable_segments to fight fragmentation; explicit low_cpu_mem_usage=False on TAEF1 + add accelerate to requirements to silence the warning 835d190 apolinario commited on 1 day ago
Per-resolution GPU size: 512 → large (1× quota), 1024 → xlarge (2× quota); plain dispatcher routes between two @spaces.GPU entrypoints 11d62c5 apolinario commited on 1 day ago
Resolution as 512/1024 radio (no intermediates); clarify in info that PiD picks 2k vs 2kto4k accordingly 8c73a94 apolinario commited on 1 day ago
Preload both PiD checkpoints (2k + 2kto4k); pick at request time based on resolution (>512 → 2kto4k for 4K target) 18982d7 apolinario commited on 1 day ago
Use size='xlarge' (full 96GB Blackwell instead of 48GB MIG; 2× quota cost) 42bd837 apolinario commited on 1 day ago
Drop VAE tiling (it fits at normal decode); PiD has no tiling API to apply during upscale e3b1179 apolinario commited on 1 day ago
Drop VAE tiling cleanup (mutation is fork-local on ZeroGPU; parent state untouched) 939d211 apolinario commited on 1 day ago
Enable VAE tiling+slicing only when resolution >= 768 (inside @spaces.GPU); reset after the call d330ff4 apolinario commited on 1 day ago
Initial preview label: 'Z-Image with PiD' (only runtime updates say 'Generating…') 12192e5 apolinario commited on 1 day ago
Shorter description; add 'Randomize seed' checkbox that writes the picked seed back into the Seed field 1e34c9b apolinario commited on 1 day ago
Layout: prompt + run inline above image; advanced settings in accordion below; match slider max_height to height d1e77f7 apolinario commited on 1 day ago
Stream PiD's 4 internal student-sampler steps (yield after each); 'Upscaling with PiD — step K/4' label 622f4d0 apolinario commited on 1 day ago
Drop intermediate captures + gallery; use gr.ImageSlider for Z-Image vs PiD A/B; dynamic 'Generating Z-Image step X/N' / 'Upscaling' labels e2f50b1 apolinario commited on 1 day ago
Stream taef1 previews from Z-Image (thread+queue) into a flash gr.Image; swap to gr.Gallery only when all PiD steps done afb0b5a apolinario commited on 1 day ago
Fix _latent_to_pil squeeze dim (T=1, dim=1 not dim=0); stream gallery as each PiD step completes 6cd8e25 apolinario commited on 1 day ago
Patch Gemma2.forward to put torch.tensor on the embedding's device (ZeroGPU rejects the CPU normalizer cross-device multiply) 9014add apolinario commited on 1 day ago
Replace transformers' vmap-based mask broadcaster with explicit broadcasting (ZeroGPU __torch_function__ can't fake-alloc inside vmap) b0fc9e3 apolinario commited on 1 day ago
Force eager attention on Z-Image text encoder (vmap conflict with ZeroGPU); add Citrus theme + dark-mode color css bcabac3 apolinario commited on 1 day ago
Use upstream environment.yml pip deps verbatim (avoid piecemeal additions) 2ae3585 apolinario commited on 1 day ago
Add boto3/botocore (imaginaire easy_io imports them eagerly) b6d2a05 apolinario commited on 1 day ago
Initial PiD + Z-Image step-by-step denoising demo for ZeroGPU 0972cc0 apolinario commited on 1 day ago