Bryce
f8130f8e1c
wip: use uv more fully
...
waiting for https://github.com/astral-sh/uv/issues/2744
2024-04-01 20:14:53 -07:00
Bryce
9cdacd454f
style: use latest ruff
2024-03-15 11:32:24 -07:00
Bryce
807c976da3
build: remove imageio dependency
2024-01-06 17:23:27 -08:00
Bryce
5bbb09f69e
build: vendorize facexlib
...
had too many unused sub-dependencies
also monkeypatch the download mechanism to use our standard download function
2024-01-06 17:23:27 -08:00
jaydrennan
89bc1a9f1c
docs: adds docs tool, material for mkdocs, along with more fleshed ou… ( #428 )
...
* docs: adds docs tool, material for mkdocs, along with more fleshed out docstrings.
this includes ability to serve up a local docs website.
---------
Co-authored-by: Bryce <github20210803@accounts.brycedrennan.com>
2024-01-04 22:36:30 -07:00
Bryce Drennan
0271bffa38
build: remove fairscale dependency ( #441 )
2024-01-03 21:06:14 -08:00
Bryce
7ea4cba5d3
fix: add missing dependency. add package smoketest
2024-01-03 20:07:26 -08:00
Bryce
55e27160f5
build: vendorize refiners
...
so we can still work in conda envs
2024-01-02 22:02:31 -08:00
Bryce
5b3b04b877
build: remove pytorch lightning dependency
2024-01-02 20:51:05 -08:00
jaydrennan
7eef3bf628
feature: replaces black formatter with ruff formatter
2023-12-27 17:08:01 -08:00
jaydrennan
41a9d7007b
test: adds tests for stablestudio ( #415 )
2023-12-16 12:00:03 -08:00
Bryce
eae4f20ae2
ci: add type checker
...
fix some typehint issues
2023-12-12 20:54:39 -08:00
Bryce
24f4af3482
feature: better torch installation experience
2023-12-05 21:46:55 -08:00
Bryce
b61d06651c
tests: fix tests
...
- disable details mode. needs more work done to support
2023-12-03 09:13:01 -08:00
Bryce
f97f6a3b4b
feature: use refiners library for generation
...
BREAKING CHANGE
- stable diffusion 1.5 + inpainting working
- self-attention guidance working. improves image generation quality
- tile-mode working
- inpainting self-attention guidance working
disable/broken features:
- sd 1.4, 2.0, 2.1
- most of the samplers
- pix2pix edit
- most of the controlnets
- memory management
- python 3.8 support
wip
2023-11-22 13:22:00 -08:00
Bryce
703fb6e331
ci: faster pip install in github actions
2023-09-29 23:01:50 -07:00
Bryce
558d3388e5
style: speed up linting and autoformatting. fix lints
2023-09-29 23:01:50 -07:00
Bryce
8243ed616d
fix: pydantic models for http server working now. Fixes #380
2023-09-29 00:40:46 -07:00
Bryce
7c2004bfcc
feature/fix: migrate to pydantic 2.3
...
- test: add schema tests/fuzzer and fixes
- fix default prompt. add tests
- fix outpaint and controlnet defaults
- fix init image strength defaults
2023-09-16 23:09:18 -07:00
Bryce
1354cb9ed1
build: add minimum package requirements
...
Should speed up dependency resolution.
2023-09-09 14:26:23 -07:00
Bryce
360546b779
fix: limit pydantic to <2.0 until we fix compatibility issues
...
also limit scipy to <1.11 doesn't support python 3.8
2023-09-09 14:26:23 -07:00
Bryce
14739bc90b
feature: api server (alpha)
...
`aimg run-api-server`
Proof of concept for now
2023-05-20 17:29:06 -07:00
Bryce
d5a276584b
fix: move normal map code inline
...
Fixes conda package. Fixes #317
2023-05-06 13:01:50 -07:00
Bryce
832adf27bc
feature: update controlnets to 1.1
...
- smaller filesizes for the controlnet weights
- fix: works with other 1.5 based models
- enables more control modes getting added
2023-05-04 19:48:27 -07:00
Bryce
95d3d08d27
fix: better input image path handling
...
throw exception for non-existent images
2023-04-14 00:22:43 -07:00
Bryce
37d6642c83
fix: fix model downloads that were broken
...
by [library change in transformers 4.27.0](8f3b4a1d5b
)
2023-03-18 13:49:11 -07:00
Bryce
54c3ad51d6
feature: controlnet
2023-02-22 23:38:47 -08:00
Bryce
76d40560ef
style: lintfix
2023-02-05 12:41:54 -05:00
Bryce
1c986d8644
fix: use py3.7 compat lru_cache
...
- disable lint fixer that updates to newer syntax
2023-01-22 18:24:57 -08:00
Bryce
4bc78b9be5
build: vendorize realesrgan
...
Removes lots of dependencies including problematic `grpcio` and `tb-nightly`
2023-01-08 22:20:22 -08:00
Bryce
35ac8d64d7
build: vendorize parts of basicsr
...
Trying to get rid of tb-nightly dependency and any other unnecessary dependencies.
2023-01-08 22:20:22 -08:00
Bryce
e9a3e1a99b
build: unpin dependencies
2023-01-08 22:20:22 -08:00
Bryce
eb40842078
test: more flexible embedding test
2023-01-02 14:11:36 -08:00
Bryce
1381c7fed4
lint: new ruff linter
2023-01-02 14:11:36 -08:00
Bryce
58c2897dd1
refactor: fix lint issues
2022-11-25 14:39:20 -08:00
Bryce
b8a88370de
fix: lower memory reqs for attention on M1s
2022-11-13 13:40:37 -08:00
Bryce
741a433c56
feature: update k_diffusion. add dpm_fast and dpm_addaptive samplers
2022-10-16 22:10:54 -07:00
Bryce
dcf953383e
tests: support distributed test runs
...
- switch to expected images instead of hashes. allow fuzzy matches
feature: more consistent seeds
2022-10-16 20:22:16 -07:00
Bryce
db5ebe9095
tests: tests can run without any network calls
2022-10-11 01:06:24 -05:00
Bryce
b69b4c770e
feature: interactive prompt
...
- add quiet flag
- add mask-modify-original flag
2022-09-24 23:31:03 -07:00
Bryce
cdfeaa4c6f
tests: add docker image for testing environment. minor test improvements
2022-09-21 22:38:44 -07:00
Bryce
4705d182d5
feature: generate captions for images
...
- add wip functionality for negative masks
- ci: add code linter that removes unused imports
- add instructions to install rust on osx
2022-09-19 21:19:22 -07:00
Bryce
af3dc6bacd
fix: restrict usage of difficult protobuf versions
2022-09-16 08:18:50 -07:00
Bryce
b4a3b8c2b3
feature: k-diffusion samplers
...
- improved image logging functionality. can just stick log_latent wherever you want
- improved some variable naming
- moved all the samplers together
- vendored k-diffusion library
2022-09-14 00:40:25 -07:00
Bryce
541ecb9701
feature: face enhancement and upscaling!!
2022-09-13 00:27:53 -07:00
Bryce
14a06e160d
build: vendor clip
...
it's not on pypi
https://github.com/openai/CLIP/issues/141
2022-09-11 22:22:43 -07:00
Bryce
84a73cb5a2
feature: (wip) better image to image
...
I tried it with the DDIM sampler and it didn't work.
Probably need to use the k-diffusion sampler with it
from a846393251/find_noise.py
needs https://github.com/crowsonkb/k-diffusion
2022-09-11 18:00:40 -07:00
Bryce
043373ef17
ci: add linter, import sorting
2022-09-11 13:57:36 -07:00