Commit Graph

89 Commits

Author SHA1 Message Date
AUTOMATIC1111
362675e75b
Merge pull request #13469 from PermissionDenied7335/master
I found a code snippet in webui.sh that disables python venv and moved it to the appropriate location
2023-10-02 12:47:02 +03:00
PermissionDenied7335
6ab0b65ed1 Added an option not to enable venv 2023-10-02 15:43:59 +08:00
AUTOMATIC1111
df48222f3e
Merge pull request #13231 from der3318/better-support-for-portable-git
Better Support for Portable Git
2023-09-30 09:21:08 +03:00
Der Chien
0ad38a9b87 20230913 setup GIT_PYTHON_GIT_EXECUTABLE for GitPython 2023-09-13 20:20:01 +08:00
Beinsezii
737a013377 WEBUI.SH Navi 3 torch 2.1.0 rc instead of nightly
With the release candidates being out for both torch and vision,
webui should default to these over nightly for a more stable experience.

Stable release isn't excpected until October 4th:
https://dev-discuss.pytorch.org/c/release-announcements/27
2023-08-31 15:03:08 -07:00
AUTOMATIC1111
d3632368e6
Merge pull request #12704 from fraz0815/master
Update torch for Navi 31 (7900 XT/XTX)
2023-08-21 07:11:17 +03:00
fraz0815
db6c7ff084
Update torch for Navi 31 (7900 XT/XTX)
Navi 3 needs at least 5.5 which is only on the nightly chain, previous versions are no longer online (torch==2.1.0.dev-20230614+rocm5.5 torchvision==0.16.0.dev-20230614+rocm5.5 torchaudio==2.1.0.dev-20230614+rocm5.5).
so switch to nightly rocm5.6 without explicit versions this time
2023-08-20 22:59:30 +02:00
Dan
453a5ac1d0 run python unbuffered so output shows up in docker logs 2023-08-18 21:09:27 -04:00
AUTOMATIC1111
0a334b447f
Merge branch 'dev' into allow-no-venv-install 2023-07-19 07:59:39 +03:00
kopyl
6094310704 improve var naming 2023-07-19 01:48:21 +03:00
kopyl
0c4ca5f43e Replace argument with env variable 2023-07-19 01:47:39 +03:00
kopyl
2b42f73e3d Make possible to install web ui without venv with --novenv flag
When passing `--novenv` flag to webui.sh it can skip venv.
Might be useful for installing in Docker since messing with venv in Docker might be a bit complicated.

Example usage:
`webui.sh --novenv`

Hope this gets approved and pushed into future versions of Web UI
2023-07-18 22:43:18 +03:00
AUTOMATIC1111
4da92281f6 pin version for torch for Navi3 according to comment from #11228 2023-07-08 17:29:28 +03:00
AUTOMATIC1111
ed855783ed
Merge pull request #11228 from Beinsezii/dev
WEBUI.SH Navi 3 Support
2023-07-08 17:28:04 +03:00
Frank Tao
e33e2c5175
Update webui.sh 2023-07-03 03:17:27 -04:00
onyasumi
5a32d4fcb1 Fix launch script to be runnable from any directory 2023-07-03 07:15:19 +00:00
Beinsezii
1d7c51fb9f WEBUI.SH Navi 3 Support
Navi 3 card now defaults to nightly torch to utilize rocm 5.5
for out-of-the-box support.

https://download.pytorch.org/whl/nightly/

While its not yet on the main pytorch "get started" site,
it still seems perfectly indexable via pip which is all we need.

