Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Refiners Theme and basic nav to documentation #170

Merged
merged 5 commits into from
Jan 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added docs/assets/dropy_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/contributing/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
WIP
File renamed without changes.
1 change: 1 addition & 0 deletions docs/fluxion/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
WIP
43 changes: 43 additions & 0 deletions docs/getting_started.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Getting Started

Refiners is a micro framework on top of PyTorch with first class citizen APIs for foundation model adaptation.


## Installation

Refiners requires Python 3.10 or later, its main dependency is PyTorch.

### with git

To get the latest version of the code, clone the repository:

```bash
git clone https://github.com/finegrain-ai/refiners.git
```

Then install the package using pip:

```bash
cd refiners
pip install .
```


### with pip

Refiners is available on PyPI and can be installed using pip:

```bash
pip install refiners
```

## Run foundational models and adapters

If you want to understand how to use Refiners with existing foundational models, please refer to the specific [Models](models/index.md) page.

- [Stable Diffusion](/models/stable_diffusion)
- [Segment Anything](/models/segment_anything)

## Write new foundational models and adapters

To understand how to write new adapters or models with Refiners, please have a look at the [Fluxion](fluxion/index.md) documentation.
3 changes: 3 additions & 0 deletions docs/models/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Foundational Models

WIP
3 changes: 3 additions & 0 deletions docs/models/latent_diffusion.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Latent Diffusion

WIP
3 changes: 3 additions & 0 deletions docs/models/segment_anything.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Segment Anything

WIP
9 changes: 9 additions & 0 deletions docs/training_utils/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Training Utils

Very minimalistic training utilities for PyTorch, its main purpose is to provide a simple way to abstract the training loop
and its configuration. It is meant to be used with Refiners, but it can be used with any PyTorch model.

## Quickstart

WIP

Empty file added docs/training_utils/trainer.md
Empty file.
50 changes: 49 additions & 1 deletion mkdocs.yml
deltheil marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -1,4 +1,52 @@
site_name: Refiners

site_decription: A micro framework on top of PyTorch with first class citizen APIs for foundation model adaptation
repo_name: Refiners
repo_url: https://github.com/finegrain-ai/refiners
edit_uri: edit/main/docs/
copyright: © Lagon Technologies
theme:
favicon: assets/favicon.png
name: material
palette:
primary: deep orange
accent: deep orange
features:
- navigation.tabs
- navigation.sections
- navigation.top
- navigation.tracking
- navigation.expand
- navigation.path
- toc.follow
- toc.integrate
- navigation.tabs.sticky
extra_css:
- stylesheets/extra.css
nav:
- Home:
- index.md
- Getting started: getting_started.md
- Models:
- models/index.md
- models/latent_diffusion.md
- models/segment_anything.md
- Fluxion:
- fluxion/index.md
- fluxion/adapters.md
- Training utils:
- training_utils/index.md
- Contributing:
- contributing/index.md
extra:
social:
- icon: fontawesome/brands/discord
link: https://discord.gg/mCmjNUVV7d
- icon: fontawesome/brands/github
link: https://github.com/finegrain-ai/refiners
- icon: fontawesome/brands/twitter
link: https://twitter.com/finegrain_ai
- icon: fontawesome/brands/linkedin
link: https://www.linkedin.com/company/finegrain-ai/
markdown_extensions:
- toc:
permalink: true