aboutsummaryrefslogtreecommitdiff
path: root/webui.sh
AgeCommit message (Collapse)Author
2023-04-29Merge branch 'dev' into masterAUTOMATIC1111
2023-04-29Merge branch 'dev' into masterAUTOMATIC1111
2023-04-29Merge pull request #9593 from gakada/tcmallocAUTOMATIC1111
Try using TCMalloc on Linux by default
2023-04-17fix install_dir errorweidong
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
2023-04-13Try using TCMalloc on Linux by defaultgk
2023-04-11Using --index-url instead of --extra-index-url following new PyTorch install ↵DGdev91
command
2023-04-06Forcing PyTorch version for AMD GPUs automatic installDGdev91
The old code tries to install the newest versions of pytorch, wich is currently 2.0. Forcing it to 1.13.1
2023-03-12Update webui.shParityError
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
2023-03-12Update webui.shParityError
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
2023-03-12revert webui.sh from #8492AUTOMATIC
2023-03-11webui.sh: remove all `cd` related codeZhang Hua
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
2023-01-20Update webui.shDaniAndTheWeb
2023-01-20Update webui.shDaniAndTheWeb
2023-01-20Usage explanation for Renoir usersDaniAndTheWeb
2023-01-19Experimental support for RenoirDaniAndTheWeb
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.
2023-01-19GFX env just for RDNA 1 and 2DaniAndTheWeb
This commit specifies which GPUs should use the GFX variable, RDNA 3 is excluded since it uses a newer GFX version
2023-01-19Small reformat of the GPU checkDaniAndTheWeb
2023-01-19Simplify GPU checkDaniAndTheWeb
2023-01-19Environment variable on launch just for Navi cardsDaniAndTheWeb
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
2023-01-18fixing error using lspci on macOsXfacu
2023-01-14Fix TORCH_COMMAND checkDaniAndTheWeb
2023-01-14Only set TORCH_COMMAND if wasn't set webui-userDaniAndTheWeb
2023-01-14Quick format fixDaniAndTheWeb
2023-01-14Export TORCH_COMMAND for AMD from the webuiDaniAndTheWeb
2023-01-13 Automatic launch argument for AMD GPUsDaniAndTheWeb
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.
2023-01-04Fixes webui.sh to exec LAUNCH_SCRIPTWes Roberts
2022-12-12Bugfix: Use /usr/bin/env bash instead of just /bin/bashFionn Langhans
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).
2022-12-03Revert most launch.py changes, add mac user scriptbrkirch
Adds an addition file to read environment variables from when the webui.sh is run from macOS.
2022-12-01Fix run as root flagbrkirch
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'.
2022-11-27Merge pull request #1904 from EternalNooblet/devAUTOMATIC1111
Added a flag to run as root if needed
2022-11-09Optional Accelerate Launchd8ahazard
2022-10-29webui.sh: no automatic git pullMackerel
2022-10-18Pass arguments from bash to pythonMatthew Clark
2022-10-16revert changes to two bat files I asked to revert but the author couldn't in ↵AUTOMATIC
863e9efc19d2811f1db5055be8e346781df3f7ce.
2022-10-16Pull out some of URL to Env Variable (#2578)Zeithrold
* moved repository url to changeable environment variable * move stable diffusion repo itself to env * added missing env * Remove default URL Co-authored-by: AUTOMATIC1111 <16777216c@gmail.com>
2022-10-15Fix prerequisites check in webui.shDaniel M
- Check the actually used `$python_cmd` and `$GIT` executables instead of the hardcoded ones - Fix typo in comment
2022-10-07added a flag to run as root if neededEternalNooblet
2022-09-30Uppercase for env var LAUNCH_SCRIPTAndrew Savchyn
2022-09-30Configurable launch scriptAndrew Savchyn
2022-09-26Disable sentry loggingDepFA
2022-09-21removed TORCH_COMMAND section from webui.sh andbenbot
added correct torchvision version to default torch install command
2022-09-18Fix bad bad torch command variablesafentisFox
2022-09-18change () to "" in .sh scripts because export AAA=(BBB CCC) sets AAA to BBB ↵AUTOMATIC
and does not export anything whoever put that in .sh files - shame on you
2022-09-14remove model files checkorionaskatu
2022-09-14fix on torch_command + tested on debianorionaskatu
2022-09-14rewrite for launch.py - untestedorionaskatu
2022-09-14install/launch scripts for linuxorionaskatu