Commit Graph

4423 Commits

Author SHA1 Message Date
Aarni Koskela
1f57b948b7 Move localization to its own script block and load it first 2023-05-13 19:15:13 +03:00
Aarni Koskela
999a03e4a7 Wait for DOMContentLoaded until checking whether localization should be disabled
Refs https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/9955#issuecomment-1546587143
2023-05-13 15:12:30 +03:00
AUTOMATIC1111
9080af56dd
Merge pull request #10321 from akx/fix-launch-git-get
launch.py: fix git_tag() & fix commit_hash() & simplify
2023-05-12 21:01:37 +03:00
AUTOMATIC1111
b4ad31ddd4
Merge pull request #10318 from brkirch/set-pytorch-201-mac
Set PyTorch version to 2.0.1 for macOS
2023-05-12 20:56:42 +03:00
Aarni Koskela
451d255b58 Get rid of check_run + run_python 2023-05-12 20:54:06 +03:00
Aarni Koskela
55d222a9f4 launch.py: make git_tag() and commit_hash() work even when WEBUI_LAUNCH_LIVE_OUTPUT 2023-05-12 20:54:06 +03:00
brkirch
0cab07b2f1 Set PyTorch version to 2.0.1 for macOS 2023-05-12 11:15:43 -04:00
AUTOMATIC1111
54c84e63b3
Merge pull request #10317 from AUTOMATIC1111/fix-COMMANDLINE_ARGS--data-dir
fix --data-dir ignored when launching via webui-user.bat COMMANDLINE_ARGS
2023-05-12 16:50:42 +03:00
w-e-w
681c16dd1e fix --data-dir for COMMANDLINE_ARGS
move reading of COMMANDLINE_ARGS into paths_internal.py so --data-dir can be properly read
2023-05-12 22:33:21 +09:00
AUTOMATIC1111
abe32cefa3
Merge pull request #10285 from akx/ruff-spacing
Indentation + ruff whitespace fixes
2023-05-11 21:25:15 +03:00
AUTOMATIC1111
b4aaa339d5
Merge pull request #10290 from akx/smart-live-preview-format
Make live previews use JPEG only for large images
2023-05-11 21:24:44 +03:00
Aarni Koskela
da10de022f Make live previews use JPEG only when the image is lorge enough 2023-05-11 20:54:40 +03:00
Aarni Koskela
49a55b410b Autofix Ruff W (not W605) (mostly whitespace) 2023-05-11 20:29:11 +03:00
AUTOMATIC1111
ba7ae7b948
Merge pull request #10286 from catboxanon/patch/extra-networks-symlinks
Fix symlink scanning for extra networks
2023-05-11 19:47:15 +03:00
catboxanon
cb3f8ff59f Fix symlink scanning 2023-05-11 15:55:43 +00:00
Aarni Koskela
431bc5a297 Reindent utils_test with 4 spaces 2023-05-11 18:26:34 +03:00
Aarni Koskela
098d2fda52 Reindent autocrop with 4 spaces 2023-05-11 18:26:04 +03:00
AUTOMATIC
483545252f fix broken prompts from file 2023-05-11 14:24:22 +03:00
AUTOMATIC
0bfaf613a8 put the star where it belongs 2023-05-11 13:31:56 +03:00
AUTOMATIC1111
fb366891ab
Merge pull request #10274 from akx/torch-cpu-for-tests
Use CPU Torch in CI, etc.
2023-05-11 12:50:00 +03:00
Aarni Koskela
5b592669f9 CI: use launch.py for dependencies too 2023-05-11 11:57:46 +03:00
Aarni Koskela
c702010e57 CI: use CPU wheel repo for PyTorch 2023-05-11 11:57:46 +03:00
Aarni Koskela
dd3ca9adf7 launch.py: make torch_index_url an envvar 2023-05-11 11:57:46 +03:00
Aarni Koskela
a09e1e6e18 launch.py: Use GitHub archive URLs for gfpgan, clip, openclip instead of git clones 2023-05-11 11:57:43 +03:00
Aarni Koskela
875bc27009 launch.py: Simplify run() 2023-05-11 11:57:41 +03:00
Aarni Koskela
49db24ce27 launch.py: Add debugging envvar to see install output 2023-05-11 11:57:36 +03:00
AUTOMATIC1111
4445314c68
Merge pull request #10273 from AUTOMATIC1111/roboto-without-a-dep
Vendor Roboto font
2023-05-11 11:25:23 +03:00
AUTOMATIC
87c3aa7389 return wrap_gradio_gpu_call to webui.py for extensions 2023-05-11 10:09:42 +03:00
Aarni Koskela
1332c46b71 Drop fonts + font-roboto deps since we only use the single regular cut of Roboto 2023-05-11 10:07:28 +03:00
Aarni Koskela
df7070eca2 Deduplicate get_font code 2023-05-11 10:06:19 +03:00
Aarni Koskela
16e4d79122 paths_internal: deduplicate modules_path 2023-05-11 10:05:39 +03:00
AUTOMATIC1111
3bb964d806
Merge pull request #10272 from AUTOMATIC1111/clean-fid
Update clean-fid to loosen transitive dependency pins
2023-05-11 09:36:08 +03:00
Aarni Koskela
ef11c197b3 Update clean-fid to loosen transitive dependency pins
Diff: bd92e684ff...c8ffa420a3
2023-05-11 08:48:08 +03:00
AUTOMATIC1111
fe5d988947
Merge pull request #10268 from Sakura-Luna/pbar
UniPC progress bar adjustment
2023-05-11 08:16:36 +03:00
AUTOMATIC
b7e160a87d change live preview format to jpeg to prevent unreasonably slow previews for large images, and add an option to let user select the format 2023-05-11 08:14:45 +03:00
AUTOMATIC
e334758ec2 repair #10266 2023-05-11 07:45:05 +03:00
Sakura-Luna
ae17e97898 UniPC progress bar adjustment 2023-05-11 12:28:26 +08:00
AUTOMATIC1111
c9e5b92106
Merge pull request #10266 from nero-dv/dev
Update sub_quadratic_attention.py
2023-05-11 07:21:18 +03:00
Louis Del Valle
c8732dfa6f
Update sub_quadratic_attention.py
1. Determine the number of query chunks.
2. Calculate the final shape of the res tensor.
3. Initialize the tensor with the calculated shape and dtype, (same dtype as the input tensors, usually)

