chansung commited on
Commit
2956194
·
verified ·
1 Parent(s): cc3e139

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. auto_diffusers.log +714 -0
  2. gradio_app.py +8 -14
auto_diffusers.log CHANGED
@@ -13534,3 +13534,717 @@ IMPORTANT GUIDELINES:
13534
  2025-05-30 12:15:13,911 - simple_memory_calculator - DEBUG - Using cached memory data for black-forest-labs/FLUX.1-schnell
13535
  2025-05-30 12:15:14,276 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): huggingface.co:443
13536
  2025-05-30 12:15:14,494 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "HEAD /api/telemetry/gradio/launched HTTP/1.1" 200 0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13534
  2025-05-30 12:15:13,911 - simple_memory_calculator - DEBUG - Using cached memory data for black-forest-labs/FLUX.1-schnell
13535
  2025-05-30 12:15:14,276 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): huggingface.co:443
13536
  2025-05-30 12:15:14,494 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "HEAD /api/telemetry/gradio/launched HTTP/1.1" 200 0
13537
+ 2025-05-30 12:20:05,265 - __main__ - INFO - Initializing GradioAutodiffusers
13538
+ 2025-05-30 12:20:05,265 - __main__ - DEBUG - API key found, length: 39
13539
+ 2025-05-30 12:20:05,265 - auto_diffusers - INFO - Initializing AutoDiffusersGenerator
13540
+ 2025-05-30 12:20:05,265 - auto_diffusers - DEBUG - API key length: 39
13541
+ 2025-05-30 12:20:05,265 - auto_diffusers - WARNING - Tool calling dependencies not available, running without tools
13542
+ 2025-05-30 12:20:05,266 - hardware_detector - INFO - Initializing HardwareDetector
13543
+ 2025-05-30 12:20:05,266 - hardware_detector - DEBUG - Starting system hardware detection
13544
+ 2025-05-30 12:20:05,266 - hardware_detector - DEBUG - Platform: Darwin, Architecture: arm64
13545
+ 2025-05-30 12:20:05,266 - hardware_detector - DEBUG - CPU cores: 16, Python: 3.11.11
13546
+ 2025-05-30 12:20:05,266 - hardware_detector - DEBUG - Attempting GPU detection via nvidia-smi
13547
+ 2025-05-30 12:20:05,269 - hardware_detector - DEBUG - nvidia-smi not found, no NVIDIA GPU detected
13548
+ 2025-05-30 12:20:05,269 - hardware_detector - DEBUG - Checking PyTorch availability
13549
+ 2025-05-30 12:20:05,785 - hardware_detector - INFO - PyTorch 2.7.0 detected
13550
+ 2025-05-30 12:20:05,785 - hardware_detector - DEBUG - CUDA available: False, MPS available: True
13551
+ 2025-05-30 12:20:05,785 - hardware_detector - INFO - Hardware detection completed successfully
13552
+ 2025-05-30 12:20:05,785 - 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'}
13553
+ 2025-05-30 12:20:05,785 - auto_diffusers - INFO - Hardware detector initialized successfully
13554
+ 2025-05-30 12:20:05,785 - __main__ - INFO - AutoDiffusersGenerator initialized successfully
13555
+ 2025-05-30 12:20:05,785 - simple_memory_calculator - INFO - Initializing SimpleMemoryCalculator
13556
+ 2025-05-30 12:20:05,785 - simple_memory_calculator - DEBUG - HuggingFace API initialized
13557
+ 2025-05-30 12:20:05,785 - simple_memory_calculator - DEBUG - Known models in database: 4
13558
+ 2025-05-30 12:20:05,785 - __main__ - INFO - SimpleMemoryCalculator initialized successfully
13559
+ 2025-05-30 12:20:05,785 - __main__ - DEBUG - Default model settings: gemini-2.5-flash-preview-05-20, temp=0.7
13560
+ 2025-05-30 12:20:05,787 - asyncio - DEBUG - Using selector: KqueueSelector
13561
+ 2025-05-30 12:20:05,800 - httpcore.connection - DEBUG - connect_tcp.started host='api.gradio.app' port=443 local_address=None timeout=3 socket_options=None
13562
+ 2025-05-30 12:20:05,808 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): huggingface.co:443
13563
+ 2025-05-30 12:20:05,895 - asyncio - DEBUG - Using selector: KqueueSelector
13564
+ 2025-05-30 12:20:05,927 - httpcore.connection - DEBUG - connect_tcp.started host='localhost' port=7860 local_address=None timeout=None socket_options=None
13565
+ 2025-05-30 12:20:05,927 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x12a733010>
13566
+ 2025-05-30 12:20:05,928 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'GET']>
13567
+ 2025-05-30 12:20:05,928 - httpcore.http11 - DEBUG - send_request_headers.complete
13568
+ 2025-05-30 12:20:05,928 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'GET']>
13569
+ 2025-05-30 12:20:05,928 - httpcore.http11 - DEBUG - send_request_body.complete
13570
+ 2025-05-30 12:20:05,928 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'GET']>
13571
+ 2025-05-30 12:20:05,929 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'date', b'Fri, 30 May 2025 03:20:05 GMT'), (b'server', b'uvicorn'), (b'content-length', b'4'), (b'content-type', b'application/json')])
13572
+ 2025-05-30 12:20:05,929 - httpx - INFO - HTTP Request: GET http://localhost:7860/gradio_api/startup-events "HTTP/1.1 200 OK"
13573
+ 2025-05-30 12:20:05,929 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'GET']>
13574
+ 2025-05-30 12:20:05,929 - httpcore.http11 - DEBUG - receive_response_body.complete
13575
+ 2025-05-30 12:20:05,929 - httpcore.http11 - DEBUG - response_closed.started
13576
+ 2025-05-30 12:20:05,929 - httpcore.http11 - DEBUG - response_closed.complete
13577
+ 2025-05-30 12:20:05,929 - httpcore.connection - DEBUG - close.started
13578
+ 2025-05-30 12:20:05,929 - httpcore.connection - DEBUG - close.complete
13579
+ 2025-05-30 12:20:05,930 - httpcore.connection - DEBUG - connect_tcp.started host='localhost' port=7860 local_address=None timeout=3 socket_options=None
13580
+ 2025-05-30 12:20:05,930 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x12d458450>
13581
+ 2025-05-30 12:20:05,930 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'HEAD']>
13582
+ 2025-05-30 12:20:05,930 - httpcore.http11 - DEBUG - send_request_headers.complete
13583
+ 2025-05-30 12:20:05,930 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'HEAD']>
13584
+ 2025-05-30 12:20:05,930 - httpcore.http11 - DEBUG - send_request_body.complete
13585
+ 2025-05-30 12:20:05,930 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'HEAD']>
13586
+ 2025-05-30 12:20:05,936 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'date', b'Fri, 30 May 2025 03:20:05 GMT'), (b'server', b'uvicorn'), (b'content-length', b'101540'), (b'content-type', b'text/html; charset=utf-8')])
13587
+ 2025-05-30 12:20:05,937 - httpx - INFO - HTTP Request: HEAD http://localhost:7860/ "HTTP/1.1 200 OK"
13588
+ 2025-05-30 12:20:05,937 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'HEAD']>
13589
+ 2025-05-30 12:20:05,937 - httpcore.http11 - DEBUG - receive_response_body.complete
13590
+ 2025-05-30 12:20:05,937 - httpcore.http11 - DEBUG - response_closed.started
13591
+ 2025-05-30 12:20:05,937 - httpcore.http11 - DEBUG - response_closed.complete
13592
+ 2025-05-30 12:20:05,937 - httpcore.connection - DEBUG - close.started
13593
+ 2025-05-30 12:20:05,937 - httpcore.connection - DEBUG - close.complete
13594
+ 2025-05-30 12:20:05,948 - httpcore.connection - DEBUG - connect_tcp.started host='api.gradio.app' port=443 local_address=None timeout=30 socket_options=None
13595
+ 2025-05-30 12:20:05,975 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x11ac83f50>
13596
+ 2025-05-30 12:20:05,976 - httpcore.connection - DEBUG - start_tls.started ssl_context=<ssl.SSLContext object at 0x1290955b0> server_hostname='api.gradio.app' timeout=3
13597
+ 2025-05-30 12:20:06,094 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x1294b7150>
13598
+ 2025-05-30 12:20:06,094 - httpcore.connection - DEBUG - start_tls.started ssl_context=<ssl.SSLContext object at 0x12a8cfec0> server_hostname='api.gradio.app' timeout=30
13599
+ 2025-05-30 12:20:06,136 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "HEAD /api/telemetry/gradio/initiated HTTP/1.1" 200 0
13600
+ 2025-05-30 12:20:06,264 - httpcore.connection - DEBUG - start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0x12942d790>
13601
+ 2025-05-30 12:20:06,265 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'GET']>
13602
+ 2025-05-30 12:20:06,265 - httpcore.http11 - DEBUG - send_request_headers.complete
13603
+ 2025-05-30 12:20:06,265 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'GET']>
13604
+ 2025-05-30 12:20:06,265 - httpcore.http11 - DEBUG - send_request_body.complete
13605
+ 2025-05-30 12:20:06,265 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'GET']>
13606
+ 2025-05-30 12:20:06,387 - httpcore.connection - DEBUG - start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0x128d609d0>
13607
+ 2025-05-30 12:20:06,387 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'GET']>
13608
+ 2025-05-30 12:20:06,387 - httpcore.http11 - DEBUG - send_request_headers.complete
13609
+ 2025-05-30 12:20:06,387 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'GET']>
13610
+ 2025-05-30 12:20:06,387 - httpcore.http11 - DEBUG - send_request_body.complete
13611
+ 2025-05-30 12:20:06,388 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'GET']>
13612
+ 2025-05-30 12:20:06,412 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Fri, 30 May 2025 03:20: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'*')])
13613
+ 2025-05-30 12:20:06,413 - httpx - INFO - HTTP Request: GET https://api.gradio.app/pkg-version "HTTP/1.1 200 OK"
13614
+ 2025-05-30 12:20:06,413 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'GET']>
13615
+ 2025-05-30 12:20:06,413 - httpcore.http11 - DEBUG - receive_response_body.complete
13616
+ 2025-05-30 12:20:06,413 - httpcore.http11 - DEBUG - response_closed.started
13617
+ 2025-05-30 12:20:06,413 - httpcore.http11 - DEBUG - response_closed.complete
13618
+ 2025-05-30 12:20:06,413 - httpcore.connection - DEBUG - close.started
13619
+ 2025-05-30 12:20:06,413 - httpcore.connection - DEBUG - close.complete
13620
+ 2025-05-30 12:20:06,535 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Fri, 30 May 2025 03:20: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')])
13621
+ 2025-05-30 12:20:06,535 - httpx - INFO - HTTP Request: GET https://api.gradio.app/v3/tunnel-request "HTTP/1.1 200 OK"
13622
+ 2025-05-30 12:20:06,535 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'GET']>
13623
+ 2025-05-30 12:20:06,535 - httpcore.http11 - DEBUG - receive_response_body.complete
13624
+ 2025-05-30 12:20:06,536 - httpcore.http11 - DEBUG - response_closed.started
13625
+ 2025-05-30 12:20:06,536 - httpcore.http11 - DEBUG - response_closed.complete
13626
+ 2025-05-30 12:20:06,536 - httpcore.connection - DEBUG - close.started
13627
+ 2025-05-30 12:20:06,536 - httpcore.connection - DEBUG - close.complete
13628
+ 2025-05-30 12:20:07,136 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): huggingface.co:443
13629
+ 2025-05-30 12:20:07,376 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "HEAD /api/telemetry/gradio/launched HTTP/1.1" 200 0
13630
+ 2025-05-30 12:20:09,530 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell
13631
+ 2025-05-30 12:20:09,530 - simple_memory_calculator - INFO - Using known memory data for black-forest-labs/FLUX.1-schnell
13632
+ 2025-05-30 12:20:09,530 - simple_memory_calculator - DEBUG - Known data: {'params_billions': 12.0, 'fp16_gb': 24.0, 'inference_fp16_gb': 36.0}
13633
+ 2025-05-30 12:20:09,530 - simple_memory_calculator - INFO - Generating memory recommendations for black-forest-labs/FLUX.1-schnell with 8.0GB VRAM
13634
+ 2025-05-30 12:20:09,530 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell
13635
+ 2025-05-30 12:20:09,530 - simple_memory_calculator - DEBUG - Using cached memory data for black-forest-labs/FLUX.1-schnell
13636
+ 2025-05-30 12:20:09,530 - simple_memory_calculator - DEBUG - Model memory: 24.0GB, Inference memory: 36.0GB
13637
+ 2025-05-30 12:20:09,530 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell
13638
+ 2025-05-30 12:20:09,530 - simple_memory_calculator - DEBUG - Using cached memory data for black-forest-labs/FLUX.1-schnell
13639
+ 2025-05-30 12:20:52,779 - __main__ - INFO - Initializing GradioAutodiffusers
13640
+ 2025-05-30 12:20:52,779 - __main__ - DEBUG - API key found, length: 39
13641
+ 2025-05-30 12:20:52,779 - auto_diffusers - INFO - Initializing AutoDiffusersGenerator
13642
+ 2025-05-30 12:20:52,779 - auto_diffusers - DEBUG - API key length: 39
13643
+ 2025-05-30 12:20:52,779 - auto_diffusers - WARNING - Tool calling dependencies not available, running without tools
13644
+ 2025-05-30 12:20:52,779 - hardware_detector - INFO - Initializing HardwareDetector
13645
+ 2025-05-30 12:20:52,779 - hardware_detector - DEBUG - Starting system hardware detection
13646
+ 2025-05-30 12:20:52,779 - hardware_detector - DEBUG - Platform: Darwin, Architecture: arm64
13647
+ 2025-05-30 12:20:52,779 - hardware_detector - DEBUG - CPU cores: 16, Python: 3.11.11
13648
+ 2025-05-30 12:20:52,779 - hardware_detector - DEBUG - Attempting GPU detection via nvidia-smi
13649
+ 2025-05-30 12:20:52,783 - hardware_detector - DEBUG - nvidia-smi not found, no NVIDIA GPU detected
13650
+ 2025-05-30 12:20:52,783 - hardware_detector - DEBUG - Checking PyTorch availability
13651
+ 2025-05-30 12:20:53,249 - hardware_detector - INFO - PyTorch 2.7.0 detected
13652
+ 2025-05-30 12:20:53,250 - hardware_detector - DEBUG - CUDA available: False, MPS available: True
13653
+ 2025-05-30 12:20:53,250 - hardware_detector - INFO - Hardware detection completed successfully
13654
+ 2025-05-30 12:20:53,250 - 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'}
13655
+ 2025-05-30 12:20:53,250 - auto_diffusers - INFO - Hardware detector initialized successfully
13656
+ 2025-05-30 12:20:53,250 - __main__ - INFO - AutoDiffusersGenerator initialized successfully
13657
+ 2025-05-30 12:20:53,250 - simple_memory_calculator - INFO - Initializing SimpleMemoryCalculator
13658
+ 2025-05-30 12:20:53,250 - simple_memory_calculator - DEBUG - HuggingFace API initialized
13659
+ 2025-05-30 12:20:53,250 - simple_memory_calculator - DEBUG - Known models in database: 4
13660
+ 2025-05-30 12:20:53,250 - __main__ - INFO - SimpleMemoryCalculator initialized successfully
13661
+ 2025-05-30 12:20:53,250 - __main__ - DEBUG - Default model settings: gemini-2.5-flash-preview-05-20, temp=0.7
13662
+ 2025-05-30 12:20:53,252 - asyncio - DEBUG - Using selector: KqueueSelector
13663
+ 2025-05-30 12:20:53,264 - httpcore.connection - DEBUG - connect_tcp.started host='api.gradio.app' port=443 local_address=None timeout=3 socket_options=None
13664
+ 2025-05-30 12:20:53,272 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): huggingface.co:443
13665
+ 2025-05-30 12:20:53,359 - asyncio - DEBUG - Using selector: KqueueSelector
13666
+ 2025-05-30 12:20:53,390 - httpcore.connection - DEBUG - connect_tcp.started host='localhost' port=7860 local_address=None timeout=None socket_options=None
13667
+ 2025-05-30 12:20:53,391 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x127636790>
13668
+ 2025-05-30 12:20:53,391 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'GET']>
13669
+ 2025-05-30 12:20:53,391 - httpcore.http11 - DEBUG - send_request_headers.complete
13670
+ 2025-05-30 12:20:53,391 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'GET']>
13671
+ 2025-05-30 12:20:53,391 - httpcore.http11 - DEBUG - send_request_body.complete
13672
+ 2025-05-30 12:20:53,391 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'GET']>
13673
+ 2025-05-30 12:20:53,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:20:53 GMT'), (b'server', b'uvicorn'), (b'content-length', b'4'), (b'content-type', b'application/json')])
13674
+ 2025-05-30 12:20:53,392 - httpx - INFO - HTTP Request: GET http://localhost:7860/gradio_api/startup-events "HTTP/1.1 200 OK"
13675
+ 2025-05-30 12:20:53,392 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'GET']>
13676
+ 2025-05-30 12:20:53,392 - httpcore.http11 - DEBUG - receive_response_body.complete
13677
+ 2025-05-30 12:20:53,392 - httpcore.http11 - DEBUG - response_closed.started
13678
+ 2025-05-30 12:20:53,392 - httpcore.http11 - DEBUG - response_closed.complete
13679
+ 2025-05-30 12:20:53,392 - httpcore.connection - DEBUG - close.started
13680
+ 2025-05-30 12:20:53,392 - httpcore.connection - DEBUG - close.complete
13681
+ 2025-05-30 12:20:53,392 - httpcore.connection - DEBUG - connect_tcp.started host='localhost' port=7860 local_address=None timeout=3 socket_options=None
13682
+ 2025-05-30 12:20:53,393 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x127637a90>
13683
+ 2025-05-30 12:20:53,393 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'HEAD']>
13684
+ 2025-05-30 12:20:53,393 - httpcore.http11 - DEBUG - send_request_headers.complete
13685
+ 2025-05-30 12:20:53,393 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'HEAD']>
13686
+ 2025-05-30 12:20:53,393 - httpcore.http11 - DEBUG - send_request_body.complete
13687
+ 2025-05-30 12:20:53,393 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'HEAD']>
13688
+ 2025-05-30 12:20:53,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:20:53 GMT'), (b'server', b'uvicorn'), (b'content-length', b'101307'), (b'content-type', b'text/html; charset=utf-8')])
13689
+ 2025-05-30 12:20:53,400 - httpx - INFO - HTTP Request: HEAD http://localhost:7860/ "HTTP/1.1 200 OK"
13690
+ 2025-05-30 12:20:53,400 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'HEAD']>
13691
+ 2025-05-30 12:20:53,400 - httpcore.http11 - DEBUG - receive_response_body.complete
13692
+ 2025-05-30 12:20:53,400 - httpcore.http11 - DEBUG - response_closed.started
13693
+ 2025-05-30 12:20:53,400 - httpcore.http11 - DEBUG - response_closed.complete
13694
+ 2025-05-30 12:20:53,400 - httpcore.connection - DEBUG - close.started
13695
+ 2025-05-30 12:20:53,400 - httpcore.connection - DEBUG - close.complete
13696
+ 2025-05-30 12:20:53,411 - httpcore.connection - DEBUG - connect_tcp.started host='api.gradio.app' port=443 local_address=None timeout=30 socket_options=None
13697
+ 2025-05-30 12:20:53,417 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x1245327d0>
13698
+ 2025-05-30 12:20:53,417 - httpcore.connection - DEBUG - start_tls.started ssl_context=<ssl.SSLContext object at 0x1253955b0> server_hostname='api.gradio.app' timeout=3
13699
+ 2025-05-30 12:20:53,535 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "HEAD /api/telemetry/gradio/initiated HTTP/1.1" 200 0
13700
+ 2025-05-30 12:20:53,546 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x125063150>
13701
+ 2025-05-30 12:20:53,546 - httpcore.connection - DEBUG - start_tls.started ssl_context=<ssl.SSLContext object at 0x126acfec0> server_hostname='api.gradio.app' timeout=30
13702
+ 2025-05-30 12:20:53,697 - httpcore.connection - DEBUG - start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0x12566a3d0>
13703
+ 2025-05-30 12:20:53,698 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'GET']>
13704
+ 2025-05-30 12:20:53,698 - httpcore.http11 - DEBUG - send_request_headers.complete
13705
+ 2025-05-30 12:20:53,698 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'GET']>
13706
+ 2025-05-30 12:20:53,698 - httpcore.http11 - DEBUG - send_request_body.complete
13707
+ 2025-05-30 12:20:53,699 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'GET']>
13708
+ 2025-05-30 12:20:53,821 - httpcore.connection - DEBUG - start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0x12432de90>
13709
+ 2025-05-30 12:20:53,822 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'GET']>
13710
+ 2025-05-30 12:20:53,823 - httpcore.http11 - DEBUG - send_request_headers.complete
13711
+ 2025-05-30 12:20:53,823 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'GET']>
13712
+ 2025-05-30 12:20:53,823 - httpcore.http11 - DEBUG - send_request_body.complete
13713
+ 2025-05-30 12:20:53,823 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'GET']>
13714
+ 2025-05-30 12:20:53,841 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Fri, 30 May 2025 03:20:53 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'*')])
13715
+ 2025-05-30 12:20:53,841 - httpx - INFO - HTTP Request: GET https://api.gradio.app/pkg-version "HTTP/1.1 200 OK"
13716
+ 2025-05-30 12:20:53,841 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'GET']>
13717
+ 2025-05-30 12:20:53,842 - httpcore.http11 - DEBUG - receive_response_body.complete
13718
+ 2025-05-30 12:20:53,842 - httpcore.http11 - DEBUG - response_closed.started
13719
+ 2025-05-30 12:20:53,842 - httpcore.http11 - DEBUG - response_closed.complete
13720
+ 2025-05-30 12:20:53,842 - httpcore.connection - DEBUG - close.started
13721
+ 2025-05-30 12:20:53,842 - httpcore.connection - DEBUG - close.complete
13722
+ 2025-05-30 12:20:53,960 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Fri, 30 May 2025 03:20:53 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')])
13723
+ 2025-05-30 12:20:53,961 - httpx - INFO - HTTP Request: GET https://api.gradio.app/v3/tunnel-request "HTTP/1.1 200 OK"
13724
+ 2025-05-30 12:20:53,961 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'GET']>
13725
+ 2025-05-30 12:20:53,961 - httpcore.http11 - DEBUG - receive_response_body.complete
13726
+ 2025-05-30 12:20:53,961 - httpcore.http11 - DEBUG - response_closed.started
13727
+ 2025-05-30 12:20:53,962 - httpcore.http11 - DEBUG - response_closed.complete
13728
+ 2025-05-30 12:20:53,962 - httpcore.connection - DEBUG - close.started
13729
+ 2025-05-30 12:20:53,962 - httpcore.connection - DEBUG - close.complete
13730
+ 2025-05-30 12:20:54,524 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): huggingface.co:443
13731
+ 2025-05-30 12:20:54,744 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "HEAD /api/telemetry/gradio/launched HTTP/1.1" 200 0
13732
+ 2025-05-30 12:20:56,441 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell
13733
+ 2025-05-30 12:20:56,441 - simple_memory_calculator - INFO - Using known memory data for black-forest-labs/FLUX.1-schnell
13734
+ 2025-05-30 12:20:56,441 - simple_memory_calculator - DEBUG - Known data: {'params_billions': 12.0, 'fp16_gb': 24.0, 'inference_fp16_gb': 36.0}
13735
+ 2025-05-30 12:20:56,441 - simple_memory_calculator - INFO - Generating memory recommendations for black-forest-labs/FLUX.1-schnell with 8.0GB VRAM
13736
+ 2025-05-30 12:20:56,441 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell
13737
+ 2025-05-30 12:20:56,441 - simple_memory_calculator - DEBUG - Using cached memory data for black-forest-labs/FLUX.1-schnell
13738
+ 2025-05-30 12:20:56,441 - simple_memory_calculator - DEBUG - Model memory: 24.0GB, Inference memory: 36.0GB
13739
+ 2025-05-30 12:20:56,441 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell
13740
+ 2025-05-30 12:20:56,442 - simple_memory_calculator - DEBUG - Using cached memory data for black-forest-labs/FLUX.1-schnell
13741
+ 2025-05-30 12:21:35,484 - __main__ - INFO - Initializing GradioAutodiffusers
13742
+ 2025-05-30 12:21:35,484 - __main__ - DEBUG - API key found, length: 39
13743
+ 2025-05-30 12:21:35,484 - auto_diffusers - INFO - Initializing AutoDiffusersGenerator
13744
+ 2025-05-30 12:21:35,484 - auto_diffusers - DEBUG - API key length: 39
13745
+ 2025-05-30 12:21:35,484 - auto_diffusers - WARNING - Tool calling dependencies not available, running without tools
13746
+ 2025-05-30 12:21:35,484 - hardware_detector - INFO - Initializing HardwareDetector
13747
+ 2025-05-30 12:21:35,484 - hardware_detector - DEBUG - Starting system hardware detection
13748
+ 2025-05-30 12:21:35,484 - hardware_detector - DEBUG - Platform: Darwin, Architecture: arm64
13749
+ 2025-05-30 12:21:35,484 - hardware_detector - DEBUG - CPU cores: 16, Python: 3.11.11
13750
+ 2025-05-30 12:21:35,484 - hardware_detector - DEBUG - Attempting GPU detection via nvidia-smi
13751
+ 2025-05-30 12:21:35,488 - hardware_detector - DEBUG - nvidia-smi not found, no NVIDIA GPU detected
13752
+ 2025-05-30 12:21:35,488 - hardware_detector - DEBUG - Checking PyTorch availability
13753
+ 2025-05-30 12:21:35,941 - hardware_detector - INFO - PyTorch 2.7.0 detected
13754
+ 2025-05-30 12:21:35,941 - hardware_detector - DEBUG - CUDA available: False, MPS available: True
13755
+ 2025-05-30 12:21:35,941 - hardware_detector - INFO - Hardware detection completed successfully
13756
+ 2025-05-30 12:21:35,941 - 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'}
13757
+ 2025-05-30 12:21:35,941 - auto_diffusers - INFO - Hardware detector initialized successfully
13758
+ 2025-05-30 12:21:35,941 - __main__ - INFO - AutoDiffusersGenerator initialized successfully
13759
+ 2025-05-30 12:21:35,941 - simple_memory_calculator - INFO - Initializing SimpleMemoryCalculator
13760
+ 2025-05-30 12:21:35,941 - simple_memory_calculator - DEBUG - HuggingFace API initialized
13761
+ 2025-05-30 12:21:35,941 - simple_memory_calculator - DEBUG - Known models in database: 4
13762
+ 2025-05-30 12:21:35,941 - __main__ - INFO - SimpleMemoryCalculator initialized successfully
13763
+ 2025-05-30 12:21:35,941 - __main__ - DEBUG - Default model settings: gemini-2.5-flash-preview-05-20, temp=0.7
13764
+ 2025-05-30 12:21:35,943 - asyncio - DEBUG - Using selector: KqueueSelector
13765
+ 2025-05-30 12:21:35,957 - httpcore.connection - DEBUG - connect_tcp.started host='api.gradio.app' port=443 local_address=None timeout=3 socket_options=None
13766
+ 2025-05-30 12:21:35,964 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): huggingface.co:443
13767
+ 2025-05-30 12:21:36,045 - asyncio - DEBUG - Using selector: KqueueSelector
13768
+ 2025-05-30 12:21:36,077 - httpcore.connection - DEBUG - connect_tcp.started host='localhost' port=7860 local_address=None timeout=None socket_options=None
13769
+ 2025-05-30 12:21:36,078 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x127c6de10>
13770
+ 2025-05-30 12:21:36,078 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'GET']>
13771
+ 2025-05-30 12:21:36,078 - httpcore.http11 - DEBUG - send_request_headers.complete
13772
+ 2025-05-30 12:21:36,078 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'GET']>
13773
+ 2025-05-30 12:21:36,078 - httpcore.http11 - DEBUG - send_request_body.complete
13774
+ 2025-05-30 12:21:36,079 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'GET']>
13775
+ 2025-05-30 12:21:36,079 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'date', b'Fri, 30 May 2025 03:21:36 GMT'), (b'server', b'uvicorn'), (b'content-length', b'4'), (b'content-type', b'application/json')])
13776
+ 2025-05-30 12:21:36,079 - httpx - INFO - HTTP Request: GET http://localhost:7860/gradio_api/startup-events "HTTP/1.1 200 OK"
13777
+ 2025-05-30 12:21:36,079 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'GET']>
13778
+ 2025-05-30 12:21:36,079 - httpcore.http11 - DEBUG - receive_response_body.complete
13779
+ 2025-05-30 12:21:36,079 - httpcore.http11 - DEBUG - response_closed.started
13780
+ 2025-05-30 12:21:36,079 - httpcore.http11 - DEBUG - response_closed.complete
13781
+ 2025-05-30 12:21:36,079 - httpcore.connection - DEBUG - close.started
13782
+ 2025-05-30 12:21:36,079 - httpcore.connection - DEBUG - close.complete
13783
+ 2025-05-30 12:21:36,080 - httpcore.connection - DEBUG - connect_tcp.started host='localhost' port=7860 local_address=None timeout=3 socket_options=None
13784
+ 2025-05-30 12:21:36,080 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x127e4be90>
13785
+ 2025-05-30 12:21:36,080 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'HEAD']>
13786
+ 2025-05-30 12:21:36,080 - httpcore.http11 - DEBUG - send_request_headers.complete
13787
+ 2025-05-30 12:21:36,080 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'HEAD']>
13788
+ 2025-05-30 12:21:36,080 - httpcore.http11 - DEBUG - send_request_body.complete
13789
+ 2025-05-30 12:21:36,080 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'HEAD']>
13790
+ 2025-05-30 12:21:36,087 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'date', b'Fri, 30 May 2025 03:21:36 GMT'), (b'server', b'uvicorn'), (b'content-length', b'100397'), (b'content-type', b'text/html; charset=utf-8')])
13791
+ 2025-05-30 12:21:36,087 - httpx - INFO - HTTP Request: HEAD http://localhost:7860/ "HTTP/1.1 200 OK"
13792
+ 2025-05-30 12:21:36,087 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'HEAD']>
13793
+ 2025-05-30 12:21:36,087 - httpcore.http11 - DEBUG - receive_response_body.complete
13794
+ 2025-05-30 12:21:36,087 - httpcore.http11 - DEBUG - response_closed.started
13795
+ 2025-05-30 12:21:36,087 - httpcore.http11 - DEBUG - response_closed.complete
13796
+ 2025-05-30 12:21:36,087 - httpcore.connection - DEBUG - close.started
13797
+ 2025-05-30 12:21:36,087 - httpcore.connection - DEBUG - close.complete
13798
+ 2025-05-30 12:21:36,099 - httpcore.connection - DEBUG - connect_tcp.started host='api.gradio.app' port=443 local_address=None timeout=30 socket_options=None
13799
+ 2025-05-30 12:21:36,255 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "HEAD /api/telemetry/gradio/initiated HTTP/1.1" 200 0
13800
+ 2025-05-30 12:21:36,514 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x121e43690>
13801
+ 2025-05-30 12:21:36,514 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x127c618d0>
13802
+ 2025-05-30 12:21:36,514 - httpcore.connection - DEBUG - start_tls.started ssl_context=<ssl.SSLContext object at 0x127dd7ec0> server_hostname='api.gradio.app' timeout=30
13803
+ 2025-05-30 12:21:36,514 - httpcore.connection - DEBUG - start_tls.started ssl_context=<ssl.SSLContext object at 0x113f291c0> server_hostname='api.gradio.app' timeout=3
13804
+ 2025-05-30 12:21:36,800 - httpcore.connection - DEBUG - start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0x124e78890>
13805
+ 2025-05-30 12:21:36,800 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'GET']>
13806
+ 2025-05-30 12:21:36,800 - httpcore.http11 - DEBUG - send_request_headers.complete
13807
+ 2025-05-30 12:21:36,800 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'GET']>
13808
+ 2025-05-30 12:21:36,800 - httpcore.http11 - DEBUG - send_request_body.complete
13809
+ 2025-05-30 12:21:36,800 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'GET']>
13810
+ 2025-05-30 12:21:36,808 - httpcore.connection - DEBUG - start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0x125df3150>
13811
+ 2025-05-30 12:21:36,808 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'GET']>
13812
+ 2025-05-30 12:21:36,808 - httpcore.http11 - DEBUG - send_request_headers.complete
13813
+ 2025-05-30 12:21:36,808 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'GET']>
13814
+ 2025-05-30 12:21:36,809 - httpcore.http11 - DEBUG - send_request_body.complete
13815
+ 2025-05-30 12:21:36,809 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'GET']>
13816
+ 2025-05-30 12:21:36,946 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Fri, 30 May 2025 03:21:36 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')])
13817
+ 2025-05-30 12:21:36,947 - httpx - INFO - HTTP Request: GET https://api.gradio.app/v3/tunnel-request "HTTP/1.1 200 OK"
13818
+ 2025-05-30 12:21:36,947 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'GET']>
13819
+ 2025-05-30 12:21:36,948 - httpcore.http11 - DEBUG - receive_response_body.complete
13820
+ 2025-05-30 12:21:36,948 - httpcore.http11 - DEBUG - response_closed.started
13821
+ 2025-05-30 12:21:36,948 - httpcore.http11 - DEBUG - response_closed.complete
13822
+ 2025-05-30 12:21:36,948 - httpcore.connection - DEBUG - close.started
13823
+ 2025-05-30 12:21:36,949 - httpcore.connection - DEBUG - close.complete
13824
+ 2025-05-30 12:21:36,957 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Fri, 30 May 2025 03:21:36 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'*')])
13825
+ 2025-05-30 12:21:36,958 - httpx - INFO - HTTP Request: GET https://api.gradio.app/pkg-version "HTTP/1.1 200 OK"
13826
+ 2025-05-30 12:21:36,959 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'GET']>
13827
+ 2025-05-30 12:21:36,959 - httpcore.http11 - DEBUG - receive_response_body.complete
13828
+ 2025-05-30 12:21:36,959 - httpcore.http11 - DEBUG - response_closed.started
13829
+ 2025-05-30 12:21:36,959 - httpcore.http11 - DEBUG - response_closed.complete
13830
+ 2025-05-30 12:21:36,959 - httpcore.connection - DEBUG - close.started
13831
+ 2025-05-30 12:21:36,959 - httpcore.connection - DEBUG - close.complete
13832
+ 2025-05-30 12:21:37,538 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): huggingface.co:443
13833
+ 2025-05-30 12:21:37,654 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell
13834
+ 2025-05-30 12:21:37,654 - simple_memory_calculator - INFO - Using known memory data for black-forest-labs/FLUX.1-schnell
13835
+ 2025-05-30 12:21:37,654 - simple_memory_calculator - DEBUG - Known data: {'params_billions': 12.0, 'fp16_gb': 24.0, 'inference_fp16_gb': 36.0}
13836
+ 2025-05-30 12:21:37,654 - simple_memory_calculator - INFO - Generating memory recommendations for black-forest-labs/FLUX.1-schnell with 8.0GB VRAM
13837
+ 2025-05-30 12:21:37,655 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell
13838
+ 2025-05-30 12:21:37,655 - simple_memory_calculator - DEBUG - Using cached memory data for black-forest-labs/FLUX.1-schnell
13839
+ 2025-05-30 12:21:37,655 - simple_memory_calculator - DEBUG - Model memory: 24.0GB, Inference memory: 36.0GB
13840
+ 2025-05-30 12:21:37,656 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell
13841
+ 2025-05-30 12:21:37,656 - simple_memory_calculator - DEBUG - Using cached memory data for black-forest-labs/FLUX.1-schnell
13842
+ 2025-05-30 12:21:37,753 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "HEAD /api/telemetry/gradio/launched HTTP/1.1" 200 0
13843
+ 2025-05-30 12:22:32,882 - __main__ - INFO - Initializing GradioAutodiffusers
13844
+ 2025-05-30 12:22:32,883 - __main__ - DEBUG - API key found, length: 39
13845
+ 2025-05-30 12:22:32,883 - auto_diffusers - INFO - Initializing AutoDiffusersGenerator
13846
+ 2025-05-30 12:22:32,883 - auto_diffusers - DEBUG - API key length: 39
13847
+ 2025-05-30 12:22:32,883 - auto_diffusers - WARNING - Tool calling dependencies not available, running without tools
13848
+ 2025-05-30 12:22:32,883 - hardware_detector - INFO - Initializing HardwareDetector
13849
+ 2025-05-30 12:22:32,883 - hardware_detector - DEBUG - Starting system hardware detection
13850
+ 2025-05-30 12:22:32,883 - hardware_detector - DEBUG - Platform: Darwin, Architecture: arm64
13851
+ 2025-05-30 12:22:32,883 - hardware_detector - DEBUG - CPU cores: 16, Python: 3.11.11
13852
+ 2025-05-30 12:22:32,883 - hardware_detector - DEBUG - Attempting GPU detection via nvidia-smi
13853
+ 2025-05-30 12:22:32,887 - hardware_detector - DEBUG - nvidia-smi not found, no NVIDIA GPU detected
13854
+ 2025-05-30 12:22:32,887 - hardware_detector - DEBUG - Checking PyTorch availability
13855
+ 2025-05-30 12:22:33,354 - hardware_detector - INFO - PyTorch 2.7.0 detected
13856
+ 2025-05-30 12:22:33,354 - hardware_detector - DEBUG - CUDA available: False, MPS available: True
13857
+ 2025-05-30 12:22:33,354 - hardware_detector - INFO - Hardware detection completed successfully
13858
+ 2025-05-30 12:22:33,354 - 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'}
13859
+ 2025-05-30 12:22:33,354 - auto_diffusers - INFO - Hardware detector initialized successfully
13860
+ 2025-05-30 12:22:33,354 - __main__ - INFO - AutoDiffusersGenerator initialized successfully
13861
+ 2025-05-30 12:22:33,354 - simple_memory_calculator - INFO - Initializing SimpleMemoryCalculator
13862
+ 2025-05-30 12:22:33,354 - simple_memory_calculator - DEBUG - HuggingFace API initialized
13863
+ 2025-05-30 12:22:33,354 - simple_memory_calculator - DEBUG - Known models in database: 4
13864
+ 2025-05-30 12:22:33,354 - __main__ - INFO - SimpleMemoryCalculator initialized successfully
13865
+ 2025-05-30 12:22:33,354 - __main__ - DEBUG - Default model settings: gemini-2.5-flash-preview-05-20, temp=0.7
13866
+ 2025-05-30 12:22:33,356 - asyncio - DEBUG - Using selector: KqueueSelector
13867
+ 2025-05-30 12:22:33,369 - httpcore.connection - DEBUG - connect_tcp.started host='api.gradio.app' port=443 local_address=None timeout=3 socket_options=None
13868
+ 2025-05-30 12:22:33,376 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): huggingface.co:443
13869
+ 2025-05-30 12:22:33,454 - asyncio - DEBUG - Using selector: KqueueSelector
13870
+ 2025-05-30 12:22:33,486 - httpcore.connection - DEBUG - connect_tcp.started host='localhost' port=7860 local_address=None timeout=None socket_options=None
13871
+ 2025-05-30 12:22:33,486 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x11a22eed0>
13872
+ 2025-05-30 12:22:33,487 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'GET']>
13873
+ 2025-05-30 12:22:33,487 - httpcore.http11 - DEBUG - send_request_headers.complete
13874
+ 2025-05-30 12:22:33,487 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'GET']>
13875
+ 2025-05-30 12:22:33,487 - httpcore.http11 - DEBUG - send_request_body.complete
13876
+ 2025-05-30 12:22:33,487 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'GET']>
13877
+ 2025-05-30 12:22:33,487 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'date', b'Fri, 30 May 2025 03:22:33 GMT'), (b'server', b'uvicorn'), (b'content-length', b'4'), (b'content-type', b'application/json')])
13878
+ 2025-05-30 12:22:33,487 - httpx - INFO - HTTP Request: GET http://localhost:7860/gradio_api/startup-events "HTTP/1.1 200 OK"
13879
+ 2025-05-30 12:22:33,488 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'GET']>
13880
+ 2025-05-30 12:22:33,488 - httpcore.http11 - DEBUG - receive_response_body.complete
13881
+ 2025-05-30 12:22:33,488 - httpcore.http11 - DEBUG - response_closed.started
13882
+ 2025-05-30 12:22:33,488 - httpcore.http11 - DEBUG - response_closed.complete
13883
+ 2025-05-30 12:22:33,488 - httpcore.connection - DEBUG - close.started
13884
+ 2025-05-30 12:22:33,488 - httpcore.connection - DEBUG - close.complete
13885
+ 2025-05-30 12:22:33,488 - httpcore.connection - DEBUG - connect_tcp.started host='localhost' port=7860 local_address=None timeout=3 socket_options=None
13886
+ 2025-05-30 12:22:33,489 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x11a22fb50>
13887
+ 2025-05-30 12:22:33,489 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'HEAD']>
13888
+ 2025-05-30 12:22:33,489 - httpcore.http11 - DEBUG - send_request_headers.complete
13889
+ 2025-05-30 12:22:33,489 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'HEAD']>
13890
+ 2025-05-30 12:22:33,489 - httpcore.http11 - DEBUG - send_request_body.complete
13891
+ 2025-05-30 12:22:33,489 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'HEAD']>
13892
+ 2025-05-30 12:22:33,495 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'date', b'Fri, 30 May 2025 03:22:33 GMT'), (b'server', b'uvicorn'), (b'content-length', b'100681'), (b'content-type', b'text/html; charset=utf-8')])
13893
+ 2025-05-30 12:22:33,495 - httpx - INFO - HTTP Request: HEAD http://localhost:7860/ "HTTP/1.1 200 OK"
13894
+ 2025-05-30 12:22:33,495 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'HEAD']>
13895
+ 2025-05-30 12:22:33,495 - httpcore.http11 - DEBUG - receive_response_body.complete
13896
+ 2025-05-30 12:22:33,495 - httpcore.http11 - DEBUG - response_closed.started
13897
+ 2025-05-30 12:22:33,495 - httpcore.http11 - DEBUG - response_closed.complete
13898
+ 2025-05-30 12:22:33,495 - httpcore.connection - DEBUG - close.started
13899
+ 2025-05-30 12:22:33,495 - httpcore.connection - DEBUG - close.complete
13900
+ 2025-05-30 12:22:33,507 - httpcore.connection - DEBUG - connect_tcp.started host='api.gradio.app' port=443 local_address=None timeout=30 socket_options=None
13901
+ 2025-05-30 12:22:33,513 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x119c9c5d0>
13902
+ 2025-05-30 12:22:33,514 - httpcore.connection - DEBUG - start_tls.started ssl_context=<ssl.SSLContext object at 0x1198955b0> server_hostname='api.gradio.app' timeout=3
13903
+ 2025-05-30 12:22:33,628 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "HEAD /api/telemetry/gradio/initiated HTTP/1.1" 200 0
13904
+ 2025-05-30 12:22:33,654 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x118faec90>
13905
+ 2025-05-30 12:22:33,654 - httpcore.connection - DEBUG - start_tls.started ssl_context=<ssl.SSLContext object at 0x11a0cfec0> server_hostname='api.gradio.app' timeout=30
13906
+ 2025-05-30 12:22:33,784 - httpcore.connection - DEBUG - start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0x119ccae50>
13907
+ 2025-05-30 12:22:33,784 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'GET']>
13908
+ 2025-05-30 12:22:33,785 - httpcore.http11 - DEBUG - send_request_headers.complete
13909
+ 2025-05-30 12:22:33,785 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'GET']>
13910
+ 2025-05-30 12:22:33,785 - httpcore.http11 - DEBUG - send_request_body.complete
13911
+ 2025-05-30 12:22:33,785 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'GET']>
13912
+ 2025-05-30 12:22:33,923 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Fri, 30 May 2025 03:22:33 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'*')])
13913
+ 2025-05-30 12:22:33,924 - httpx - INFO - HTTP Request: GET https://api.gradio.app/pkg-version "HTTP/1.1 200 OK"
13914
+ 2025-05-30 12:22:33,924 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'GET']>
13915
+ 2025-05-30 12:22:33,924 - httpcore.http11 - DEBUG - receive_response_body.complete
13916
+ 2025-05-30 12:22:33,924 - httpcore.http11 - DEBUG - response_closed.started
13917
+ 2025-05-30 12:22:33,924 - httpcore.http11 - DEBUG - response_closed.complete
13918
+ 2025-05-30 12:22:33,924 - httpcore.connection - DEBUG - close.started
13919
+ 2025-05-30 12:22:33,924 - httpcore.connection - DEBUG - close.complete
13920
+ 2025-05-30 12:22:33,950 - httpcore.connection - DEBUG - start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0x118881210>
13921
+ 2025-05-30 12:22:33,950 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'GET']>
13922
+ 2025-05-30 12:22:33,950 - httpcore.http11 - DEBUG - send_request_headers.complete
13923
+ 2025-05-30 12:22:33,950 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'GET']>
13924
+ 2025-05-30 12:22:33,951 - httpcore.http11 - DEBUG - send_request_body.complete
13925
+ 2025-05-30 12:22:33,951 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'GET']>
13926
+ 2025-05-30 12:22:34,099 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Fri, 30 May 2025 03:22:34 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')])
13927
+ 2025-05-30 12:22:34,100 - httpx - INFO - HTTP Request: GET https://api.gradio.app/v3/tunnel-request "HTTP/1.1 200 OK"
13928
+ 2025-05-30 12:22:34,100 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'GET']>
13929
+ 2025-05-30 12:22:34,100 - httpcore.http11 - DEBUG - receive_response_body.complete
13930
+ 2025-05-30 12:22:34,100 - httpcore.http11 - DEBUG - response_closed.started
13931
+ 2025-05-30 12:22:34,100 - httpcore.http11 - DEBUG - response_closed.complete
13932
+ 2025-05-30 12:22:34,100 - httpcore.connection - DEBUG - close.started
13933
+ 2025-05-30 12:22:34,101 - httpcore.connection - DEBUG - close.complete
13934
+ 2025-05-30 12:22:34,251 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell
13935
+ 2025-05-30 12:22:34,251 - simple_memory_calculator - INFO - Using known memory data for black-forest-labs/FLUX.1-schnell
13936
+ 2025-05-30 12:22:34,252 - simple_memory_calculator - DEBUG - Known data: {'params_billions': 12.0, 'fp16_gb': 24.0, 'inference_fp16_gb': 36.0}
13937
+ 2025-05-30 12:22:34,252 - simple_memory_calculator - INFO - Generating memory recommendations for black-forest-labs/FLUX.1-schnell with 8.0GB VRAM
13938
+ 2025-05-30 12:22:34,252 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell
13939
+ 2025-05-30 12:22:34,252 - simple_memory_calculator - DEBUG - Using cached memory data for black-forest-labs/FLUX.1-schnell
13940
+ 2025-05-30 12:22:34,252 - simple_memory_calculator - DEBUG - Model memory: 24.0GB, Inference memory: 36.0GB
13941
+ 2025-05-30 12:22:34,252 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell
13942
+ 2025-05-30 12:22:34,252 - simple_memory_calculator - DEBUG - Using cached memory data for black-forest-labs/FLUX.1-schnell
13943
+ 2025-05-30 12:22:34,683 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): huggingface.co:443
13944
+ 2025-05-30 12:22:34,905 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "HEAD /api/telemetry/gradio/launched HTTP/1.1" 200 0
13945
+ 2025-05-30 12:23:24,138 - __main__ - INFO - Initializing GradioAutodiffusers
13946
+ 2025-05-30 12:23:24,138 - __main__ - DEBUG - API key found, length: 39
13947
+ 2025-05-30 12:23:24,138 - auto_diffusers - INFO - Initializing AutoDiffusersGenerator
13948
+ 2025-05-30 12:23:24,138 - auto_diffusers - DEBUG - API key length: 39
13949
+ 2025-05-30 12:23:24,138 - auto_diffusers - WARNING - Tool calling dependencies not available, running without tools
13950
+ 2025-05-30 12:23:24,138 - hardware_detector - INFO - Initializing HardwareDetector
13951
+ 2025-05-30 12:23:24,138 - hardware_detector - DEBUG - Starting system hardware detection
13952
+ 2025-05-30 12:23:24,138 - hardware_detector - DEBUG - Platform: Darwin, Architecture: arm64
13953
+ 2025-05-30 12:23:24,138 - hardware_detector - DEBUG - CPU cores: 16, Python: 3.11.11
13954
+ 2025-05-30 12:23:24,138 - hardware_detector - DEBUG - Attempting GPU detection via nvidia-smi
13955
+ 2025-05-30 12:23:24,142 - hardware_detector - DEBUG - nvidia-smi not found, no NVIDIA GPU detected
13956
+ 2025-05-30 12:23:24,142 - hardware_detector - DEBUG - Checking PyTorch availability
13957
+ 2025-05-30 12:23:24,609 - hardware_detector - INFO - PyTorch 2.7.0 detected
13958
+ 2025-05-30 12:23:24,609 - hardware_detector - DEBUG - CUDA available: False, MPS available: True
13959
+ 2025-05-30 12:23:24,609 - hardware_detector - INFO - Hardware detection completed successfully
13960
+ 2025-05-30 12:23:24,609 - 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'}
13961
+ 2025-05-30 12:23:24,609 - auto_diffusers - INFO - Hardware detector initialized successfully
13962
+ 2025-05-30 12:23:24,609 - __main__ - INFO - AutoDiffusersGenerator initialized successfully
13963
+ 2025-05-30 12:23:24,609 - simple_memory_calculator - INFO - Initializing SimpleMemoryCalculator
13964
+ 2025-05-30 12:23:24,609 - simple_memory_calculator - DEBUG - HuggingFace API initialized
13965
+ 2025-05-30 12:23:24,609 - simple_memory_calculator - DEBUG - Known models in database: 4
13966
+ 2025-05-30 12:23:24,609 - __main__ - INFO - SimpleMemoryCalculator initialized successfully
13967
+ 2025-05-30 12:23:24,609 - __main__ - DEBUG - Default model settings: gemini-2.5-flash-preview-05-20, temp=0.7
13968
+ 2025-05-30 12:23:24,612 - asyncio - DEBUG - Using selector: KqueueSelector
13969
+ 2025-05-30 12:23:24,625 - httpcore.connection - DEBUG - connect_tcp.started host='api.gradio.app' port=443 local_address=None timeout=3 socket_options=None
13970
+ 2025-05-30 12:23:24,634 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): huggingface.co:443
13971
+ 2025-05-30 12:23:24,729 - asyncio - DEBUG - Using selector: KqueueSelector
13972
+ 2025-05-30 12:23:24,761 - httpcore.connection - DEBUG - connect_tcp.started host='localhost' port=7860 local_address=None timeout=None socket_options=None
13973
+ 2025-05-30 12:23:24,762 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x11d8b9ed0>
13974
+ 2025-05-30 12:23:24,762 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'GET']>
13975
+ 2025-05-30 12:23:24,762 - httpcore.http11 - DEBUG - send_request_headers.complete
13976
+ 2025-05-30 12:23:24,762 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'GET']>
13977
+ 2025-05-30 12:23:24,762 - httpcore.http11 - DEBUG - send_request_body.complete
13978
+ 2025-05-30 12:23:24,762 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'GET']>
13979
+ 2025-05-30 12:23:24,763 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'date', b'Fri, 30 May 2025 03:23:24 GMT'), (b'server', b'uvicorn'), (b'content-length', b'4'), (b'content-type', b'application/json')])
13980
+ 2025-05-30 12:23:24,763 - httpx - INFO - HTTP Request: GET http://localhost:7860/gradio_api/startup-events "HTTP/1.1 200 OK"
13981
+ 2025-05-30 12:23:24,763 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'GET']>
13982
+ 2025-05-30 12:23:24,763 - httpcore.http11 - DEBUG - receive_response_body.complete
13983
+ 2025-05-30 12:23:24,763 - httpcore.http11 - DEBUG - response_closed.started
13984
+ 2025-05-30 12:23:24,763 - httpcore.http11 - DEBUG - response_closed.complete
13985
+ 2025-05-30 12:23:24,763 - httpcore.connection - DEBUG - close.started
13986
+ 2025-05-30 12:23:24,763 - httpcore.connection - DEBUG - close.complete
13987
+ 2025-05-30 12:23:24,763 - httpcore.connection - DEBUG - connect_tcp.started host='localhost' port=7860 local_address=None timeout=3 socket_options=None
13988
+ 2025-05-30 12:23:24,764 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x11f9546d0>
13989
+ 2025-05-30 12:23:24,764 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'HEAD']>
13990
+ 2025-05-30 12:23:24,764 - httpcore.http11 - DEBUG - send_request_headers.complete
13991
+ 2025-05-30 12:23:24,764 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'HEAD']>
13992
+ 2025-05-30 12:23:24,764 - httpcore.http11 - DEBUG - send_request_body.complete
13993
+ 2025-05-30 12:23:24,764 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'HEAD']>
13994
+ 2025-05-30 12:23:24,770 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'date', b'Fri, 30 May 2025 03:23:24 GMT'), (b'server', b'uvicorn'), (b'content-length', b'100672'), (b'content-type', b'text/html; charset=utf-8')])
13995
+ 2025-05-30 12:23:24,770 - httpx - INFO - HTTP Request: HEAD http://localhost:7860/ "HTTP/1.1 200 OK"
13996
+ 2025-05-30 12:23:24,770 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'HEAD']>
13997
+ 2025-05-30 12:23:24,770 - httpcore.http11 - DEBUG - receive_response_body.complete
13998
+ 2025-05-30 12:23:24,771 - httpcore.http11 - DEBUG - response_closed.started
13999
+ 2025-05-30 12:23:24,771 - httpcore.http11 - DEBUG - response_closed.complete
14000
+ 2025-05-30 12:23:24,771 - httpcore.connection - DEBUG - close.started
14001
+ 2025-05-30 12:23:24,771 - httpcore.connection - DEBUG - close.complete
14002
+ 2025-05-30 12:23:24,782 - httpcore.connection - DEBUG - connect_tcp.started host='api.gradio.app' port=443 local_address=None timeout=30 socket_options=None
14003
+ 2025-05-30 12:23:24,807 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x11be965d0>
14004
+ 2025-05-30 12:23:24,807 - httpcore.connection - DEBUG - start_tls.started ssl_context=<ssl.SSLContext object at 0x11ba955b0> server_hostname='api.gradio.app' timeout=3
14005
+ 2025-05-30 12:23:24,921 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "HEAD /api/telemetry/gradio/initiated HTTP/1.1" 200 0
14006
+ 2025-05-30 12:23:24,925 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x108ae6950>
14007
+ 2025-05-30 12:23:24,925 - httpcore.connection - DEBUG - start_tls.started ssl_context=<ssl.SSLContext object at 0x11f8cfec0> server_hostname='api.gradio.app' timeout=30
14008
+ 2025-05-30 12:23:25,097 - httpcore.connection - DEBUG - start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0x11f819f10>
14009
+ 2025-05-30 12:23:25,098 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'GET']>
14010
+ 2025-05-30 12:23:25,098 - httpcore.http11 - DEBUG - send_request_headers.complete
14011
+ 2025-05-30 12:23:25,098 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'GET']>
14012
+ 2025-05-30 12:23:25,099 - httpcore.http11 - DEBUG - send_request_body.complete
14013
+ 2025-05-30 12:23:25,099 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'GET']>
14014
+ 2025-05-30 12:23:25,210 - httpcore.connection - DEBUG - start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0x11b910a90>
14015
+ 2025-05-30 12:23:25,210 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'GET']>
14016
+ 2025-05-30 12:23:25,211 - httpcore.http11 - DEBUG - send_request_headers.complete
14017
+ 2025-05-30 12:23:25,211 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'GET']>
14018
+ 2025-05-30 12:23:25,211 - httpcore.http11 - DEBUG - send_request_body.complete
14019
+ 2025-05-30 12:23:25,211 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'GET']>
14020
+ 2025-05-30 12:23:25,247 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Fri, 30 May 2025 03:23:25 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'*')])
14021
+ 2025-05-30 12:23:25,247 - httpx - INFO - HTTP Request: GET https://api.gradio.app/pkg-version "HTTP/1.1 200 OK"
14022
+ 2025-05-30 12:23:25,248 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'GET']>
14023
+ 2025-05-30 12:23:25,248 - httpcore.http11 - DEBUG - receive_response_body.complete
14024
+ 2025-05-30 12:23:25,248 - httpcore.http11 - DEBUG - response_closed.started
14025
+ 2025-05-30 12:23:25,248 - httpcore.http11 - DEBUG - response_closed.complete
14026
+ 2025-05-30 12:23:25,248 - httpcore.connection - DEBUG - close.started
14027
+ 2025-05-30 12:23:25,248 - httpcore.connection - DEBUG - close.complete
14028
+ 2025-05-30 12:23:25,357 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Fri, 30 May 2025 03:23:25 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')])
14029
+ 2025-05-30 12:23:25,358 - httpx - INFO - HTTP Request: GET https://api.gradio.app/v3/tunnel-request "HTTP/1.1 200 OK"
14030
+ 2025-05-30 12:23:25,358 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'GET']>
14031
+ 2025-05-30 12:23:25,358 - httpcore.http11 - DEBUG - receive_response_body.complete
14032
+ 2025-05-30 12:23:25,358 - httpcore.http11 - DEBUG - response_closed.started
14033
+ 2025-05-30 12:23:25,359 - httpcore.http11 - DEBUG - response_closed.complete
14034
+ 2025-05-30 12:23:25,359 - httpcore.connection - DEBUG - close.started
14035
+ 2025-05-30 12:23:25,359 - httpcore.connection - DEBUG - close.complete
14036
+ 2025-05-30 12:23:25,986 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): huggingface.co:443
14037
+ 2025-05-30 12:23:26,205 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "HEAD /api/telemetry/gradio/launched HTTP/1.1" 200 0
14038
+ 2025-05-30 12:23:26,698 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell
14039
+ 2025-05-30 12:23:26,699 - simple_memory_calculator - INFO - Using known memory data for black-forest-labs/FLUX.1-schnell
14040
+ 2025-05-30 12:23:26,699 - simple_memory_calculator - DEBUG - Known data: {'params_billions': 12.0, 'fp16_gb': 24.0, 'inference_fp16_gb': 36.0}
14041
+ 2025-05-30 12:23:26,699 - simple_memory_calculator - INFO - Generating memory recommendations for black-forest-labs/FLUX.1-schnell with 8.0GB VRAM
14042
+ 2025-05-30 12:23:26,699 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell
14043
+ 2025-05-30 12:23:26,699 - simple_memory_calculator - DEBUG - Using cached memory data for black-forest-labs/FLUX.1-schnell
14044
+ 2025-05-30 12:23:26,699 - simple_memory_calculator - DEBUG - Model memory: 24.0GB, Inference memory: 36.0GB
14045
+ 2025-05-30 12:23:26,699 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell
14046
+ 2025-05-30 12:23:26,699 - simple_memory_calculator - DEBUG - Using cached memory data for black-forest-labs/FLUX.1-schnell
14047
+ 2025-05-30 12:23:54,576 - __main__ - INFO - Initializing GradioAutodiffusers
14048
+ 2025-05-30 12:23:54,576 - __main__ - DEBUG - API key found, length: 39
14049
+ 2025-05-30 12:23:54,576 - auto_diffusers - INFO - Initializing AutoDiffusersGenerator
14050
+ 2025-05-30 12:23:54,576 - auto_diffusers - DEBUG - API key length: 39
14051
+ 2025-05-30 12:23:54,576 - auto_diffusers - WARNING - Tool calling dependencies not available, running without tools
14052
+ 2025-05-30 12:23:54,576 - hardware_detector - INFO - Initializing HardwareDetector
14053
+ 2025-05-30 12:23:54,576 - hardware_detector - DEBUG - Starting system hardware detection
14054
+ 2025-05-30 12:23:54,576 - hardware_detector - DEBUG - Platform: Darwin, Architecture: arm64
14055
+ 2025-05-30 12:23:54,576 - hardware_detector - DEBUG - CPU cores: 16, Python: 3.11.11
14056
+ 2025-05-30 12:23:54,576 - hardware_detector - DEBUG - Attempting GPU detection via nvidia-smi
14057
+ 2025-05-30 12:23:54,580 - hardware_detector - DEBUG - nvidia-smi not found, no NVIDIA GPU detected
14058
+ 2025-05-30 12:23:54,580 - hardware_detector - DEBUG - Checking PyTorch availability
14059
+ 2025-05-30 12:23:55,041 - hardware_detector - INFO - PyTorch 2.7.0 detected
14060
+ 2025-05-30 12:23:55,041 - hardware_detector - DEBUG - CUDA available: False, MPS available: True
14061
+ 2025-05-30 12:23:55,041 - hardware_detector - INFO - Hardware detection completed successfully
14062
+ 2025-05-30 12:23:55,041 - 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'}
14063
+ 2025-05-30 12:23:55,041 - auto_diffusers - INFO - Hardware detector initialized successfully
14064
+ 2025-05-30 12:23:55,041 - __main__ - INFO - AutoDiffusersGenerator initialized successfully
14065
+ 2025-05-30 12:23:55,041 - simple_memory_calculator - INFO - Initializing SimpleMemoryCalculator
14066
+ 2025-05-30 12:23:55,041 - simple_memory_calculator - DEBUG - HuggingFace API initialized
14067
+ 2025-05-30 12:23:55,041 - simple_memory_calculator - DEBUG - Known models in database: 4
14068
+ 2025-05-30 12:23:55,041 - __main__ - INFO - SimpleMemoryCalculator initialized successfully
14069
+ 2025-05-30 12:23:55,041 - __main__ - DEBUG - Default model settings: gemini-2.5-flash-preview-05-20, temp=0.7
14070
+ 2025-05-30 12:23:55,043 - asyncio - DEBUG - Using selector: KqueueSelector
14071
+ 2025-05-30 12:23:55,057 - httpcore.connection - DEBUG - connect_tcp.started host='api.gradio.app' port=443 local_address=None timeout=3 socket_options=None
14072
+ 2025-05-30 12:23:55,064 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): huggingface.co:443
14073
+ 2025-05-30 12:23:55,145 - asyncio - DEBUG - Using selector: KqueueSelector
14074
+ 2025-05-30 12:23:55,177 - httpcore.connection - DEBUG - connect_tcp.started host='localhost' port=7860 local_address=None timeout=None socket_options=None
14075
+ 2025-05-30 12:23:55,178 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x12cb115d0>
14076
+ 2025-05-30 12:23:55,178 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'GET']>
14077
+ 2025-05-30 12:23:55,178 - httpcore.http11 - DEBUG - send_request_headers.complete
14078
+ 2025-05-30 12:23:55,178 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'GET']>
14079
+ 2025-05-30 12:23:55,178 - httpcore.http11 - DEBUG - send_request_body.complete
14080
+ 2025-05-30 12:23:55,178 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'GET']>
14081
+ 2025-05-30 12:23:55,179 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'date', b'Fri, 30 May 2025 03:23:55 GMT'), (b'server', b'uvicorn'), (b'content-length', b'4'), (b'content-type', b'application/json')])
14082
+ 2025-05-30 12:23:55,179 - httpx - INFO - HTTP Request: GET http://localhost:7860/gradio_api/startup-events "HTTP/1.1 200 OK"
14083
+ 2025-05-30 12:23:55,179 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'GET']>
14084
+ 2025-05-30 12:23:55,179 - httpcore.http11 - DEBUG - receive_response_body.complete
14085
+ 2025-05-30 12:23:55,179 - httpcore.http11 - DEBUG - response_closed.started
14086
+ 2025-05-30 12:23:55,179 - httpcore.http11 - DEBUG - response_closed.complete
14087
+ 2025-05-30 12:23:55,179 - httpcore.connection - DEBUG - close.started
14088
+ 2025-05-30 12:23:55,179 - httpcore.connection - DEBUG - close.complete
14089
+ 2025-05-30 12:23:55,180 - httpcore.connection - DEBUG - connect_tcp.started host='localhost' port=7860 local_address=None timeout=3 socket_options=None
14090
+ 2025-05-30 12:23:55,180 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x12cc5cc90>
14091
+ 2025-05-30 12:23:55,180 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'HEAD']>
14092
+ 2025-05-30 12:23:55,180 - httpcore.http11 - DEBUG - send_request_headers.complete
14093
+ 2025-05-30 12:23:55,180 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'HEAD']>
14094
+ 2025-05-30 12:23:55,180 - httpcore.http11 - DEBUG - send_request_body.complete
14095
+ 2025-05-30 12:23:55,180 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'HEAD']>
14096
+ 2025-05-30 12:23:55,187 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'date', b'Fri, 30 May 2025 03:23:55 GMT'), (b'server', b'uvicorn'), (b'content-length', b'100632'), (b'content-type', b'text/html; charset=utf-8')])
14097
+ 2025-05-30 12:23:55,187 - httpx - INFO - HTTP Request: HEAD http://localhost:7860/ "HTTP/1.1 200 OK"
14098
+ 2025-05-30 12:23:55,187 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'HEAD']>
14099
+ 2025-05-30 12:23:55,187 - httpcore.http11 - DEBUG - receive_response_body.complete
14100
+ 2025-05-30 12:23:55,187 - httpcore.http11 - DEBUG - response_closed.started
14101
+ 2025-05-30 12:23:55,187 - httpcore.http11 - DEBUG - response_closed.complete
14102
+ 2025-05-30 12:23:55,187 - httpcore.connection - DEBUG - close.started
14103
+ 2025-05-30 12:23:55,187 - httpcore.connection - DEBUG - close.complete
14104
+ 2025-05-30 12:23:55,198 - httpcore.connection - DEBUG - connect_tcp.started host='api.gradio.app' port=443 local_address=None timeout=30 socket_options=None
14105
+ 2025-05-30 12:23:55,224 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x11ee20450>
14106
+ 2025-05-30 12:23:55,224 - httpcore.connection - DEBUG - start_tls.started ssl_context=<ssl.SSLContext object at 0x11ec955b0> server_hostname='api.gradio.app' timeout=3
14107
+ 2025-05-30 12:23:55,331 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "HEAD /api/telemetry/gradio/initiated HTTP/1.1" 200 0
14108
+ 2025-05-30 12:23:55,342 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x11e934110>
14109
+ 2025-05-30 12:23:55,342 - httpcore.connection - DEBUG - start_tls.started ssl_context=<ssl.SSLContext object at 0x12cbcfec0> server_hostname='api.gradio.app' timeout=30
14110
+ 2025-05-30 12:23:55,504 - httpcore.connection - DEBUG - start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0x11ee13690>
14111
+ 2025-05-30 12:23:55,505 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'GET']>
14112
+ 2025-05-30 12:23:55,505 - httpcore.http11 - DEBUG - send_request_headers.complete
14113
+ 2025-05-30 12:23:55,505 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'GET']>
14114
+ 2025-05-30 12:23:55,506 - httpcore.http11 - DEBUG - send_request_body.complete
14115
+ 2025-05-30 12:23:55,506 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'GET']>
14116
+ 2025-05-30 12:23:55,636 - httpcore.connection - DEBUG - start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0x11afb0a90>
14117
+ 2025-05-30 12:23:55,636 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'GET']>
14118
+ 2025-05-30 12:23:55,637 - httpcore.http11 - DEBUG - send_request_headers.complete
14119
+ 2025-05-30 12:23:55,637 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'GET']>
14120
+ 2025-05-30 12:23:55,637 - httpcore.http11 - DEBUG - send_request_body.complete
14121
+ 2025-05-30 12:23:55,637 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'GET']>
14122
+ 2025-05-30 12:23:55,646 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Fri, 30 May 2025 03:23:55 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'*')])
14123
+ 2025-05-30 12:23:55,646 - httpx - INFO - HTTP Request: GET https://api.gradio.app/pkg-version "HTTP/1.1 200 OK"
14124
+ 2025-05-30 12:23:55,647 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'GET']>
14125
+ 2025-05-30 12:23:55,647 - httpcore.http11 - DEBUG - receive_response_body.complete
14126
+ 2025-05-30 12:23:55,647 - httpcore.http11 - DEBUG - response_closed.started
14127
+ 2025-05-30 12:23:55,647 - httpcore.http11 - DEBUG - response_closed.complete
14128
+ 2025-05-30 12:23:55,648 - httpcore.connection - DEBUG - close.started
14129
+ 2025-05-30 12:23:55,648 - httpcore.connection - DEBUG - close.complete
14130
+ 2025-05-30 12:23:55,783 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Fri, 30 May 2025 03:23:55 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')])
14131
+ 2025-05-30 12:23:55,783 - httpx - INFO - HTTP Request: GET https://api.gradio.app/v3/tunnel-request "HTTP/1.1 200 OK"
14132
+ 2025-05-30 12:23:55,783 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'GET']>
14133
+ 2025-05-30 12:23:55,783 - httpcore.http11 - DEBUG - receive_response_body.complete
14134
+ 2025-05-30 12:23:55,783 - httpcore.http11 - DEBUG - response_closed.started
14135
+ 2025-05-30 12:23:55,783 - httpcore.http11 - DEBUG - response_closed.complete
14136
+ 2025-05-30 12:23:55,783 - httpcore.connection - DEBUG - close.started
14137
+ 2025-05-30 12:23:55,783 - httpcore.connection - DEBUG - close.complete
14138
+ 2025-05-30 12:23:56,352 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): huggingface.co:443
14139
+ 2025-05-30 12:23:56,404 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell
14140
+ 2025-05-30 12:23:56,404 - simple_memory_calculator - INFO - Using known memory data for black-forest-labs/FLUX.1-schnell
14141
+ 2025-05-30 12:23:56,404 - simple_memory_calculator - DEBUG - Known data: {'params_billions': 12.0, 'fp16_gb': 24.0, 'inference_fp16_gb': 36.0}
14142
+ 2025-05-30 12:23:56,404 - simple_memory_calculator - INFO - Generating memory recommendations for black-forest-labs/FLUX.1-schnell with 8.0GB VRAM
14143
+ 2025-05-30 12:23:56,404 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell
14144
+ 2025-05-30 12:23:56,404 - simple_memory_calculator - DEBUG - Using cached memory data for black-forest-labs/FLUX.1-schnell
14145
+ 2025-05-30 12:23:56,404 - simple_memory_calculator - DEBUG - Model memory: 24.0GB, Inference memory: 36.0GB
14146
+ 2025-05-30 12:23:56,404 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell
14147
+ 2025-05-30 12:23:56,404 - simple_memory_calculator - DEBUG - Using cached memory data for black-forest-labs/FLUX.1-schnell
14148
+ 2025-05-30 12:23:56,575 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "HEAD /api/telemetry/gradio/launched HTTP/1.1" 200 0
14149
+ 2025-05-30 12:25:34,396 - __main__ - INFO - Initializing GradioAutodiffusers
14150
+ 2025-05-30 12:25:34,396 - __main__ - DEBUG - API key found, length: 39
14151
+ 2025-05-30 12:25:34,396 - auto_diffusers - INFO - Initializing AutoDiffusersGenerator
14152
+ 2025-05-30 12:25:34,396 - auto_diffusers - DEBUG - API key length: 39
14153
+ 2025-05-30 12:25:34,396 - auto_diffusers - WARNING - Tool calling dependencies not available, running without tools
14154
+ 2025-05-30 12:25:34,396 - hardware_detector - INFO - Initializing HardwareDetector
14155
+ 2025-05-30 12:25:34,396 - hardware_detector - DEBUG - Starting system hardware detection
14156
+ 2025-05-30 12:25:34,396 - hardware_detector - DEBUG - Platform: Darwin, Architecture: arm64
14157
+ 2025-05-30 12:25:34,396 - hardware_detector - DEBUG - CPU cores: 16, Python: 3.11.11
14158
+ 2025-05-30 12:25:34,396 - hardware_detector - DEBUG - Attempting GPU detection via nvidia-smi
14159
+ 2025-05-30 12:25:34,399 - hardware_detector - DEBUG - nvidia-smi not found, no NVIDIA GPU detected
14160
+ 2025-05-30 12:25:34,400 - hardware_detector - DEBUG - Checking PyTorch availability
14161
+ 2025-05-30 12:25:34,861 - hardware_detector - INFO - PyTorch 2.7.0 detected
14162
+ 2025-05-30 12:25:34,861 - hardware_detector - DEBUG - CUDA available: False, MPS available: True
14163
+ 2025-05-30 12:25:34,861 - hardware_detector - INFO - Hardware detection completed successfully
14164
+ 2025-05-30 12:25:34,861 - 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'}
14165
+ 2025-05-30 12:25:34,861 - auto_diffusers - INFO - Hardware detector initialized successfully
14166
+ 2025-05-30 12:25:34,861 - __main__ - INFO - AutoDiffusersGenerator initialized successfully
14167
+ 2025-05-30 12:25:34,861 - simple_memory_calculator - INFO - Initializing SimpleMemoryCalculator
14168
+ 2025-05-30 12:25:34,861 - simple_memory_calculator - DEBUG - HuggingFace API initialized
14169
+ 2025-05-30 12:25:34,861 - simple_memory_calculator - DEBUG - Known models in database: 4
14170
+ 2025-05-30 12:25:34,861 - __main__ - INFO - SimpleMemoryCalculator initialized successfully
14171
+ 2025-05-30 12:25:34,861 - __main__ - DEBUG - Default model settings: gemini-2.5-flash-preview-05-20, temp=0.7
14172
+ 2025-05-30 12:25:34,863 - asyncio - DEBUG - Using selector: KqueueSelector
14173
+ 2025-05-30 12:25:34,877 - httpcore.connection - DEBUG - connect_tcp.started host='api.gradio.app' port=443 local_address=None timeout=3 socket_options=None
14174
+ 2025-05-30 12:25:34,884 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): huggingface.co:443
14175
+ 2025-05-30 12:25:34,964 - asyncio - DEBUG - Using selector: KqueueSelector
14176
+ 2025-05-30 12:25:34,998 - httpcore.connection - DEBUG - connect_tcp.started host='localhost' port=7860 local_address=None timeout=None socket_options=None
14177
+ 2025-05-30 12:25:34,998 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x11dfd67d0>
14178
+ 2025-05-30 12:25:34,998 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'GET']>
14179
+ 2025-05-30 12:25:34,999 - httpcore.http11 - DEBUG - send_request_headers.complete
14180
+ 2025-05-30 12:25:34,999 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'GET']>
14181
+ 2025-05-30 12:25:34,999 - httpcore.http11 - DEBUG - send_request_body.complete
14182
+ 2025-05-30 12:25:34,999 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'GET']>
14183
+ 2025-05-30 12:25:34,999 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'date', b'Fri, 30 May 2025 03:25:34 GMT'), (b'server', b'uvicorn'), (b'content-length', b'4'), (b'content-type', b'application/json')])
14184
+ 2025-05-30 12:25:34,999 - httpx - INFO - HTTP Request: GET http://localhost:7860/gradio_api/startup-events "HTTP/1.1 200 OK"
14185
+ 2025-05-30 12:25:34,999 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'GET']>
14186
+ 2025-05-30 12:25:34,999 - httpcore.http11 - DEBUG - receive_response_body.complete
14187
+ 2025-05-30 12:25:35,000 - httpcore.http11 - DEBUG - response_closed.started
14188
+ 2025-05-30 12:25:35,000 - httpcore.http11 - DEBUG - response_closed.complete
14189
+ 2025-05-30 12:25:35,000 - httpcore.connection - DEBUG - close.started
14190
+ 2025-05-30 12:25:35,000 - httpcore.connection - DEBUG - close.complete
14191
+ 2025-05-30 12:25:35,000 - httpcore.connection - DEBUG - connect_tcp.started host='localhost' port=7860 local_address=None timeout=3 socket_options=None
14192
+ 2025-05-30 12:25:35,000 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x11e1585d0>
14193
+ 2025-05-30 12:25:35,000 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'HEAD']>
14194
+ 2025-05-30 12:25:35,001 - httpcore.http11 - DEBUG - send_request_headers.complete
14195
+ 2025-05-30 12:25:35,001 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'HEAD']>
14196
+ 2025-05-30 12:25:35,001 - httpcore.http11 - DEBUG - send_request_body.complete
14197
+ 2025-05-30 12:25:35,001 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'HEAD']>
14198
+ 2025-05-30 12:25:35,007 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'date', b'Fri, 30 May 2025 03:25:34 GMT'), (b'server', b'uvicorn'), (b'content-length', b'100633'), (b'content-type', b'text/html; charset=utf-8')])
14199
+ 2025-05-30 12:25:35,007 - httpx - INFO - HTTP Request: HEAD http://localhost:7860/ "HTTP/1.1 200 OK"
14200
+ 2025-05-30 12:25:35,007 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'HEAD']>
14201
+ 2025-05-30 12:25:35,007 - httpcore.http11 - DEBUG - receive_response_body.complete
14202
+ 2025-05-30 12:25:35,007 - httpcore.http11 - DEBUG - response_closed.started
14203
+ 2025-05-30 12:25:35,007 - httpcore.http11 - DEBUG - response_closed.complete
14204
+ 2025-05-30 12:25:35,007 - httpcore.connection - DEBUG - close.started
14205
+ 2025-05-30 12:25:35,007 - httpcore.connection - DEBUG - close.complete
14206
+ 2025-05-30 12:25:35,019 - httpcore.connection - DEBUG - connect_tcp.started host='api.gradio.app' port=443 local_address=None timeout=30 socket_options=None
14207
+ 2025-05-30 12:25:35,048 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x11c85c450>
14208
+ 2025-05-30 12:25:35,048 - httpcore.connection - DEBUG - start_tls.started ssl_context=<ssl.SSLContext object at 0x11c5955b0> server_hostname='api.gradio.app' timeout=3
14209
+ 2025-05-30 12:25:35,162 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "HEAD /api/telemetry/gradio/initiated HTTP/1.1" 200 0
14210
+ 2025-05-30 12:25:35,168 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x11e21a510>
14211
+ 2025-05-30 12:25:35,168 - httpcore.connection - DEBUG - start_tls.started ssl_context=<ssl.SSLContext object at 0x11dfcfec0> server_hostname='api.gradio.app' timeout=30
14212
+ 2025-05-30 12:25:35,343 - httpcore.connection - DEBUG - start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0x11df46150>
14213
+ 2025-05-30 12:25:35,344 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'GET']>
14214
+ 2025-05-30 12:25:35,344 - httpcore.http11 - DEBUG - send_request_headers.complete
14215
+ 2025-05-30 12:25:35,344 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'GET']>
14216
+ 2025-05-30 12:25:35,344 - httpcore.http11 - DEBUG - send_request_body.complete
14217
+ 2025-05-30 12:25:35,344 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'GET']>
14218
+ 2025-05-30 12:25:35,468 - httpcore.connection - DEBUG - start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0x11bd3aa10>
14219
+ 2025-05-30 12:25:35,468 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'GET']>
14220
+ 2025-05-30 12:25:35,469 - httpcore.http11 - DEBUG - send_request_headers.complete
14221
+ 2025-05-30 12:25:35,469 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'GET']>
14222
+ 2025-05-30 12:25:35,469 - httpcore.http11 - DEBUG - send_request_body.complete
14223
+ 2025-05-30 12:25:35,469 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'GET']>
14224
+ 2025-05-30 12:25:35,491 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Fri, 30 May 2025 03:25: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'*')])
14225
+ 2025-05-30 12:25:35,491 - httpx - INFO - HTTP Request: GET https://api.gradio.app/pkg-version "HTTP/1.1 200 OK"
14226
+ 2025-05-30 12:25:35,491 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'GET']>
14227
+ 2025-05-30 12:25:35,491 - httpcore.http11 - DEBUG - receive_response_body.complete
14228
+ 2025-05-30 12:25:35,491 - httpcore.http11 - DEBUG - response_closed.started
14229
+ 2025-05-30 12:25:35,491 - httpcore.http11 - DEBUG - response_closed.complete
14230
+ 2025-05-30 12:25:35,491 - httpcore.connection - DEBUG - close.started
14231
+ 2025-05-30 12:25:35,491 - httpcore.connection - DEBUG - close.complete
14232
+ 2025-05-30 12:25:35,608 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell
14233
+ 2025-05-30 12:25:35,609 - simple_memory_calculator - INFO - Using known memory data for black-forest-labs/FLUX.1-schnell
14234
+ 2025-05-30 12:25:35,609 - simple_memory_calculator - DEBUG - Known data: {'params_billions': 12.0, 'fp16_gb': 24.0, 'inference_fp16_gb': 36.0}
14235
+ 2025-05-30 12:25:35,609 - simple_memory_calculator - INFO - Generating memory recommendations for black-forest-labs/FLUX.1-schnell with 8.0GB VRAM
14236
+ 2025-05-30 12:25:35,609 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell
14237
+ 2025-05-30 12:25:35,609 - simple_memory_calculator - DEBUG - Using cached memory data for black-forest-labs/FLUX.1-schnell
14238
+ 2025-05-30 12:25:35,609 - simple_memory_calculator - DEBUG - Model memory: 24.0GB, Inference memory: 36.0GB
14239
+ 2025-05-30 12:25:35,610 - simple_memory_calculator - INFO - Getting memory requirements for model: black-forest-labs/FLUX.1-schnell
14240
+ 2025-05-30 12:25:35,610 - simple_memory_calculator - DEBUG - Using cached memory data for black-forest-labs/FLUX.1-schnell
14241
+ 2025-05-30 12:25:35,623 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Fri, 30 May 2025 03:25: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')])
14242
+ 2025-05-30 12:25:35,623 - httpx - INFO - HTTP Request: GET https://api.gradio.app/v3/tunnel-request "HTTP/1.1 200 OK"
14243
+ 2025-05-30 12:25:35,623 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'GET']>
14244
+ 2025-05-30 12:25:35,624 - httpcore.http11 - DEBUG - receive_response_body.complete
14245
+ 2025-05-30 12:25:35,624 - httpcore.http11 - DEBUG - response_closed.started
14246
+ 2025-05-30 12:25:35,624 - httpcore.http11 - DEBUG - response_closed.complete
14247
+ 2025-05-30 12:25:35,624 - httpcore.connection - DEBUG - close.started
14248
+ 2025-05-30 12:25:35,624 - httpcore.connection - DEBUG - close.complete
14249
+ 2025-05-30 12:25:36,264 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): huggingface.co:443
14250
+ 2025-05-30 12:25:36,494 - urllib3.connectionpool - DEBUG - https://huggingface.co:443 "HEAD /api/telemetry/gradio/launched HTTP/1.1" 200 0
gradio_app.py CHANGED
@@ -660,6 +660,12 @@ def create_gradio_interface():
660
  font-family: 'Georgia', serif !important;
