linkedin / linkedin/Liger-Kernel

Request to support the Flux model (T2I diffusion transformer)

Open
#73 1 comment 6 reactions 1 assignee View on GitHub

@saurabhkoshatwar is already working on this.

Since Nov 1, 2024.

feature
Dominant language
Python
Stars
6.6k
Forks
603
Avg merge
1d 20h
Merged PRs (30d)
47

Description

### 🚀 The feature, motivation and pitch

This request is to adapt this to improve the training speed of Flux, a diffusion transformer.

It's the top model on HuggingFace trending right now and has been for two weeks, but it's very difficult to train as it's 12B parameters. The methods will also be useful for other ViT and DiT models in multimodal uses.

https://huggingface.co/black-forest-labs/FLUX.1-dev
https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/transformers/transformer_flux.py

### Alternatives

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.