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

Helpers + Streamlit refactor #102

Open
wants to merge 57 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 45 commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
45feb6c
Use wrapper correctly in refiner helper
palp Aug 2, 2023
853adb4
Add defaults to refiner function
palp Aug 3, 2023
73287ec
Extract method for img2img wrapper
palp Aug 3, 2023
44943df
Allow loading custom models and improve path logic
palp Aug 3, 2023
baf79d2
black
palp Aug 4, 2023
4e2236f
Fix path logic for development installs
palp Aug 4, 2023
19fa4da
run black again
palp Aug 4, 2023
84d3a7f
fix fallback logic for config path
palp Aug 4, 2023
4aea6fa
Fix checkpoint loading too
palp Aug 4, 2023
77d0e27
format
palp Aug 4, 2023
b216934
align with streamlit helpers and re-de-deuplicate
palp Aug 6, 2023
f06c67c
formatting, remove reference
palp Aug 6, 2023
ea5f232
move conditioner to device
palp Aug 6, 2023
0c2c5c6
fix device check
palp Aug 6, 2023
451c76a
format
palp Aug 6, 2023
f2fba1d
fix noisy latent handling
palp Aug 6, 2023
8f8757b
version bump for changes to inference helpers
palp Aug 6, 2023
76ca428
fix path resolution bug
palp Aug 6, 2023
ced97f0
update defaults
palp Aug 6, 2023
6c18c84
rename ModelOnDevice to SwapToDevice
palp Aug 6, 2023
49fe53c
use env var for sgm checkpoints path
palp Aug 7, 2023
7e7fee3
system env var
palp Aug 7, 2023
c4b7baf
Streamlit refactor (#105)
palp Aug 7, 2023
a726ce3
replace usage of get
palp Aug 9, 2023
f86ffac
context manager
palp Aug 9, 2023
a009aa8
adding some typing
palp Aug 9, 2023
725bea9
pull in import fix
palp Aug 9, 2023
d245e20
more types
palp Aug 9, 2023
b51c36b
extract path resolution method, fix/improve device swapping support
palp Aug 10, 2023
8011d54
some PR fixes
palp Aug 10, 2023
fc498bf
remove duplicate imports
palp Aug 10, 2023
e190ecc
path helper & model swapping rewrite
palp Aug 10, 2023
47805f2
finish device manager refactor
palp Aug 10, 2023
9b18e6f
update api module
palp Aug 10, 2023
de7a627
more fixes and cleanup
palp Aug 10, 2023
3e7ada7
fix autocast
palp Aug 10, 2023
26b10f5
fix missing index
palp Aug 10, 2023
a25662e
low vram checkbox fix, remove magic strings
palp Aug 10, 2023
b3866d1
move checkbox out of cached resource
palp Aug 10, 2023
8839526
update helpers
palp Aug 10, 2023
3816aaa
simplify device_manager usage
palp Aug 10, 2023
2aebc88
split fp16 and swapping functionality
palp Aug 10, 2023
5c17043
change default
palp Aug 10, 2023
cd81956
text updates
palp Aug 10, 2023
d6f2b78
pass options into state2 init
palp Aug 10, 2023
fe46320
fix for orig dimensions
palp Aug 11, 2023
d4307be
Test model device manager and fix bugs
palp Aug 12, 2023
98c4b77
cleanup imports in test
palp Aug 12, 2023
f670453
abstract device defaults
palp Aug 12, 2023
c065573
fix streamlit inputs
palp Aug 12, 2023
fbe93fc
PR fixes, model specific defaults
palp Aug 12, 2023
5fde7e7
set a default scale
palp Aug 12, 2023
65c6ec1
run black
palp Aug 12, 2023
e32972b
remove extra init
palp Aug 12, 2023
2fc4680
Easier default params
palp Aug 12, 2023
e289621
fix reference
palp Aug 12, 2023
7ef5489
Merge branch 'main' into helpers-fixes
palp Aug 17, 2023
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
2 changes: 1 addition & 1 deletion .github/workflows/test-inference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: "Symlink checkpoints"
run: ln -s ${{vars.SGM_CHECKPOINTS_PATH}} checkpoints
run: ln -s $SGM_CHECKPOINTS checkpoints
- name: "Setup python"
uses: actions/setup-python@v4
with:
Expand Down
Loading
Loading