Commit graph

344 commits

Author SHA1 Message Date
Pierre Chapuis 5f474d01f8 update getting started 2024-02-01 17:17:22 +01:00
Pierre Chapuis a4c6975ac8 key concept docs 2024-02-01 17:17:22 +01:00
Colle 4a6146bb6c clip text, lda encode batch inputs
* text_encoder([str1, str2])
* lda decode_latents/encode_image image_to_latent/latent_to_image
* images_to_tensor, tensor_to_images
---------
Co-authored-by: Cédric Deltheil <355031+deltheil@users.noreply.github.com>
2024-02-01 17:05:28 +01:00
Pierre Chapuis 12aa0b23f6 remove stochastic Euler
It was untested and likely doesn't work.
We will re-introduce it later if needed.
2024-02-01 16:17:07 +01:00
Pierre Chapuis 8a2b955bd0 add a test for SDXL + EulerScheduler (deterministic) 2024-02-01 16:17:07 +01:00
Pierre Chapuis 5ac5373310 add a test for SDXL with sliced attention 2024-02-01 16:17:07 +01:00
Pierre Chapuis 3ddd258d36 add a test for noise schedules 2024-02-01 16:17:07 +01:00
Pierre Chapuis df843f5226 test SAG setter 2024-02-01 16:17:07 +01:00
Pierre Chapuis f4ed7254fa test IP adapter scale setter 2024-02-01 16:17:07 +01:00
Pierre Chapuis 8341d3a74b use float16, save memory 2024-02-01 16:17:07 +01:00
Pierre Chapuis d185711bc5 add tests based on repr for inject / eject 2024-02-01 16:17:07 +01:00
Pierre Chapuis 0e77ef1720 add inject / eject test for concept extender (+ better errors) 2024-02-01 16:17:07 +01:00
Pierre Chapuis 93270ec2d7 add inject / eject test for t2i adapter 2024-02-01 16:17:07 +01:00
Pierre Chapuis f43a530254 add extra tests for Chain 2024-02-01 16:17:07 +01:00
Pierre Chapuis bca50b71f2 test (and fix) basic_attributes 2024-02-01 16:17:07 +01:00
Pierre Chapuis bba478abf2 create test_module 2024-02-01 16:17:07 +01:00
Pierre Chapuis be961af4d9 remove Chain.__add__ 2024-02-01 16:17:07 +01:00
Pierre Chapuis 07954a55ab remove unused Conv1d 2024-02-01 16:17:07 +01:00
Pierre Chapuis 86867e9318 remove unused class CrossAttention in SAM 2024-02-01 16:17:07 +01:00
Pierre Chapuis a1ad317b00 remove Buffer 2024-02-01 16:17:07 +01:00
Pierre Chapuis e6be1394ff remove unused Chunk and Unbind layers 2024-02-01 16:17:07 +01:00
Pierre Chapuis c57f2228f8 remove unused helper (since LoRA refactoring) 2024-02-01 16:17:07 +01:00
Pierre Chapuis ae19892d1d remove unused ViT variations 2024-02-01 16:17:07 +01:00
Pierre Chapuis 849c0058df remove unused dunder methods on ContextProvider 2024-02-01 16:17:07 +01:00
Cédric Deltheil aa87c303be docs: add missing CNAME
Was set part of the workflow before #230
2024-02-01 16:09:51 +01:00
Cédric Deltheil 5984e8a4f1 docs.yml: fix changes from #230
i.e.  every step must define a `uses` or `run` key
2024-02-01 15:57:29 +01:00
Cédric Deltheil 3a9cd95615 docs.yml: revamp workflow
Adapted from the Material for MkDocs template[1]. The former workflow
was using mkdocs-deploy-gh-pages[2] which runs in an Alpine-based Docker
container preventing from installing PyTorch (needed for mkdocstrings).

[1]:
https://squidfunk.github.io/mkdocs-material/publishing-your-site/#with-github-actions
[2]:
https://github.com/mhausenblas/mkdocs-deploy-gh-pages
2024-02-01 15:45:45 +01:00
Cédric Deltheil df45b926aa requirements.docs.txt: add refiners[training]
Since mkdocstrings must access it.
2024-02-01 12:32:05 +01:00
Laurent 9308612f46 add mkdocs-literate-nav in requirements.docs.txt 2024-02-01 11:48:32 +01:00
Laureηt 17fda69e1a fix typo in docs/reference/SUMMARY.md
Co-authored-by: Cédric Deltheil <355031+deltheil@users.noreply.github.com>
2024-02-01 11:48:32 +01:00
Laurent 099510d6c0 configure and initialize mkdocstrings 2024-02-01 11:48:32 +01:00
Cédric Deltheil b94706ff79 ci.yml: specify including paths 2024-02-01 11:20:07 +01:00
Pierre Chapuis ab63a01582 new docs scaffold 2024-01-31 18:23:43 +01:00
limiteinductive abe50076a4 add NoiseSchedule to solvers __init__ + simplify some import pathing
further improve import pathing
2024-01-31 17:03:52 +01:00
limiteinductive 73f6ccfc98 make Scheduler a fl.Module + Change name Scheduler -> Solver 2024-01-31 17:03:52 +01:00
Cédric Deltheil 07cb2ff21c gh-pages: update CUSTOM_DOMAIN env variable
docs.refine.rs -> refine.rs
2024-01-31 16:10:43 +01:00
Laurent e6f5a031d9 add plugins, markdown_extensions, theme.features settings in mkdocs.yml 2024-01-31 15:41:19 +01:00
Pierre Chapuis b2c26ab51c drop scipy dependency (now in bitsandbytes) 2024-01-31 15:03:06 +01:00
Pierre Chapuis 7eb8eb4c68 add support for pytorch 2.2 (2.1 is still supported)
also bump all dev dependencies to their latest version
2024-01-31 15:03:06 +01:00
Cédric Deltheil 45357c5548 mkdocs.yml: add mkdocstrings to plugins 2024-01-31 14:27:47 +01:00
Cédric Deltheil 146a1fae2a add mkdocstrings as dev dependency
Via:

    rye add --dev "mkdocstrings[python]"

Also added to requirements.docs.txt for GH Pages.
2024-01-31 14:27:47 +01:00
Cédric Deltheil 5634e68fde add end-to-end test for multi-ip adapter 2024-01-31 11:03:49 +01:00
Cédric Deltheil ca5c5a7ca5 add helper for multiple image prompts 2024-01-31 11:03:49 +01:00
Cédric Deltheil fd01ba910e fix minor typos in code and docs 2024-01-30 09:52:40 +01:00
Cédric Deltheil feff4c78ae segment-anything: fix class name typo
Note: weights are impacted
2024-01-30 09:52:40 +01:00
Cédric Deltheil 64b52b407f mkdocs.yml: fix typo 2024-01-30 09:52:40 +01:00
Pierre Chapuis 1eb5c779de better coverage config
- exclude e.g. tests
- include files not imported at all
- exclude some common patterns (see https://coverage.readthedocs.io/en/7.4.1/excluding.html#excluding-source-files)
2024-01-29 22:32:16 +01:00
Pierre Chapuis 19bc081658 call GC between each e2e test to avoid OOM 2024-01-29 17:57:40 +01:00
Cédric Deltheil 5a8389ee0d pyproject.toml: formatting 2024-01-29 15:10:06 +01:00
Cédric Deltheil cd64bb29e6 add rye scripts for code coverage 2024-01-29 15:10:06 +01:00