Commit Graph

20 Commits

Author SHA1 Message Date
Stephan Auerhahn
d245e2002f more types 2023-08-09 13:46:06 -07:00
Stephan Auerhahn
a009aa8a9f adding some typing 2023-08-09 13:27:30 -07:00
Stephan Auerhahn
c4b7baf896 Streamlit refactor (#105)
* initial streamlit refactoring pass

* cleanup and fixes

* fix refiner strength

* Modify params correctly

* fix exception
2023-08-06 19:58:52 -07:00
Stephan Auerhahn
ced97f0e84 update defaults 2023-08-06 23:24:14 +00:00
Stephan Auerhahn
76ca428422 fix path resolution bug 2023-08-06 21:39:18 +00:00
Stephan Auerhahn
f2fba1dfa2 fix noisy latent handling 2023-08-06 21:08:19 +00:00
Stephan Auerhahn
f06c67c206 formatting, remove reference 2023-08-06 11:30:40 +00:00
Stephan Auerhahn
b216934b7e align with streamlit helpers and re-de-deuplicate 2023-08-06 11:20:22 +00:00
Stephan Auerhahn
77d0e27747 format 2023-08-03 17:57:55 -07:00
Stephan Auerhahn
4aea6fa2a4 Fix checkpoint loading too 2023-08-03 17:56:24 -07:00
Stephan Auerhahn
84d3a7f6f5 fix fallback logic for config path 2023-08-03 17:50:10 -07:00
Stephan Auerhahn
19fa4da3de run black again 2023-08-04 00:16:29 +00:00
Stephan Auerhahn
4e2236f67d Fix path logic for development installs 2023-08-04 00:15:22 +00:00
Stephan Auerhahn
baf79d2d79 black 2023-08-04 00:00:51 +00:00
Stephan Auerhahn
44943df4f2 Allow loading custom models and improve path logic 2023-08-03 23:59:42 +00:00
Stephan Auerhahn
73287ec3a3 Extract method for img2img wrapper 2023-08-03 23:42:11 +00:00
Stephan Auerhahn
853adb4022 Add defaults to refiner function 2023-08-03 12:50:23 -07:00
Stephan Auerhahn
45feb6cb9c Use wrapper correctly in refiner helper 2023-08-02 23:14:30 +00:00
Stephan Auerhahn
299abbcd90 Use final v1 filename (#67) 2023-07-26 19:53:19 +02:00
Stephan Auerhahn
931d7a389a Add inference helpers & tests (#57)
* Add inference helpers & tests

* Support testing with hatch

* fixes to hatch script

* add inference test action

* change workflow trigger

* widen trigger to test

* revert changes to workflow triggers

* Install local python in action

* Trigger on push again

* fix python version

* add CODEOWNERS and change triggers

* Report tests results

* update action versions

* format

* Fix typo and add refiner helper

* use a shared path loaded from a secret for checkpoints source

* typo fix

* Use device from input and remove duplicated code

* PR feedback

* fix call to load_model_from_config

* Move model to gpu

* Refactor helpers

* cleanup

* test refiner, prep for 1.0, align with metadata

* fix paths on second load

* deduplicate streamlit code

* filenames

* fixes

* add pydantic to requirements

* fix usage of `msg` in demo script

* remove double text

* run black

* fix streamlit sampling when returning latents

* extract function for streamlit output

* another fix for streamlit outputs

* fix img2img in streamlit

* Make fp16 optional and fix device param

* PR feedback

* fix dict cast for dataclass

* run black, update ci script

* cache pip dependencies on hosted runners, remove extra runs

* install package in ci env

* fix cache path

* PR cleanup

* one more cleanup

* don't cache, it filled up
2023-07-26 04:37:24 -07:00