661
  }
662
 
 
 
 
 
 
 
663
 
664
  /* FINAL OVERRIDE: Nuclear option for dropdown transparency */
665
  [role="listbox"] {
@@ -951,7 +957,7 @@ def create_gradio_interface():
951
 
952
  # Model Configuration Section
953
  with gr.Group(elem_classes="glass-card"):
954
- with gr.Accordion("🤖 Model Configuration", open=False) as model_accordion:
955
  gr.HTML("""
956
  <div class="section-header" style="text-align: center;">
957
  <p style="margin: 0; color: #6a443a; font-size: 1.1rem; font-weight: 600; font-family: 'Georgia', serif;">
@@ -1000,21 +1006,9 @@ def create_gradio_interface():
1000
  info="Denoising steps"
1001
  )
1002
 
1003
- # Memory Analysis Subsection (inside Model Configuration)
1004
- gr.HTML("""
1005
- <div style="margin: 1.5rem 0 0.5rem 0; padding-top: 1rem; border-top: 1px solid rgba(226, 232, 240, 0.6);">
1006
- <h4 style="margin: 0 0 0.5rem 0; color: #374151; font-size: 1.1rem; font-weight: 600;">
1007
- 🧠 Memory Analysis
1008
- </h4>
1009
- <p style="margin: 0; color: #6b7280; font-size: 0.9rem;">
1010
- Real-time analysis of model memory requirements and optimization strategies
1011
- </p>
1012
- </div>
1013
- """)
1014
-
1015
  memory_analysis_output = gr.Markdown(
1016
  value="✨ Select a model and configure your hardware to see memory requirements and optimization recommendations.",
1017
- elem_classes="memory-card"
1018
  )
1019
 
1020
 
 
660
  font-family: 'Georgia', serif !important;
661
  }
662
 
663
+ /* Memory Analysis Spacing */
664
+ .memory-analysis-spacing {
665
+ padding-top: 1rem !important;
666
+ border-top: 1px solid rgba(226, 232, 240, 0.6) !important;
667
+ }
668
+
669
 
670
  /* FINAL OVERRIDE: Nuclear option for dropdown transparency */
671
  [role="listbox"] {
 
957
 
958
  # Model Configuration Section
959
  with gr.Group(elem_classes="glass-card"):
960
+ with gr.Accordion("🤖 Model Configuration", open=True) as model_accordion:
961
  gr.HTML("""
962
  <div class="section-header" style="text-align: center;">
963
  <p style="margin: 0; color: #6a443a; font-size: 1.1rem; font-weight: 600; font-family: 'Georgia', serif;">
 
1006
  info="Denoising steps"
1007
  )
1008
 
 
 
 
 
 
 
 
 
 
 
 
 
1009
  memory_analysis_output = gr.Markdown(
1010
  value="✨ Select a model and configure your hardware to see memory requirements and optimization recommendations.",
1011
+ elem_classes="memory-analysis-spacing"
1012
  )
1013
 
1014