vladmandic / automatic

SD.Next: Advanced Implementation of Stable Diffusion and other Diffusion-based generative image models
https://github.com/vladmandic/automatic
GNU Affero General Public License v3.0
5.61k stars 411 forks source link

Listen parameter is ignored #3236

Closed roelfrenkema closed 4 months ago

roelfrenkema commented 4 months ago

Issue Description

Starting with the --listen parameter still forces 127.0.0.1

Version Platform Description

Debian Linux

Relevant log output

18:23:57-050227 INFO     Command line args: ['--listen'] listen=True                                                                                                            
18:24:02-049092 INFO     Load packages: {'torch': '2.3.1+cu121', 'diffusers': '0.29.0', 'gradio': '3.43.2'}                                                                     
18:24:02-616174 INFO     VRAM: Detected=5.93 GB Optimization=medvram                                                                                                            
18:24:02-619400 INFO     Engine: backend=Backend.DIFFUSERS compute=cuda device=cuda attention="Dynamic Attention SDP" mode=no_grad                                              
18:24:02-633871 INFO     Device: device=NVIDIA GeForce GTX 1060 6GB n=1 arch=sm_90 cap=(6, 1) cuda=12.1 cudnn=8902 driver=525.147.05                                            
18:24:03-163334 INFO     Available VAEs: path="models/VAE" items=0                                                                                                              
18:24:03-165026 INFO     Disabled extensions: ['sdnext-modernui']                                                                                                               
18:24:03-166313 INFO     Available models: path="models/Stable-diffusion" items=0 time=0.00                                                                                     
18:24:03-402455 INFO     LoRA networks: available=0 folders=2                                                                                                                   
18:24:03-799523 INFO     Extension: script='extensions-builtin/sd-webui-agent-scheduler/scripts/task_scheduler.py' Using sqlite file:                                           
                         extensions-builtin/sd-webui-agent-scheduler/task_scheduler.sqlite3                                                                                     
18:24:03-827475 INFO     UI theme: type=Standard name="black-teal"                                                                                                              
18:24:05-177148 INFO     Extension list is empty: refresh required                                                                                                              
18:24:05-456197 INFO     Local URL: http://localhost:7860/

Backend

Original

Branch

Master

Model

SD 1.5

Acknowledgements

vladmandic commented 4 months ago

are you sure? --listen means bind to ip 0.0.0.0 which means all ips available - including 127.0.0.1 without listen, it binds to only 127.0.0.1. if you can provide confirmation that listen does not work, i'll reopen.