Fix GPUMemoryManager param and simplify theme

- Fix comfyui_reserve_bytes -> comfyui_reserve_gb in main.py
- Simplify Gradio theme to avoid invalid parameters

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-26 23:25:34 +01:00
parent 64a94e7ab7
commit 626fb8d02f
2 changed files with 2 additions and 79 deletions

View File

@@ -44,7 +44,7 @@ async def initialize_services():
logger.info("Initializing GPU manager...")
gpu_manager = GPUMemoryManager(
device_id=0,
comfyui_reserve_bytes=int(settings.comfyui_reserve_gb * 1024**3),
comfyui_reserve_gb=settings.comfyui_reserve_gb,
)
# Initialize model registry