Skip to content

Commit

Permalink
feat: add flux
Browse files Browse the repository at this point in the history
  • Loading branch information
katopz committed Sep 17, 2024
1 parent 635aaf0 commit 6df3b05
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
- [PostgresML](ml/frameworks/postgresml.md)
- [Stable Diffusion](ml/stable-diffusion.md)
- [Vision Language Model](ml/vision-language-model.md)
- [FLUX.1](ml/flux1.md)
- [Bevy](bevy/mod.md)
- [Physics with Rapier](bevy/physics-rapier.md)
- [BigQuery](bigquery/mod.md)
Expand Down
Binary file added src/ml/assets/flux.1-dev.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 src/ml/assets/flux.1-schnell.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 28 additions & 0 deletions src/ml/flux1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# FLUX.1

- model: [https://huggingface.co/black-forest-labs/FLUX.1-dev]()
- mflux (mlx): [https://github.com/filipstrand/mflux]()

## dev

> slower
```
mflux-generate --model dev --prompt "Ragdoll cats typing on macbook and look back to camera" --steps 10 --seed 2 -q 8
```

> 2.72s user 11.48s system 12% cpu 1:57.52 total
![](/ml/assets/flux.1-dev.png)

## schnell

> faster
```
mflux-generate --model schnell --prompt "Ragdoll cats typing on macbook and look back to camera" --steps 2 --seed 2 -q 8
```

> 2.02s user 9.37s system 38% cpu 29.611 total
![](/ml/assets/flux.1-schnell.png)

0 comments on commit 6df3b05

Please sign in to comment.