Skip to content
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

sync #1

Open
wants to merge 1,343 commits into
base: master
Choose a base branch
from
Open
Changes from 2 commits
Commits
Show all changes
1343 commits
Select commit Hold shift + click to select a range
39e33fb
Updated diffusers to 0.7.2 (#1684)
ZeroCool940711 Nov 24, 2022
361b27b
Removed some schedulers that were imported but never used on txt2vid.
ZeroCool940711 Nov 24, 2022
874053b
Removed some schedulers that were imported but never used on txt2vid.…
ZeroCool940711 Nov 24, 2022
20a7b63
Merge branch 'Sygil-Dev:dev' into dev
aedhcarrick Nov 24, 2022
23b5c7c
Initial support for the 2.0 model
ZeroCool940711 Nov 24, 2022
c55773c
fixed sliders, added switches
aedhcarrick Nov 24, 2022
6c86eca
Initial support for the 2.0 model (#1688)
ZeroCool940711 Nov 24, 2022
b196126
Merge branch 'dev' into dev
ZeroCool940711 Nov 24, 2022
a7378f5
updates to webui_flet.py and .yaml, fixes to settings page and config…
ZeroCool940711 Nov 24, 2022
39dd2ce
removed pair of try/excepts
aedhcarrick Nov 24, 2022
709c62e
Included more files needed for running the 2.0 model.
ZeroCool940711 Nov 25, 2022
00ee44f
Included more files needed for running the 2.0 model. (#1689)
ZeroCool940711 Nov 25, 2022
68440dd
Merge branch 'Sygil-Dev:dev' into dev
aedhcarrick Nov 25, 2022
5841dc8
Using a different ldm folder to help with memory management and allow…
ZeroCool940711 Nov 27, 2022
2e2b35f
Fixed issue with new ldm folder requiring the personalization_config …
ZeroCool940711 Nov 27, 2022
333eaa1
Using a different ldm folder to help with memory management and allow…
ZeroCool940711 Nov 27, 2022
e9592b6
Added some missing files from the ldm folder.
ZeroCool940711 Nov 27, 2022
097437b
Merge remote-tracking branch 'origin/dev' into dev
ZeroCool940711 Nov 27, 2022
df80e56
Added some missing files to the ldm folder. (#1694)
ZeroCool940711 Nov 27, 2022
6477f24
37th attempt at layers, buggy, do not use
aedhcarrick Nov 27, 2022
762b942
Merge branch 'Sygil-Dev:dev' into dev
aedhcarrick Nov 27, 2022
d4ecedf
stop generating frames when total_frames reached
Craulback Nov 27, 2022
9e56edc
created reorderable list for layer tab - still wonky
aedhcarrick Nov 27, 2022
b40c871
remove unnecessary comment
Craulback Nov 27, 2022
2225458
fixed minor bug in re-orderable column list
aedhcarrick Nov 27, 2022
84120d1
Stop text2vid at total_frames (#1695)
ZeroCool940711 Nov 27, 2022
d311e06
started image uploading..
aedhcarrick Nov 28, 2022
1e0354b
Merge branch 'Sygil-Dev:dev' into dev
aedhcarrick Nov 29, 2022
a00dfa9
fixed layer_panel drag controls
aedhcarrick Nov 29, 2022
0796b44
flet: added messages
aedhcarrick Nov 29, 2022
78acfd9
fixed errors in webui_flet.py
aedhcarrick Nov 29, 2022
18a3b80
updates to flet webui (#1697)
ZeroCool940711 Nov 29, 2022
b47974c
added proto file uploader, began cleanup
aedhcarrick Dec 1, 2022
be2667d
Added extra tags to the medium.txt file for img2txt and improved the …
ZeroCool940711 Dec 2, 2022
175e5a1
Added extra tags to the medium.txt file for img2txt and improved the …
ZeroCool940711 Dec 2, 2022
9283bb8
Added option to use cudnn as backend for pytorch, this should help fi…
ZeroCool940711 Dec 3, 2022
53086b8
Added option to use cudnn as backend for pytorch, this should help fi…
ZeroCool940711 Dec 3, 2022
ee1ee05
Added option to the Settings page to enable or disable cudnn.
ZeroCool940711 Dec 3, 2022
7928aa8
Merge branch 'Sygil-Dev:dev' into dev
ZeroCool940711 Dec 3, 2022
a3d5e5e
Added option to the Settings page to enable or disable cudnn. (#1700)
ZeroCool940711 Dec 3, 2022
7ccfc86
Improved optimized mode speed and VRAM usage.
ZeroCool940711 Dec 3, 2022
4f60ac5
Improved optimized mode speed and VRAM usage. (#1701)
ZeroCool940711 Dec 3, 2022
0100247
Merge branch 'Sygil-Dev:dev' into dev
aedhcarrick Dec 4, 2022
8166ec4
Added "userconfig_streamlit.yaml"
mrguymiah Dec 4, 2022
20ca6e2
Updated Dockerfile_base
mrguymiah Dec 4, 2022
4ec54e6
Updated "Dockerfile"
mrguymiah Dec 4, 2022
93b0a7f
Updated Dockerfile_runpod
mrguymiah Dec 4, 2022
cb80492
moved 'webui_flet' to 'webui/flet/'. fixed file uploader.
aedhcarrick Dec 4, 2022
2a83660
minor cchange to 'flet_utils.py'
aedhcarrick Dec 5, 2022
7da0e29
Merge branch 'dev' into master
ZeroCool940711 Dec 5, 2022
3dab457
Deleted userconfig_streamlit.yaml
mrguymiah Dec 5, 2022
7864dd0
Update Dockerfile for userconfig
mrguymiah Dec 5, 2022
ded35ed
Updated Dockerfile_runpod
mrguymiah Dec 5, 2022
b4933fe
Update Dockerfile
mrguymiah Dec 5, 2022
c3f7eda
Updated streamlit-server-state to 0.15.0
ZeroCool940711 Dec 5, 2022
6f635fb
Fixed the generate button needing to be clicked twice on the first ru…
ZeroCool940711 Dec 5, 2022
4408df7
Update Files for Docker Deployment (#1703)
ZeroCool940711 Dec 5, 2022
6b73595
Merge branch 'Sygil-Dev:dev' into dev
ZeroCool940711 Dec 5, 2022
d90c44c
Fixed the generate button needing to be clicked twice on the first ru…
ZeroCool940711 Dec 5, 2022
5291437
The Merge (#1705)
ZeroCool940711 Dec 5, 2022
7cfe911
master to dev (#1706)
ZeroCool940711 Dec 5, 2022
f8a9d91
Added support on txt2img and img2img for the k_dpmpp_2m sampler from …
ZeroCool940711 Dec 5, 2022
5490ebb
Merge remote-tracking branch 'origin/dev' into dev
ZeroCool940711 Dec 5, 2022
4cba48f
Merge remote-tracking branch 'origin/dev' into dev
ZeroCool940711 Dec 5, 2022
6f29868
Added support on txt2img and img2img for the k_dpmpp_2m sampler from …
ZeroCool940711 Dec 5, 2022
064a7e9
add uploaded images as layers
aedhcarrick Dec 5, 2022
46ea2be
add gallery window
aedhcarrick Dec 5, 2022
e5a3a1b
more work on flet gallery
aedhcarrick Dec 6, 2022
fd7af42
Merge branch 'Sygil-Dev:dev' into dev
aedhcarrick Dec 6, 2022
0440929
added image for empty gallery
aedhcarrick Dec 6, 2022
8f89bd8
added dragbars to resize panels
aedhcarrick Dec 6, 2022
0d03e89
more updates to flet webui (WIP) (#1709)
ZeroCool940711 Dec 6, 2022
b950d83
moved canvas to 'flet_canvas.p'
aedhcarrick Dec 7, 2022
73a96e5
added tools, cropped images to canvas size.
aedhcarrick Dec 7, 2022
be0eb6b
more updates to 'webui_flet.py'
aedhcarrick Dec 8, 2022
42d6b5d
more updates to 'webui_flet.py' (WIP) (#1710)
ZeroCool940711 Dec 8, 2022
3e87802
Added option to show the progress percent value during a generation a…
ZeroCool940711 Dec 8, 2022
d3f9d05
Added option to show the progress percent value during a generation a…
ZeroCool940711 Dec 8, 2022
732aed4
(webui_flet.py:WIP) tied more controls to settings
aedhcarrick Dec 11, 2022
1e71614
Merge branch 'Sygil-Dev:dev' into dev
aedhcarrick Dec 11, 2022
ae7b332
moved toolbar to 'flet_tool_manager.py'
aedhcarrick Dec 11, 2022
79ac1b7
more refactoring on flet webui(WIP)
aedhcarrick Dec 11, 2022
a2a147c
moved settings and gallery completely into helper files. (flet ui)
aedhcarrick Dec 12, 2022
c0565ff
added flet_file_manager.py (flet ui)
aedhcarrick Dec 12, 2022
90a7a5d
more refactoring (flet ui)
aedhcarrick Dec 13, 2022
08070a5
moved app_panel to 'flet_appbar.py'
aedhcarrick Dec 14, 2022
3df54f3
moved messages to 'flet_messages.py'
aedhcarrick Dec 14, 2022
3868b79
Added option to the Settings page to enable and disable the suggestio…
ZeroCool940711 Dec 15, 2022
1ff4267
Merge remote-tracking branch 'origin/dev' into dev
ZeroCool940711 Dec 15, 2022
3d916e4
Added option to the Settings page to enable and disable the suggestio…
ZeroCool940711 Dec 15, 2022
58db3ff
renamed appbar to titlebar, because we don't want 'page.appbar'(flet ui)
aedhcarrick Dec 15, 2022
2cc91e3
more work on canvas(flet ui)
aedhcarrick Dec 15, 2022
c840537
Merge branch 'Sygil-Dev:dev' into dev
aedhcarrick Dec 15, 2022
a71cf1b
added canvas scaling(flet ui)
aedhcarrick Dec 17, 2022
942e0c3
trying to fix canvas bug(flet ui)
aedhcarrick Dec 18, 2022
3f8ab89
bug in canvas.update()
aedhcarrick Dec 18, 2022
eefb4de
squashed bug in canvas(flet ui)
aedhcarrick Dec 19, 2022
6368d1e
added preview to properties
aedhcarrick Dec 19, 2022
16176b3
changed gallery from row to grid view, updated property panel(flet ui)
aedhcarrick Dec 20, 2022
46e1cf6
minor tweak to property panel(flet ui)
aedhcarrick Dec 20, 2022
028cd2c
fixed bug in 'flet_gallery_window.py'(flet ui)
aedhcarrick Dec 20, 2022
84225f9
More updates to flet ui. (#1720)
ZeroCool940711 Dec 21, 2022
6163597
more tweaks to property panel (flet ui)
aedhcarrick Dec 21, 2022
7173085
re-enabled draggable layers(flet ui)
aedhcarrick Dec 21, 2022
b110e31
Merge branch 'Sygil-Dev:dev' into dev
aedhcarrick Dec 21, 2022
784840c
adding canvas tools(flet ui)
aedhcarrick Dec 22, 2022
41e804a
Added an empty `personalization_config` argument to `instantiate_from…
ZeroCool940711 Dec 22, 2022
9ffdf04
Added an empty `personalization_config` argument to `instantiate_from…
ZeroCool940711 Dec 22, 2022
5b71cbd
replaced canvas_preview with window for faster rendering(flet ui)
aedhcarrick Dec 25, 2022
092d35e
started to move all module calls to main(flet ui)
aedhcarrick Dec 26, 2022
5ef64a2
moved more cross module calls to main(flet ui)
aedhcarrick Dec 26, 2022
ca0940f
Merge branch 'Sygil-Dev:dev' into dev
aedhcarrick Dec 26, 2022
8c00794
added context menu to layer slots(flet ui)
aedhcarrick Dec 27, 2022
4f6dbd7
fixed page/window resizing bug.(flet ui)
aedhcarrick Dec 28, 2022
b911dba
minor fix(flet ui)
aedhcarrick Dec 28, 2022
e484828
Updates to flet ui (#1725)
ZeroCool940711 Dec 29, 2022
cbb296c
Added Sygil Diffusion 0.1 to the model list on the Model Manager page.
ZeroCool940711 Jan 7, 2023
55df5b3
Added Sygil Diffusion 0.1 to the model list on the Model Manager page…
ZeroCool940711 Jan 7, 2023
571fb89
The Merge (#1730)
ZeroCool940711 Jan 7, 2023
846c5cd
The Merge (#1730) (#1731)
ZeroCool940711 Jan 7, 2023
24a3d12
Updated Sygil Diffusion 0.1 checkpoint to the latest available version.
ZeroCool940711 Jan 8, 2023
123dd31
Updated Sygil Diffusion 0.1 checkpoint to the latest available versio…
ZeroCool940711 Jan 8, 2023
d757ef9
Update README.md
ZeroCool940711 Jan 9, 2023
e1b0ffc
Updated Sygil Diffusion 0.1 model to the latest checkpoint available.
ZeroCool940711 Jan 9, 2023
37ecb46
Merge branch 'Sygil-Dev:dev' into dev
ZeroCool940711 Jan 9, 2023
7375a24
Updated Sygil Diffusion 0.1 model to the latest checkpoint available.…
ZeroCool940711 Jan 9, 2023
d3b8f08
Update README.md
ZeroCool940711 Jan 9, 2023
493ba25
Updated Sygil Diffusion 0.1 model to the latest checkpoint available.
ZeroCool940711 Jan 10, 2023
16ce2ee
Updated Sygil Diffusion 0.1 model to the latest checkpoint available.…
ZeroCool940711 Jan 11, 2023
cf793a9
Updated Sygil Diffusion 0.1 model to the latest checkpoint available.
ZeroCool940711 Jan 11, 2023
39194c9
Merge remote-tracking branch 'origin/dev' into dev
ZeroCool940711 Jan 11, 2023
5f741dd
Updated Sygil Diffusion 0.1 model to the latest checkpoint available.…
ZeroCool940711 Jan 12, 2023
2f21314
Updated Sygil Diffusion 0.1 model to the latest and final checkpoint …
ZeroCool940711 Jan 14, 2023
6b35a8d
Updated Sygil Diffusion 0.1 model to the latest and final checkpoint …
ZeroCool940711 Jan 14, 2023
8aeadfe
The Merge (#1737)
ZeroCool940711 Jan 14, 2023
ce1e3ed
The Merge (#1737) (#1738)
ZeroCool940711 Jan 14, 2023
53da23d
Fixed KeyError: 'state_dict' when loading certain models, thanks to R…
ZeroCool940711 Jan 22, 2023
c47243e
Fixed KeyError: 'state_dict' when loading certain models, thanks to R…
ZeroCool940711 Jan 22, 2023
ca1996c
Added support for loading custom yaml files for the stable diffusion …
ZeroCool940711 Jan 27, 2023
91b7d1d
Merge remote-tracking branch 'origin/dev' into dev
ZeroCool940711 Jan 27, 2023
babcc57
Added support for loading custom yaml files for the stable diffusion …
ZeroCool940711 Jan 27, 2023
b670d40
Updated Sygil Diffusion 0.2 model to the latest checkpoint for this v…
ZeroCool940711 Jan 27, 2023
e89d3c3
Merge branch 'Sygil-Dev:dev' into dev
ZeroCool940711 Jan 27, 2023
8e6ba48
Updated Sygil Diffusion 0.2 model to the latest checkpoint for this v…
ZeroCool940711 Jan 27, 2023
08ac4b8
Changed the stable diffusion 1.5 ckpt url to use the official one as …
ZeroCool940711 Jan 29, 2023
44c8cbb
Changed the stable diffusion 1.5 ckpt url to use the official one as …
ZeroCool940711 Jan 29, 2023
5bd837e
Reverted changes made to the ldm folder to support the 2.x models as …
ZeroCool940711 Jan 31, 2023
64549d6
Merge remote-tracking branch 'origin/dev' into dev
ZeroCool940711 Jan 31, 2023
0781ced
Reverted changes made to the ldm folder to support the 2.x models as …
ZeroCool940711 Jan 31, 2023
ffd7883
Started to move all the streamlit code and dependencies to its own fo…
ZeroCool940711 Jan 31, 2023
f2a96ba
Started to move all the streamlit code and dependencies to its own fo…
ZeroCool940711 Jan 31, 2023
9c9280b
Updated the Sygil Diffusion model link to version 0.4.
ZeroCool940711 Feb 8, 2023
9b084c2
Merge remote-tracking branch 'origin/dev' into dev
ZeroCool940711 Feb 8, 2023
3b74797
Updated the Sygil Diffusion model link to version 0.4. (#1748)
ZeroCool940711 Feb 8, 2023
8c7e483
The Merge (#1749)
ZeroCool940711 Feb 8, 2023
9de93e1
The Merge (#1749) (#1750)
ZeroCool940711 Feb 8, 2023
5af6d02
Create docker-image.yml
michaelzern Apr 13, 2023
053a595
Update Dockerfile
michaelzern Apr 13, 2023
5ea546d
Merge branch 'dev' into master
ZeroCool940711 Apr 14, 2023
790787b
Adding docker-image.yml for github action to build and push Docker im…
ZeroCool940711 Apr 14, 2023
938e383
Update Dockerfile
ZeroCool940711 Apr 14, 2023
0239230
Update docker-image.yml
ZeroCool940711 Apr 14, 2023
e151cf7
Update docker-image.yml
ZeroCool940711 Apr 14, 2023
30a7563
... (#1764)
ZeroCool940711 Apr 14, 2023
65d9d23
Update docker-image.yml
ZeroCool940711 Apr 14, 2023
291480b
Updated the dockerfile and docker building github action. (#1765)
ZeroCool940711 Apr 14, 2023
deea5b3
... (#1766)
ZeroCool940711 Apr 14, 2023
cecbc38
Removed docker-image.yml workflow until we can make it work properly.
ZeroCool940711 Apr 16, 2023
a6fd735
Removed docker-image.yml workflow until we can make it work properly.
ZeroCool940711 Apr 16, 2023
20d4001
Merge branch 'Sygil-Dev:master' into master
ZeroCool940711 Apr 16, 2023
f725b2f
Removed docker-image.yml workflow until we can make it work properly.…
ZeroCool940711 Apr 16, 2023
921dbcd
Merge branch 'dev' into master
ZeroCool940711 Apr 16, 2023
3ea95dd
... (#1770)
ZeroCool940711 Apr 16, 2023
6a80bed
More dockerfile fixes.
ZeroCool940711 Apr 16, 2023
ef86ecc
More dockerfile fixes.
ZeroCool940711 Apr 16, 2023
5aadac8
More dockerfile fixes. (#1771)
ZeroCool940711 Apr 16, 2023
1c39038
Merge branch 'dev' into master
ZeroCool940711 Apr 16, 2023
7d7efd5
... (#1772)
ZeroCool940711 Apr 16, 2023
2b5311a
Removed the SwinIR submodule as its causing issues when cloning the r…
ZeroCool940711 May 2, 2023
3c575d1
Merge branch 'Sygil-Dev:dev' into dev
ZeroCool940711 May 2, 2023
258d92c
Removed the SwinIR submodule as its causing issues when cloning the r…
ZeroCool940711 May 2, 2023
4b5703d
Removed the SwinIR submodule as its causing issues when cloning the r…
ZeroCool940711 May 2, 2023
1436d01
Master to Dev (#1778)
ZeroCool940711 May 2, 2023
805fe1e
Updated the funding and readme files.
ZeroCool940711 May 2, 2023
90e8cc8
Merge branch 'Sygil-Dev:master' into master
ZeroCool940711 May 2, 2023
988b3c4
Removed the SwinIR submodule as its causing issues when cloning the r…
ZeroCool940711 May 2, 2023
2e20a2d
Merge branch 'dev' into master
ZeroCool940711 May 2, 2023
e645343
Master to Dev (#1780)
ZeroCool940711 May 2, 2023
8d5df5a
Removed the suppress_st_warning argument from st.experimental_memo as…
ZeroCool940711 Jun 12, 2023
db98560
Merge remote-tracking branch 'origin/dev' into dev
ZeroCool940711 Jun 12, 2023
7d29730
Removed the suppress_st_warning argument from st.experimental_memo as…
ZeroCool940711 Jun 12, 2023
2ca54a6
Removed the suppress_st_warning argument from st.experimental_memo as…
ZeroCool940711 Jun 12, 2023
0bebf8a
Merge master to dev. (#1789)
ZeroCool940711 Jun 12, 2023
593ac90
...
ZeroCool940711 Jun 18, 2023
7eb52fe
... (#1792)
ZeroCool940711 Jun 18, 2023
c1b91ac
...
ZeroCool940711 Jun 18, 2023
905658d
Merge branch 'Sygil-Dev:dev' into dev
ZeroCool940711 Jun 18, 2023
634d42d
... (#1793)
ZeroCool940711 Jun 18, 2023
47c39c2
Update FUNDING.yml
ZeroCool940711 Jun 22, 2023
3e2824b
Update FUNDING.yml (#1794)
ZeroCool940711 Jun 22, 2023
5e69b1f
Removed extra submodules that are no longer used.
ZeroCool940711 Jun 22, 2023
f10bf82
Added `altair<5` to the requirements.txt to fix an issue with streaml…
ZeroCool940711 Jun 23, 2023
9266811
Merge branch 'Sygil-Dev:dev' into dev
ZeroCool940711 Jun 23, 2023
fe762e4
Added `altair<5` to the requirements.txt to fix an issue with streaml…
ZeroCool940711 Jun 23, 2023
5342f37
Merge dev to master (#1796)
ZeroCool940711 Jun 23, 2023
a9bc7ea
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 23, 2023
f2a370f
Merge master to dev (#1797)
ZeroCool940711 Jun 23, 2023
6ffdf2d
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Jul 17, 2023
0555a11
[pre-commit.ci] pre-commit autoupdate (#1798)
ZeroCool940711 Jul 17, 2023
96561dc
Downgraded and fixed torchmetrics to version 0.11.4 to avoid some err…
ZeroCool940711 Jul 26, 2023
5847fc6
Merge remote-tracking branch 'origin/dev' into dev
ZeroCool940711 Jul 26, 2023
3fcc745
Merge branch 'Sygil-Dev:dev' into dev
ZeroCool940711 Jul 26, 2023
300052c
Downgraded and fixed torchmetrics to version 0.11.4 to avoid some err…
ZeroCool940711 Jul 26, 2023
f1b3b09
Merge Dev to Master (#1803)
ZeroCool940711 Jul 26, 2023
b648768
Merge Master to Dev (#1804)
ZeroCool940711 Jul 26, 2023
52910d4
Removed the set_logger_verbosity and quiesce_logger imports from webu…
ZeroCool940711 Jul 27, 2023
fc65c05
Fixed missing hydralit_components and no_rerun import error.
ZeroCool940711 Jul 27, 2023
4138917
Fixed hydralit_components and no_rerun import error. (#1805)
ZeroCool940711 Jul 27, 2023
37e0495
Merge Dev to Master (#1806)
ZeroCool940711 Jul 27, 2023
4e873ca
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 27, 2023
93f4806
Merge Master to Dev (#1807)
ZeroCool940711 Jul 27, 2023
853ff4a
Fixed docker documentation to use the new repo from dockerhub as the …
ZeroCool940711 Aug 3, 2023
2620ce7
Fixed docker documentation to use the new repo from dockerhub as the …
ZeroCool940711 Aug 3, 2023
415a1c2
Merge Dev to Master (#1811)
ZeroCool940711 Aug 3, 2023
2d90db5
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 3, 2023
468b830
Merge Master to Dev (#1812)
ZeroCool940711 Aug 3, 2023
2f26f93
Fixed hydralit, hydralit_components and no_rerun import error again a…
ZeroCool940711 Aug 6, 2023
c2d5fd4
Fixed hydralit, hydralit_components and no_rerun import error again a…
ZeroCool940711 Aug 6, 2023
a54f359
Merge Dev to Master (#1815)
ZeroCool940711 Aug 6, 2023
6cb11e5
Merge Master to Dev (#1816)
ZeroCool940711 Aug 6, 2023
7c70655
Add .env_docker.example with previous values.
ZeroCool940711 Sep 2, 2023
adf3ac6
Add .env_docker.example with previous values. (#1818)
ZeroCool940711 Sep 2, 2023
91a4eba
Merge Dev to Master (#1819)
ZeroCool940711 Sep 2, 2023
d40417a
Merge Master to Dev (#1820)
ZeroCool940711 Sep 2, 2023
5432b73
Created using Colaboratory
aedhcarrick Sep 12, 2023
70e6d12
added cloudflared tunnel.
aedhcarrick Sep 12, 2023
468ea33
fixed typo in last cell
aedhcarrick Sep 12, 2023
e3250c3
Update Web_based_UI_for_Stable_Diffusion_colab.ipynb
aedhcarrick Sep 12, 2023
e9a5b1e
Adding back deleted docker-compose.yml
DmitrySychev Nov 26, 2023
9b31026
Merge branch 'dev' into add-back-docker-compose-yml
ZeroCool940711 Nov 26, 2023
1b0e046
Adding back deleted docker-compose.yml (#1825)
ZeroCool940711 Nov 26, 2023
1db3c68
Merge branch 'dev' into dev
ZeroCool940711 Nov 26, 2023
c561a94
Added cell to colab, which allows connecting via Cloudflared. (#1822)
ZeroCool940711 Nov 26, 2023
3ee7f6a
Merge Dev to Master. (#1826)
ZeroCool940711 Nov 26, 2023
191c2c8
Merge Master to Dev. (#1827)
ZeroCool940711 Nov 26, 2023
6551e20
Give entrypoint.sh executable permission
michalkielan May 14, 2024
8d2db7f
Give entrypoint.sh executable permission (#1829)
codedealer May 20, 2024
1a74316
Update sd_concepts_library_downloader.py
osanseviero Aug 13, 2024
c46b722
Use id rather than modelId from Hugging Face (#1831)
codedealer Aug 14, 2024
d88fa9e
Merge dev to master (#1832)
codedealer Aug 14, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 27 additions & 28 deletions docs/1.Installation/4.docker-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,25 +24,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
The easiest way to run Stable Diffusion WebUI is to use the prebuilt image from Docker Hub.

```bash
docker pull hlky/sd-webui:runpod
```
This image has all the necessary models baked in. It is quite large but streamlines the process of managing the various models and simplifies the user experience.

Alternatively you can pull:
```bash
docker pull hlky/sd-webui:latest
docker pull tukirito/sygil-webui:latest
```
This image includes the babrebones environment to run the Web UI. The models will be downloaded during the installation process. You will have to take care of the volume for the `sd/models` directory.


It is recommended that you run the `runpod` version.
You can run the image using the following command:
```bash
docker container run --rm -d -p 8501:8501 -e STREAMLIT_SERVER_HEADLESS=true -e "WEBUI_SCRIPT=webui_streamlit.py" -e "VALIDATE_MODELS=false" -v "${PWD}/outputs:/sd/outputs" --gpus all hlky/sd-webui:runpod
docker container run --rm -d -p 8501:8501 -e STREAMLIT_SERVER_HEADLESS=true -e "WEBUI_SCRIPT=webui_streamlit.py" -e "VALIDATE_MODELS=false" -v "${PWD}/outputs:/sd/outputs" --gpus all tukirito/sygil-webui:latest
```

> Note: if you are running it on runpod it only supports one volume mount which is used for your outputs.

> Note: if you are running it on your local machine the output directory will be created in the current directory from where you run this command.

## Building the image
Expand Down Expand Up @@ -90,31 +81,34 @@ in your `.profile` or through a tool like `direnv`
## First-Time Startup Instructions

### Clone Repository

* Clone this repository to your host machine:
* `git clone https://github.com/Sygil-Dev/sygil-webui.git`
* `git clone https://github.com/Sygil-Dev/sygil-webui.git`
* If you plan to use Docker Compose to run the image in a container (most users), create an `.env_docker` file using the example file:
* `cp .env_docker.example .env_docker`
* Edit `.env_docker` using the text editor of your choice.
* Ensure `VALIDATE_MODELS` is set to `true`
> Options available in `.env_docker` allow you to control automatic model file checking/download during startup, and to select the Stable Diffusion WebUI implementation to run (Gradio vs Streamlit). You may the set `VALIDATE_MODELS` option to `false` after the initial run (once models are downloaded) to speed up startup time.

* `cp .env_docker.example .env_docker`
* Edit `.env_docker` using the text editor of your choice.
* Ensure `VALIDATE_MODELS` is set to `true`
> Options available in `.env_docker` allow you to control automatic model file checking/download during startup, and to select the Stable Diffusion WebUI implementation to run (Gradio vs Streamlit). You may the set `VALIDATE_MODELS` option to `false` after the initial run (once models are downloaded) to speed up startup time.

### Create a Container Instance Using Docker Compose

The default `docker-compose.yml` file will create a Docker container instance named `sd-webui`

* Create an instance of the Stable Diffusion WebUI image as a Docker container:
* `docker compose up`
* `docker compose up`
* During the first run, the container image will be build containing all of the dependencies necessary to run Stable Diffusion. This build process will take several minutes to complete
* After the image build has completed, you will have a docker image for running the Stable Diffusion WebUI tagged `sygil-webui:dev`
* After the image build has completed, you will have a docker image for running the Stable Diffusion WebUI tagged `sygil-webui:dev`

(Optional) Daemon mode:

* You can start the container in "daemon" mode by applying the `-d` option: `docker compose up -d`. This will run the server in the background so you can close your console window without losing your work.
* When running in daemon mode, you can view logging output from your container by running `docker logs sd-webui`

> Note: Depending on your version of Docker/Docker Compose installed, the command may be `docker-compose` (older versions) or `docker compose` (newer versions)


### Accessing your Stable Diffusion WebUI Instance

The container may take several minutes to start up if model weights/checkpoints need to be downloaded. You can view progress via `docker compose ps` to see the current status or by checking the logs using `docker compose logs`.

Depending on the WebUI implementation you selected in `.env_docker`, you can access the WebUI at the following URLs:
Expand All @@ -124,49 +118,54 @@ Depending on the WebUI implementation you selected in `.env_docker`, you can acc

You can expose and access your WebUI to/from remote hosts by the machine's IP address:
(note: This generally does not apply to Windows/WSL2 users due to WSL's implementation)

* Gradio: http://\<host-ip-address\>:7860
* Streamlit: http://\<host-ip-address\>:8501


### Where is ___ stored?

By default, model weights/checkpoint files will be stored at the following path:

* `./model_cache/`

Output files generated by Stable Diffusion will be stored at the following path:

* `./output/`

The above paths will be accessible directly from your Docker container's host.


### Shutting down your Docker container

You can stop your Docker container by pressing the `CTRL+C` key combination in the terminal where the container was started..

If you started the container using `docker compose`, you can stop the container with the command:

* `docker compose down`

Using the default configuration, your Stable Diffusion output, cached model weights/files, etc will persist between Docker container starts.

---

## Resetting your Docker environment

Should you need to do so, the included `docker-reset.sh` script will remove all docker images, stopped containers, and cached model weights/checkpoints.

You will need to re-download all associated model files/weights used by Stable Diffusion WebUI, which total to several gigabytes of data. This will occur automatically upon the next startup.


## Misc Related How-to

* You can obtain shell access to a running Stable Diffusion WebUI container started with Docker Compose with either of the following commands:
* `docker exec -it st-webui /bin/bash`
* `docker compose exec stable-diffusion bash`
* `docker exec -it st-webui /bin/bash`
* `docker compose exec stable-diffusion bash`
* To start a container using the Stable Diffusion WebUI Docker image without Docker Compose, you can do so with the following command:
* `docker run --rm -it --entrypoint /bin/bash sygil-webui:dev`
* `docker run --rm -it --entrypoint /bin/bash sygil-webui:dev`
* To start a container, with mapped ports, GPU resource access, and a local directory bound as a container volume, you can do so with the following command:
* `docker run --rm -it -p 8501:8501 -p 7860:7860 --gpus all -v $(pwd):/sd --entrypoint /bin/bash sygil-webui:dev`
* `docker run --rm -it -p 8501:8501 -p 7860:7860 --gpus all -v $(pwd):/sd --entrypoint /bin/bash sygil-webui:dev`

---

## Dockerfile Implementation Notes

Compared to base Stable Diffusion distribution, Conda-based package management was removed.

The Pytorch base image with Nvidia CUDA support is used as the base Docker image to simplify dependencies.
Expand All @@ -185,4 +184,4 @@ Python package dependencies have been version-pinned where possible.
### Other Notes

* The `root_profile` Docker Volume
* The `huggingface/transformers` package will download files to a cache located at `/root/.cache/huggingface/transformers` totalling nearly ~1.6 GB
* The `huggingface/transformers` package will download files to a cache located at `/root/.cache/huggingface/transformers` totalling nearly ~1.6 GB