Commit Graph

176 Commits

Author SHA1 Message Date
filipstrand
3af6bcbfe1 Add ability to save the canny controlnet image early on in the generation
(useful for inspecting if edge detection is as expected)
2024-09-23 20:13:35 +02:00
filipstrand
7b4aab9c1b Move actual image saving logic to ImageUtil 2024-09-23 20:13:35 +02:00
filipstrand
d799a924c4 Light refactor of controlnet class 2024-09-23 20:13:35 +02:00
filipstrand
5737b27164 Save controlnet_image and mflux version in metadata 2024-09-23 20:13:35 +02:00
filipstrand
cda698df8d Move controlnet specific weight handling to separate class 2024-09-23 20:13:35 +02:00
filipstrand
8678102321 Fix controlnet input arg name and group controlnet arguments 2024-09-23 19:18:11 +02:00
filipstrand
56f0c8361d Add TOC and some emojis for the README and new controlnet section 2024-09-23 19:18:11 +02:00
Filip Strand
6c385af53b
Merge pull request #62 from filipstrand/add-ability-to-save-model-with-applied-lora
Add ability to save model with applied LoRA
2024-09-22 11:39:21 +02:00
filipstrand
3ac54a9f42 Add ability to save model with applied LoRA 2024-09-22 11:20:31 +02:00
Filip Strand
9f6b01feed
Merge pull request #61 from anthonywu/qol-followup
quality of life maintenance for ruff/pre-commit
2024-09-22 10:51:40 +02:00
Anthony Wu
8b47492f1b more qol suggestions 2024-09-21 15:03:35 -07:00
Anthony Wu
95f30e6a14 use pre-commit to run linter formatter 2024-09-21 14:47:09 -07:00
Filip Strand
86da9b2e43
Merge pull request #58 from anthonywu/intro-ruff-config
introduce standardized `ruff check` and `ruff format` config
2024-09-21 23:25:57 +02:00
filipstrand
6ef9ceb259 Fix linting issues 2024-09-21 19:59:12 +02:00
filipstrand
fd0add32dd Update ruff setup: 120 character line-length and exclude files 2024-09-21 19:59:12 +02:00
filipstrand
9e6ace4cc3 Apply ruff formating (minor manual modifications to some files which are subsequently excluded) 2024-09-21 19:59:12 +02:00
filipstrand
101711dcd4 Merge remote-tracking branch 'refs/remotes/origin/main' into intro-ruff-config 2024-09-21 19:58:45 +02:00
filipstrand
abd7893612 Fix hidden_states in single_transformer_blocks for controlnet transformer 2024-09-21 14:38:33 +02:00
Filip Strand
a8d4300a86
Merge pull request #57 from anthonywu/intro-makefile
Introduce project makefile for setup and contributor operation
2024-09-21 13:45:11 +02:00
filipstrand
557996049e Add newlines to fix markdown rendering 2024-09-21 10:46:00 +02:00
filipstrand
c170e89977 remove unnecessary imports 2024-09-21 10:39:01 +02:00
Filip Strand
3b3e232365
Merge pull request #55 from anthonywu/easy-import-dx
dev ux: simplify import paths of frequently used items in scripts and demos
2024-09-21 10:36:27 +02:00
filipstrand
5a7157e7e8 Simplify import paths for controlnet file 2024-09-21 10:34:35 +02:00
filipstrand
e007402cfa Merge remote-tracking branch 'refs/remotes/mflux/main' into easy-import-dx 2024-09-21 10:33:36 +02:00
Anthony Wu
cb785e49f1 introduce but not enforce .pre-commit-config.yaml 2024-09-20 19:06:49 -07:00
Anthony Wu
77e5a2ef39 intro ruff config 2024-09-20 10:26:10 -07:00
Anthony Wu
d565807e5b update readme to match 2024-09-20 10:03:21 -07:00
Anthony Wu
7cc2d4174d introduce Makefile with uv recommendation 2024-09-20 10:03:21 -07:00
Filip Strand
3daf4bc7de
Merge pull request #50 from anthonywu/project-setup-recs
`pyproject.toml` to be authoritative source of deps, soft introduce `ruff` linter/formatter
2024-09-20 12:20:50 +02:00
Anthony Wu
c74279d394 pyproject.toml to be authoritative source of deps, soft introduce ruff linter/formatter 2024-09-19 11:20:06 -07:00
Filip Strand
d7fe524c92
Merge pull request #48 from Xuzzo/feature/add_controlnet
Add controlnet
2024-09-17 23:50:34 +02:00
filipstrand
38c747b680 Extract model saving logic to separate class 2024-09-17 07:35:42 +02:00
filipstrand
a30dc4d5cc Rename image.py to generated_image.py 2024-09-17 07:35:42 +02:00
filipstrand
bce18747ff Fix formatting 2024-09-17 07:35:42 +02:00
filipstrand
fc8099e908 Move new controlnet module to its own file 2024-09-17 07:35:42 +02:00
filipstrand
ad6f4ca8af Create util class for controlnet 2024-09-17 07:35:42 +02:00
filipstrand
78bbf3d8fb Fix formatting and some warnings 2024-09-17 07:35:41 +02:00
filipstrand
25e375d45d Small additions and refactoring 2024-09-17 06:35:06 +02:00
Anthony Wu
43618154d3 remove apparently unnecessary import of the src/mflux directory 2024-09-16 15:04:30 -07:00
Anthony Wu
0812d6252c simplify import paths of frequently used items in scripts and demos 2024-09-16 10:27:04 -07:00
Fabio
a2900c3b13 update generated image annotations 2024-09-15 21:54:17 +02:00
Fabio
dee452b3bb fixes from review 2024-09-15 21:37:29 +02:00
Fabio
a04d139ff5 further cleanup 2024-09-14 20:04:08 +02:00
Fabio
ff1086c06f add egg-info to gitignore 2024-09-14 20:02:06 +02:00
Fabio
2a2a3fff63 delete egg-info 2024-09-14 20:01:33 +02:00
Fabio
12a6386fca Merge branch 'main' into feature/add_controlnet 2024-09-14 19:58:51 +02:00
Fabio
369bfc0b53 add cli, controlnet config and tidy up 2024-09-14 19:58:12 +02:00
filipstrand
ca4e3f4c79 v.0.2.1 2024-09-14 14:46:07 +02:00
Fabio
3dba1e38e1 controlnet - first working version 2024-09-14 14:37:30 +02:00
Filip Strand
93e80ea724
Merge pull request #46 from filipstrand/better-lora-support
Better LoRA support
2024-09-13 22:39:23 +02:00