Commit graph

683 commits

Author SHA1 Message Date
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
Pierre Chapuis 58c1cc7cd4 fix missing docs in SAM 2024-08-26 12:01:36 +02:00
Laurent dd6423bb7b make requirements.docs.txt follow the [doc] optional deps from pyproject.toml
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-23 13:44:32 +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 45143e2851 add IC-Light bullet point in Latest News
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-12 12:09:23 +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
limiteinductive 1de567590b fix typing issues coming from torch 2.4 version ; typing is not guaranteed for torch < 2.4 2024-08-02 12:02:00 +02:00
Laurent 10fba3467a Update README.md
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
Include a link to the enhancer huggingface space
2024-07-24 12:55:24 +02:00
limiteinductive 09a9dfd494 Add stochastic sampling to DPM solver (SDE)
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-07-23 11:13:12 +02:00
Pierre Chapuis daee77298d improve FrankenSolver
It now takes a Scheduler factory instead of a Scheduler.
This lets the user potentially recreate the Scheduler on `rebuild`.

It also properly sets the device and dtype on rebuild,
and it has better typing.
2024-07-19 16:46:52 +02:00
Pierre Chapuis 299217f45a bump pillow and pyright 2024-07-17 19:22:16 +02:00
Laurent 3b4924d46b update latest news 2024-07-16 21:27:53 +02:00
Laurent 88325c3bbc multi-upscaler: specify map_location when loading negative embedding 2024-07-12 18:49:25 +02:00
Laurent af1b302e78 add refiners.foundationals.latent_diffusion.multi_diffusion to mkdocstrings 2024-07-11 15:23:02 +02:00
Laurent 6ddd5435b8 fix broken dtypes in tiled auto encoders 2024-07-11 15:23:02 +02:00
Laurent f44ae150a7 improve/add MultiDiffusion and MultiUpscaler e2e tests
Co-authored-by: limiteinductive <benjamin@lagon.tech>
Co-authored-by: Cédric Deltheil <355031+deltheil@users.noreply.github.com>
2024-07-11 15:23:02 +02:00
Laurent f3b5c8d3e1 create SD1.5 MultiUpscaler pipeline
Co-authored-by: limiteinductive <benjamin@lagon.tech>
Co-authored-by: Cédric Deltheil <355031+deltheil@users.noreply.github.com>
2024-07-11 15:23:02 +02:00
Laurent 66cd0d57a1 improve MultiDiffusion pipelines
Co-authored-by: limiteinductive <benjamin@lagon.tech>
Co-authored-by: Cédric Deltheil <355031+deltheil@users.noreply.github.com>
2024-07-11 15:23:02 +02:00
Pierre Chapuis b4db08de24 use "solver" (not scheduler) wording in tests 2024-07-10 19:31:34 +02:00
Pierre Chapuis 9e8c2a3753 add FrankenSolver
This solver is designed to use Diffusers Schedulers as Refiners Solvers.
2024-07-10 19:31:34 +02:00
Pierre Chapuis e091788b88 bump setup-rye action to v3 2024-06-27 14:11:07 +02:00
Cédric Deltheil 245f51393e auto_encoder: swap x/y names when generating tiles
Cosmetic change
2024-06-26 14:17:28 +02:00
limiteinductive b42881e54e Implement Tiled Autoencoder inference to save VRAM 2024-06-26 11:59:18 +02:00
limiteinductive b16cb7fbb6 Add ControlNet Tile e2e test 2024-06-25 09:27:08 +02:00
Pierre Chapuis 81f77e7fb0 update doc examples test references 2024-06-24 17:19:05 +02:00
Pierre Chapuis 9be3580ab3 avoid OOMs in SAM tests 2024-06-24 17:19:05 +02:00
Pierre Chapuis 91c0fd24d8 ruff: reorder test imports 2024-06-24 17:19:05 +02:00
Pierre Chapuis 5131212bbb update lightning test references 2024-06-24 17:19:05 +02:00
Pierre Chapuis 8366861aed update IP adapter test references 2024-06-24 17:19:05 +02:00
Pierre Chapuis 2ba83f575e switch pytest import mode to importlib
see:
https://docs.pytest.org/en/7.1.x/explanation/goodpractices.html#choosing-an-import-mode
https://docs.pytest.org/en/7.1.x/explanation/pythonpath.html#import-modes

This change fixes the SAM tests.
2024-06-24 17:19:05 +02:00
Pierre Chapuis 2c6dec15f0 update all deps in lockfile 2024-06-24 17:19:05 +02:00
limiteinductive 15ccdb38f3 Add scale_decay parameter for SD1 ControlNet 2024-06-24 13:21:27 +02:00
Pierre Chapuis 567cc9c6d9 update pyright 2024-06-24 11:12:29 +02:00
Pierre Chapuis 98de9d13d3 fix typing problems 2024-06-24 11:12:29 +02:00
Pierre Chapuis d1fc845bc2 generate doc for LatentDiffusionModel 2024-05-29 16:51:58 +02:00
Pierre Chapuis 1886e6456c add a docstring for set_inference_steps
This explains the relation between first_step and strength,
as shown by @holwech here: https://github.com/finegrain-ai/refiners/discussions/374
2024-05-29 16:20:50 +02:00
Cédric Deltheil ddcd84c740 training_utils: export neptune config and mixin
Like W&B. With this, #371 would have broken `test_import_training_utils`.

Follow up of #371 and #372.
2024-05-29 10:29:34 +02:00
Laurent 7dba1c8034 (training_utils) neptune callback pydantic fix 2024-05-28 22:42:28 +02:00
Laurent 3ad7f592db (training_utils) add NeptuneCallback 2024-05-28 16:35:11 +02:00
limiteinductive 3a7f14e4dc Fix clock log order ; fix that the first iteration was skipped 2024-05-21 17:57:14 +02:00
Benjamin Trom cc7b62f090 apply suggestions from code review 2024-05-09 10:53:58 +02:00
limiteinductive 76a6ce8641 update Training 101 2024-05-09 10:53:58 +02:00
limiteinductive 0bec9a855d annotated validators for TimeValue 2024-05-09 10:53:58 +02:00
limiteinductive 22f4f4faf1 DataLoader validation 2024-05-09 10:53:58 +02:00