mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-04-25 22:38:59 +08:00
add additional comments to CPU and LAN sections
parent
96bbf4fb0e
commit
a97dbfc917
@ -25,15 +25,19 @@ set COMMANDLINE_ARGS=--allow-code --xformers --skip-torch-cuda-test --no-half-va
|
||||
### Running online
|
||||
Use the `--share` option to run online. You will get a xxx.app.gradio link. This is the intended way to use the program in colabs. You may set up authentication for said gradio shared instance with the flag `--gradio-auth username:password`, optionally providing multiple sets of usernames and passwords separated by commas.
|
||||
|
||||
Use `--listen` to make the server listen to network connections. This will allow computers on the local network to access the UI, and if you configure port forwarding, also computers on the internet.
|
||||
### Running within Local Area Network
|
||||
Use `--listen` to make the server listen to network connections. This will allow computers on the local network to access the UI, and if you configure port forwarding, also computers on the internet. Example address: `http://192.168.1.3:7860`
|
||||
Where your "192.168.1.3" is the local IP address.
|
||||
|
||||
Use `--port xxxx` to make the server listen on a specific port, xxxx being the wanted port. Remember that all ports below 1024 need root/admin rights, for this reason it is advised to use a port above 1024. Defaults to port 7860 if available.
|
||||
|
||||
### Running on CPU
|
||||
Running with only your CPU is possible, but not recommended.
|
||||
It is very slow and running in fp16 is not possible.
|
||||
It is very slow and there is no fp16 implementation.
|
||||
|
||||
To run, use `--use-cpu all --precision full --no-half --skip-torch-cuda-test`
|
||||
To run, you must have all these flags enabled: `--use-cpu all --precision full --no-half --skip-torch-cuda-test`
|
||||
|
||||
Though this is a questionable way to run webui, due to the very slow generation speeds; using the various AI upscalers and captioning tools may be useful to some people.
|
||||
|
||||
# All command line arguments
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user