diff --git "a/auto_diffusers.log" "b/auto_diffusers.log" --- "a/auto_diffusers.log" +++ "b/auto_diffusers.log" @@ -14248,3 +14248,1197 @@ IMPORTANT GUIDELINES: 2025-05-30 12:25:35,624 - httpcore.connection - DEBUG - close.complete 2025-05-30 12:25:36,264 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): huggingface.co:443 2025-05-30 12:25:36,494 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "HEAD /api/telemetry/gradio/launched HTTP/1.1" 200 0 +2025-05-30 12:35:49,296 - __main__ - INFO - Initializing GradioAutodiffusers +2025-05-30 12:35:49,296 - __main__ - DEBUG - API key found, length: 39 +2025-05-30 12:35:49,296 - auto_diffusers - INFO - Initializing AutoDiffusersGenerator +2025-05-30 12:35:49,296 - auto_diffusers - DEBUG - API key length: 39 +2025-05-30 12:35:49,296 - auto_diffusers - WARNING - Tool calling dependencies not available, running without tools +2025-05-30 12:35:49,296 - hardware_detector - INFO - Initializing HardwareDetector +2025-05-30 12:35:49,296 - hardware_detector - DEBUG - Starting system hardware detection +2025-05-30 12:35:49,296 - hardware_detector - DEBUG - Platform: Darwin, Architecture: arm64 +2025-05-30 12:35:49,296 - hardware_detector - DEBUG - CPU cores: 16, Python: 3.11.11 +2025-05-30 12:35:49,296 - hardware_detector - DEBUG - Attempting GPU detection via nvidia-smi +2025-05-30 12:35:49,300 - hardware_detector - DEBUG - nvidia-smi not found, no NVIDIA GPU detected +2025-05-30 12:35:49,300 - hardware_detector - DEBUG - Checking PyTorch availability +2025-05-30 12:35:49,751 - hardware_detector - INFO - PyTorch 2.7.0 detected +2025-05-30 12:35:49,752 - hardware_detector - DEBUG - CUDA available: False, MPS available: True +2025-05-30 12:35:49,752 - hardware_detector - INFO - Hardware detection completed successfully +2025-05-30 12:35:49,752 - hardware_detector - DEBUG - Detected specs: {'platform': 'Darwin', 'architecture': 'arm64', 'cpu_count': 16, 'python_version': '3.11.11', 'gpu_info': None, 'cuda_available': False, 'mps_available': True, 'torch_version': '2.7.0'} +2025-05-30 12:35:49,752 - auto_diffusers - INFO - Hardware detector initialized successfully +2025-05-30 12:35:49,752 - __main__ - INFO - AutoDiffusersGenerator initialized successfully +2025-05-30 12:35:49,752 - simple_memory_calculator - INFO - Initializing SimpleMemoryCalculator +2025-05-30 12:35:49,752 - simple_memory_calculator - DEBUG - HuggingFace API initialized +2025-05-30 12:35:49,752 - simple_memory_calculator - DEBUG - Known models in database: 4 +2025-05-30 12:35:49,752 - __main__ - INFO - SimpleMemoryCalculator initialized successfully +2025-05-30 12:35:49,752 - __main__ - DEBUG - Default model settings: gemini-2.5-flash-preview-05-20, temp=0.7 +2025-05-30 12:35:49,754 - asyncio - DEBUG - Using selector: KqueueSelector +2025-05-30 12:35:49,766 - httpcore.connection - DEBUG - connect_tcp.started host='api.gradio.app' port=443 local_address=None timeout=3 socket_options=None +2025-05-30 12:35:49,774 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): huggingface.co:443 +2025-05-30 12:35:49,853 - asyncio - DEBUG - Using selector: KqueueSelector +2025-05-30 12:35:49,885 - httpcore.connection - DEBUG - connect_tcp.started host='localhost' port=7860 local_address=None timeout=None socket_options=None +2025-05-30 12:35:49,885 - httpcore.connection - DEBUG - connect_tcp.complete return_value= +2025-05-30 12:35:49,886 - httpcore.http11 - DEBUG - send_request_headers.started request= +2025-05-30 12:35:49,886 - httpcore.http11 - DEBUG - send_request_headers.complete +2025-05-30 12:35:49,886 - httpcore.http11 - DEBUG - send_request_body.started request= +2025-05-30 12:35:49,886 - httpcore.http11 - DEBUG - send_request_body.complete +2025-05-30 12:35:49,886 - httpcore.http11 - DEBUG - receive_response_headers.started request= +2025-05-30 12:35:49,886 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'date', b'Fri, 30 May 2025 03:35:49 GMT'), (b'server', b'uvicorn'), (b'content-length', b'4'), (b'content-type', b'application/json')]) +2025-05-30 12:35:49,887 - httpx - INFO - HTTP Request: GET http://localhost:7860/gradio_api/startup-events "HTTP/1.1 200 OK" +2025-05-30 12:35:49,887 - httpcore.http11 - DEBUG - receive_response_body.started request= +2025-05-30 12:35:49,887 - httpcore.http11 - DEBUG - receive_response_body.complete +2025-05-30 12:35:49,887 - httpcore.http11 - DEBUG - response_closed.started +2025-05-30 12:35:49,887 - httpcore.http11 - DEBUG - response_closed.complete +2025-05-30 12:35:49,887 - httpcore.connection - DEBUG - close.started +2025-05-30 12:35:49,887 - httpcore.connection - DEBUG - close.complete +2025-05-30 12:35:49,887 - httpcore.connection - DEBUG - connect_tcp.started host='localhost' port=7860 local_address=None timeout=3 socket_options=None +2025-05-30 12:35:49,888 - httpcore.connection - DEBUG - connect_tcp.complete return_value= +2025-05-30 12:35:49,888 - httpcore.http11 - DEBUG - send_request_headers.started request= +2025-05-30 12:35:49,888 - httpcore.http11 - DEBUG - send_request_headers.complete +2025-05-30 12:35:49,888 - httpcore.http11 - DEBUG - send_request_body.started request= +2025-05-30 12:35:49,888 - httpcore.http11 - DEBUG - send_request_body.complete +2025-05-30 12:35:49,888 - httpcore.http11 - DEBUG - receive_response_headers.started request= +2025-05-30 12:35:49,894 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'date', b'Fri, 30 May 2025 03:35:49 GMT'), (b'server', b'uvicorn'), (b'content-length', b'100617'), (b'content-type', b'text/html; charset=utf-8')]) +2025-05-30 12:35:49,894 - httpx - INFO - HTTP Request: HEAD http://localhost:7860/ "HTTP/1.1 200 OK" +2025-05-30 12:35:49,894 - httpcore.http11 - DEBUG - receive_response_body.started request= +2025-05-30 12:35:49,894 - httpcore.http11 - DEBUG - receive_response_body.complete +2025-05-30 12:35:49,894 - httpcore.http11 - DEBUG - response_closed.started +2025-05-30 12:35:49,894 - httpcore.http11 - DEBUG - response_closed.complete +2025-05-30 12:35:49,894 - httpcore.connection - DEBUG - close.started +2025-05-30 12:35:49,894 - httpcore.connection - DEBUG - close.complete +2025-05-30 12:35:49,906 - httpcore.connection - DEBUG - connect_tcp.started host='api.gradio.app' port=443 local_address=None timeout=30 socket_options=None +2025-05-30 12:35:49,959 - httpcore.connection - DEBUG - connect_tcp.complete return_value= +2025-05-30 12:35:49,959 - httpcore.connection - DEBUG - start_tls.started ssl_context= server_hostname='api.gradio.app' timeout=3 +2025-05-30 12:35:50,041 - httpcore.connection - DEBUG - connect_tcp.complete return_value= +2025-05-30 12:35:50,042 - httpcore.connection - DEBUG - start_tls.started ssl_context= server_hostname='api.gradio.app' timeout=30 +2025-05-30 12:35:50,058 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "HEAD /api/telemetry/gradio/initiated HTTP/1.1" 200 0 +2025-05-30 12:35:50,290 - httpcore.connection - DEBUG - start_tls.complete return_value= +2025-05-30 12:35:50,290 - httpcore.http11 - DEBUG - send_request_headers.started request= +2025-05-30 12:35:50,290 - httpcore.http11 - DEBUG - send_request_headers.complete +2025-05-30 12:35:50,290 - httpcore.http11 - DEBUG - send_request_body.started request= +2025-05-30 12:35:50,290 - httpcore.http11 - DEBUG - send_request_body.complete +2025-05-30 12:35:50,290 - httpcore.http11 - DEBUG - receive_response_headers.started request= +2025-05-30 12:35:50,315 - httpcore.connection - DEBUG - start_tls.complete return_value= +2025-05-30 12:35:50,316 - httpcore.http11 - DEBUG - send_request_headers.started request= +2025-05-30 12:35:50,316 - httpcore.http11 - DEBUG - send_request_headers.complete +2025-05-30 12:35:50,316 - httpcore.http11 - DEBUG - send_request_body.started request= +2025-05-30 12:35:50,316 - httpcore.http11 - DEBUG - send_request_body.complete +2025-05-30 12:35:50,316 - httpcore.http11 - DEBUG - receive_response_headers.started request= +2025-05-30 12:35:50,454 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Fri, 30 May 2025 03:35:50 GMT'), (b'Content-Type', b'text/html; charset=utf-8'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'Server', b'nginx/1.18.0'), (b'ContentType', b'application/json'), (b'Access-Control-Allow-Origin', b'*'), (b'Content-Encoding', b'gzip')]) +2025-05-30 12:35:50,454 - httpx - INFO - HTTP Request: GET https://api.gradio.app/v3/tunnel-request "HTTP/1.1 200 OK" +2025-05-30 12:35:50,455 - httpcore.http11 - DEBUG - receive_response_body.started request= +2025-05-30 12:35:50,455 - httpcore.http11 - DEBUG - receive_response_body.complete +2025-05-30 12:35:50,456 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Fri, 30 May 2025 03:35:50 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'21'), (b'Connection', b'keep-alive'), (b'Server', b'nginx/1.18.0'), (b'Access-Control-Allow-Origin', b'*')]) +2025-05-30 12:35:50,456 - httpcore.http11 - DEBUG - response_closed.started +2025-05-30 12:35:50,456 - httpx - INFO - HTTP Request: GET https://api.gradio.app/pkg-version "HTTP/1.1 200 OK" +2025-05-30 12:35:50,456 - httpcore.http11 - DEBUG - response_closed.complete +2025-05-30 12:35:50,456 - httpcore.http11 - DEBUG - receive_response_body.started request= +2025-05-30 12:35:50,457 - httpcore.connection - DEBUG - close.started +2025-05-30 12:35:50,457 - httpcore.http11 - DEBUG - receive_response_body.complete +2025-05-30 12:35:50,457 - httpcore.http11 - DEBUG - response_closed.started +2025-05-30 12:35:50,457 - httpcore.connection - DEBUG - close.complete +2025-05-30 12:35:50,457 - httpcore.http11 - DEBUG - response_closed.complete +2025-05-30 12:35:50,458 - httpcore.connection - DEBUG - close.started +2025-05-30 12:35:50,458 - httpcore.connection - DEBUG - close.complete +2025-05-30 12:35:51,059 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): huggingface.co:443 +2025-05-30 12:35:51,278 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "HEAD /api/telemetry/gradio/launched HTTP/1.1" 200 0 +2025-05-30 12:40:50,489 - __main__ - INFO - Initializing GradioAutodiffusers +2025-05-30 12:40:50,489 - __main__ - DEBUG - API key found, length: 39 +2025-05-30 12:40:50,489 - auto_diffusers - INFO - Initializing AutoDiffusersGenerator +2025-05-30 12:40:50,489 - auto_diffusers - DEBUG - API key length: 39 +2025-05-30 12:40:50,489 - auto_diffusers - WARNING - Tool calling dependencies not available, running without tools +2025-05-30 12:40:50,489 - hardware_detector - INFO - Initializing HardwareDetector +2025-05-30 12:40:50,489 - hardware_detector - DEBUG - Starting system hardware detection +2025-05-30 12:40:50,489 - hardware_detector - DEBUG - Platform: Darwin, Architecture: arm64 +2025-05-30 12:40:50,489 - hardware_detector - DEBUG - CPU cores: 16, Python: 3.11.11 +2025-05-30 12:40:50,489 - hardware_detector - DEBUG - Attempting GPU detection via nvidia-smi +2025-05-30 12:40:50,492 - hardware_detector - DEBUG - nvidia-smi not found, no NVIDIA GPU detected +2025-05-30 12:40:50,492 - hardware_detector - DEBUG - Checking PyTorch availability +2025-05-30 12:40:50,960 - hardware_detector - INFO - PyTorch 2.7.0 detected +2025-05-30 12:40:50,960 - hardware_detector - DEBUG - CUDA available: False, MPS available: True +2025-05-30 12:40:50,960 - hardware_detector - INFO - Hardware detection completed successfully +2025-05-30 12:40:50,960 - hardware_detector - DEBUG - Detected specs: {'platform': 'Darwin', 'architecture': 'arm64', 'cpu_count': 16, 'python_version': '3.11.11', 'gpu_info': None, 'cuda_available': False, 'mps_available': True, 'torch_version': '2.7.0'} +2025-05-30 12:40:50,960 - auto_diffusers - INFO - Hardware detector initialized successfully +2025-05-30 12:40:50,960 - __main__ - INFO - AutoDiffusersGenerator initialized successfully +2025-05-30 12:40:50,960 - simple_memory_calculator - INFO - Initializing SimpleMemoryCalculator +2025-05-30 12:40:50,960 - simple_memory_calculator - DEBUG - HuggingFace API initialized +2025-05-30 12:40:50,960 - simple_memory_calculator - DEBUG - Known models in database: 4 +2025-05-30 12:40:50,960 - __main__ - INFO - SimpleMemoryCalculator initialized successfully +2025-05-30 12:40:50,960 - __main__ - DEBUG - Default model settings: gemini-2.5-flash-preview-05-20, temp=0.7 +2025-05-30 12:40:50,962 - asyncio - DEBUG - Using selector: KqueueSelector +2025-05-30 12:40:50,976 - httpcore.connection - DEBUG - connect_tcp.started host='api.gradio.app' port=443 local_address=None timeout=3 socket_options=None +2025-05-30 12:40:50,981 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): huggingface.co:443 +2025-05-30 12:40:51,061 - asyncio - DEBUG - Using selector: KqueueSelector +2025-05-30 12:40:51,094 - httpcore.connection - DEBUG - connect_tcp.started host='localhost' port=7860 local_address=None timeout=None socket_options=None +2025-05-30 12:40:51,095 - httpcore.connection - DEBUG - connect_tcp.complete return_value= +2025-05-30 12:40:51,095 - httpcore.http11 - DEBUG - send_request_headers.started request= +2025-05-30 12:40:51,095 - httpcore.http11 - DEBUG - send_request_headers.complete +2025-05-30 12:40:51,095 - httpcore.http11 - DEBUG - send_request_body.started request= +2025-05-30 12:40:51,095 - httpcore.http11 - DEBUG - send_request_body.complete +2025-05-30 12:40:51,095 - httpcore.http11 - DEBUG - receive_response_headers.started request= +2025-05-30 12:40:51,096 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'date', b'Fri, 30 May 2025 03:40:51 GMT'), (b'server', b'uvicorn'), (b'content-length', b'4'), (b'content-type', b'application/json')]) +2025-05-30 12:40:51,096 - httpx - INFO - HTTP Request: GET http://localhost:7860/gradio_api/startup-events "HTTP/1.1 200 OK" +2025-05-30 12:40:51,096 - httpcore.http11 - DEBUG - receive_response_body.started request= +2025-05-30 12:40:51,096 - httpcore.http11 - DEBUG - receive_response_body.complete +2025-05-30 12:40:51,096 - httpcore.http11 - DEBUG - response_closed.started +2025-05-30 12:40:51,096 - httpcore.http11 - DEBUG - response_closed.complete +2025-05-30 12:40:51,096 - httpcore.connection - DEBUG - close.started +2025-05-30 12:40:51,096 - httpcore.connection - DEBUG - close.complete +2025-05-30 12:40:51,097 - httpcore.connection - DEBUG - connect_tcp.started host='localhost' port=7860 local_address=None timeout=3 socket_options=None +2025-05-30 12:40:51,097 - httpcore.connection - DEBUG - connect_tcp.complete return_value= +2025-05-30 12:40:51,097 - httpcore.http11 - DEBUG - send_request_headers.started request= +2025-05-30 12:40:51,097 - httpcore.http11 - DEBUG - send_request_headers.complete +2025-05-30 12:40:51,097 - httpcore.http11 - DEBUG - send_request_body.started request= +2025-05-30 12:40:51,097 - httpcore.http11 - DEBUG - send_request_body.complete +2025-05-30 12:40:51,097 - httpcore.http11 - DEBUG - receive_response_headers.started request= +2025-05-30 12:40:51,103 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'date', b'Fri, 30 May 2025 03:40:51 GMT'), (b'server', b'uvicorn'), (b'content-length', b'100551'), (b'content-type', b'text/html; charset=utf-8')]) +2025-05-30 12:40:51,104 - httpx - INFO - HTTP Request: HEAD http://localhost:7860/ "HTTP/1.1 200 OK" +2025-05-30 12:40:51,104 - httpcore.http11 - DEBUG - receive_response_body.started request= +2025-05-30 12:40:51,104 - httpcore.http11 - DEBUG - receive_response_body.complete +2025-05-30 12:40:51,104 - httpcore.http11 - DEBUG - response_closed.started +2025-05-30 12:40:51,104 - httpcore.http11 - DEBUG - response_closed.complete +2025-05-30 12:40:51,104 - httpcore.connection - DEBUG - close.started +2025-05-30 12:40:51,104 - httpcore.connection - DEBUG - close.complete +2025-05-30 12:40:51,116 - httpcore.connection - DEBUG - connect_tcp.started host='api.gradio.app' port=443 local_address=None timeout=30 socket_options=None +2025-05-30 12:40:51,227 - httpcore.connection - DEBUG - connect_tcp.complete return_value= +2025-05-30 12:40:51,227 - httpcore.connection - DEBUG - start_tls.started ssl_context= server_hostname='api.gradio.app' timeout=3 +2025-05-30 12:40:51,249 - httpcore.connection - DEBUG - connect_tcp.complete return_value= +2025-05-30 12:40:51,250 - httpcore.connection - DEBUG - start_tls.started ssl_context= server_hostname='api.gradio.app' timeout=30 +2025-05-30 12:40:51,267 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "HEAD /api/telemetry/gradio/initiated HTTP/1.1" 200 0 +2025-05-30 12:40:51,515 - httpcore.connection - DEBUG - start_tls.complete return_value= +2025-05-30 12:40:51,515 - httpcore.http11 - DEBUG - send_request_headers.started request= +2025-05-30 12:40:51,515 - httpcore.http11 - DEBUG - send_request_headers.complete +2025-05-30 12:40:51,515 - httpcore.http11 - DEBUG - send_request_body.started request= +2025-05-30 12:40:51,515 - httpcore.http11 - DEBUG - send_request_body.complete +2025-05-30 12:40:51,515 - httpcore.http11 - DEBUG - receive_response_headers.started request= +2025-05-30 12:40:51,571 - httpcore.connection - DEBUG - start_tls.complete return_value= +2025-05-30 12:40:51,571 - httpcore.http11 - DEBUG - send_request_headers.started request= +2025-05-30 12:40:51,572 - httpcore.http11 - DEBUG - send_request_headers.complete +2025-05-30 12:40:51,572 - httpcore.http11 - DEBUG - send_request_body.started request= +2025-05-30 12:40:51,572 - httpcore.http11 - DEBUG - send_request_body.complete +2025-05-30 12:40:51,572 - httpcore.http11 - DEBUG - receive_response_headers.started request= +2025-05-30 12:40:51,659 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Fri, 30 May 2025 03:40:51 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'21'), (b'Connection', b'keep-alive'), (b'Server', b'nginx/1.18.0'), (b'Access-Control-Allow-Origin', b'*')]) +2025-05-30 12:40:51,660 - httpx - INFO - HTTP Request: GET https://api.gradio.app/pkg-version "HTTP/1.1 200 OK" +2025-05-30 12:40:51,660 - httpcore.http11 - DEBUG - receive_response_body.started request= +2025-05-30 12:40:51,660 - httpcore.http11 - DEBUG - receive_response_body.complete +2025-05-30 12:40:51,660 - httpcore.http11 - DEBUG - response_closed.started +2025-05-30 12:40:51,661 - httpcore.http11 - DEBUG - response_closed.complete +2025-05-30 12:40:51,661 - httpcore.connection - DEBUG - close.started +2025-05-30 12:40:51,661 - httpcore.connection - DEBUG - close.complete +2025-05-30 12:40:51,708 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Fri, 30 May 2025 03:40:51 GMT'), (b'Content-Type', b'text/html; charset=utf-8'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'Server', b'nginx/1.18.0'), (b'ContentType', b'application/json'), (b'Access-Control-Allow-Origin', b'*'), (b'Content-Encoding', b'gzip')]) +2025-05-30 12:40:51,708 - httpx - INFO - HTTP Request: GET https://api.gradio.app/v3/tunnel-request "HTTP/1.1 200 OK" +2025-05-30 12:40:51,708 - httpcore.http11 - DEBUG - receive_response_body.started request= +2025-05-30 12:40:51,709 - httpcore.http11 - DEBUG - receive_response_body.complete +2025-05-30 12:40:51,709 - httpcore.http11 - DEBUG - response_closed.started +2025-05-30 12:40:51,709 - httpcore.http11 - DEBUG - response_closed.complete +2025-05-30 12:40:51,710 - httpcore.connection - DEBUG - close.started +2025-05-30 12:40:51,710 - httpcore.connection - DEBUG - close.complete +2025-05-30 12:40:52,331 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): huggingface.co:443 +2025-05-30 12:40:52,553 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "HEAD /api/telemetry/gradio/launched HTTP/1.1" 200 0 +2025-05-30 12:40:54,350 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell +2025-05-30 12:40:54,351 - simple_memory_calculator - INFO - Using known memory data for black-forest-labs/FLUX.1-schnell +2025-05-30 12:40:54,351 - simple_memory_calculator - DEBUG - Known data: {'params_billions': 12.0, 'fp16_gb': 24.0, 'inference_fp16_gb': 36.0} +2025-05-30 12:40:54,351 - simple_memory_calculator - INFO - Generating memory recommendations for black-forest-labs/FLUX.1-schnell with 8.0GB VRAM +2025-05-30 12:40:54,351 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell +2025-05-30 12:40:54,351 - simple_memory_calculator - DEBUG - Using cached memory data for black-forest-labs/FLUX.1-schnell +2025-05-30 12:40:54,351 - simple_memory_calculator - DEBUG - Model memory: 24.0GB, Inference memory: 36.0GB +2025-05-30 12:40:54,351 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell +2025-05-30 12:40:54,351 - simple_memory_calculator - DEBUG - Using cached memory data for black-forest-labs/FLUX.1-schnell +2025-05-30 12:40:56,169 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnells +2025-05-30 12:40:56,387 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "GET /api/models/black-forest-labs/FLUX.1-schnells HTTP/1.1" 404 32 +2025-05-30 12:40:56,388 - simple_memory_calculator - ERROR - API Error for model black-forest-labs/FLUX.1-schnells: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-683928c8-0aaabd7b090fb8ab544ad942;119072ca-3d15-4507-9fd9-cd5b7d1a6dd1) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnells. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:40:56,388 - simple_memory_calculator - WARNING - Using generic estimation for black-forest-labs/FLUX.1-schnells due to: HuggingFace API Error: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-683928c8-0aaabd7b090fb8ab544ad942;119072ca-3d15-4507-9fd9-cd5b7d1a6dd1) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnells. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:40:56,388 - simple_memory_calculator - DEBUG - Generic estimation parameters: 3.0B params, 6.0GB FP16 +2025-05-30 12:40:56,388 - simple_memory_calculator - INFO - Generic estimation completed for black-forest-labs/FLUX.1-schnells +2025-05-30 12:40:56,388 - simple_memory_calculator - INFO - Generating memory recommendations for black-forest-labs/FLUX.1-schnells with 8.0GB VRAM +2025-05-30 12:40:56,388 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnells +2025-05-30 12:40:56,603 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "GET /api/models/black-forest-labs/FLUX.1-schnells HTTP/1.1" 404 32 +2025-05-30 12:40:56,604 - simple_memory_calculator - ERROR - API Error for model black-forest-labs/FLUX.1-schnells: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-683928c8-2a18d1162232d2236c70bd4c;9cb12c6a-cd51-46f1-9735-e99948188cb1) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnells. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:40:56,604 - simple_memory_calculator - WARNING - Using generic estimation for black-forest-labs/FLUX.1-schnells due to: HuggingFace API Error: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-683928c8-2a18d1162232d2236c70bd4c;9cb12c6a-cd51-46f1-9735-e99948188cb1) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnells. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:40:56,604 - simple_memory_calculator - DEBUG - Generic estimation parameters: 3.0B params, 6.0GB FP16 +2025-05-30 12:40:56,604 - simple_memory_calculator - INFO - Generic estimation completed for black-forest-labs/FLUX.1-schnells +2025-05-30 12:40:56,604 - simple_memory_calculator - DEBUG - Model memory: 6.0GB, Inference memory: 9.0GB +2025-05-30 12:40:56,605 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnells +2025-05-30 12:40:57,219 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "GET /api/models/black-forest-labs/FLUX.1-schnells HTTP/1.1" 404 32 +2025-05-30 12:40:57,219 - simple_memory_calculator - ERROR - API Error for model black-forest-labs/FLUX.1-schnells: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-683928c8-31558ca50d62c79922202ea7;078e0e53-2d18-4b7a-b59a-bf7ef16d16a6) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnells. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:40:57,219 - simple_memory_calculator - WARNING - Using generic estimation for black-forest-labs/FLUX.1-schnells due to: HuggingFace API Error: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-683928c8-31558ca50d62c79922202ea7;078e0e53-2d18-4b7a-b59a-bf7ef16d16a6) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnells. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:40:57,220 - simple_memory_calculator - DEBUG - Generic estimation parameters: 3.0B params, 6.0GB FP16 +2025-05-30 12:40:57,220 - simple_memory_calculator - INFO - Generic estimation completed for black-forest-labs/FLUX.1-schnells +2025-05-30 12:41:02,720 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnellsfddxcv +2025-05-30 12:41:02,941 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "GET /api/models/black-forest-labs/FLUX.1-schnellsfddxcv HTTP/1.1" 404 32 +2025-05-30 12:41:02,941 - simple_memory_calculator - ERROR - API Error for model black-forest-labs/FLUX.1-schnellsfddxcv: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-683928ce-6bc10f950c617f50323bab05;e15b6937-2a48-40ee-a0cc-d7891fbc5099) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnellsfddxcv. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:41:02,941 - simple_memory_calculator - WARNING - Using generic estimation for black-forest-labs/FLUX.1-schnellsfddxcv due to: HuggingFace API Error: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-683928ce-6bc10f950c617f50323bab05;e15b6937-2a48-40ee-a0cc-d7891fbc5099) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnellsfddxcv. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:41:02,941 - simple_memory_calculator - DEBUG - Generic estimation parameters: 3.0B params, 6.0GB FP16 +2025-05-30 12:41:02,941 - simple_memory_calculator - INFO - Generic estimation completed for black-forest-labs/FLUX.1-schnellsfddxcv +2025-05-30 12:41:02,941 - simple_memory_calculator - INFO - Generating memory recommendations for black-forest-labs/FLUX.1-schnellsfddxcv with 8.0GB VRAM +2025-05-30 12:41:02,941 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnellsfddxcv +2025-05-30 12:41:03,157 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "GET /api/models/black-forest-labs/FLUX.1-schnellsfddxcv HTTP/1.1" 404 32 +2025-05-30 12:41:03,158 - simple_memory_calculator - ERROR - API Error for model black-forest-labs/FLUX.1-schnellsfddxcv: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-683928cf-4d3c1a245dbb80321c0c9713;a18c732a-3397-4cfe-a773-eb2b97b2b218) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnellsfddxcv. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:41:03,158 - simple_memory_calculator - WARNING - Using generic estimation for black-forest-labs/FLUX.1-schnellsfddxcv due to: HuggingFace API Error: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-683928cf-4d3c1a245dbb80321c0c9713;a18c732a-3397-4cfe-a773-eb2b97b2b218) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnellsfddxcv. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:41:03,158 - simple_memory_calculator - DEBUG - Generic estimation parameters: 3.0B params, 6.0GB FP16 +2025-05-30 12:41:03,158 - simple_memory_calculator - INFO - Generic estimation completed for black-forest-labs/FLUX.1-schnellsfddxcv +2025-05-30 12:41:03,158 - simple_memory_calculator - DEBUG - Model memory: 6.0GB, Inference memory: 9.0GB +2025-05-30 12:41:03,158 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnellsfddxcv +2025-05-30 12:41:03,711 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "GET /api/models/black-forest-labs/FLUX.1-schnellsfddxcv HTTP/1.1" 404 32 +2025-05-30 12:41:03,712 - simple_memory_calculator - ERROR - API Error for model black-forest-labs/FLUX.1-schnellsfddxcv: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-683928cf-329640bd3ed026a47c89c979;4df15827-4846-450a-8d8c-1f058d95d647) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnellsfddxcv. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:41:03,712 - simple_memory_calculator - WARNING - Using generic estimation for black-forest-labs/FLUX.1-schnellsfddxcv due to: HuggingFace API Error: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-683928cf-329640bd3ed026a47c89c979;4df15827-4846-450a-8d8c-1f058d95d647) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnellsfddxcv. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:41:03,712 - simple_memory_calculator - DEBUG - Generic estimation parameters: 3.0B params, 6.0GB FP16 +2025-05-30 12:41:03,713 - simple_memory_calculator - INFO - Generic estimation completed for black-forest-labs/FLUX.1-schnellsfddxcv +2025-05-30 12:41:07,547 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnellsfddxcv +2025-05-30 12:41:07,767 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "GET /api/models/black-forest-labs/FLUX.1-schnellsfddxcv HTTP/1.1" 404 32 +2025-05-30 12:41:07,767 - simple_memory_calculator - ERROR - API Error for model black-forest-labs/FLUX.1-schnellsfddxcv: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-683928d3-379ee12d653da24507b48ddf;1ed7d97f-8890-4512-ae6e-264623326f56) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnellsfddxcv. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:41:07,767 - simple_memory_calculator - WARNING - Using generic estimation for black-forest-labs/FLUX.1-schnellsfddxcv due to: HuggingFace API Error: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-683928d3-379ee12d653da24507b48ddf;1ed7d97f-8890-4512-ae6e-264623326f56) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnellsfddxcv. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:41:07,767 - simple_memory_calculator - DEBUG - Generic estimation parameters: 3.0B params, 6.0GB FP16 +2025-05-30 12:41:07,767 - simple_memory_calculator - INFO - Generic estimation completed for black-forest-labs/FLUX.1-schnellsfddxcv +2025-05-30 12:41:07,767 - simple_memory_calculator - INFO - Generating memory recommendations for black-forest-labs/FLUX.1-schnellsfddxcv with 8.0GB VRAM +2025-05-30 12:41:07,767 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnellsfddxcv +2025-05-30 12:41:07,985 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "GET /api/models/black-forest-labs/FLUX.1-schnellsfddxcv HTTP/1.1" 404 32 +2025-05-30 12:41:07,986 - simple_memory_calculator - ERROR - API Error for model black-forest-labs/FLUX.1-schnellsfddxcv: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-683928d3-32b4a9f33024023b320a85a4;ba4aac7d-c3e8-4c72-a1da-1e1537f34656) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnellsfddxcv. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:41:07,986 - simple_memory_calculator - WARNING - Using generic estimation for black-forest-labs/FLUX.1-schnellsfddxcv due to: HuggingFace API Error: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-683928d3-32b4a9f33024023b320a85a4;ba4aac7d-c3e8-4c72-a1da-1e1537f34656) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnellsfddxcv. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:41:07,986 - simple_memory_calculator - DEBUG - Generic estimation parameters: 3.0B params, 6.0GB FP16 +2025-05-30 12:41:07,986 - simple_memory_calculator - INFO - Generic estimation completed for black-forest-labs/FLUX.1-schnellsfddxcv +2025-05-30 12:41:07,986 - simple_memory_calculator - DEBUG - Model memory: 6.0GB, Inference memory: 9.0GB +2025-05-30 12:41:07,986 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnellsfddxcv +2025-05-30 12:41:08,278 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "GET /api/models/black-forest-labs/FLUX.1-schnellsfddxcv HTTP/1.1" 404 32 +2025-05-30 12:41:08,278 - simple_memory_calculator - ERROR - API Error for model black-forest-labs/FLUX.1-schnellsfddxcv: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-683928d4-6ec300a378e96671193bad57;967826f7-13e6-4552-8bb7-2d14e66613e9) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnellsfddxcv. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:41:08,278 - simple_memory_calculator - WARNING - Using generic estimation for black-forest-labs/FLUX.1-schnellsfddxcv due to: HuggingFace API Error: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-683928d4-6ec300a378e96671193bad57;967826f7-13e6-4552-8bb7-2d14e66613e9) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnellsfddxcv. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:41:08,279 - simple_memory_calculator - DEBUG - Generic estimation parameters: 3.0B params, 6.0GB FP16 +2025-05-30 12:41:08,279 - simple_memory_calculator - INFO - Generic estimation completed for black-forest-labs/FLUX.1-schnellsfddxcv +2025-05-30 12:42:44,837 - __main__ - INFO - Initializing GradioAutodiffusers +2025-05-30 12:42:44,837 - __main__ - DEBUG - API key found, length: 39 +2025-05-30 12:42:44,837 - auto_diffusers - INFO - Initializing AutoDiffusersGenerator +2025-05-30 12:42:44,837 - auto_diffusers - DEBUG - API key length: 39 +2025-05-30 12:42:44,837 - auto_diffusers - WARNING - Tool calling dependencies not available, running without tools +2025-05-30 12:42:44,837 - hardware_detector - INFO - Initializing HardwareDetector +2025-05-30 12:42:44,837 - hardware_detector - DEBUG - Starting system hardware detection +2025-05-30 12:42:44,838 - hardware_detector - DEBUG - Platform: Darwin, Architecture: arm64 +2025-05-30 12:42:44,838 - hardware_detector - DEBUG - CPU cores: 16, Python: 3.11.11 +2025-05-30 12:42:44,838 - hardware_detector - DEBUG - Attempting GPU detection via nvidia-smi +2025-05-30 12:42:44,842 - hardware_detector - DEBUG - nvidia-smi not found, no NVIDIA GPU detected +2025-05-30 12:42:44,842 - hardware_detector - DEBUG - Checking PyTorch availability +2025-05-30 12:42:45,305 - hardware_detector - INFO - PyTorch 2.7.0 detected +2025-05-30 12:42:45,305 - hardware_detector - DEBUG - CUDA available: False, MPS available: True +2025-05-30 12:42:45,305 - hardware_detector - INFO - Hardware detection completed successfully +2025-05-30 12:42:45,305 - hardware_detector - DEBUG - Detected specs: {'platform': 'Darwin', 'architecture': 'arm64', 'cpu_count': 16, 'python_version': '3.11.11', 'gpu_info': None, 'cuda_available': False, 'mps_available': True, 'torch_version': '2.7.0'} +2025-05-30 12:42:45,305 - auto_diffusers - INFO - Hardware detector initialized successfully +2025-05-30 12:42:45,305 - __main__ - INFO - AutoDiffusersGenerator initialized successfully +2025-05-30 12:42:45,305 - simple_memory_calculator - INFO - Initializing SimpleMemoryCalculator +2025-05-30 12:42:45,305 - simple_memory_calculator - DEBUG - HuggingFace API initialized +2025-05-30 12:42:45,305 - simple_memory_calculator - DEBUG - Known models in database: 4 +2025-05-30 12:42:45,305 - __main__ - INFO - SimpleMemoryCalculator initialized successfully +2025-05-30 12:42:45,305 - __main__ - DEBUG - Default model settings: gemini-2.5-flash-preview-05-20, temp=0.7 +2025-05-30 12:42:45,307 - asyncio - DEBUG - Using selector: KqueueSelector +2025-05-30 12:42:45,319 - httpcore.connection - DEBUG - connect_tcp.started host='api.gradio.app' port=443 local_address=None timeout=3 socket_options=None +2025-05-30 12:42:45,327 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): huggingface.co:443 +2025-05-30 12:42:45,406 - asyncio - DEBUG - Using selector: KqueueSelector +2025-05-30 12:42:45,439 - httpcore.connection - DEBUG - connect_tcp.started host='localhost' port=7860 local_address=None timeout=None socket_options=None +2025-05-30 12:42:45,439 - httpcore.connection - DEBUG - connect_tcp.complete return_value= +2025-05-30 12:42:45,439 - httpcore.http11 - DEBUG - send_request_headers.started request= +2025-05-30 12:42:45,439 - httpcore.http11 - DEBUG - send_request_headers.complete +2025-05-30 12:42:45,439 - httpcore.http11 - DEBUG - send_request_body.started request= +2025-05-30 12:42:45,440 - httpcore.http11 - DEBUG - send_request_body.complete +2025-05-30 12:42:45,440 - httpcore.http11 - DEBUG - receive_response_headers.started request= +2025-05-30 12:42:45,440 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'date', b'Fri, 30 May 2025 03:42:45 GMT'), (b'server', b'uvicorn'), (b'content-length', b'4'), (b'content-type', b'application/json')]) +2025-05-30 12:42:45,440 - httpx - INFO - HTTP Request: GET http://localhost:7860/gradio_api/startup-events "HTTP/1.1 200 OK" +2025-05-30 12:42:45,440 - httpcore.http11 - DEBUG - receive_response_body.started request= +2025-05-30 12:42:45,440 - httpcore.http11 - DEBUG - receive_response_body.complete +2025-05-30 12:42:45,440 - httpcore.http11 - DEBUG - response_closed.started +2025-05-30 12:42:45,440 - httpcore.http11 - DEBUG - response_closed.complete +2025-05-30 12:42:45,440 - httpcore.connection - DEBUG - close.started +2025-05-30 12:42:45,440 - httpcore.connection - DEBUG - close.complete +2025-05-30 12:42:45,441 - httpcore.connection - DEBUG - connect_tcp.started host='localhost' port=7860 local_address=None timeout=3 socket_options=None +2025-05-30 12:42:45,441 - httpcore.connection - DEBUG - connect_tcp.complete return_value= +2025-05-30 12:42:45,441 - httpcore.http11 - DEBUG - send_request_headers.started request= +2025-05-30 12:42:45,441 - httpcore.http11 - DEBUG - send_request_headers.complete +2025-05-30 12:42:45,441 - httpcore.http11 - DEBUG - send_request_body.started request= +2025-05-30 12:42:45,441 - httpcore.http11 - DEBUG - send_request_body.complete +2025-05-30 12:42:45,442 - httpcore.http11 - DEBUG - receive_response_headers.started request= +2025-05-30 12:42:45,448 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'date', b'Fri, 30 May 2025 03:42:45 GMT'), (b'server', b'uvicorn'), (b'content-length', b'100551'), (b'content-type', b'text/html; charset=utf-8')]) +2025-05-30 12:42:45,448 - httpx - INFO - HTTP Request: HEAD http://localhost:7860/ "HTTP/1.1 200 OK" +2025-05-30 12:42:45,448 - httpcore.http11 - DEBUG - receive_response_body.started request= +2025-05-30 12:42:45,448 - httpcore.http11 - DEBUG - receive_response_body.complete +2025-05-30 12:42:45,448 - httpcore.http11 - DEBUG - response_closed.started +2025-05-30 12:42:45,448 - httpcore.http11 - DEBUG - response_closed.complete +2025-05-30 12:42:45,448 - httpcore.connection - DEBUG - close.started +2025-05-30 12:42:45,448 - httpcore.connection - DEBUG - close.complete +2025-05-30 12:42:45,459 - httpcore.connection - DEBUG - connect_tcp.started host='api.gradio.app' port=443 local_address=None timeout=30 socket_options=None +2025-05-30 12:42:45,487 - httpcore.connection - DEBUG - connect_tcp.complete return_value= +2025-05-30 12:42:45,487 - httpcore.connection - DEBUG - start_tls.started ssl_context= server_hostname='api.gradio.app' timeout=3 +2025-05-30 12:42:45,604 - httpcore.connection - DEBUG - connect_tcp.complete return_value= +2025-05-30 12:42:45,604 - httpcore.connection - DEBUG - start_tls.started ssl_context= server_hostname='api.gradio.app' timeout=30 +2025-05-30 12:42:45,612 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "HEAD /api/telemetry/gradio/initiated HTTP/1.1" 200 0 +2025-05-30 12:42:45,765 - httpcore.connection - DEBUG - start_tls.complete return_value= +2025-05-30 12:42:45,766 - httpcore.http11 - DEBUG - send_request_headers.started request= +2025-05-30 12:42:45,766 - httpcore.http11 - DEBUG - send_request_headers.complete +2025-05-30 12:42:45,766 - httpcore.http11 - DEBUG - send_request_body.started request= +2025-05-30 12:42:45,767 - httpcore.http11 - DEBUG - send_request_body.complete +2025-05-30 12:42:45,767 - httpcore.http11 - DEBUG - receive_response_headers.started request= +2025-05-30 12:42:45,893 - httpcore.connection - DEBUG - start_tls.complete return_value= +2025-05-30 12:42:45,893 - httpcore.http11 - DEBUG - send_request_headers.started request= +2025-05-30 12:42:45,894 - httpcore.http11 - DEBUG - send_request_headers.complete +2025-05-30 12:42:45,894 - httpcore.http11 - DEBUG - send_request_body.started request= +2025-05-30 12:42:45,894 - httpcore.http11 - DEBUG - send_request_body.complete +2025-05-30 12:42:45,894 - httpcore.http11 - DEBUG - receive_response_headers.started request= +2025-05-30 12:42:45,905 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Fri, 30 May 2025 03:42:45 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'21'), (b'Connection', b'keep-alive'), (b'Server', b'nginx/1.18.0'), (b'Access-Control-Allow-Origin', b'*')]) +2025-05-30 12:42:45,906 - httpx - INFO - HTTP Request: GET https://api.gradio.app/pkg-version "HTTP/1.1 200 OK" +2025-05-30 12:42:45,906 - httpcore.http11 - DEBUG - receive_response_body.started request= +2025-05-30 12:42:45,906 - httpcore.http11 - DEBUG - receive_response_body.complete +2025-05-30 12:42:45,906 - httpcore.http11 - DEBUG - response_closed.started +2025-05-30 12:42:45,906 - httpcore.http11 - DEBUG - response_closed.complete +2025-05-30 12:42:45,906 - httpcore.connection - DEBUG - close.started +2025-05-30 12:42:45,907 - httpcore.connection - DEBUG - close.complete +2025-05-30 12:42:46,041 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Fri, 30 May 2025 03:42:45 GMT'), (b'Content-Type', b'text/html; charset=utf-8'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'Server', b'nginx/1.18.0'), (b'ContentType', b'application/json'), (b'Access-Control-Allow-Origin', b'*'), (b'Content-Encoding', b'gzip')]) +2025-05-30 12:42:46,041 - httpx - INFO - HTTP Request: GET https://api.gradio.app/v3/tunnel-request "HTTP/1.1 200 OK" +2025-05-30 12:42:46,041 - httpcore.http11 - DEBUG - receive_response_body.started request= +2025-05-30 12:42:46,041 - httpcore.http11 - DEBUG - receive_response_body.complete +2025-05-30 12:42:46,042 - httpcore.http11 - DEBUG - response_closed.started +2025-05-30 12:42:46,042 - httpcore.http11 - DEBUG - response_closed.complete +2025-05-30 12:42:46,042 - httpcore.connection - DEBUG - close.started +2025-05-30 12:42:46,042 - httpcore.connection - DEBUG - close.complete +2025-05-30 12:42:46,611 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell +2025-05-30 12:42:46,611 - simple_memory_calculator - INFO - Using known memory data for black-forest-labs/FLUX.1-schnell +2025-05-30 12:42:46,611 - simple_memory_calculator - DEBUG - Known data: {'params_billions': 12.0, 'fp16_gb': 24.0, 'inference_fp16_gb': 36.0} +2025-05-30 12:42:46,611 - simple_memory_calculator - INFO - Generating memory recommendations for black-forest-labs/FLUX.1-schnell with 8.0GB VRAM +2025-05-30 12:42:46,611 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell +2025-05-30 12:42:46,611 - simple_memory_calculator - DEBUG - Using cached memory data for black-forest-labs/FLUX.1-schnell +2025-05-30 12:42:46,611 - simple_memory_calculator - DEBUG - Model memory: 24.0GB, Inference memory: 36.0GB +2025-05-30 12:42:46,611 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell +2025-05-30 12:42:46,612 - simple_memory_calculator - DEBUG - Using cached memory data for black-forest-labs/FLUX.1-schnell +2025-05-30 12:42:46,670 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): huggingface.co:443 +2025-05-30 12:42:46,892 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "HEAD /api/telemetry/gradio/launched HTTP/1.1" 200 0 +2025-05-30 12:42:49,704 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnelldd +2025-05-30 12:42:49,706 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): huggingface.co:443 +2025-05-30 12:42:49,941 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "GET /api/models/black-forest-labs/FLUX.1-schnelldd HTTP/1.1" 404 32 +2025-05-30 12:42:49,942 - simple_memory_calculator - ERROR - API Error for model black-forest-labs/FLUX.1-schnelldd: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-68392939-0005b45d61830d803048ce93;deadb8a4-9a08-46f3-8c34-69d166a424ef) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnelldd. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:42:49,942 - simple_memory_calculator - WARNING - Using generic estimation for black-forest-labs/FLUX.1-schnelldd due to: HuggingFace API Error: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-68392939-0005b45d61830d803048ce93;deadb8a4-9a08-46f3-8c34-69d166a424ef) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnelldd. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:42:49,942 - simple_memory_calculator - DEBUG - Generic estimation parameters: 3.0B params, 6.0GB FP16 +2025-05-30 12:42:49,942 - simple_memory_calculator - INFO - Generic estimation completed for black-forest-labs/FLUX.1-schnelldd +2025-05-30 12:42:49,942 - simple_memory_calculator - INFO - Generating memory recommendations for black-forest-labs/FLUX.1-schnelldd with 8.0GB VRAM +2025-05-30 12:42:49,942 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnelldd +2025-05-30 12:42:50,157 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "GET /api/models/black-forest-labs/FLUX.1-schnelldd HTTP/1.1" 404 32 +2025-05-30 12:42:50,158 - simple_memory_calculator - ERROR - API Error for model black-forest-labs/FLUX.1-schnelldd: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-6839293a-415221553bb2f68d533bfded;99b52697-6d05-4582-8f1b-c6c58ebe11fa) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnelldd. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:42:50,158 - simple_memory_calculator - WARNING - Using generic estimation for black-forest-labs/FLUX.1-schnelldd due to: HuggingFace API Error: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-6839293a-415221553bb2f68d533bfded;99b52697-6d05-4582-8f1b-c6c58ebe11fa) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnelldd. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:42:50,158 - simple_memory_calculator - DEBUG - Generic estimation parameters: 3.0B params, 6.0GB FP16 +2025-05-30 12:42:50,158 - simple_memory_calculator - INFO - Generic estimation completed for black-forest-labs/FLUX.1-schnelldd +2025-05-30 12:42:50,158 - simple_memory_calculator - DEBUG - Model memory: 6.0GB, Inference memory: 9.0GB +2025-05-30 12:42:50,158 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnelldd +2025-05-30 12:42:50,409 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "GET /api/models/black-forest-labs/FLUX.1-schnelldd HTTP/1.1" 404 32 +2025-05-30 12:42:50,410 - simple_memory_calculator - ERROR - API Error for model black-forest-labs/FLUX.1-schnelldd: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-6839293a-424b7c1279f4673a7a262bde;24b28a19-f909-426a-95df-82f52d74581f) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnelldd. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:42:50,410 - simple_memory_calculator - WARNING - Using generic estimation for black-forest-labs/FLUX.1-schnelldd due to: HuggingFace API Error: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-6839293a-424b7c1279f4673a7a262bde;24b28a19-f909-426a-95df-82f52d74581f) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnelldd. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:42:50,410 - simple_memory_calculator - DEBUG - Generic estimation parameters: 3.0B params, 6.0GB FP16 +2025-05-30 12:42:50,410 - simple_memory_calculator - INFO - Generic estimation completed for black-forest-labs/FLUX.1-schnelldd +2025-05-30 12:42:55,241 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnelldd +2025-05-30 12:42:55,461 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "GET /api/models/black-forest-labs/FLUX.1-schnelldd HTTP/1.1" 404 32 +2025-05-30 12:42:55,462 - simple_memory_calculator - ERROR - API Error for model black-forest-labs/FLUX.1-schnelldd: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-6839293f-45a69887498716fe2290453d;5f056895-3da7-402c-a0b2-8779f6a300f2) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnelldd. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:42:55,462 - simple_memory_calculator - WARNING - Using generic estimation for black-forest-labs/FLUX.1-schnelldd due to: HuggingFace API Error: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-6839293f-45a69887498716fe2290453d;5f056895-3da7-402c-a0b2-8779f6a300f2) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnelldd. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:42:55,462 - simple_memory_calculator - DEBUG - Generic estimation parameters: 3.0B params, 6.0GB FP16 +2025-05-30 12:42:55,462 - simple_memory_calculator - INFO - Generic estimation completed for black-forest-labs/FLUX.1-schnelldd +2025-05-30 12:42:55,462 - simple_memory_calculator - INFO - Generating memory recommendations for black-forest-labs/FLUX.1-schnelldd with 8.0GB VRAM +2025-05-30 12:42:55,462 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnelldd +2025-05-30 12:42:55,696 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "GET /api/models/black-forest-labs/FLUX.1-schnelldd HTTP/1.1" 404 32 +2025-05-30 12:42:55,697 - simple_memory_calculator - ERROR - API Error for model black-forest-labs/FLUX.1-schnelldd: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-6839293f-021ad2693618a43e583dd961;29f9ee24-d491-43e9-826e-b61e5da13e14) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnelldd. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:42:55,697 - simple_memory_calculator - WARNING - Using generic estimation for black-forest-labs/FLUX.1-schnelldd due to: HuggingFace API Error: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-6839293f-021ad2693618a43e583dd961;29f9ee24-d491-43e9-826e-b61e5da13e14) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnelldd. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:42:55,697 - simple_memory_calculator - DEBUG - Generic estimation parameters: 3.0B params, 6.0GB FP16 +2025-05-30 12:42:55,697 - simple_memory_calculator - INFO - Generic estimation completed for black-forest-labs/FLUX.1-schnelldd +2025-05-30 12:42:55,698 - simple_memory_calculator - DEBUG - Model memory: 6.0GB, Inference memory: 9.0GB +2025-05-30 12:42:55,698 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnelldd +2025-05-30 12:42:55,912 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "GET /api/models/black-forest-labs/FLUX.1-schnelldd HTTP/1.1" 404 32 +2025-05-30 12:42:55,912 - simple_memory_calculator - ERROR - API Error for model black-forest-labs/FLUX.1-schnelldd: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-6839293f-750279ec4331878e6674dd97;27ce0e25-8488-4859-b492-d361b3e93eaa) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnelldd. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:42:55,912 - simple_memory_calculator - WARNING - Using generic estimation for black-forest-labs/FLUX.1-schnelldd due to: HuggingFace API Error: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-6839293f-750279ec4331878e6674dd97;27ce0e25-8488-4859-b492-d361b3e93eaa) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnelldd. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:42:55,912 - simple_memory_calculator - DEBUG - Generic estimation parameters: 3.0B params, 6.0GB FP16 +2025-05-30 12:42:55,913 - simple_memory_calculator - INFO - Generic estimation completed for black-forest-labs/FLUX.1-schnelldd +2025-05-30 12:44:05,771 - __main__ - INFO - Initializing GradioAutodiffusers +2025-05-30 12:44:05,771 - __main__ - DEBUG - API key found, length: 39 +2025-05-30 12:44:05,771 - auto_diffusers - INFO - Initializing AutoDiffusersGenerator +2025-05-30 12:44:05,771 - auto_diffusers - DEBUG - API key length: 39 +2025-05-30 12:44:05,771 - auto_diffusers - WARNING - Tool calling dependencies not available, running without tools +2025-05-30 12:44:05,771 - hardware_detector - INFO - Initializing HardwareDetector +2025-05-30 12:44:05,771 - hardware_detector - DEBUG - Starting system hardware detection +2025-05-30 12:44:05,771 - hardware_detector - DEBUG - Platform: Darwin, Architecture: arm64 +2025-05-30 12:44:05,771 - hardware_detector - DEBUG - CPU cores: 16, Python: 3.11.11 +2025-05-30 12:44:05,771 - hardware_detector - DEBUG - Attempting GPU detection via nvidia-smi +2025-05-30 12:44:05,774 - hardware_detector - DEBUG - nvidia-smi not found, no NVIDIA GPU detected +2025-05-30 12:44:05,774 - hardware_detector - DEBUG - Checking PyTorch availability +2025-05-30 12:44:06,257 - hardware_detector - INFO - PyTorch 2.7.0 detected +2025-05-30 12:44:06,257 - hardware_detector - DEBUG - CUDA available: False, MPS available: True +2025-05-30 12:44:06,257 - hardware_detector - INFO - Hardware detection completed successfully +2025-05-30 12:44:06,257 - hardware_detector - DEBUG - Detected specs: {'platform': 'Darwin', 'architecture': 'arm64', 'cpu_count': 16, 'python_version': '3.11.11', 'gpu_info': None, 'cuda_available': False, 'mps_available': True, 'torch_version': '2.7.0'} +2025-05-30 12:44:06,257 - auto_diffusers - INFO - Hardware detector initialized successfully +2025-05-30 12:44:06,257 - __main__ - INFO - AutoDiffusersGenerator initialized successfully +2025-05-30 12:44:06,257 - simple_memory_calculator - INFO - Initializing SimpleMemoryCalculator +2025-05-30 12:44:06,257 - simple_memory_calculator - DEBUG - HuggingFace API initialized +2025-05-30 12:44:06,257 - simple_memory_calculator - DEBUG - Known models in database: 4 +2025-05-30 12:44:06,257 - __main__ - INFO - SimpleMemoryCalculator initialized successfully +2025-05-30 12:44:06,257 - __main__ - DEBUG - Default model settings: gemini-2.5-flash-preview-05-20, temp=0.7 +2025-05-30 12:44:06,260 - asyncio - DEBUG - Using selector: KqueueSelector +2025-05-30 12:44:06,273 - httpcore.connection - DEBUG - connect_tcp.started host='api.gradio.app' port=443 local_address=None timeout=3 socket_options=None +2025-05-30 12:44:06,279 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): huggingface.co:443 +2025-05-30 12:44:06,358 - asyncio - DEBUG - Using selector: KqueueSelector +2025-05-30 12:44:06,390 - httpcore.connection - DEBUG - connect_tcp.started host='localhost' port=7860 local_address=None timeout=None socket_options=None +2025-05-30 12:44:06,391 - httpcore.connection - DEBUG - connect_tcp.complete return_value= +2025-05-30 12:44:06,391 - httpcore.http11 - DEBUG - send_request_headers.started request= +2025-05-30 12:44:06,391 - httpcore.http11 - DEBUG - send_request_headers.complete +2025-05-30 12:44:06,391 - httpcore.http11 - DEBUG - send_request_body.started request= +2025-05-30 12:44:06,391 - httpcore.http11 - DEBUG - send_request_body.complete +2025-05-30 12:44:06,391 - httpcore.http11 - DEBUG - receive_response_headers.started request= +2025-05-30 12:44:06,392 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'date', b'Fri, 30 May 2025 03:44:06 GMT'), (b'server', b'uvicorn'), (b'content-length', b'4'), (b'content-type', b'application/json')]) +2025-05-30 12:44:06,392 - httpx - INFO - HTTP Request: GET http://localhost:7860/gradio_api/startup-events "HTTP/1.1 200 OK" +2025-05-30 12:44:06,392 - httpcore.http11 - DEBUG - receive_response_body.started request= +2025-05-30 12:44:06,392 - httpcore.http11 - DEBUG - receive_response_body.complete +2025-05-30 12:44:06,392 - httpcore.http11 - DEBUG - response_closed.started +2025-05-30 12:44:06,392 - httpcore.http11 - DEBUG - response_closed.complete +2025-05-30 12:44:06,392 - httpcore.connection - DEBUG - close.started +2025-05-30 12:44:06,392 - httpcore.connection - DEBUG - close.complete +2025-05-30 12:44:06,393 - httpcore.connection - DEBUG - connect_tcp.started host='localhost' port=7860 local_address=None timeout=3 socket_options=None +2025-05-30 12:44:06,393 - httpcore.connection - DEBUG - connect_tcp.complete return_value= +2025-05-30 12:44:06,393 - httpcore.http11 - DEBUG - send_request_headers.started request= +2025-05-30 12:44:06,393 - httpcore.http11 - DEBUG - send_request_headers.complete +2025-05-30 12:44:06,393 - httpcore.http11 - DEBUG - send_request_body.started request= +2025-05-30 12:44:06,394 - httpcore.http11 - DEBUG - send_request_body.complete +2025-05-30 12:44:06,394 - httpcore.http11 - DEBUG - receive_response_headers.started request= +2025-05-30 12:44:06,399 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'date', b'Fri, 30 May 2025 03:44:06 GMT'), (b'server', b'uvicorn'), (b'content-length', b'100541'), (b'content-type', b'text/html; charset=utf-8')]) +2025-05-30 12:44:06,400 - httpx - INFO - HTTP Request: HEAD http://localhost:7860/ "HTTP/1.1 200 OK" +2025-05-30 12:44:06,400 - httpcore.http11 - DEBUG - receive_response_body.started request= +2025-05-30 12:44:06,400 - httpcore.http11 - DEBUG - receive_response_body.complete +2025-05-30 12:44:06,400 - httpcore.http11 - DEBUG - response_closed.started +2025-05-30 12:44:06,400 - httpcore.http11 - DEBUG - response_closed.complete +2025-05-30 12:44:06,400 - httpcore.connection - DEBUG - close.started +2025-05-30 12:44:06,400 - httpcore.connection - DEBUG - close.complete +2025-05-30 12:44:06,411 - httpcore.connection - DEBUG - connect_tcp.started host='api.gradio.app' port=443 local_address=None timeout=30 socket_options=None +2025-05-30 12:44:06,459 - httpcore.connection - DEBUG - connect_tcp.complete return_value= +2025-05-30 12:44:06,459 - httpcore.connection - DEBUG - start_tls.started ssl_context= server_hostname='api.gradio.app' timeout=3 +2025-05-30 12:44:06,553 - httpcore.connection - DEBUG - connect_tcp.complete return_value= +2025-05-30 12:44:06,553 - httpcore.connection - DEBUG - start_tls.started ssl_context= server_hostname='api.gradio.app' timeout=30 +2025-05-30 12:44:06,556 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "HEAD /api/telemetry/gradio/initiated HTTP/1.1" 200 0 +2025-05-30 12:44:06,802 - httpcore.connection - DEBUG - start_tls.complete return_value= +2025-05-30 12:44:06,802 - httpcore.http11 - DEBUG - send_request_headers.started request= +2025-05-30 12:44:06,803 - httpcore.http11 - DEBUG - send_request_headers.complete +2025-05-30 12:44:06,803 - httpcore.http11 - DEBUG - send_request_body.started request= +2025-05-30 12:44:06,803 - httpcore.http11 - DEBUG - send_request_body.complete +2025-05-30 12:44:06,803 - httpcore.http11 - DEBUG - receive_response_headers.started request= +2025-05-30 12:44:06,832 - httpcore.connection - DEBUG - start_tls.complete return_value= +2025-05-30 12:44:06,832 - httpcore.http11 - DEBUG - send_request_headers.started request= +2025-05-30 12:44:06,832 - httpcore.http11 - DEBUG - send_request_headers.complete +2025-05-30 12:44:06,832 - httpcore.http11 - DEBUG - send_request_body.started request= +2025-05-30 12:44:06,832 - httpcore.http11 - DEBUG - send_request_body.complete +2025-05-30 12:44:06,832 - httpcore.http11 - DEBUG - receive_response_headers.started request= +2025-05-30 12:44:06,967 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Fri, 30 May 2025 03:44:06 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'21'), (b'Connection', b'keep-alive'), (b'Server', b'nginx/1.18.0'), (b'Access-Control-Allow-Origin', b'*')]) +2025-05-30 12:44:06,967 - httpx - INFO - HTTP Request: GET https://api.gradio.app/pkg-version "HTTP/1.1 200 OK" +2025-05-30 12:44:06,968 - httpcore.http11 - DEBUG - receive_response_body.started request= +2025-05-30 12:44:06,968 - httpcore.http11 - DEBUG - receive_response_body.complete +2025-05-30 12:44:06,968 - httpcore.http11 - DEBUG - response_closed.started +2025-05-30 12:44:06,968 - httpcore.http11 - DEBUG - response_closed.complete +2025-05-30 12:44:06,968 - httpcore.connection - DEBUG - close.started +2025-05-30 12:44:06,968 - httpcore.connection - DEBUG - close.complete +2025-05-30 12:44:06,974 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Fri, 30 May 2025 03:44:06 GMT'), (b'Content-Type', b'text/html; charset=utf-8'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'Server', b'nginx/1.18.0'), (b'ContentType', b'application/json'), (b'Access-Control-Allow-Origin', b'*'), (b'Content-Encoding', b'gzip')]) +2025-05-30 12:44:06,975 - httpx - INFO - HTTP Request: GET https://api.gradio.app/v3/tunnel-request "HTTP/1.1 200 OK" +2025-05-30 12:44:06,975 - httpcore.http11 - DEBUG - receive_response_body.started request= +2025-05-30 12:44:06,975 - httpcore.http11 - DEBUG - receive_response_body.complete +2025-05-30 12:44:06,976 - httpcore.http11 - DEBUG - response_closed.started +2025-05-30 12:44:06,976 - httpcore.http11 - DEBUG - response_closed.complete +2025-05-30 12:44:06,976 - httpcore.connection - DEBUG - close.started +2025-05-30 12:44:06,976 - httpcore.connection - DEBUG - close.complete +2025-05-30 12:44:07,304 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell +2025-05-30 12:44:07,305 - simple_memory_calculator - INFO - Using known memory data for black-forest-labs/FLUX.1-schnell +2025-05-30 12:44:07,305 - simple_memory_calculator - DEBUG - Known data: {'params_billions': 12.0, 'fp16_gb': 24.0, 'inference_fp16_gb': 36.0} +2025-05-30 12:44:07,306 - simple_memory_calculator - INFO - Generating memory recommendations for black-forest-labs/FLUX.1-schnell with 8.0GB VRAM +2025-05-30 12:44:07,306 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell +2025-05-30 12:44:07,306 - simple_memory_calculator - DEBUG - Using cached memory data for black-forest-labs/FLUX.1-schnell +2025-05-30 12:44:07,306 - simple_memory_calculator - DEBUG - Model memory: 24.0GB, Inference memory: 36.0GB +2025-05-30 12:44:07,306 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell +2025-05-30 12:44:07,306 - simple_memory_calculator - DEBUG - Using cached memory data for black-forest-labs/FLUX.1-schnell +2025-05-30 12:44:07,566 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): huggingface.co:443 +2025-05-30 12:44:07,785 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "HEAD /api/telemetry/gradio/launched HTTP/1.1" 200 0 +2025-05-30 12:44:09,696 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnella +2025-05-30 12:44:09,697 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): huggingface.co:443 +2025-05-30 12:44:10,142 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "GET /api/models/black-forest-labs/FLUX.1-schnella HTTP/1.1" 404 32 +2025-05-30 12:44:10,142 - simple_memory_calculator - ERROR - API Error for model black-forest-labs/FLUX.1-schnella: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-68392989-25945bd33b836bfd304e6410;59b8eecc-69af-4bd4-a300-491f715f14bc) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnella. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:44:10,142 - simple_memory_calculator - WARNING - Using generic estimation for black-forest-labs/FLUX.1-schnella due to: HuggingFace API Error: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-68392989-25945bd33b836bfd304e6410;59b8eecc-69af-4bd4-a300-491f715f14bc) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnella. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:44:10,143 - simple_memory_calculator - DEBUG - Generic estimation parameters: 3.0B params, 6.0GB FP16 +2025-05-30 12:44:10,143 - simple_memory_calculator - INFO - Generic estimation completed for black-forest-labs/FLUX.1-schnella +2025-05-30 12:44:10,143 - simple_memory_calculator - INFO - Generating memory recommendations for black-forest-labs/FLUX.1-schnella with 8.0GB VRAM +2025-05-30 12:44:10,143 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnella +2025-05-30 12:44:10,411 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "GET /api/models/black-forest-labs/FLUX.1-schnella HTTP/1.1" 404 32 +2025-05-30 12:44:10,411 - simple_memory_calculator - ERROR - API Error for model black-forest-labs/FLUX.1-schnella: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-6839298a-657eafab13f860d04a7fd405;84e5cfa7-02dc-451c-bb4a-5c3a159d6c96) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnella. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:44:10,411 - simple_memory_calculator - WARNING - Using generic estimation for black-forest-labs/FLUX.1-schnella due to: HuggingFace API Error: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-6839298a-657eafab13f860d04a7fd405;84e5cfa7-02dc-451c-bb4a-5c3a159d6c96) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnella. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:44:10,411 - simple_memory_calculator - DEBUG - Generic estimation parameters: 3.0B params, 6.0GB FP16 +2025-05-30 12:44:10,412 - simple_memory_calculator - INFO - Generic estimation completed for black-forest-labs/FLUX.1-schnella +2025-05-30 12:44:10,412 - simple_memory_calculator - DEBUG - Model memory: 6.0GB, Inference memory: 9.0GB +2025-05-30 12:44:10,412 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnella +2025-05-30 12:44:10,624 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "GET /api/models/black-forest-labs/FLUX.1-schnella HTTP/1.1" 404 32 +2025-05-30 12:44:10,624 - simple_memory_calculator - ERROR - API Error for model black-forest-labs/FLUX.1-schnella: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-6839298a-43c2472b3b0815ab6fd04f20;18b51d12-51ef-468d-9578-65597ac9d467) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnella. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:44:10,625 - simple_memory_calculator - WARNING - Using generic estimation for black-forest-labs/FLUX.1-schnella due to: HuggingFace API Error: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-6839298a-43c2472b3b0815ab6fd04f20;18b51d12-51ef-468d-9578-65597ac9d467) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnella. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:44:10,625 - simple_memory_calculator - DEBUG - Generic estimation parameters: 3.0B params, 6.0GB FP16 +2025-05-30 12:44:10,625 - simple_memory_calculator - INFO - Generic estimation completed for black-forest-labs/FLUX.1-schnella +2025-05-30 12:44:19,136 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell +2025-05-30 12:44:19,137 - simple_memory_calculator - DEBUG - Using cached memory data for black-forest-labs/FLUX.1-schnell +2025-05-30 12:44:19,137 - simple_memory_calculator - INFO - Generating memory recommendations for black-forest-labs/FLUX.1-schnell with 8.0GB VRAM +2025-05-30 12:44:19,137 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell +2025-05-30 12:44:19,137 - simple_memory_calculator - DEBUG - Using cached memory data for black-forest-labs/FLUX.1-schnell +2025-05-30 12:44:19,137 - simple_memory_calculator - DEBUG - Model memory: 24.0GB, Inference memory: 36.0GB +2025-05-30 12:44:19,137 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell +2025-05-30 12:44:19,137 - simple_memory_calculator - DEBUG - Using cached memory data for black-forest-labs/FLUX.1-schnell +2025-05-30 12:45:12,787 - __main__ - INFO - Initializing GradioAutodiffusers +2025-05-30 12:45:12,787 - __main__ - DEBUG - API key found, length: 39 +2025-05-30 12:45:12,788 - auto_diffusers - INFO - Initializing AutoDiffusersGenerator +2025-05-30 12:45:12,788 - auto_diffusers - DEBUG - API key length: 39 +2025-05-30 12:45:12,788 - auto_diffusers - WARNING - Tool calling dependencies not available, running without tools +2025-05-30 12:45:12,788 - hardware_detector - INFO - Initializing HardwareDetector +2025-05-30 12:45:12,788 - hardware_detector - DEBUG - Starting system hardware detection +2025-05-30 12:45:12,788 - hardware_detector - DEBUG - Platform: Darwin, Architecture: arm64 +2025-05-30 12:45:12,788 - hardware_detector - DEBUG - CPU cores: 16, Python: 3.11.11 +2025-05-30 12:45:12,788 - hardware_detector - DEBUG - Attempting GPU detection via nvidia-smi +2025-05-30 12:45:12,791 - hardware_detector - DEBUG - nvidia-smi not found, no NVIDIA GPU detected +2025-05-30 12:45:12,791 - hardware_detector - DEBUG - Checking PyTorch availability +2025-05-30 12:45:13,280 - hardware_detector - INFO - PyTorch 2.7.0 detected +2025-05-30 12:45:13,280 - hardware_detector - DEBUG - CUDA available: False, MPS available: True +2025-05-30 12:45:13,280 - hardware_detector - INFO - Hardware detection completed successfully +2025-05-30 12:45:13,280 - hardware_detector - DEBUG - Detected specs: {'platform': 'Darwin', 'architecture': 'arm64', 'cpu_count': 16, 'python_version': '3.11.11', 'gpu_info': None, 'cuda_available': False, 'mps_available': True, 'torch_version': '2.7.0'} +2025-05-30 12:45:13,280 - auto_diffusers - INFO - Hardware detector initialized successfully +2025-05-30 12:45:13,280 - __main__ - INFO - AutoDiffusersGenerator initialized successfully +2025-05-30 12:45:13,280 - simple_memory_calculator - INFO - Initializing SimpleMemoryCalculator +2025-05-30 12:45:13,280 - simple_memory_calculator - DEBUG - HuggingFace API initialized +2025-05-30 12:45:13,280 - simple_memory_calculator - DEBUG - Known models in database: 4 +2025-05-30 12:45:13,280 - __main__ - INFO - SimpleMemoryCalculator initialized successfully +2025-05-30 12:45:13,280 - __main__ - DEBUG - Default model settings: gemini-2.5-flash-preview-05-20, temp=0.7 +2025-05-30 12:45:13,283 - asyncio - DEBUG - Using selector: KqueueSelector +2025-05-30 12:45:13,296 - httpcore.connection - DEBUG - connect_tcp.started host='api.gradio.app' port=443 local_address=None timeout=3 socket_options=None +2025-05-30 12:45:13,296 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): huggingface.co:443 +2025-05-30 12:45:13,383 - asyncio - DEBUG - Using selector: KqueueSelector +2025-05-30 12:45:13,414 - httpcore.connection - DEBUG - connect_tcp.started host='localhost' port=7860 local_address=None timeout=None socket_options=None +2025-05-30 12:45:13,415 - httpcore.connection - DEBUG - connect_tcp.complete return_value= +2025-05-30 12:45:13,415 - httpcore.http11 - DEBUG - send_request_headers.started request= +2025-05-30 12:45:13,415 - httpcore.http11 - DEBUG - send_request_headers.complete +2025-05-30 12:45:13,415 - httpcore.http11 - DEBUG - send_request_body.started request= +2025-05-30 12:45:13,416 - httpcore.http11 - DEBUG - send_request_body.complete +2025-05-30 12:45:13,416 - httpcore.http11 - DEBUG - receive_response_headers.started request= +2025-05-30 12:45:13,416 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'date', b'Fri, 30 May 2025 03:45:13 GMT'), (b'server', b'uvicorn'), (b'content-length', b'4'), (b'content-type', b'application/json')]) +2025-05-30 12:45:13,416 - httpx - INFO - HTTP Request: GET http://localhost:7860/gradio_api/startup-events "HTTP/1.1 200 OK" +2025-05-30 12:45:13,416 - httpcore.http11 - DEBUG - receive_response_body.started request= +2025-05-30 12:45:13,416 - httpcore.http11 - DEBUG - receive_response_body.complete +2025-05-30 12:45:13,416 - httpcore.http11 - DEBUG - response_closed.started +2025-05-30 12:45:13,416 - httpcore.http11 - DEBUG - response_closed.complete +2025-05-30 12:45:13,416 - httpcore.connection - DEBUG - close.started +2025-05-30 12:45:13,416 - httpcore.connection - DEBUG - close.complete +2025-05-30 12:45:13,416 - httpcore.connection - DEBUG - connect_tcp.started host='localhost' port=7860 local_address=None timeout=3 socket_options=None +2025-05-30 12:45:13,417 - httpcore.connection - DEBUG - connect_tcp.complete return_value= +2025-05-30 12:45:13,417 - httpcore.http11 - DEBUG - send_request_headers.started request= +2025-05-30 12:45:13,417 - httpcore.http11 - DEBUG - send_request_headers.complete +2025-05-30 12:45:13,417 - httpcore.http11 - DEBUG - send_request_body.started request= +2025-05-30 12:45:13,417 - httpcore.http11 - DEBUG - send_request_body.complete +2025-05-30 12:45:13,417 - httpcore.http11 - DEBUG - receive_response_headers.started request= +2025-05-30 12:45:13,424 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'date', b'Fri, 30 May 2025 03:45:13 GMT'), (b'server', b'uvicorn'), (b'content-length', b'104209'), (b'content-type', b'text/html; charset=utf-8')]) +2025-05-30 12:45:13,424 - httpx - INFO - HTTP Request: HEAD http://localhost:7860/ "HTTP/1.1 200 OK" +2025-05-30 12:45:13,424 - httpcore.http11 - DEBUG - receive_response_body.started request= +2025-05-30 12:45:13,424 - httpcore.http11 - DEBUG - receive_response_body.complete +2025-05-30 12:45:13,424 - httpcore.http11 - DEBUG - response_closed.started +2025-05-30 12:45:13,424 - httpcore.http11 - DEBUG - response_closed.complete +2025-05-30 12:45:13,424 - httpcore.connection - DEBUG - close.started +2025-05-30 12:45:13,424 - httpcore.connection - DEBUG - close.complete +2025-05-30 12:45:13,435 - httpcore.connection - DEBUG - connect_tcp.started host='api.gradio.app' port=443 local_address=None timeout=30 socket_options=None +2025-05-30 12:45:13,441 - httpcore.connection - DEBUG - connect_tcp.complete return_value= +2025-05-30 12:45:13,441 - httpcore.connection - DEBUG - start_tls.started ssl_context= server_hostname='api.gradio.app' timeout=3 +2025-05-30 12:45:13,560 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "HEAD /api/telemetry/gradio/initiated HTTP/1.1" 200 0 +2025-05-30 12:45:13,587 - httpcore.connection - DEBUG - connect_tcp.complete return_value= +2025-05-30 12:45:13,588 - httpcore.connection - DEBUG - start_tls.started ssl_context= server_hostname='api.gradio.app' timeout=30 +2025-05-30 12:45:13,722 - httpcore.connection - DEBUG - start_tls.complete return_value= +2025-05-30 12:45:13,723 - httpcore.http11 - DEBUG - send_request_headers.started request= +2025-05-30 12:45:13,723 - httpcore.http11 - DEBUG - send_request_headers.complete +2025-05-30 12:45:13,723 - httpcore.http11 - DEBUG - send_request_body.started request= +2025-05-30 12:45:13,723 - httpcore.http11 - DEBUG - send_request_body.complete +2025-05-30 12:45:13,723 - httpcore.http11 - DEBUG - receive_response_headers.started request= +2025-05-30 12:45:13,864 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Fri, 30 May 2025 03:45:13 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'21'), (b'Connection', b'keep-alive'), (b'Server', b'nginx/1.18.0'), (b'Access-Control-Allow-Origin', b'*')]) +2025-05-30 12:45:13,864 - httpx - INFO - HTTP Request: GET https://api.gradio.app/pkg-version "HTTP/1.1 200 OK" +2025-05-30 12:45:13,864 - httpcore.http11 - DEBUG - receive_response_body.started request= +2025-05-30 12:45:13,865 - httpcore.http11 - DEBUG - receive_response_body.complete +2025-05-30 12:45:13,865 - httpcore.http11 - DEBUG - response_closed.started +2025-05-30 12:45:13,865 - httpcore.http11 - DEBUG - response_closed.complete +2025-05-30 12:45:13,865 - httpcore.connection - DEBUG - close.started +2025-05-30 12:45:13,866 - httpcore.connection - DEBUG - close.complete +2025-05-30 12:45:13,902 - httpcore.connection - DEBUG - start_tls.complete return_value= +2025-05-30 12:45:13,903 - httpcore.http11 - DEBUG - send_request_headers.started request= +2025-05-30 12:45:13,903 - httpcore.http11 - DEBUG - send_request_headers.complete +2025-05-30 12:45:13,903 - httpcore.http11 - DEBUG - send_request_body.started request= +2025-05-30 12:45:13,903 - httpcore.http11 - DEBUG - send_request_body.complete +2025-05-30 12:45:13,903 - httpcore.http11 - DEBUG - receive_response_headers.started request= +2025-05-30 12:45:14,058 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Fri, 30 May 2025 03:45:13 GMT'), (b'Content-Type', b'text/html; charset=utf-8'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'Server', b'nginx/1.18.0'), (b'ContentType', b'application/json'), (b'Access-Control-Allow-Origin', b'*'), (b'Content-Encoding', b'gzip')]) +2025-05-30 12:45:14,059 - httpx - INFO - HTTP Request: GET https://api.gradio.app/v3/tunnel-request "HTTP/1.1 200 OK" +2025-05-30 12:45:14,059 - httpcore.http11 - DEBUG - receive_response_body.started request= +2025-05-30 12:45:14,059 - httpcore.http11 - DEBUG - receive_response_body.complete +2025-05-30 12:45:14,059 - httpcore.http11 - DEBUG - response_closed.started +2025-05-30 12:45:14,059 - httpcore.http11 - DEBUG - response_closed.complete +2025-05-30 12:45:14,060 - httpcore.connection - DEBUG - close.started +2025-05-30 12:45:14,060 - httpcore.connection - DEBUG - close.complete +2025-05-30 12:45:14,579 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell +2025-05-30 12:45:14,579 - simple_memory_calculator - INFO - Using known memory data for black-forest-labs/FLUX.1-schnell +2025-05-30 12:45:14,579 - simple_memory_calculator - DEBUG - Known data: {'params_billions': 12.0, 'fp16_gb': 24.0, 'inference_fp16_gb': 36.0} +2025-05-30 12:45:14,579 - simple_memory_calculator - INFO - Generating memory recommendations for black-forest-labs/FLUX.1-schnell with 8.0GB VRAM +2025-05-30 12:45:14,579 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell +2025-05-30 12:45:14,579 - simple_memory_calculator - DEBUG - Using cached memory data for black-forest-labs/FLUX.1-schnell +2025-05-30 12:45:14,579 - simple_memory_calculator - DEBUG - Model memory: 24.0GB, Inference memory: 36.0GB +2025-05-30 12:45:14,580 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell +2025-05-30 12:45:14,580 - simple_memory_calculator - DEBUG - Using cached memory data for black-forest-labs/FLUX.1-schnell +2025-05-30 12:45:14,631 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): huggingface.co:443 +2025-05-30 12:45:14,854 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "HEAD /api/telemetry/gradio/launched HTTP/1.1" 200 0 +2025-05-30 12:45:16,354 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnella +2025-05-30 12:45:16,357 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): huggingface.co:443 +2025-05-30 12:45:16,648 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "GET /api/models/black-forest-labs/FLUX.1-schnella HTTP/1.1" 404 32 +2025-05-30 12:45:16,649 - simple_memory_calculator - ERROR - API Error for model black-forest-labs/FLUX.1-schnella: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-683929cc-5b5a696d7511781e28797aad;a02be0e1-ef06-4150-9816-8364453f9621) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnella. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:45:16,649 - simple_memory_calculator - WARNING - Using generic estimation for black-forest-labs/FLUX.1-schnella due to: HuggingFace API Error: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-683929cc-5b5a696d7511781e28797aad;a02be0e1-ef06-4150-9816-8364453f9621) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnella. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:45:16,649 - simple_memory_calculator - DEBUG - Generic estimation parameters: 3.0B params, 6.0GB FP16 +2025-05-30 12:45:16,649 - simple_memory_calculator - INFO - Generic estimation completed for black-forest-labs/FLUX.1-schnella +2025-05-30 12:45:16,649 - simple_memory_calculator - INFO - Generating memory recommendations for black-forest-labs/FLUX.1-schnella with 8.0GB VRAM +2025-05-30 12:45:16,649 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnella +2025-05-30 12:45:16,879 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "GET /api/models/black-forest-labs/FLUX.1-schnella HTTP/1.1" 404 32 +2025-05-30 12:45:16,879 - simple_memory_calculator - ERROR - API Error for model black-forest-labs/FLUX.1-schnella: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-683929cc-39faec6c0bfe23a579a0c519;127bc48f-4df2-4923-9354-3b367c7a5405) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnella. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:45:16,879 - simple_memory_calculator - WARNING - Using generic estimation for black-forest-labs/FLUX.1-schnella due to: HuggingFace API Error: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-683929cc-39faec6c0bfe23a579a0c519;127bc48f-4df2-4923-9354-3b367c7a5405) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnella. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:45:16,879 - simple_memory_calculator - DEBUG - Generic estimation parameters: 3.0B params, 6.0GB FP16 +2025-05-30 12:45:16,879 - simple_memory_calculator - INFO - Generic estimation completed for black-forest-labs/FLUX.1-schnella +2025-05-30 12:45:16,879 - simple_memory_calculator - DEBUG - Model memory: 6.0GB, Inference memory: 9.0GB +2025-05-30 12:45:16,879 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnella +2025-05-30 12:45:17,192 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "GET /api/models/black-forest-labs/FLUX.1-schnella HTTP/1.1" 404 32 +2025-05-30 12:45:17,193 - simple_memory_calculator - ERROR - API Error for model black-forest-labs/FLUX.1-schnella: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-683929cd-4f792d2b77d9c5ad147576c4;29848fab-cd4a-49c9-8b4d-0861236e0ca4) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnella. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:45:17,193 - simple_memory_calculator - WARNING - Using generic estimation for black-forest-labs/FLUX.1-schnella due to: HuggingFace API Error: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-683929cd-4f792d2b77d9c5ad147576c4;29848fab-cd4a-49c9-8b4d-0861236e0ca4) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnella. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:45:17,193 - simple_memory_calculator - DEBUG - Generic estimation parameters: 3.0B params, 6.0GB FP16 +2025-05-30 12:45:17,193 - simple_memory_calculator - INFO - Generic estimation completed for black-forest-labs/FLUX.1-schnella +2025-05-30 12:45:18,284 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell +2025-05-30 12:45:18,284 - simple_memory_calculator - DEBUG - Using cached memory data for black-forest-labs/FLUX.1-schnell +2025-05-30 12:45:18,284 - simple_memory_calculator - INFO - Generating memory recommendations for black-forest-labs/FLUX.1-schnell with 8.0GB VRAM +2025-05-30 12:45:18,284 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell +2025-05-30 12:45:18,285 - simple_memory_calculator - DEBUG - Using cached memory data for black-forest-labs/FLUX.1-schnell +2025-05-30 12:45:18,285 - simple_memory_calculator - DEBUG - Model memory: 24.0GB, Inference memory: 36.0GB +2025-05-30 12:45:18,285 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell +2025-05-30 12:45:18,285 - simple_memory_calculator - DEBUG - Using cached memory data for black-forest-labs/FLUX.1-schnell +2025-05-30 12:45:19,093 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell +2025-05-30 12:45:19,094 - simple_memory_calculator - DEBUG - Using cached memory data for black-forest-labs/FLUX.1-schnell +2025-05-30 12:45:19,094 - simple_memory_calculator - INFO - Generating memory recommendations for black-forest-labs/FLUX.1-schnell with 8.0GB VRAM +2025-05-30 12:45:19,095 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell +2025-05-30 12:45:19,095 - simple_memory_calculator - DEBUG - Using cached memory data for black-forest-labs/FLUX.1-schnell +2025-05-30 12:45:19,095 - simple_memory_calculator - DEBUG - Model memory: 24.0GB, Inference memory: 36.0GB +2025-05-30 12:45:19,095 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell +2025-05-30 12:45:19,095 - simple_memory_calculator - DEBUG - Using cached memory data for black-forest-labs/FLUX.1-schnell +2025-05-30 12:45:22,953 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell +2025-05-30 12:45:22,953 - simple_memory_calculator - DEBUG - Using cached memory data for black-forest-labs/FLUX.1-schnell +2025-05-30 12:45:22,953 - simple_memory_calculator - INFO - Generating memory recommendations for black-forest-labs/FLUX.1-schnell with 8.0GB VRAM +2025-05-30 12:45:22,953 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell +2025-05-30 12:45:22,953 - simple_memory_calculator - DEBUG - Using cached memory data for black-forest-labs/FLUX.1-schnell +2025-05-30 12:45:22,954 - simple_memory_calculator - DEBUG - Model memory: 24.0GB, Inference memory: 36.0GB +2025-05-30 12:45:22,954 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell +2025-05-30 12:45:22,954 - simple_memory_calculator - DEBUG - Using cached memory data for black-forest-labs/FLUX.1-schnell +2025-05-30 12:47:21,624 - __main__ - INFO - Initializing GradioAutodiffusers +2025-05-30 12:47:21,624 - __main__ - DEBUG - API key found, length: 39 +2025-05-30 12:47:21,624 - auto_diffusers - INFO - Initializing AutoDiffusersGenerator +2025-05-30 12:47:21,625 - auto_diffusers - DEBUG - API key length: 39 +2025-05-30 12:47:21,625 - auto_diffusers - WARNING - Tool calling dependencies not available, running without tools +2025-05-30 12:47:21,625 - hardware_detector - INFO - Initializing HardwareDetector +2025-05-30 12:47:21,625 - hardware_detector - DEBUG - Starting system hardware detection +2025-05-30 12:47:21,625 - hardware_detector - DEBUG - Platform: Darwin, Architecture: arm64 +2025-05-30 12:47:21,625 - hardware_detector - DEBUG - CPU cores: 16, Python: 3.11.11 +2025-05-30 12:47:21,625 - hardware_detector - DEBUG - Attempting GPU detection via nvidia-smi +2025-05-30 12:47:21,629 - hardware_detector - DEBUG - nvidia-smi not found, no NVIDIA GPU detected +2025-05-30 12:47:21,629 - hardware_detector - DEBUG - Checking PyTorch availability +2025-05-30 12:47:22,095 - hardware_detector - INFO - PyTorch 2.7.0 detected +2025-05-30 12:47:22,095 - hardware_detector - DEBUG - CUDA available: False, MPS available: True +2025-05-30 12:47:22,095 - hardware_detector - INFO - Hardware detection completed successfully +2025-05-30 12:47:22,095 - hardware_detector - DEBUG - Detected specs: {'platform': 'Darwin', 'architecture': 'arm64', 'cpu_count': 16, 'python_version': '3.11.11', 'gpu_info': None, 'cuda_available': False, 'mps_available': True, 'torch_version': '2.7.0'} +2025-05-30 12:47:22,095 - auto_diffusers - INFO - Hardware detector initialized successfully +2025-05-30 12:47:22,095 - __main__ - INFO - AutoDiffusersGenerator initialized successfully +2025-05-30 12:47:22,095 - simple_memory_calculator - INFO - Initializing SimpleMemoryCalculator +2025-05-30 12:47:22,095 - simple_memory_calculator - DEBUG - HuggingFace API initialized +2025-05-30 12:47:22,095 - simple_memory_calculator - DEBUG - Known models in database: 4 +2025-05-30 12:47:22,095 - __main__ - INFO - SimpleMemoryCalculator initialized successfully +2025-05-30 12:47:22,095 - __main__ - DEBUG - Default model settings: gemini-2.5-flash-preview-05-20, temp=0.7 +2025-05-30 12:47:22,097 - asyncio - DEBUG - Using selector: KqueueSelector +2025-05-30 12:47:22,109 - httpcore.connection - DEBUG - connect_tcp.started host='api.gradio.app' port=443 local_address=None timeout=3 socket_options=None +2025-05-30 12:47:22,118 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): huggingface.co:443 +2025-05-30 12:47:22,200 - asyncio - DEBUG - Using selector: KqueueSelector +2025-05-30 12:47:22,234 - httpcore.connection - DEBUG - connect_tcp.started host='localhost' port=7860 local_address=None timeout=None socket_options=None +2025-05-30 12:47:22,234 - httpcore.connection - DEBUG - connect_tcp.complete return_value= +2025-05-30 12:47:22,234 - httpcore.http11 - DEBUG - send_request_headers.started request= +2025-05-30 12:47:22,235 - httpcore.http11 - DEBUG - send_request_headers.complete +2025-05-30 12:47:22,235 - httpcore.http11 - DEBUG - send_request_body.started request= +2025-05-30 12:47:22,235 - httpcore.http11 - DEBUG - send_request_body.complete +2025-05-30 12:47:22,235 - httpcore.http11 - DEBUG - receive_response_headers.started request= +2025-05-30 12:47:22,235 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'date', b'Fri, 30 May 2025 03:47:22 GMT'), (b'server', b'uvicorn'), (b'content-length', b'4'), (b'content-type', b'application/json')]) +2025-05-30 12:47:22,235 - httpx - INFO - HTTP Request: GET http://localhost:7860/gradio_api/startup-events "HTTP/1.1 200 OK" +2025-05-30 12:47:22,235 - httpcore.http11 - DEBUG - receive_response_body.started request= +2025-05-30 12:47:22,235 - httpcore.http11 - DEBUG - receive_response_body.complete +2025-05-30 12:47:22,235 - httpcore.http11 - DEBUG - response_closed.started +2025-05-30 12:47:22,236 - httpcore.http11 - DEBUG - response_closed.complete +2025-05-30 12:47:22,236 - httpcore.connection - DEBUG - close.started +2025-05-30 12:47:22,236 - httpcore.connection - DEBUG - close.complete +2025-05-30 12:47:22,236 - httpcore.connection - DEBUG - connect_tcp.started host='localhost' port=7860 local_address=None timeout=3 socket_options=None +2025-05-30 12:47:22,236 - httpcore.connection - DEBUG - connect_tcp.complete return_value= +2025-05-30 12:47:22,236 - httpcore.http11 - DEBUG - send_request_headers.started request= +2025-05-30 12:47:22,236 - httpcore.http11 - DEBUG - send_request_headers.complete +2025-05-30 12:47:22,236 - httpcore.http11 - DEBUG - send_request_body.started request= +2025-05-30 12:47:22,237 - httpcore.http11 - DEBUG - send_request_body.complete +2025-05-30 12:47:22,237 - httpcore.http11 - DEBUG - receive_response_headers.started request= +2025-05-30 12:47:22,243 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'date', b'Fri, 30 May 2025 03:47:22 GMT'), (b'server', b'uvicorn'), (b'content-length', b'104591'), (b'content-type', b'text/html; charset=utf-8')]) +2025-05-30 12:47:22,243 - httpx - INFO - HTTP Request: HEAD http://localhost:7860/ "HTTP/1.1 200 OK" +2025-05-30 12:47:22,243 - httpcore.http11 - DEBUG - receive_response_body.started request= +2025-05-30 12:47:22,243 - httpcore.http11 - DEBUG - receive_response_body.complete +2025-05-30 12:47:22,243 - httpcore.http11 - DEBUG - response_closed.started +2025-05-30 12:47:22,243 - httpcore.http11 - DEBUG - response_closed.complete +2025-05-30 12:47:22,243 - httpcore.connection - DEBUG - close.started +2025-05-30 12:47:22,243 - httpcore.connection - DEBUG - close.complete +2025-05-30 12:47:22,255 - httpcore.connection - DEBUG - connect_tcp.started host='api.gradio.app' port=443 local_address=None timeout=30 socket_options=None +2025-05-30 12:47:22,286 - httpcore.connection - DEBUG - connect_tcp.complete return_value= +2025-05-30 12:47:22,286 - httpcore.connection - DEBUG - start_tls.started ssl_context= server_hostname='api.gradio.app' timeout=3 +2025-05-30 12:47:22,386 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "HEAD /api/telemetry/gradio/initiated HTTP/1.1" 200 0 +2025-05-30 12:47:22,389 - httpcore.connection - DEBUG - connect_tcp.complete return_value= +2025-05-30 12:47:22,389 - httpcore.connection - DEBUG - start_tls.started ssl_context= server_hostname='api.gradio.app' timeout=30 +2025-05-30 12:47:22,576 - httpcore.connection - DEBUG - start_tls.complete return_value= +2025-05-30 12:47:22,576 - httpcore.http11 - DEBUG - send_request_headers.started request= +2025-05-30 12:47:22,577 - httpcore.http11 - DEBUG - send_request_headers.complete +2025-05-30 12:47:22,577 - httpcore.http11 - DEBUG - send_request_body.started request= +2025-05-30 12:47:22,577 - httpcore.http11 - DEBUG - send_request_body.complete +2025-05-30 12:47:22,577 - httpcore.http11 - DEBUG - receive_response_headers.started request= +2025-05-30 12:47:22,710 - httpcore.connection - DEBUG - start_tls.complete return_value= +2025-05-30 12:47:22,710 - httpcore.http11 - DEBUG - send_request_headers.started request= +2025-05-30 12:47:22,710 - httpcore.http11 - DEBUG - send_request_headers.complete +2025-05-30 12:47:22,710 - httpcore.http11 - DEBUG - send_request_body.started request= +2025-05-30 12:47:22,711 - httpcore.http11 - DEBUG - send_request_body.complete +2025-05-30 12:47:22,711 - httpcore.http11 - DEBUG - receive_response_headers.started request= +2025-05-30 12:47:22,726 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Fri, 30 May 2025 03:47:22 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'21'), (b'Connection', b'keep-alive'), (b'Server', b'nginx/1.18.0'), (b'Access-Control-Allow-Origin', b'*')]) +2025-05-30 12:47:22,726 - httpx - INFO - HTTP Request: GET https://api.gradio.app/pkg-version "HTTP/1.1 200 OK" +2025-05-30 12:47:22,726 - httpcore.http11 - DEBUG - receive_response_body.started request= +2025-05-30 12:47:22,726 - httpcore.http11 - DEBUG - receive_response_body.complete +2025-05-30 12:47:22,726 - httpcore.http11 - DEBUG - response_closed.started +2025-05-30 12:47:22,726 - httpcore.http11 - DEBUG - response_closed.complete +2025-05-30 12:47:22,726 - httpcore.connection - DEBUG - close.started +2025-05-30 12:47:22,727 - httpcore.connection - DEBUG - close.complete +2025-05-30 12:47:22,849 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Fri, 30 May 2025 03:47:22 GMT'), (b'Content-Type', b'text/html; charset=utf-8'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'Server', b'nginx/1.18.0'), (b'ContentType', b'application/json'), (b'Access-Control-Allow-Origin', b'*'), (b'Content-Encoding', b'gzip')]) +2025-05-30 12:47:22,850 - httpx - INFO - HTTP Request: GET https://api.gradio.app/v3/tunnel-request "HTTP/1.1 200 OK" +2025-05-30 12:47:22,850 - httpcore.http11 - DEBUG - receive_response_body.started request= +2025-05-30 12:47:22,850 - httpcore.http11 - DEBUG - receive_response_body.complete +2025-05-30 12:47:22,850 - httpcore.http11 - DEBUG - response_closed.started +2025-05-30 12:47:22,850 - httpcore.http11 - DEBUG - response_closed.complete +2025-05-30 12:47:22,850 - httpcore.connection - DEBUG - close.started +2025-05-30 12:47:22,850 - httpcore.connection - DEBUG - close.complete +2025-05-30 12:47:23,200 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell +2025-05-30 12:47:23,200 - simple_memory_calculator - INFO - Using known memory data for black-forest-labs/FLUX.1-schnell +2025-05-30 12:47:23,201 - simple_memory_calculator - DEBUG - Known data: {'params_billions': 12.0, 'fp16_gb': 24.0, 'inference_fp16_gb': 36.0} +2025-05-30 12:47:23,201 - simple_memory_calculator - INFO - Generating memory recommendations for black-forest-labs/FLUX.1-schnell with 8.0GB VRAM +2025-05-30 12:47:23,201 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell +2025-05-30 12:47:23,201 - simple_memory_calculator - DEBUG - Using cached memory data for black-forest-labs/FLUX.1-schnell +2025-05-30 12:47:23,201 - simple_memory_calculator - DEBUG - Model memory: 24.0GB, Inference memory: 36.0GB +2025-05-30 12:47:23,201 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell +2025-05-30 12:47:23,201 - simple_memory_calculator - DEBUG - Using cached memory data for black-forest-labs/FLUX.1-schnell +2025-05-30 12:47:23,480 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): huggingface.co:443 +2025-05-30 12:47:23,699 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "HEAD /api/telemetry/gradio/launched HTTP/1.1" 200 0 +2025-05-30 12:49:07,811 - __main__ - INFO - Initializing GradioAutodiffusers +2025-05-30 12:49:07,811 - __main__ - DEBUG - API key found, length: 39 +2025-05-30 12:49:07,811 - auto_diffusers - INFO - Initializing AutoDiffusersGenerator +2025-05-30 12:49:07,811 - auto_diffusers - DEBUG - API key length: 39 +2025-05-30 12:49:07,811 - auto_diffusers - WARNING - Tool calling dependencies not available, running without tools +2025-05-30 12:49:07,811 - hardware_detector - INFO - Initializing HardwareDetector +2025-05-30 12:49:07,811 - hardware_detector - DEBUG - Starting system hardware detection +2025-05-30 12:49:07,811 - hardware_detector - DEBUG - Platform: Darwin, Architecture: arm64 +2025-05-30 12:49:07,811 - hardware_detector - DEBUG - CPU cores: 16, Python: 3.11.11 +2025-05-30 12:49:07,811 - hardware_detector - DEBUG - Attempting GPU detection via nvidia-smi +2025-05-30 12:49:07,815 - hardware_detector - DEBUG - nvidia-smi not found, no NVIDIA GPU detected +2025-05-30 12:49:07,815 - hardware_detector - DEBUG - Checking PyTorch availability +2025-05-30 12:49:08,273 - hardware_detector - INFO - PyTorch 2.7.0 detected +2025-05-30 12:49:08,273 - hardware_detector - DEBUG - CUDA available: False, MPS available: True +2025-05-30 12:49:08,273 - hardware_detector - INFO - Hardware detection completed successfully +2025-05-30 12:49:08,273 - hardware_detector - DEBUG - Detected specs: {'platform': 'Darwin', 'architecture': 'arm64', 'cpu_count': 16, 'python_version': '3.11.11', 'gpu_info': None, 'cuda_available': False, 'mps_available': True, 'torch_version': '2.7.0'} +2025-05-30 12:49:08,273 - auto_diffusers - INFO - Hardware detector initialized successfully +2025-05-30 12:49:08,273 - __main__ - INFO - AutoDiffusersGenerator initialized successfully +2025-05-30 12:49:08,273 - simple_memory_calculator - INFO - Initializing SimpleMemoryCalculator +2025-05-30 12:49:08,273 - simple_memory_calculator - DEBUG - HuggingFace API initialized +2025-05-30 12:49:08,273 - simple_memory_calculator - DEBUG - Known models in database: 4 +2025-05-30 12:49:08,273 - __main__ - INFO - SimpleMemoryCalculator initialized successfully +2025-05-30 12:49:08,273 - __main__ - DEBUG - Default model settings: gemini-2.5-flash-preview-05-20, temp=0.7 +2025-05-30 12:49:08,276 - asyncio - DEBUG - Using selector: KqueueSelector +2025-05-30 12:49:08,290 - httpcore.connection - DEBUG - connect_tcp.started host='api.gradio.app' port=443 local_address=None timeout=3 socket_options=None +2025-05-30 12:49:08,291 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): huggingface.co:443 +2025-05-30 12:49:08,382 - asyncio - DEBUG - Using selector: KqueueSelector +2025-05-30 12:49:08,413 - httpcore.connection - DEBUG - connect_tcp.started host='localhost' port=7860 local_address=None timeout=None socket_options=None +2025-05-30 12:49:08,414 - httpcore.connection - DEBUG - connect_tcp.complete return_value= +2025-05-30 12:49:08,414 - httpcore.http11 - DEBUG - send_request_headers.started request= +2025-05-30 12:49:08,414 - httpcore.http11 - DEBUG - send_request_headers.complete +2025-05-30 12:49:08,414 - httpcore.http11 - DEBUG - send_request_body.started request= +2025-05-30 12:49:08,415 - httpcore.http11 - DEBUG - send_request_body.complete +2025-05-30 12:49:08,415 - httpcore.http11 - DEBUG - receive_response_headers.started request= +2025-05-30 12:49:08,415 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'date', b'Fri, 30 May 2025 03:49:08 GMT'), (b'server', b'uvicorn'), (b'content-length', b'4'), (b'content-type', b'application/json')]) +2025-05-30 12:49:08,415 - httpx - INFO - HTTP Request: GET http://localhost:7860/gradio_api/startup-events "HTTP/1.1 200 OK" +2025-05-30 12:49:08,415 - httpcore.http11 - DEBUG - receive_response_body.started request= +2025-05-30 12:49:08,415 - httpcore.http11 - DEBUG - receive_response_body.complete +2025-05-30 12:49:08,415 - httpcore.http11 - DEBUG - response_closed.started +2025-05-30 12:49:08,415 - httpcore.http11 - DEBUG - response_closed.complete +2025-05-30 12:49:08,415 - httpcore.connection - DEBUG - close.started +2025-05-30 12:49:08,415 - httpcore.connection - DEBUG - close.complete +2025-05-30 12:49:08,416 - httpcore.connection - DEBUG - connect_tcp.started host='localhost' port=7860 local_address=None timeout=3 socket_options=None +2025-05-30 12:49:08,416 - httpcore.connection - DEBUG - connect_tcp.complete return_value= +2025-05-30 12:49:08,416 - httpcore.http11 - DEBUG - send_request_headers.started request= +2025-05-30 12:49:08,416 - httpcore.http11 - DEBUG - send_request_headers.complete +2025-05-30 12:49:08,416 - httpcore.http11 - DEBUG - send_request_body.started request= +2025-05-30 12:49:08,416 - httpcore.http11 - DEBUG - send_request_body.complete +2025-05-30 12:49:08,417 - httpcore.http11 - DEBUG - receive_response_headers.started request= +2025-05-30 12:49:08,423 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'date', b'Fri, 30 May 2025 03:49:08 GMT'), (b'server', b'uvicorn'), (b'content-length', b'104593'), (b'content-type', b'text/html; charset=utf-8')]) +2025-05-30 12:49:08,423 - httpx - INFO - HTTP Request: HEAD http://localhost:7860/ "HTTP/1.1 200 OK" +2025-05-30 12:49:08,423 - httpcore.http11 - DEBUG - receive_response_body.started request= +2025-05-30 12:49:08,423 - httpcore.http11 - DEBUG - receive_response_body.complete +2025-05-30 12:49:08,423 - httpcore.http11 - DEBUG - response_closed.started +2025-05-30 12:49:08,423 - httpcore.http11 - DEBUG - response_closed.complete +2025-05-30 12:49:08,423 - httpcore.connection - DEBUG - close.started +2025-05-30 12:49:08,423 - httpcore.connection - DEBUG - close.complete +2025-05-30 12:49:08,434 - httpcore.connection - DEBUG - connect_tcp.started host='api.gradio.app' port=443 local_address=None timeout=30 socket_options=None +2025-05-30 12:49:08,467 - httpcore.connection - DEBUG - connect_tcp.complete return_value= +2025-05-30 12:49:08,468 - httpcore.connection - DEBUG - start_tls.started ssl_context= server_hostname='api.gradio.app' timeout=3 +2025-05-30 12:49:08,579 - httpcore.connection - DEBUG - connect_tcp.complete return_value= +2025-05-30 12:49:08,580 - httpcore.connection - DEBUG - start_tls.started ssl_context= server_hostname='api.gradio.app' timeout=30 +2025-05-30 12:49:08,581 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "HEAD /api/telemetry/gradio/initiated HTTP/1.1" 200 0 +2025-05-30 12:49:08,766 - httpcore.connection - DEBUG - start_tls.complete return_value= +2025-05-30 12:49:08,766 - httpcore.http11 - DEBUG - send_request_headers.started request= +2025-05-30 12:49:08,767 - httpcore.http11 - DEBUG - send_request_headers.complete +2025-05-30 12:49:08,767 - httpcore.http11 - DEBUG - send_request_body.started request= +2025-05-30 12:49:08,767 - httpcore.http11 - DEBUG - send_request_body.complete +2025-05-30 12:49:08,767 - httpcore.http11 - DEBUG - receive_response_headers.started request= +2025-05-30 12:49:08,866 - httpcore.connection - DEBUG - start_tls.complete return_value= +2025-05-30 12:49:08,866 - httpcore.http11 - DEBUG - send_request_headers.started request= +2025-05-30 12:49:08,866 - httpcore.http11 - DEBUG - send_request_headers.complete +2025-05-30 12:49:08,867 - httpcore.http11 - DEBUG - send_request_body.started request= +2025-05-30 12:49:08,867 - httpcore.http11 - DEBUG - send_request_body.complete +2025-05-30 12:49:08,867 - httpcore.http11 - DEBUG - receive_response_headers.started request= +2025-05-30 12:49:08,917 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Fri, 30 May 2025 03:49:08 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'21'), (b'Connection', b'keep-alive'), (b'Server', b'nginx/1.18.0'), (b'Access-Control-Allow-Origin', b'*')]) +2025-05-30 12:49:08,918 - httpx - INFO - HTTP Request: GET https://api.gradio.app/pkg-version "HTTP/1.1 200 OK" +2025-05-30 12:49:08,918 - httpcore.http11 - DEBUG - receive_response_body.started request= +2025-05-30 12:49:08,918 - httpcore.http11 - DEBUG - receive_response_body.complete +2025-05-30 12:49:08,918 - httpcore.http11 - DEBUG - response_closed.started +2025-05-30 12:49:08,919 - httpcore.http11 - DEBUG - response_closed.complete +2025-05-30 12:49:08,919 - httpcore.connection - DEBUG - close.started +2025-05-30 12:49:08,919 - httpcore.connection - DEBUG - close.complete +2025-05-30 12:49:09,011 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Fri, 30 May 2025 03:49:08 GMT'), (b'Content-Type', b'text/html; charset=utf-8'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'Server', b'nginx/1.18.0'), (b'ContentType', b'application/json'), (b'Access-Control-Allow-Origin', b'*'), (b'Content-Encoding', b'gzip')]) +2025-05-30 12:49:09,011 - httpx - INFO - HTTP Request: GET https://api.gradio.app/v3/tunnel-request "HTTP/1.1 200 OK" +2025-05-30 12:49:09,012 - httpcore.http11 - DEBUG - receive_response_body.started request= +2025-05-30 12:49:09,012 - httpcore.http11 - DEBUG - receive_response_body.complete +2025-05-30 12:49:09,012 - httpcore.http11 - DEBUG - response_closed.started +2025-05-30 12:49:09,012 - httpcore.http11 - DEBUG - response_closed.complete +2025-05-30 12:49:09,012 - httpcore.connection - DEBUG - close.started +2025-05-30 12:49:09,013 - httpcore.connection - DEBUG - close.complete +2025-05-30 12:49:09,596 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): huggingface.co:443 +2025-05-30 12:49:09,855 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "HEAD /api/telemetry/gradio/launched HTTP/1.1" 200 0 +2025-05-30 12:50:34,222 - __main__ - INFO - Initializing GradioAutodiffusers +2025-05-30 12:50:34,222 - __main__ - DEBUG - API key found, length: 39 +2025-05-30 12:50:34,222 - auto_diffusers - INFO - Initializing AutoDiffusersGenerator +2025-05-30 12:50:34,222 - auto_diffusers - DEBUG - API key length: 39 +2025-05-30 12:50:34,222 - auto_diffusers - WARNING - Tool calling dependencies not available, running without tools +2025-05-30 12:50:34,222 - hardware_detector - INFO - Initializing HardwareDetector +2025-05-30 12:50:34,222 - hardware_detector - DEBUG - Starting system hardware detection +2025-05-30 12:50:34,222 - hardware_detector - DEBUG - Platform: Darwin, Architecture: arm64 +2025-05-30 12:50:34,222 - hardware_detector - DEBUG - CPU cores: 16, Python: 3.11.11 +2025-05-30 12:50:34,222 - hardware_detector - DEBUG - Attempting GPU detection via nvidia-smi +2025-05-30 12:50:34,226 - hardware_detector - DEBUG - nvidia-smi not found, no NVIDIA GPU detected +2025-05-30 12:50:34,226 - hardware_detector - DEBUG - Checking PyTorch availability +2025-05-30 12:50:34,690 - hardware_detector - INFO - PyTorch 2.7.0 detected +2025-05-30 12:50:34,690 - hardware_detector - DEBUG - CUDA available: False, MPS available: True +2025-05-30 12:50:34,690 - hardware_detector - INFO - Hardware detection completed successfully +2025-05-30 12:50:34,690 - hardware_detector - DEBUG - Detected specs: {'platform': 'Darwin', 'architecture': 'arm64', 'cpu_count': 16, 'python_version': '3.11.11', 'gpu_info': None, 'cuda_available': False, 'mps_available': True, 'torch_version': '2.7.0'} +2025-05-30 12:50:34,690 - auto_diffusers - INFO - Hardware detector initialized successfully +2025-05-30 12:50:34,690 - __main__ - INFO - AutoDiffusersGenerator initialized successfully +2025-05-30 12:50:34,690 - simple_memory_calculator - INFO - Initializing SimpleMemoryCalculator +2025-05-30 12:50:34,690 - simple_memory_calculator - DEBUG - HuggingFace API initialized +2025-05-30 12:50:34,690 - simple_memory_calculator - DEBUG - Known models in database: 4 +2025-05-30 12:50:34,690 - __main__ - INFO - SimpleMemoryCalculator initialized successfully +2025-05-30 12:50:34,690 - __main__ - DEBUG - Default model settings: gemini-2.5-flash-preview-05-20, temp=0.7 +2025-05-30 12:50:34,692 - asyncio - DEBUG - Using selector: KqueueSelector +2025-05-30 12:50:34,713 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): huggingface.co:443 +2025-05-30 12:50:34,717 - httpcore.connection - DEBUG - connect_tcp.started host='api.gradio.app' port=443 local_address=None timeout=3 socket_options=None +2025-05-30 12:50:34,797 - asyncio - DEBUG - Using selector: KqueueSelector +2025-05-30 12:50:34,829 - httpcore.connection - DEBUG - connect_tcp.started host='localhost' port=7860 local_address=None timeout=None socket_options=None +2025-05-30 12:50:34,830 - httpcore.connection - DEBUG - connect_tcp.complete return_value= +2025-05-30 12:50:34,830 - httpcore.http11 - DEBUG - send_request_headers.started request= +2025-05-30 12:50:34,830 - httpcore.http11 - DEBUG - send_request_headers.complete +2025-05-30 12:50:34,830 - httpcore.http11 - DEBUG - send_request_body.started request= +2025-05-30 12:50:34,830 - httpcore.http11 - DEBUG - send_request_body.complete +2025-05-30 12:50:34,831 - httpcore.http11 - DEBUG - receive_response_headers.started request= +2025-05-30 12:50:34,831 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'date', b'Fri, 30 May 2025 03:50:34 GMT'), (b'server', b'uvicorn'), (b'content-length', b'4'), (b'content-type', b'application/json')]) +2025-05-30 12:50:34,831 - httpx - INFO - HTTP Request: GET http://localhost:7860/gradio_api/startup-events "HTTP/1.1 200 OK" +2025-05-30 12:50:34,831 - httpcore.http11 - DEBUG - receive_response_body.started request= +2025-05-30 12:50:34,831 - httpcore.http11 - DEBUG - receive_response_body.complete +2025-05-30 12:50:34,831 - httpcore.http11 - DEBUG - response_closed.started +2025-05-30 12:50:34,831 - httpcore.http11 - DEBUG - response_closed.complete +2025-05-30 12:50:34,831 - httpcore.connection - DEBUG - close.started +2025-05-30 12:50:34,831 - httpcore.connection - DEBUG - close.complete +2025-05-30 12:50:34,832 - httpcore.connection - DEBUG - connect_tcp.started host='localhost' port=7860 local_address=None timeout=3 socket_options=None +2025-05-30 12:50:34,832 - httpcore.connection - DEBUG - connect_tcp.complete return_value= +2025-05-30 12:50:34,832 - httpcore.http11 - DEBUG - send_request_headers.started request= +2025-05-30 12:50:34,832 - httpcore.http11 - DEBUG - send_request_headers.complete +2025-05-30 12:50:34,832 - httpcore.http11 - DEBUG - send_request_body.started request= +2025-05-30 12:50:34,832 - httpcore.http11 - DEBUG - send_request_body.complete +2025-05-30 12:50:34,832 - httpcore.http11 - DEBUG - receive_response_headers.started request= +2025-05-30 12:50:34,839 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'date', b'Fri, 30 May 2025 03:50:34 GMT'), (b'server', b'uvicorn'), (b'content-length', b'104587'), (b'content-type', b'text/html; charset=utf-8')]) +2025-05-30 12:50:34,839 - httpx - INFO - HTTP Request: HEAD http://localhost:7860/ "HTTP/1.1 200 OK" +2025-05-30 12:50:34,839 - httpcore.http11 - DEBUG - receive_response_body.started request= +2025-05-30 12:50:34,839 - httpcore.http11 - DEBUG - receive_response_body.complete +2025-05-30 12:50:34,839 - httpcore.http11 - DEBUG - response_closed.started +2025-05-30 12:50:34,839 - httpcore.http11 - DEBUG - response_closed.complete +2025-05-30 12:50:34,839 - httpcore.connection - DEBUG - close.started +2025-05-30 12:50:34,839 - httpcore.connection - DEBUG - close.complete +2025-05-30 12:50:34,851 - httpcore.connection - DEBUG - connect_tcp.started host='api.gradio.app' port=443 local_address=None timeout=30 socket_options=None +2025-05-30 12:50:34,874 - httpcore.connection - DEBUG - connect_tcp.complete return_value= +2025-05-30 12:50:34,874 - httpcore.connection - DEBUG - start_tls.started ssl_context= server_hostname='api.gradio.app' timeout=3 +2025-05-30 12:50:34,986 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "HEAD /api/telemetry/gradio/initiated HTTP/1.1" 200 0 +2025-05-30 12:50:34,988 - httpcore.connection - DEBUG - connect_tcp.complete return_value= +2025-05-30 12:50:34,988 - httpcore.connection - DEBUG - start_tls.started ssl_context= server_hostname='api.gradio.app' timeout=30 +2025-05-30 12:50:35,150 - httpcore.connection - DEBUG - start_tls.complete return_value= +2025-05-30 12:50:35,150 - httpcore.http11 - DEBUG - send_request_headers.started request= +2025-05-30 12:50:35,150 - httpcore.http11 - DEBUG - send_request_headers.complete +2025-05-30 12:50:35,150 - httpcore.http11 - DEBUG - send_request_body.started request= +2025-05-30 12:50:35,150 - httpcore.http11 - DEBUG - send_request_body.complete +2025-05-30 12:50:35,150 - httpcore.http11 - DEBUG - receive_response_headers.started request= +2025-05-30 12:50:35,261 - httpcore.connection - DEBUG - start_tls.complete return_value= +2025-05-30 12:50:35,261 - httpcore.http11 - DEBUG - send_request_headers.started request= +2025-05-30 12:50:35,262 - httpcore.http11 - DEBUG - send_request_headers.complete +2025-05-30 12:50:35,262 - httpcore.http11 - DEBUG - send_request_body.started request= +2025-05-30 12:50:35,262 - httpcore.http11 - DEBUG - send_request_body.complete +2025-05-30 12:50:35,262 - httpcore.http11 - DEBUG - receive_response_headers.started request= +2025-05-30 12:50:35,290 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Fri, 30 May 2025 03:50:35 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'21'), (b'Connection', b'keep-alive'), (b'Server', b'nginx/1.18.0'), (b'Access-Control-Allow-Origin', b'*')]) +2025-05-30 12:50:35,290 - httpx - INFO - HTTP Request: GET https://api.gradio.app/pkg-version "HTTP/1.1 200 OK" +2025-05-30 12:50:35,291 - httpcore.http11 - DEBUG - receive_response_body.started request= +2025-05-30 12:50:35,291 - httpcore.http11 - DEBUG - receive_response_body.complete +2025-05-30 12:50:35,291 - httpcore.http11 - DEBUG - response_closed.started +2025-05-30 12:50:35,291 - httpcore.http11 - DEBUG - response_closed.complete +2025-05-30 12:50:35,291 - httpcore.connection - DEBUG - close.started +2025-05-30 12:50:35,291 - httpcore.connection - DEBUG - close.complete +2025-05-30 12:50:35,404 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Fri, 30 May 2025 03:50:35 GMT'), (b'Content-Type', b'text/html; charset=utf-8'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'Server', b'nginx/1.18.0'), (b'ContentType', b'application/json'), (b'Access-Control-Allow-Origin', b'*'), (b'Content-Encoding', b'gzip')]) +2025-05-30 12:50:35,404 - httpx - INFO - HTTP Request: GET https://api.gradio.app/v3/tunnel-request "HTTP/1.1 200 OK" +2025-05-30 12:50:35,404 - httpcore.http11 - DEBUG - receive_response_body.started request= +2025-05-30 12:50:35,405 - httpcore.http11 - DEBUG - receive_response_body.complete +2025-05-30 12:50:35,405 - httpcore.http11 - DEBUG - response_closed.started +2025-05-30 12:50:35,405 - httpcore.http11 - DEBUG - response_closed.complete +2025-05-30 12:50:35,405 - httpcore.connection - DEBUG - close.started +2025-05-30 12:50:35,406 - httpcore.connection - DEBUG - close.complete +2025-05-30 12:50:35,694 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell +2025-05-30 12:50:35,694 - simple_memory_calculator - INFO - Using known memory data for black-forest-labs/FLUX.1-schnell +2025-05-30 12:50:35,694 - simple_memory_calculator - DEBUG - Known data: {'params_billions': 12.0, 'fp16_gb': 24.0, 'inference_fp16_gb': 36.0} +2025-05-30 12:50:35,694 - simple_memory_calculator - INFO - Generating memory recommendations for black-forest-labs/FLUX.1-schnell with 8.0GB VRAM +2025-05-30 12:50:35,694 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell +2025-05-30 12:50:35,694 - simple_memory_calculator - DEBUG - Using cached memory data for black-forest-labs/FLUX.1-schnell +2025-05-30 12:50:35,694 - simple_memory_calculator - DEBUG - Model memory: 24.0GB, Inference memory: 36.0GB +2025-05-30 12:50:35,695 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell +2025-05-30 12:50:35,695 - simple_memory_calculator - DEBUG - Using cached memory data for black-forest-labs/FLUX.1-schnell +2025-05-30 12:50:36,018 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): huggingface.co:443 +2025-05-30 12:50:36,234 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "HEAD /api/telemetry/gradio/launched HTTP/1.1" 200 0 +2025-05-30 12:50:46,315 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnelld +2025-05-30 12:50:46,317 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): huggingface.co:443 +2025-05-30 12:50:46,561 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "GET /api/models/black-forest-labs/FLUX.1-schnelld HTTP/1.1" 404 32 +2025-05-30 12:50:46,562 - simple_memory_calculator - ERROR - API Error for model black-forest-labs/FLUX.1-schnelld: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-68392b16-53da4d9b310af7f46bd1b444;26e1c9e2-f3ed-4f5d-b0e4-859cd9e62f4f) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnelld. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:50:46,562 - simple_memory_calculator - WARNING - Using generic estimation for black-forest-labs/FLUX.1-schnelld due to: HuggingFace API Error: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-68392b16-53da4d9b310af7f46bd1b444;26e1c9e2-f3ed-4f5d-b0e4-859cd9e62f4f) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnelld. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:50:46,562 - simple_memory_calculator - DEBUG - Generic estimation parameters: 3.0B params, 6.0GB FP16 +2025-05-30 12:50:46,562 - simple_memory_calculator - INFO - Generic estimation completed for black-forest-labs/FLUX.1-schnelld +2025-05-30 12:50:46,562 - simple_memory_calculator - INFO - Generating memory recommendations for black-forest-labs/FLUX.1-schnelld with 8.0GB VRAM +2025-05-30 12:50:46,562 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnelld +2025-05-30 12:50:46,778 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "GET /api/models/black-forest-labs/FLUX.1-schnelld HTTP/1.1" 404 32 +2025-05-30 12:50:46,778 - simple_memory_calculator - ERROR - API Error for model black-forest-labs/FLUX.1-schnelld: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-68392b16-5274c80028c2b5c65cd331cb;c592b746-0bf5-46b7-8d59-f3f665327491) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnelld. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:50:46,778 - simple_memory_calculator - WARNING - Using generic estimation for black-forest-labs/FLUX.1-schnelld due to: HuggingFace API Error: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-68392b16-5274c80028c2b5c65cd331cb;c592b746-0bf5-46b7-8d59-f3f665327491) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnelld. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:50:46,778 - simple_memory_calculator - DEBUG - Generic estimation parameters: 3.0B params, 6.0GB FP16 +2025-05-30 12:50:46,778 - simple_memory_calculator - INFO - Generic estimation completed for black-forest-labs/FLUX.1-schnelld +2025-05-30 12:50:46,778 - simple_memory_calculator - DEBUG - Model memory: 6.0GB, Inference memory: 9.0GB +2025-05-30 12:50:46,778 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnelld +2025-05-30 12:50:47,001 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "GET /api/models/black-forest-labs/FLUX.1-schnelld HTTP/1.1" 404 32 +2025-05-30 12:50:47,002 - simple_memory_calculator - ERROR - API Error for model black-forest-labs/FLUX.1-schnelld: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-68392b16-6b527dda50c8f0b95804c8c2;72737c7a-e45e-4f6d-a393-687a0c0af8a0) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnelld. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:50:47,002 - simple_memory_calculator - WARNING - Using generic estimation for black-forest-labs/FLUX.1-schnelld due to: HuggingFace API Error: RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-68392b16-6b527dda50c8f0b95804c8c2;72737c7a-e45e-4f6d-a393-687a0c0af8a0) + +Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnelld. +Please make sure you specified the correct `repo_id` and `repo_type`. +If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication +2025-05-30 12:50:47,002 - simple_memory_calculator - DEBUG - Generic estimation parameters: 3.0B params, 6.0GB FP16 +2025-05-30 12:50:47,002 - simple_memory_calculator - INFO - Generic estimation completed for black-forest-labs/FLUX.1-schnelld +2025-05-30 12:50:48,348 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell +2025-05-30 12:50:48,348 - simple_memory_calculator - DEBUG - Using cached memory data for black-forest-labs/FLUX.1-schnell +2025-05-30 12:50:48,349 - simple_memory_calculator - INFO - Generating memory recommendations for black-forest-labs/FLUX.1-schnell with 8.0GB VRAM +2025-05-30 12:50:48,350 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell +2025-05-30 12:50:48,350 - simple_memory_calculator - DEBUG - Using cached memory data for black-forest-labs/FLUX.1-schnell +2025-05-30 12:50:48,350 - simple_memory_calculator - DEBUG - Model memory: 24.0GB, Inference memory: 36.0GB +2025-05-30 12:50:48,351 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell +2025-05-30 12:50:48,351 - simple_memory_calculator - DEBUG - Using cached memory data for black-forest-labs/FLUX.1-schnell