With this I'm able to clone a fresh repo and immediately run ./webui.sh
on my 7900 XTX without any problems.
2023-06-14 13:07:22 -07:00
DGdev91
62860c221e Skip force pyton and pytorch ver if TORCH_COMMAND already set 2023-06-06 15:43:32 +02:00
DGdev91
8646768801 Write "RX 5000 Series" instead of "Navi" in err 2023-06-06 10:03:20 +02:00
DGdev91
95d4d650d4 Check python version for Navi 1 only 2023-06-06 09:59:13 +02:00
DGdev91
e0d923bdf8 Force python1 for Navi1 only, use python_cmd for python 2023-06-06 09:55:49 +02:00
DGdev91
2788ce8c7b Fix error in webui.sh 2023-06-06 01:51:35 +02:00
DGdev91
8d98532b65 Forcing Torch Version to 1.13.1 for Navi and Renoir GPUs 2023-06-06 01:05:31 +02:00
Aarni Koskela
46a5bd64ed Restart: only do restart if running via the wrapper script 2023-06-05 20:04:28 +03:00
AUTOMATIC
333e63c091 a yet another method to restart webui 2023-06-03 09:59:56 +03:00
AUTOMATIC1111
7fd53815d3
Merge pull request #10967 from waltercool/master
Added support for workarounds on Navi external GPU.
2023-06-03 09:09:25 +03:00
Pablo Cholaky
8d970a4a97
Added support for workarounds on external GPU.
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>
2023-06-02 15:04:58 -04:00
AUTOMATIC1111
348abeb99d
Merge pull request #10722 from maybe-hello-world/master
Download ROCm for AMD GPU only if NVIDIA is not presented
2023-05-27 19:56:18 +03:00
AUTOMATIC1111
ba812b4495
Merge pull request #10718 from kernelmethod/libtcmalloc_fixes
Small fixes to prepare_tcmalloc for Debian/Ubuntu compatibility
2023-05-27 19:55:02 +03:00
Roman Beltiukov
bdc371983e
Update webui.sh 2023-05-26 02:09:09 -07:00
Roman Beltiukov
b2530c965c
Merge branch 'dev' into master 2023-05-25 15:10:10 -07:00
Roman Beltiukov
09d9c3d287
change to AMD only if NVIDIA is not presented 2023-05-25 14:45:05 -07:00
kernelmethod
d29fe44e46 Small fixes to prepare_tcmalloc for Debian/Ubuntu compatibility
- /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.
2023-05-25 14:51:47 -04:00
AUTOMATIC1111
97e1cf69c0
Merge branch 'dev' into master 2023-05-18 10:26:35 +03:00
Weiming
aa6e98e43c Error Improvement for install torch 2023-05-18 13:25:48 +08:00
Baptiste Rajaut
484948f5c0
Fixing webui.sh
If only i proofread what i wrote
2023-05-17 11:10:57 +02:00
Baptiste Rajaut
b3397c2492
Bump pytorch for AMD Users
So apparently it works now? Before you would get "Pytorch cant use the GPU" but not anymore.
2023-05-17 11:01:33 +02:00
AUTOMATIC1111
335428c2c8
Merge pull request #9140 from yedpodtrzitko/yed/reuse-existing-venv
feat: use existing virtualenv if already active
2023-05-02 11:05:00 +03:00
AUTOMATIC
14b70aa97b revert unwanted change from #9865 2023-05-02 11:03:11 +03:00
catalpaaa
9eb5b3e90f
Merge branch 'experimental' into subpath-support 2023-05-01 11:59:21 -07:00
AUTOMATIC1111
1185bf3981
Merge branch 'dev' into master 2023-04-29 17:16:52 +03:00
AUTOMATIC1111
967fb51df2
Merge branch 'dev' into master 2023-04-29 14:09:45 +03:00
AUTOMATIC1111
1ffb44b0b2
Merge pull request #9593 from gakada/tcmalloc
Try using TCMalloc on Linux by default
2023-04-29 13:02:00 +03:00
catalpaaa
b2f6e0704e add subpath support 2023-04-25 07:27:24 -07:00
weidong
152ed34ccc
fix install_dir error
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-17 17:17:10 +08:00
gk
8af4b3bbe4 Try using TCMalloc on Linux by default 2023-04-13 10:19:03 +09:00
DGdev91
9edd4b6e51 Using --index-url instead of --extra-index-url following new PyTorch install command 2023-04-11 11:22:28 +02:00
DGdev91
3a5b47e26e Forcing PyTorch version for AMD GPUs automatic install
The old code tries to install the newest versions of pytorch, wich is currently 2.0. Forcing it to 1.13.1
2023-04-06 01:36:27 +02:00
yedpodtrzitko
0d2cf9ac18 feat: use existing virtualenv if already active 2023-03-29 16:35:37 +07:00
ParityError
5c051c0618
Update webui.sh
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-12 15:10:44 -07:00