Can initialize the tensor as a zero-filled tensor with the correct shape and dtype, then compute the attention scores for each query chunk and fill the corresponding slice of tensor.
2023-05-10 22:05:18 -05:00
AUTOMATIC
8aa87c564a add UI to edit defaults
allow setting defaults for elements in extensions' tabs
fix a problem with ESRGAN upscalers disappearing after UI reload
implicit change: HTML element id for train tab from tab_ti to tab_train (will this break things?)
2023-05-10 23:41:08 +03:00
AUTOMATIC1111
5abecea34c
Merge pull request #10259 from AUTOMATIC1111/ruff
Ruff
2023-05-10 21:24:18 +03:00
AUTOMATIC
3ec7b705c7 suggestions and fixes from the PR 2023-05-10 21:21:32 +03:00
AUTOMATIC
d25219b7e8 manual fixes for some C408 2023-05-10 11:55:09 +03:00
AUTOMATIC
a5121e7a06 fixes for B007 2023-05-10 11:37:18 +03:00
AUTOMATIC
550256db1c ruff manual fixes 2023-05-10 11:19:16 +03:00
AUTOMATIC
028d3f6425 ruff auto fixes 2023-05-10 11:05:02 +03:00
AUTOMATIC
e42de4b8a2 update ruff config with more stuff 2023-05-10 11:00:07 +03:00
AUTOMATIC
57ef617251 integrate the PR's config 2023-05-10 09:09:41 +03:00
AUTOMATIC1111
837d3a94b7
Merge pull request #10233 from akx/fix-lint-ci
Replace pylint CI with ruff
2023-05-10 09:06:54 +03:00
AUTOMATIC
4b854806d9 F401 fixes for ruff 2023-05-10 09:02:23 +03:00