Spaces:
Runtime error
Runtime error
Commit History
-
Improve UI/UX, fix ControlNet device placement, and increase GPU durations
UI/UX improvements: - Implement two-column layout for both Artistic and Standard QR tabs - Move examples gallery to right column with visibility toggle - Add "Try Another Example" button to return to gallery after generation - Simplify main description and add tab-specific documentation in accordions - Consolidate all user feedback in Status/Errors textbox - Add gr.Examples for Standard QR with preset configurations ControlNet device placement fixes: - Fix MPS device error by ensuring control_model matches input tensor device (comfy/controlnet.py:273) - Ensure time_embed receives tensors on correct device (comfy/cldm/cldm.py:384) - Fixes "Tensor for argument weight is on cpu but expected on mps" error GPU duration optimizations: - Increase safety margins from 20% to 30-40% to prevent timeouts - Standard 832px: 24s → 30s (with animation) - Artistic 768px: 40s → 50s (without upscale) - fixes poker, rice fields - Artistic 1024px: 72s → 90s (without upscale) - fixes mediterranean garden …ac283cb
-
Disable torch.compile for patcher wrapper functions
Prevents excessive recompilations (hitting recompile_limit) in WrapperExecutor.execute, new_executor, and new_class_executor. These wrapper functions cause cache invalidations that trigger unnecessary recompiles. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>e9f4aa8 -
Disable torch.compile for timestep_embedding function
The timesteps.device attribute causes ConstantVariable errors with torch.compile. Disabling compilation for this function prevents the error while keeping main UNet compilation benefits intact. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>6cbd0a8 -
Fix timestep_embedding for torch.compile compatibility
Revert to CPU-first tensor creation then .to(device) instead of device= parameter. The device= parameter causes torch.compile to fail with ConstantVariable assertion error for torch.device type. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>ecce6e7 -
Enable torch.compile for 1.5-1.7× speedup
- Fix timestep_embedding to create tensors on target device - Disable compilation for SAG/FreeU to allow attention capture - Clone SAG attention scores to prevent CUDAGraphs overwrite - Replace in-place += with explicit assignment in attention - Use list indexing for dynamic slicing compatibility - Change dynamic=True for variable batch size support - Remove triton_cache.tar.gz (cache approach doesn't work on ZeroGPU) First inference: 60s (compilation), subsequent: 2-10s (cached) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>576412f
-
fix to torch.compile
7062f04 -
enable torch,compile with fixes
96f8c12 -
Remove progress tracking, add essential fixes only
- Fix PyTorch indexing deprecation warning (tuple instead of list) - Suppress torchsde floating-point precision warnings - Add 1-hour automatic cache cleanup (delete_cache) - Add app.queue() for proper Gradio functionality - Remove all ProgressTracker and progress display code for simplicity00847d8
-
possible to run whole thing on Mac Silicon
67c7b1f
-
Upload 360 files
Verified signature762fbb3