aboutsummaryrefslogtreecommitdiffstats
path: root/webui.sh
Commit message (Collapse)AuthorAgeFilesLines
* Fix error in webui.shDGdev912023-06-051-0/+1
|
* Forcing Torch Version to 1.13.1 for Navi and Renoir GPUsDGdev912023-06-051-5/+23
|
* Restart: only do restart if running via the wrapper scriptAarni Koskela2023-06-051-0/+1
|
* a yet another method to restart webuiAUTOMATIC2023-06-031-14/+20
|
* Merge pull request #10967 from waltercool/masterAUTOMATIC11112023-06-031-1/+1
|\ | | | | Added support for workarounds on Navi external GPU.
| * Added support for workarounds on external GPU.Pablo Cholaky2023-06-021-1/+1
| | | | | | | | | | | | | | | | | | | | lspci detects VGA for main/integrated videocards and Display for external videocards. This commit should apply workarounds on computers with more than one GPU. Useful for most laptops using weak iGPU and good dGPU. Signed-off-by: Pablo Cholaky <waltercool@slash.cl>
* | Merge pull request #10722 from maybe-hello-world/masterAUTOMATIC11112023-05-271-2/+5
|\ \ | | | | | | Download ROCm for AMD GPU only if NVIDIA is not presented
| * | Update webui.shRoman Beltiukov2023-05-261-2/+1
| | |
| * | Merge branch 'dev' into masterRoman Beltiukov2023-05-251-0/+8
| |\|
| * | change to AMD only if NVIDIA is not presentedRoman Beltiukov2023-05-251-4/+7
| | |
* | | Merge pull request #10718 from kernelmethod/libtcmalloc_fixesAUTOMATIC11112023-05-271-1/+1
|\ \ \ | |_|/ |/| | Small fixes to prepare_tcmalloc for Debian/Ubuntu compatibility
| * | Small fixes to prepare_tcmalloc for Debian/Ubuntu compatibilitykernelmethod2023-05-251-1/+1
| |/ | | | | | | | | - /usr/sbin (where ldconfig is usually located) is not typically on users' PATHs by default, so we set that variable before trying to run ldconfig. - The libtcmalloc library is called libtcmalloc_minimal on Debian/Ubuntu systems. We now check whether libtcmalloc_minimal exists when running prepare_tcmalloc.
* | Merge branch 'dev' into masterAUTOMATIC11112023-05-181-2/+9
|\ \
| * | Error Improvement for install torchWeiming2023-05-181-1/+10
| |/
* | Fixing webui.shBaptiste Rajaut2023-05-171-1/+1
| | | | | | If only i proofread what i wrote
* | Bump pytorch for AMD UsersBaptiste Rajaut2023-05-171-2/+2
|/ | | So apparently it works now? Before you would get "Pytorch cant use the GPU" but not anymore.
* Merge pull request #9140 from yedpodtrzitko/yed/reuse-existing-venvAUTOMATIC11112023-05-021-14/+21
|\ | | | | feat: use existing virtualenv if already active
| * feat: use existing virtualenv if already activeyedpodtrzitko2023-03-291-14/+21
| |
* | revert unwanted change from #9865AUTOMATIC2023-05-021-0/+0
| |
* | Merge branch 'experimental' into subpath-supportcatalpaaa2023-05-011-4/+20
|\ \
| * \ Merge branch 'dev' into masterAUTOMATIC11112023-04-291-3/+19
| |\ \
| | * \ Merge branch 'dev' into masterAUTOMATIC11112023-04-291-3/+19
| | |\ \
| | | * \ Merge pull request #9593 from gakada/tcmallocAUTOMATIC11112023-04-291-3/+18
| | | |\ \ | | | | | | | | | | | | Try using TCMalloc on Linux by default
| | | | * | Try using TCMalloc on Linux by defaultgk2023-04-131-3/+18
| | | | |/
| | | * / fix install_dir errorweidong2023-04-171-1/+1
| | | |/ | | | | | | | | When the user's home directory and username are inconsistent, an error message stating that the directory cannot be found will appear. Directly default the installation directory to the user's home directory
| | * | Using --index-url instead of --extra-index-url following new PyTorch install ↵DGdev912023-04-111-1/+1
| | | | | | | | | | | | | | | | command
| | * | Forcing PyTorch version for AMD GPUs automatic installDGdev912023-04-051-1/+1
| | |/ | | | | | | The old code tries to install the newest versions of pytorch, wich is currently 2.0. Forcing it to 1.13.1
| * | Update webui.shParityError2023-03-121-1/+1
| | | | | | | | | | | | | | | Installation should not be assumed to be located within ~/home directory. User should be expected to install project anywhere and run the startup scripts while in stable-diffusion-webui directory. See issue #8534
| * | Update webui.shParityError2023-03-121-1/+1
| |/ | | | | | | | | Installation should not be assumed to be located within ~/home directory. User should be expected to install project anywhere and run the startup scripts while in stable-diffusion-webui directory. See issue #8534
* / add subpath supportcatalpaaa2023-04-251-0/+0
|/
* revert webui.sh from #8492AUTOMATIC2023-03-121-14/+14
|
* webui.sh: remove all `cd` related codeZhang Hua2023-03-111-14/+14
| | | | | | | | | | | | | | | | | | | | | This may be helpful for https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/7028, because we won't change working directory to the repo now, instead, we will use any working directory. If we set working directory to a path contains repo and the custom --data-dir, the problem in this issue should be solved. Howewer, this may be treated as an incompatible change if some code assume the working directory is always the repo. Also, there may be another solution that always let --data-dir be the subdirectory of the repo, but personally I think this may not be what we actually need. As this issue mainly influent on Docker and I am not familiar with .bat files, updating webui.bat is skipped. webui.sh: source env from repo instead $PWD
* Update webui.shDaniAndTheWeb2023-01-201-1/+1
|
* Update webui.shDaniAndTheWeb2023-01-191-2/+2
|
* Usage explanation for Renoir usersDaniAndTheWeb2023-01-191-0/+3
|
* Experimental support for RenoirDaniAndTheWeb2023-01-191-4/+8
| | | | This adds the GFX version 9.0.0 in order to use Renoir GPUs with at least 4 GB of VRAM (it's possible to increase the virtual VRAM from the BIOS settings of some vendors). This will only work if the remaining ram is at least 12 GB to avoid the system to become unresponsive on launch.). This change also changes the GPU check to a case statement to be able to add more GPUs efficiently.
* GFX env just for RDNA 1 and 2DaniAndTheWeb2023-01-191-1/+1
| | | This commit specifies which GPUs should use the GFX variable, RDNA 3 is excluded since it uses a newer GFX version
* Small reformat of the GPU checkDaniAndTheWeb2023-01-191-5/+5
|
* Simplify GPU checkDaniAndTheWeb2023-01-191-15/+10
|
* Environment variable on launch just for Navi cardsDaniAndTheWeb2023-01-191-1/+6
| | | Setting HSA_OVERRIDE_GFX_VERSION=10.3.0 for all AMD cards seems to break compatibility for polaris and vega cards so it should just be enabled on Navi
* fixing error using lspci on macOsXfacu2023-01-181-1/+1
|
* Fix TORCH_COMMAND checkDaniAndTheWeb2023-01-141-1/+1
|
* Only set TORCH_COMMAND if wasn't set webui-userDaniAndTheWeb2023-01-141-1/+4
|
* Quick format fixDaniAndTheWeb2023-01-141-1/+1
|
* Export TORCH_COMMAND for AMD from the webuiDaniAndTheWeb2023-01-141-0/+1
|
* Automatic launch argument for AMD GPUsDaniAndTheWeb2023-01-131-1/+7
| | | This commit adds a few lines to detect if the system has an AMD gpu and adds an environment variable needed for torch to recognize the gpu.
* Fixes webui.sh to exec LAUNCH_SCRIPTWes Roberts2023-01-041-2/+2
|
* Bugfix: Use /usr/bin/env bash instead of just /bin/bashFionn Langhans2022-12-121-1/+1
| | | | | | The problem: Some Linux distrubutions, like NixOS, use a non-standard filesystem. This causes the bash program to not be at /bin/bash (though /usr/bin/env is always there).
* Revert most launch.py changes, add mac user scriptbrkirch2022-12-031-0/+8
| | | | Adds an addition file to read environment variables from when the webui.sh is run from macOS.
* Fix run as root flagbrkirch2022-12-011-1/+2
| | | | | | Even though -f enables running webui.sh as root, the -f flag will also be passed to launch.py, causing it to exit with a usage message. This adds a line to launch.py to remove the -f flag if present. In addition to the above, all the letters in the command line arguments after each '-' were being processed for 'f' and "illegal option" was displayed for each letter that didn't match. Instead, this commit silences those errors and stops processing if the first flag doesn't start with '-f'.