Commit graph

403 commits

Author SHA1 Message Date
Laurent c5d3d1c657 clean up wandb import, remove deprecated warnings handling 2024-10-15 15:46:44 +02:00
Laurent 241abfafe4 deprecate LatentDiffusionAutoencoder's decode_latents 2024-10-15 15:19:36 +02:00
Laurent d8f77dd880 add sdxl.t2i_adapter.depth.zoe + rework mappings of t2i adapters 2024-10-15 15:17:16 +02:00
Laurent 9b19272d75 check conversion deps are installed when using refiners.conversion 2024-10-15 10:51:45 +02:00
Laurent d322e9c5ed add new weight conversion logic 2024-10-14 15:12:59 +02:00
Laurent 189cfa1a69 delete old conversion scripts 2024-10-14 15:12:59 +02:00
Pierre Chapuis 2796117d2d properly check for bfloat16
- we check only the test device, not the machine in general
- we don't want emulated bfloat16 (e.g. CPU)
2024-10-09 11:20:27 +02:00
Laurent 16714e6745 gradute comfyui-refiners get_dtype to refiners 2024-10-03 11:05:09 +02:00
Pierre Chapuis ae5ef4f14c make sure adapters can access the context of their parent chain
https://github.com/finegrain-ai/refiners/issues/456
2024-10-03 10:51:11 +02:00
TyrianOtter 590648ebca fix CLIPTokenizer skipping underscores 2024-10-03 09:38:49 +02:00
Laurent 18ef5684c0 add missing remove_noise method from the DPMSolver class 2024-10-01 11:09:57 +02:00
TyrianOtter 8352821984
fix DPMSolver.__call__ docs calling it deterministic (#452)
Co-authored-by: Cédric Deltheil <355031+deltheil@users.noreply.github.com>
2024-09-30 10:20:29 +02:00
Laurent 07fc6193ed rework compute_clip_image_embedding overloads + improve docstring 2024-09-27 12:25:45 +02:00
Laurent 5a92285104 add torch.Generator to MultiUpscaler.upscale + make MultiUpscaler.diffuse_targets "stateless"
Some checks failed
CI / lint_and_typecheck (push) Has been cancelled
Deploy docs to GitHub Pages / Deploy docs (push) Has been cancelled
Spell checker / Spell check (push) Has been cancelled
2024-09-26 11:31:00 +02:00
Pierre Chapuis 883a2121f2 fix precision of DPM solver in bfloat16 2024-09-26 08:55:07 +02:00
Pierre Chapuis 83b931296f fix DPM-Solver with bfloat16
Some checks are pending
CI / lint_and_typecheck (push) Waiting to run
Deploy docs to GitHub Pages / Deploy docs (push) Waiting to run
Spell checker / Spell check (push) Waiting to run
2024-09-25 14:41:19 +02:00
Laurent 425ed96cad (comfyui-refiners) set lower version constraints for transformers and huggingface-hub dependencies
Some checks failed
CI / lint_and_typecheck (push) Has been cancelled
Publish to Comfy registry / Publish Custom Node to registry (push) Has been cancelled
Deploy docs to GitHub Pages / Deploy docs (push) Has been cancelled
Spell checker / Spell check (push) Has been cancelled
2024-09-20 21:05:35 +02:00
Pierre Chapuis a542337a83 fix typing
Some checks are pending
CI / lint_and_typecheck (push) Waiting to run
Deploy docs to GitHub Pages / Deploy docs (push) Waiting to run
Spell checker / Spell check (push) Waiting to run
see https://github.com/microsoft/pyright/issues/9025
2024-09-19 15:30:11 +02:00
Laurent cf270885a4 Update comfyui-refiners README.md 2024-09-19 14:17:50 +02:00
Pierre Chapuis 336253f26b remove unused argument in WindowSDPA
Some checks failed
CI / lint_and_typecheck (push) Has been cancelled
Deploy docs to GitHub Pages / Deploy docs (push) Has been cancelled
Spell checker / Spell check (push) Has been cancelled
2024-09-12 16:02:13 +02:00
Pierre Chapuis 31b5f80496 simplify implementation of load_from_safetensors 2024-09-12 15:14:14 +02:00
Laurent 4eceda810c export/expose SD1Autoencoder and SDXLAutoencoder + some formatting 2024-09-10 09:16:22 +02:00
Laurent 602c63ce76 add missing device and dtype to SD1UNet's UpBlocks 2024-09-10 09:16:22 +02:00
Laurent c6631c7ca6 implement _add_noise for dpm solver 2024-09-09 17:25:31 +02:00
Laurent 2395e666d5 update gaussian_blur fluxion util, see 45e053b2ae 2024-09-09 17:05:15 +02:00
Pierre Chapuis a51d695523 MultiUpscaler: improve resizing logic
Some checks failed
Spell checker / Spell check (push) Has been cancelled
CI / lint_and_typecheck (push) Has been cancelled
Deploy docs to GitHub Pages / Deploy docs (push) Has been cancelled
- Do not have a parameter to downscale (caller can do it beforehand if they want).
- Do not enforce mod 8 *before* upscale, we need it afterwards only (before SD).
2024-09-06 18:23:42 +02:00
limiteinductive af6c5aecbe add karras sigmas to dpm solver 2024-09-06 15:30:02 +02:00
Kadir Nar 5aef1408d8
Add example code for Stable Diffusion(1.5) (#409)
Some checks are pending
CI / lint_and_typecheck (push) Waiting to run
Deploy docs to GitHub Pages / Deploy docs (push) Waiting to run
Spell checker / Spell check (push) Waiting to run
2024-09-06 09:16:09 +02:00
Laurent cf247a1b20 bump comfyui-refiners version
Some checks failed
CI / lint_and_typecheck (push) Waiting to run
Deploy docs to GitHub Pages / Deploy docs (push) Waiting to run
Spell checker / Spell check (push) Waiting to run
Publish to Comfy registry / Publish Custom Node to registry (push) Has been cancelled
2024-09-05 16:51:05 +02:00
Laurent bdcc0aa264 fix comfyui requirements.txt 2024-09-05 16:51:05 +02:00
Laurent 1cee7c6da3 bump comfyui-refiners version 2024-09-05 15:55:42 +02:00
Laurent c2e255c045 add comfyui requirements.txt 2024-09-05 15:55:42 +02:00
Colle a061f0042d nits: cross-reference the box-segmenter 2024-09-05 14:55:17 +02:00
Laurent 78ec8cf408 add box segmenter comfyui examples workflow 2024-09-05 12:05:55 +02:00
Laurent b67efb26df add comfyui custom nodes 2024-09-05 12:05:55 +02:00
Cédric Deltheil 428c2ddcec ella: refresh README and mkdocs
Some checks are pending
CI / lint_and_typecheck (push) Waiting to run
Deploy docs to GitHub Pages / Deploy docs (push) Waiting to run
Spell checker / Spell check (push) Waiting to run
Follow up of #389
2024-09-04 14:03:12 +02:00
ily-R 277b0fd837 ella adapter implementation. tested with sd1.5 model 2024-09-04 11:38:22 +02:00
Laurent a8efe5eab0 use scm versionning for the package
Some checks failed
CI / lint_and_typecheck (push) Has been cancelled
Deploy docs to GitHub Pages / Deploy docs (push) Has been cancelled
Spell checker / Spell check (push) Has been cancelled
2024-09-02 15:01:08 +02:00
Pierre Chapuis 7ca1774b5f add box segmenter solution
Some checks failed
CI / lint_and_typecheck (push) Has been cancelled
Deploy docs to GitHub Pages / Deploy docs (push) Has been cancelled
Spell checker / Spell check (push) Has been cancelled
2024-08-30 09:26:53 +02:00
Pierre Chapuis c8ff6d95f0 fix deprecation warning
Some checks failed
CI / lint_and_typecheck (push) Has been cancelled
Deploy docs to GitHub Pages / Deploy docs (push) Has been cancelled
Spell checker / Spell check (push) Has been cancelled
2024-08-28 14:31:27 +02:00
Pierre Chapuis e643006887 fix .to for MVANet
Some checks are pending
CI / lint_and_typecheck (push) Waiting to run
Deploy docs to GitHub Pages / Deploy docs (push) Waiting to run
Spell checker / Spell check (push) Waiting to run
2024-08-27 18:41:29 +02:00
Pierre Chapuis 0046d2288f return typing for __init__ 2024-08-27 18:41:29 +02:00
Pierre Chapuis 8aa1d9d91d fix formatting in docs
Some checks failed
CI / lint_and_typecheck (push) Has been cancelled
Deploy docs to GitHub Pages / Deploy docs (push) Has been cancelled
Spell checker / Spell check (push) Has been cancelled
2024-08-26 14:03:40 +02:00
Pierre Chapuis 2fc93cb334 improve comments 2024-08-26 13:59:02 +02:00
Pierre Chapuis 10dfa73a09 Add Multi-View Aggregation Network (MVANet)
Co-authored-by: Pierre Colle <piercus@gmail.com>
2024-08-26 13:59:02 +02:00
Laurent a5d3c2971b update ic_light adapter, bugfix + improve docstrings
Some checks failed
CI / lint_and_typecheck (push) Has been cancelled
Deploy docs to GitHub Pages / Deploy docs (push) Has been cancelled
Spell checker / Spell check (push) Has been cancelled
2024-08-21 14:15:40 +02:00
Laurent 2cb0f06119 remove a couple from torch import ... from the code 2024-08-21 11:08:27 +02:00
limiteinductive 51dcd7772c implement foreground conditioned ic light 2024-08-12 12:09:23 +02:00
Pierre Chapuis 928da1ee1c fix repr when there are non-Fluxion modules in a tree
Some checks failed
CI / lint_and_typecheck (push) Has been cancelled
Deploy docs to GitHub Pages / Deploy docs (push) Has been cancelled
Spell checker / Spell check (push) Has been cancelled
2024-08-08 19:26:56 +02:00
limiteinductive b4ee65b9b1 improve load_from_safetensors typing
Some checks failed
CI / lint_and_typecheck (push) Has been cancelled
Deploy docs to GitHub Pages / Deploy docs (push) Has been cancelled
Spell checker / Spell check (push) Has been cancelled
2024-08-02 15:29:39 +02:00