A microframework on top of PyTorch with first-class citizen APIs for foundation model adaptation https://refine.rs/
Find a file
Pierre Chapuis a51d695523
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
MultiUpscaler: improve resizing logic
- 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
.github/workflows add comfyui registry github action 2024-09-05 12:05:55 +02:00
assets README: upgrade hello world 2023-10-20 18:28:31 +02:00
docs ella: refresh README and mkdocs 2024-09-04 14:03:12 +02:00
notebooks deprecate outdated notebooks/basics.ipynb 2024-02-02 14:12:59 +01:00
scripts ella adapter implementation. tested with sd1.5 model 2024-09-04 11:38:22 +02:00
src MultiUpscaler: improve resizing logic 2024-09-06 18:23:42 +02:00
tests add karras sigmas to dpm solver 2024-09-06 15:30:02 +02:00
typings/gdown Add Multi-View Aggregation Network (MVANet) 2024-08-26 13:59:02 +02:00
.gitignore add DINOv2-FD metric 2024-04-03 16:45:00 +02:00
CONTRIBUTING.md refactor dinov2 tests, check against official implementation 2024-04-02 10:02:43 +02:00
LICENSE Update LICENSE 2024-02-02 14:08:09 +01:00
mkdocs.yml write Training 101 guide 2024-02-26 14:44:02 +01:00
pyproject.toml add comfyui custom nodes 2024-09-05 12:05:55 +02:00
README.md add comfyui registry badge 2024-09-05 12:05:55 +02:00
requirements.docs.txt make requirements.docs.txt follow the [doc] optional deps from pyproject.toml 2024-08-23 13:44:32 +02:00
requirements.lock add box segmenter solution 2024-08-30 09:26:53 +02:00

Finegrain Refiners Library

The simplest way to train and run adapters on top of foundation models

Manifesto | Docs | Guides | Discussions | Discord


dependencies - Rye linting - Ruff packaging - Hatch PyPI - Python Version PyPI - Status license
code bounties Discord HuggingFace - Refiners HuggingFace - Finegrain ComfyUI Registry

Latest News 🔥

Installation

The current recommended way to install Refiners is from source using Rye:

git clone "git@github.com:finegrain-ai/refiners.git"
cd refiners
rye sync --all-features

Documentation

Refiners comes with a MkDocs-based documentation website available at https://refine.rs. You will find there a quick start guide, a description of the key concepts, as well as in-depth foundation model adaptation guides.

Awesome Adaptation Papers

If you're interested in understanding the diversity of use cases for foundation model adaptation (potentially beyond the specific adapters supported by Refiners), we suggest you take a look at these outstanding papers:

Projects using Refiners

Credits

We took inspiration from these great projects:

Citation

@misc{the-finegrain-team-2023-refiners,
  author = {Benjamin Trom and Pierre Chapuis and Cédric Deltheil},
  title = {Refiners: The simplest way to train and run adapters on top of foundation models},
  year = {2023},
  publisher = {GitHub},
  journal = {GitHub repository},
  howpublished = {\url{https://github.com/finegrain-ai/refiners}}
}