Commit 4e32a65
committed
Add mflux to model-libraries for download tracking
Registers mflux (line-by-line MLX port of FLUX/Z-Image image generation
models for Apple Silicon, github.com/filipstrand/mflux) in
model-libraries.ts so that repos tagged with library_name: mflux get
download counts.
Most mflux repos do not ship a config.json (they only contain
safetensors weights + tokenizer files), so the default config.json
fallback returns 0 downloads even though the repos are actively used.
mflux loads weights via huggingface_hub.snapshot_download with
allow_patterns including *.safetensors, so countDownloads matches on
safetensors path extension.
Refs #20911 parent 3f590d2 commit 4e32a65
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
925 | 925 | | |
926 | 926 | | |
927 | 927 | | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
928 | 935 | | |
929 | 936 | | |
930 | 937 | | |
| |||
0 commit comments