forked from AUTOMATIC1111/stable-diffusion-webui
-
Notifications
You must be signed in to change notification settings - Fork 0
s #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
AdamOswald
wants to merge
3,422
commits into
OswaldDevolpment:master
Choose a base branch
from
AUTOMATIC1111:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
s #13
Changes from all commits
Commits
Show all changes
3422 commits
Select commit
Hold shift + click to select a range
01491d3
Keep sigmas on CPU
drhead 10f2407
xyz csv skipinitialspace
w-e-w 53d6708
Patch timestep embedding to create tensor on-device
drhead cc9ca67
Add transformer forward patch
drhead dca9007
Fix SD15 dtype
huchenlei b57a70f
Proper fix of SD15 dtype
huchenlei 1d74482
Default device for sigma tensor to CPU
LoganBooker 281e0a0
scroll extensions table on overflow
light-and-ray feeb680
fix case where first step skilled if skip early cond is 0
drhead 501ac01
Reformat
w-e-w 969a462
xyz util confirm_range
w-e-w 24a59ad
fix Hypertile xyz grid
w-e-w 82884da
use apply_override for Clip skip
w-e-w 1f39251
use override for uni_pc_order
w-e-w 1e696b0
use override of sd_vae
w-e-w 51e7122
remove unused code
w-e-w 5867be2
Use different torch versions for Intel and ARM Macs
viking1304 344eda5
ReloadUI backgroundColor --background-fill-primary
w-e-w a639462
setuptools==69.5.1
w-e-w 6dd53ce
Fix bug where file extension had an extra '.' under some circumstances
alcacode 759f396
Merge pull request #15882 from AUTOMATIC1111/setuptools==69.5.1
AUTOMATIC1111 801b72b
update changelog
AUTOMATIC1111 feee37d
Merge branch 'dev'
AUTOMATIC1111 8d6f741
#15883 -> #15882
w-e-w 10f8d0f
feat: lora partial update precede full update.
eatmoreapple 25bbf31
Fix for grids without comprehensive infotexts
NouberNou 53f6267
Typo on edit
NouberNou 3c7384a
Merge pull request #15958 from NouberNou/Fix-Grids-Without-Infotexts
AUTOMATIC1111 46bcfbe
Merge pull request #15751 from LoganBooker/LoganBooker-Add-AlignYourS…
AUTOMATIC1111 6de733c
Merge pull request #15943 from eatmoreapple/update-lora-load
AUTOMATIC1111 0c0d71a
Merge pull request #15907 from AUTOMATIC1111/fix-change-log
AUTOMATIC1111 de7f5cd
Merge pull request #15804 from huchenlei/rearrange_fix
AUTOMATIC1111 0769aa3
integrated edits as recommended in the PR #15804
AUTOMATIC1111 00f37ad
Merge pull request #15893 from alcacode/dev
AUTOMATIC1111 e21b1e3
Merge pull request #15864 from AUTOMATIC1111/ReloadUI-backgroundColor…
AUTOMATIC1111 0edc04d
Merge branch 'dev' into patch-2
AUTOMATIC1111 9e1fc80
Merge pull request #15608 from drhead/patch-2
AUTOMATIC1111 b150b3a
Merge pull request #15607 from drhead/patch-1
AUTOMATIC1111 5429e4c
add proper infotext support for #15607
AUTOMATIC1111 15245d9
Merge pull request #15600 from AUTOMATIC1111/fix-corrupt-model-loop
AUTOMATIC1111 cd9e9e4
remove unneeded tabulation
AUTOMATIC1111 ba54c74
Merge pull request #15656 from AUTOMATIC1111/api-old-sampler-names
AUTOMATIC1111 33b73c4
Merge pull request #15820 from huchenlei/force_half
AUTOMATIC1111 ebfc9f6
Merge branch 'dev' into patch-4
AUTOMATIC1111 93b53dc
Merge pull request #15824 from drhead/patch-4
AUTOMATIC1111 616013f
Merge pull request #15851 from viking1304/torch-on-mac
AUTOMATIC1111 cbac72d
Merge pull request #15836 from AUTOMATIC1111/xyz-override-rework
AUTOMATIC1111 c3c90de
Merge pull request #15681 from AUTOMATIC1111/fix_p_invalid_sampler_an…
AUTOMATIC1111 96f907e
Merge branch 'dev' into fix-Hypertile-xyz
AUTOMATIC1111 04164a8
Merge pull request #15831 from AUTOMATIC1111/fix-Hypertile-xyz
AUTOMATIC1111 5977cb0
Merge pull request #15832 from AUTOMATIC1111/xyz-csv-skipinitialspace
AUTOMATIC1111 510f025
replace wsl-open with wslpath and explorer.exe
w-e-w ad229fa
Merge pull request #15803 from huchenlei/checkpoint_false
AUTOMATIC1111 603509e
as per wfjsw's suggestion, revert changes for sd_hijack_checkpoint.py
AUTOMATIC1111 371cb60
Merge pull request #15830 from light-and-ray/scroll_extensions_table_…
AUTOMATIC1111 816bc42
Merge pull request #15816 from huchenlei/bias_backup
AUTOMATIC1111 64bf57b
Merge pull request #15817 from light-and-ray/img2img_batch_upload
AUTOMATIC1111 6450d24
Merge pull request #15806 from huchenlei/inpaint_fix
AUTOMATIC1111 b4723bb
Merge pull request #15815 from AUTOMATIC1111/torch-float64-or-float32
AUTOMATIC1111 7b940e3
Merge pull request #15797 from AUTOMATIC1111/fix-extention-update-whe…
AUTOMATIC1111 88a5001
Merge branch 'dev' into dev
AUTOMATIC1111 9905341
Merge pull request #15783 from elf-mouse/dev
AUTOMATIC1111 07cf95c
update pickle safe filenames
AUTOMATIC1111 64ebb24
Merge pull request #15757 from AUTOMATIC1111/fix-fonts-with-subpath-
AUTOMATIC1111 5abdf51
Merge pull request #15750 from MarcusNyne/m9-240509-pip-upgrade
AUTOMATIC1111 c1c4b3f
Merge pull request #15738 from JLipnerPitt/JLipnerPitt-patch-1
AUTOMATIC1111 64783dd
Merge pull request #15742 from MarcusNyne/m9-240508-model-dir
AUTOMATIC1111 1a7ffa2
remove extra local variable
AUTOMATIC1111 debc6dd
Merge pull request #15739 from LoganBooker/LoganBooker-AVIF-mimetype-…
AUTOMATIC1111 4aebfe9
Merge pull request #15730 from bluelovers/patch-2
AUTOMATIC1111 74b1fc6
Merge pull request #15682 from light-and-ray/two_fingers_press_to_ope…
AUTOMATIC1111 b9dfc50
Merge pull request #15705 from AUTOMATIC1111/use-script_path-for-webu…
AUTOMATIC1111 a1130c2
Merge pull request #15664 from AUTOMATIC1111/fix-extra-batch-mode-P-T…
AUTOMATIC1111 742bfbe
Merge pull request #15679 from AUTOMATIC1111/lora-bundled-TI-infotext
AUTOMATIC1111 41b24d3
Merge pull request #15680 from light-and-ray/use_gradio_theme_colors_…
AUTOMATIC1111 9e51031
Merge pull request #15641 from AUTOMATIC1111/no-referrer
AUTOMATIC1111 a184e5d
Merge pull request #15657 from AUTOMATIC1111/drag-text-fix
AUTOMATIC1111 569f17c
Merge pull request #15654 from huchenlei/mime
AUTOMATIC1111 30461be
Merge pull request #15602 from AUTOMATIC1111/initial-model-download-i…
AUTOMATIC1111 3ef9f27
Merge branch 'dev' into bgh-handle-metadata-issues-more-cleanly
AUTOMATIC1111 6d8d272
Merge pull request #15632 from brendanhoar/bgh-handle-metadata-issues…
AUTOMATIC1111 2dbc7aa
Merge pull request #15627 from light-and-ray/more_extension_tag_filte…
AUTOMATIC1111 5ecfc20
Merge pull request #15610 from pinanew/pinanew-patch-1
AUTOMATIC1111 194c262
Merge pull request #15968 from AUTOMATIC1111/wsl-open
AUTOMATIC1111 547778b
possibly make NaN check cheaper
AUTOMATIC1111 58b24ea
Merge branch 'AUTOMATIC1111:master' into patch-3
drhead 428975e
Merge pull request #1 from AUTOMATIC1111/dev
drhead 39a6d56
patch k_diffusion to_d and strip device from schedulers
drhead d52a1e1
lint
drhead d875cda
Fix sdxl inpaint
huchenlei f89b5db
nit
huchenlei 41ee2db
Merge pull request #15976 from huchenlei/fix_sdxl_inpaint
AUTOMATIC1111 6447ff4
feat: save pattern add `basename`
bluelovers 6214aa7
performance: check for nans in unet only once, after all steps have b…
AUTOMATIC1111 981abbb
Merge pull request #15978 from bluelovers/pr/pattern-001
AUTOMATIC1111 e368cd2
stylistic changes for #15978
AUTOMATIC1111 aafbb5b
lint
AUTOMATIC1111 57e6d05
added tool for profiling code
AUTOMATIC1111 1d0bb39
Merge pull request #15823 from drhead/patch-3
AUTOMATIC1111 99e65ec
undo some changes from #15823 and fix whitespace
AUTOMATIC1111 d2097db
added onOptionsAvailable callback for javascript for
AUTOMATIC1111 74ee8fd
.gitignore trace.json
w-e-w a84000c
Merge pull request #15980 from AUTOMATIC1111/git-ignore-trace.json
AUTOMATIC1111 17e8461
Add process_before_every_sampling hook
huchenlei e33bb8f
Merge pull request #15984 from huchenlei/before_every_sampling
AUTOMATIC1111 abacb73
multi size grid
w-e-w 123582b
Merge pull request #15988 from AUTOMATIC1111/multi-size-grid
AUTOMATIC1111 00e0938
Add option to enable clip skip for clip L on SDXL
silveroxides 91ecc75
Update sd_hijack_clip.py
silveroxides d5e2627
Merge pull request #15992 from silveroxides/dev
AUTOMATIC1111 1f8f3a6
feat: prevent screen sleep during generation
zero41120 c803e11
fix: prevent create multiple wake lock
zero41120 f1e0bfe
ci: remove comments and console logs
zero41120 a30b19d
Merge pull request #16001 from zero41120/feat-prevent-screen-lock
AUTOMATIC1111 9e0f6d2
remove commented code
w-e-w a7116aa
add SD3 reference implementation from https://github.com/mcmonkey4eva…
mcmonkey4eva 5b2a60b
initial SD3 support
AUTOMATIC1111 79de09c
linter
AUTOMATIC1111 7ee2114
typo
AUTOMATIC1111 b443fdc
prevent accidental creation of CLIP models in float32 type when user …
AUTOMATIC1111 80f618e
add protobuf==3.20.0 to requirements
AUTOMATIC1111 06d0a5a
fix NaN issue when running without --precision half
AUTOMATIC1111 58dc35a
change CLIP links to allow anonymous downloading
AUTOMATIC1111 d4b814a
change t5xxl checkpoint to fp8
AUTOMATIC1111 34b4443
add an option (on by default) to disable T5
AUTOMATIC1111 663a4d8
add new sampler DDIM CFG++
v0xie a772fd9
Update torch for ARM Macs to 2.3.1
viking1304 13f2297
chore: fix typos
xiaoxianBoy bd85b3f
remove dont_fix_second_order_samplers_schedule
w-e-w 0f40c4b
fix Sampler Scheduler autocorrection warning
w-e-w 109bbda
fix infotext Lora hashes fro hires fix different lora
w-e-w 775fa76
ToggleLivePriview in image viewer
w-e-w c3ef381
Fix SD2 loading
huchenlei 731eb72
fix sd2 switching
light-and-ray a65dd31
fix T5
AUTOMATIC1111 a8fba9a
medvram support for SD3
AUTOMATIC1111 5d9f1e6
stoping generation extras
light-and-ray 9e60cdb
Maintaining Project Compatibility for Python 3.9 Users Without Upgrad…
cuba3 ec3c31e
Try to use specified python version on linux and mac, with fallback
viking1304 d686e73
support for SD3: infinite prompt length, token counting
AUTOMATIC1111 42ca30d
fix mdevram for SD1/SDXL
AUTOMATIC1111 afaf120
docs: update bug_report.yml
eltociear 06fe174
get deepbooru to run with --precision-half
AUTOMATIC1111 fc8b126
get T5 to work both with and without --precision half
AUTOMATIC1111 0c7bdcc
add the missing get_first_stage_encoding function
AUTOMATIC1111 0b64633
fix img2img
AUTOMATIC1111 179ae47
fix the problem with infinite prompts where empty cond would be calcu…
AUTOMATIC1111 d67348a
allow generation to be started with any dimensions specified
AUTOMATIC1111 7e4b06f
support loading clip/t5 from the main model checkpoint
AUTOMATIC1111 1394eca
do sampler calculations on CPU
AUTOMATIC1111 ebe8be9
remove AutocastLinear from SD3's MLP
AUTOMATIC1111 9e404c3
fix --medvram
AUTOMATIC1111 6ddcd89
ensure use of python from venv
viking1304 957185f
fix Replace preview
w-e-w fd16393
defunct --max-batch-count
w-e-w 3971c01
Return http 400 instead of 404 on invalid sampler
ibrahimsn98 32fdf18
Add Simple Scheduler
AndreyRGW f8fb74b
Bump Spandrel to 0.3.4; add spandrel-extra-arches for CodeFormer
akx f864066
Add Normal and DDIM Schedulers
AndreyRGW bfbca31
possible fix of wrong scale
KohakuBlueleaf b82caf1
fix ui flashing on reloading and fast scrollong
light-and-ray c02e3a5
Merge pull request #16030 from AUTOMATIC1111/sd3
AUTOMATIC1111 b282b47
Merge pull request #16149 from AndreyRGW/devpatch1
AUTOMATIC1111 a6c384b
Merge pull request #16144 from akx/bump-spandrel
AUTOMATIC1111 af3ccee
Merge pull request #16140 from ibrahimsn98/master
AUTOMATIC1111 019df53
Merge pull request #16119 from AUTOMATIC1111/defunct---max-batch-count
AUTOMATIC1111 9cbde79
Merge pull request #16118 from AUTOMATIC1111/fix-Replace-preview
AUTOMATIC1111 9414309
Merge branch 'dev' into dev
AUTOMATIC1111 b8c3664
Merge pull request #16142 from AndreyRGW/dev
AUTOMATIC1111 372a8e0
Merge pull request #16151 from AUTOMATIC1111/dora-fix
AUTOMATIC1111 76a19c0
Merge pull request #16116 from viking1304/ensure-venv-use
AUTOMATIC1111 41ac139
Merge pull request #16102 from eltociear/patch-4
AUTOMATIC1111 b9c3f4e
Merge pull request #16092 from viking1304/bash-python-version
AUTOMATIC1111 edebe4d
Merge pull request #16088 from cuba3/dev_cuba3
AUTOMATIC1111 50514ce
Merge pull request #16085 from light-and-ray/stoping_generation_extras
AUTOMATIC1111 4cc3add
Merge pull request #16078 from huchenlei/fix_sd2
AUTOMATIC1111 68df281
Merge pull request #16065 from AUTOMATIC1111/ToggleLivePriview-in-ima…
AUTOMATIC1111 3bd4a08
Merge pull request #16062 from AUTOMATIC1111/fix-infotext-Lora-hashes…
AUTOMATIC1111 8058eed
Merge pull request #16059 from viking1304/mac-torch-231
AUTOMATIC1111 74b56fe
Merge pull request #16061 from AUTOMATIC1111/remove-dont_fix_second_o…
AUTOMATIC1111 2fec947
Merge pull request #16060 from xiaoxianBoy/fix-typos
AUTOMATIC1111 ace00a1
Merge pull request #16054 from AUTOMATIC1111/fix-Sampler-Scheduler-au…
AUTOMATIC1111 eb112c6
Merge pull request #16035 from v0xie/cfgpp
AUTOMATIC1111 0a6628b
remove mentions of specific samplers from CFG denoiser code
AUTOMATIC1111 ffead92
Revert "Merge pull request #16078 from huchenlei/fix_sd2"
AUTOMATIC1111 477869c
Merge pull request #16079 from light-and-ray/fix_sd2_switching
AUTOMATIC1111 74069ad
SD2 v autodetection fix
AUTOMATIC1111 340a910
update changelog
AUTOMATIC1111 ec58037
background-color: background_fill_primary
w-e-w 1da4907
Merge pull request #16153 from light-and-ray/fix_ui_flashing_on_reloa…
AUTOMATIC1111 b5481c6
Merge pull request #16153 from light-and-ray/fix_ui_flashing_on_reloa…
AUTOMATIC1111 780c70f
update changelog
AUTOMATIC1111 11cfe0d
sd3 TI support
AUTOMATIC1111 7b29172
Fix noisy DS_Store files for MacOS
richardtallent 21e72d1
py 3.9 find_vae()
w-e-w c3d8b78
py 3.9 compatibility
w-e-w bad47dc
Merge pull request #16169 from AUTOMATIC1111/py-3.9-compatibility
AUTOMATIC1111 6ca7a45
Merge pull request #16169 from AUTOMATIC1111/py-3.9-compatibility
AUTOMATIC1111 1b0823d
shlex.join launch args in console log
w-e-w 7d7f7f4
sysinfo handle psutil not working
w-e-w 93c00b2
Merge pull request #16170 from AUTOMATIC1111/shlex.quote-launch-args-…
AUTOMATIC1111 48dd4d9
Merge pull request #16170 from AUTOMATIC1111/shlex.quote-launch-args-…
AUTOMATIC1111 11f827c
use pip freeze --all to get packages
w-e-w 27947a7
git status
w-e-w dd4f798
fallback get_config()
w-e-w 27d96fa
fallback Extensions info
w-e-w 3f6dcda
Extensions info full commit hash
w-e-w 4debd4d
compact get_info_from_repo_path
w-e-w 72cfa28
safer Imports
w-e-w 6a7042f
move git_status to sysinfo
w-e-w 5a5fe74
.gitignore sysinfo.json
w-e-w 9cc7142
update installation guide linux
light-and-ray 26cccd8
update
light-and-ray d57ff88
do not send image size on paste inpaint
light-and-ray b1695c1
fix #16169 Py 3.9 compatibility
w-e-w 3d2dbef
fix OSError: cannot write mode P as JPEG
light-and-ray 589dda3
do not break progressbar on non-job actions
light-and-ray b4d62a0
Merge pull request #16164 from AUTOMATIC1111/sd3_textual_inversion
AUTOMATIC1111 b2453d2
Merge pull request #16192 from AUTOMATIC1111/patch-#16169
AUTOMATIC1111 7e5cdaa
SD3 lora support
AUTOMATIC1111 f586619
add ids
Haoming02 2b50233
fix bugs in lora support
AUTOMATIC1111 2abc628
bat activate venv
w-e-w a5f66b5
feature: beta scheduler
v0xie 964fc13
fix upscale logic
w-e-w 7e1bd3e
refactor: syntax and add 0.0 on new line
v0xie 3a5a667
add new options 'beta_dist_alpha', 'beta_dist_beta'
v0xie f6f055a
use configured alpha/beta values in Beta scheduling
v0xie e285af6
add beta schedule opts to xyz options
v0xie 94275b1
enforce beta_dist_alpha / beta_dist_beta > 0 to avoid nan
v0xie 9de7084
always add alpha/beta to extra_generation_params when schedule is Beta
v0xie 8749540
fix lint
v0xie 24a23e1
option to disable save button log.csv
w-e-w ea90381
Merge pull request #16212 from AUTOMATIC1111/sd3_lora
AUTOMATIC1111 141d4b7
Merge pull request #16242 from AUTOMATIC1111/option-to-disable-save-b…
AUTOMATIC1111 e09104a
Merge pull request #16239 from AUTOMATIC1111/fix-upscale-logic
AUTOMATIC1111 fc7b25a
Merge pull request #16231 from AUTOMATIC1111/bat-activate-venv
AUTOMATIC1111 fa0ba93
Merge pull request #16218 from Haoming02/resize-tabs-id
AUTOMATIC1111 5a10bb9
Merge pull request #16235 from v0xie/beta-sampling
AUTOMATIC1111 5d26c6a
Merge pull request #16178 from light-and-ray/update_installation_guid…
AUTOMATIC1111 7c8a4cc
Merge pull request #16202 from light-and-ray/do_not_break_progressbar…
AUTOMATIC1111 7b99e14
Merge pull request #16194 from light-and-ray/fix_cannot_write_mode_P_…
AUTOMATIC1111 5096c16
Merge pull request #16173 from AUTOMATIC1111/robust-sysinfo
AUTOMATIC1111 986c31d
Merge pull request #16180 from light-and-ray/do_not_send_image_size_o…
AUTOMATIC1111 9f5a98d
Merge pull request #16166 from richardtallent/dev
AUTOMATIC1111 5bbbda4
Merge branch 'dev' into release_candidate
AUTOMATIC1111 8b3d98c
update CHANGELOG
AUTOMATIC1111 c19d044
Merge branch 'release_candidate'
AUTOMATIC1111 1d7e9ec
Merge pull request #16275 from AUTOMATIC1111/fix-image-upscale-on-cpu
AUTOMATIC1111 82a973c
changelog
AUTOMATIC1111 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| extensions | ||
| extensions-disabled | ||
| repositories | ||
| venv |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,98 @@ | ||
| /* global module */ | ||
| module.exports = { | ||
| env: { | ||
| browser: true, | ||
| es2021: true, | ||
| }, | ||
| extends: "eslint:recommended", | ||
| parserOptions: { | ||
| ecmaVersion: "latest", | ||
| }, | ||
| rules: { | ||
| "arrow-spacing": "error", | ||
| "block-spacing": "error", | ||
| "brace-style": "error", | ||
| "comma-dangle": ["error", "only-multiline"], | ||
| "comma-spacing": "error", | ||
| "comma-style": ["error", "last"], | ||
| "curly": ["error", "multi-line", "consistent"], | ||
| "eol-last": "error", | ||
| "func-call-spacing": "error", | ||
| "function-call-argument-newline": ["error", "consistent"], | ||
| "function-paren-newline": ["error", "consistent"], | ||
| "indent": ["error", 4], | ||
| "key-spacing": "error", | ||
| "keyword-spacing": "error", | ||
| "linebreak-style": ["error", "unix"], | ||
| "no-extra-semi": "error", | ||
| "no-mixed-spaces-and-tabs": "error", | ||
| "no-multi-spaces": "error", | ||
| "no-redeclare": ["error", {builtinGlobals: false}], | ||
| "no-trailing-spaces": "error", | ||
| "no-unused-vars": "off", | ||
| "no-whitespace-before-property": "error", | ||
| "object-curly-newline": ["error", {consistent: true, multiline: true}], | ||
| "object-curly-spacing": ["error", "never"], | ||
| "operator-linebreak": ["error", "after"], | ||
| "quote-props": ["error", "consistent-as-needed"], | ||
| "semi": ["error", "always"], | ||
| "semi-spacing": "error", | ||
| "semi-style": ["error", "last"], | ||
| "space-before-blocks": "error", | ||
| "space-before-function-paren": ["error", "never"], | ||
| "space-in-parens": ["error", "never"], | ||
| "space-infix-ops": "error", | ||
| "space-unary-ops": "error", | ||
| "switch-colon-spacing": "error", | ||
| "template-curly-spacing": ["error", "never"], | ||
| "unicode-bom": "error", | ||
| }, | ||
| globals: { | ||
| //script.js | ||
| gradioApp: "readonly", | ||
| executeCallbacks: "readonly", | ||
| onAfterUiUpdate: "readonly", | ||
| onOptionsChanged: "readonly", | ||
| onUiLoaded: "readonly", | ||
| onUiUpdate: "readonly", | ||
| uiCurrentTab: "writable", | ||
| uiElementInSight: "readonly", | ||
| uiElementIsVisible: "readonly", | ||
| //ui.js | ||
| opts: "writable", | ||
| all_gallery_buttons: "readonly", | ||
| selected_gallery_button: "readonly", | ||
| selected_gallery_index: "readonly", | ||
| switch_to_txt2img: "readonly", | ||
| switch_to_img2img_tab: "readonly", | ||
| switch_to_img2img: "readonly", | ||
| switch_to_sketch: "readonly", | ||
| switch_to_inpaint: "readonly", | ||
| switch_to_inpaint_sketch: "readonly", | ||
| switch_to_extras: "readonly", | ||
| get_tab_index: "readonly", | ||
| create_submit_args: "readonly", | ||
| restart_reload: "readonly", | ||
| updateInput: "readonly", | ||
| onEdit: "readonly", | ||
| //extraNetworks.js | ||
| requestGet: "readonly", | ||
| popup: "readonly", | ||
| // profilerVisualization.js | ||
| createVisualizationTable: "readonly", | ||
| // from python | ||
| localization: "readonly", | ||
| // progrssbar.js | ||
| randomId: "readonly", | ||
| requestProgress: "readonly", | ||
| // imageviewer.js | ||
| modalPrevImage: "readonly", | ||
| modalNextImage: "readonly", | ||
| // localStorage.js | ||
| localSet: "readonly", | ||
| localGet: "readonly", | ||
| localRemove: "readonly", | ||
| // resizeHandle.js | ||
| setupResizeHandle: "writable" | ||
| } | ||
| }; | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| # Apply ESlint | ||
| 9c54b78d9dde5601e916f308d9a9d6953ec39430 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,28 +1,15 @@ | ||
| # Please read the [contributing wiki page](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Contributing) before submitting a pull request! | ||
| ## Description | ||
|
|
||
| If you have a large change, pay special attention to this paragraph: | ||
| * a simple description of what you're trying to accomplish | ||
| * a summary of changes in code | ||
| * which issues it fixes, if any | ||
|
|
||
| > Before making changes, if you think that your feature will result in more than 100 lines changing, find me and talk to me about the feature you are proposing. It pains me to reject the hard work someone else did, but I won't add everything to the repo, and it's better if the rejection happens before you have to waste time working on the feature. | ||
| ## Screenshots/videos: | ||
|
|
||
| Otherwise, after making sure you're following the rules described in wiki page, remove this section and continue on. | ||
|
|
||
| **Describe what this pull request is trying to achieve.** | ||
| ## Checklist: | ||
|
|
||
| A clear and concise description of what you're trying to accomplish with this, so your intent doesn't have to be extracted from your code. | ||
|
|
||
| **Additional notes and description of your changes** | ||
|
|
||
| More technical discussion about your changes go here, plus anything that a maintainer might have to specifically take a look at, or be wary of. | ||
|
|
||
| **Environment this was tested in** | ||
|
|
||
| List the environment you have developed / tested this on. As per the contributing page, changes should be able to work on Windows out of the box. | ||
| - OS: [e.g. Windows, Linux] | ||
| - Browser: [e.g. chrome, safari] | ||
| - Graphics card: [e.g. NVIDIA RTX 2080 8GB, AMD RX 6600 8GB] | ||
|
|
||
| **Screenshots or videos of your changes** | ||
|
|
||
| If applicable, screenshots or a video showing off your changes. If it edits an existing UI, it should ideally contain a comparison of what used to be there, before your changes were made. | ||
|
|
||
| This is **required** for anything that touches the user interface. | ||
| - [ ] I have read [contributing wiki page](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Contributing) | ||
| - [ ] I have performed a self-review of my own code | ||
| - [ ] My code follows the [style guidelines](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Contributing#code-style) | ||
| - [ ] My code passes [tests](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Tests) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,39 +1,38 @@ | ||
| # See https://github.com/actions/starter-workflows/blob/1067f16ad8a1eac328834e4b0ae24f7d206f810d/ci/pylint.yml for original reference file | ||
| name: Run Linting/Formatting on Pull Requests | ||
| name: Linter | ||
|
|
||
| on: | ||
| - push | ||
| - pull_request | ||
| # See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onpull_requestpull_request_targetbranchesbranches-ignore for syntax docs | ||
| # if you want to filter out branches, delete the `- pull_request` and uncomment these lines : | ||
| # pull_request: | ||
| # branches: | ||
| # - master | ||
| # branches-ignore: | ||
| # - development | ||
|
|
||
| jobs: | ||
| lint: | ||
| lint-python: | ||
| name: ruff | ||
| runs-on: ubuntu-latest | ||
| if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | ||
| steps: | ||
| - name: Checkout Code | ||
| uses: actions/checkout@v3 | ||
| - name: Set up Python 3.10 | ||
| uses: actions/setup-python@v4 | ||
| uses: actions/checkout@v4 | ||
| - uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: 3.10.6 | ||
| cache: pip | ||
| cache-dependency-path: | | ||
| **/requirements*txt | ||
| - name: Install PyLint | ||
| run: | | ||
| python -m pip install --upgrade pip | ||
| pip install pylint | ||
| # This lets PyLint check to see if it can resolve imports | ||
| - name: Install dependencies | ||
| run: | | ||
| export COMMANDLINE_ARGS="--skip-torch-cuda-test --exit" | ||
| python launch.py | ||
| - name: Analysing the code with pylint | ||
| run: | | ||
| pylint $(git ls-files '*.py') | ||
| python-version: 3.11 | ||
| # NB: there's no cache: pip here since we're not installing anything | ||
| # from the requirements.txt file(s) in the repository; it's faster | ||
| # not to have GHA download an (at the time of writing) 4 GB cache | ||
| # of PyTorch and other dependencies. | ||
| - name: Install Ruff | ||
| run: pip install ruff==0.3.3 | ||
| - name: Run Ruff | ||
| run: ruff . | ||
| lint-js: | ||
| name: eslint | ||
| runs-on: ubuntu-latest | ||
| if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | ||
| steps: | ||
| - name: Checkout Code | ||
| uses: actions/checkout@v4 | ||
| - name: Install Node.js | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: 18 | ||
| - run: npm i --ci | ||
| - run: npm run lint |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Turning off the rule for "no-unused-vars" may lead to cluttered code with unused variables.
Consider setting this rule to "warn" or "error" to ensure cleaner, more efficient code by alerting developers to remove unused variables.
Committable suggestion