aboutsummaryrefslogtreecommitdiffstats
path: root/webui.sh
AgeCommit message (Collapse)AuthorLines
2023-03-12revert webui.sh from #8492AUTOMATIC-14/+14
2023-03-11webui.sh: remove all `cd` related codeZhang Hua-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
2023-01-20Update webui.shDaniAndTheWeb-1/+1
2023-01-20Update webui.shDaniAndTheWeb-2/+2
2023-01-20Usage explanation for Renoir usersDaniAndTheWeb-0/+3
2023-01-19Experimental support for RenoirDaniAndTheWeb-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.
2023-01-19GFX env just for RDNA 1 and 2DaniAndTheWeb-1/+1
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-5/+5
2023-01-19Simplify GPU checkDaniAndTheWeb-15/+10
2023-01-19Environment variable on launch just for Navi cardsDaniAndTheWeb-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
2023-01-18fixing error using lspci on macOsXfacu-1/+1
2023-01-14Fix TORCH_COMMAND checkDaniAndTheWeb-1/+1
2023-01-14Only set TORCH_COMMAND if wasn't set webui-userDaniAndTheWeb-1/+4
2023-01-14Quick format fixDaniAndTheWeb-1/+1
2023-01-14Export TORCH_COMMAND for AMD from the webuiDaniAndTheWeb-0/+1
2023-01-13 Automatic launch argument for AMD GPUsDaniAndTheWeb-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.
2023-01-04Fixes webui.sh to exec LAUNCH_SCRIPTWes Roberts-2/+2
2022-12-12Bugfix: Use /usr/bin/env bash instead of just /bin/bashFionn Langhans-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).
2022-12-03Revert most launch.py changes, add mac user scriptbrkirch-0/+8
Adds an addition file to read environment variables from when the webui.sh is run from macOS.
2022-12-01Fix run as root flagbrkirch-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'.
2022-11-27Merge pull request #1904 from EternalNooblet/devAUTOMATIC1111-1/+13
Added a flag to run as root if needed
2022-11-09Optional Accelerate Launchd8ahazard-4/+12
2022-10-29webui.sh: no automatic git pullMackerel-4/+3
2022-10-18Pass arguments from bash to pythonMatthew Clark-1/+1
2022-10-16revert changes to two bat files I asked to revert but the author couldn't in ↵AUTOMATIC-6/+1
863e9efc19d2811f1db5055be8e346781df3f7ce.
2022-10-16Pull out some of URL to Env Variable (#2578)Zeithrold-1/+6
* 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-2/+2
- 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-1/+13
2022-09-30Uppercase for env var LAUNCH_SCRIPTAndrew Savchyn-3/+3
2022-09-30Configurable launch scriptAndrew Savchyn-1/+6
2022-09-26Disable sentry loggingDepFA-0/+3
2022-09-21removed TORCH_COMMAND section from webui.sh andbenbot-6/+0
added correct torchvision version to default torch install command
2022-09-18Fix bad bad torch command variablesafentisFox-1/+1
2022-09-18change () to "" in .sh scripts because export AAA=(BBB CCC) sets AAA to BBB ↵AUTOMATIC-1/+1
and does not export anything whoever put that in .sh files - shame on you
2022-09-14remove model files checkorionaskatu-21/+0
2022-09-14fix on torch_command + tested on debianorionaskatu-0/+6
2022-09-14rewrite for launch.py - untestedorionaskatu-74/+8
2022-09-14install/launch scripts for linuxorionaskatu-0/+220