Instructions to use elef4nt/sdmlx-acceleration-patches with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use elef4nt/sdmlx-acceleration-patches with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir sdmlx-acceleration-patches elef4nt/sdmlx-acceleration-patches
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Document FLUX.1 patch and unresolved upstream license
Browse files
README.md
CHANGED
|
@@ -4,6 +4,8 @@ library_name: mlx
|
|
| 4 |
pipeline_tag: text-to-image
|
| 5 |
tags:
|
| 6 |
- stable-diffusion-xl
|
|
|
|
|
|
|
| 7 |
- comfyui
|
| 8 |
- mlx
|
| 9 |
- apple-silicon
|
|
@@ -14,7 +16,7 @@ tags:
|
|
| 14 |
|
| 15 |
# SDMLX Acceleration Patches
|
| 16 |
|
| 17 |
-
Pre-mapped SDXL acceleration patches for SDMLX / ComfyUI on Apple Silicon.
|
| 18 |
|
| 19 |
These packages are **not fully expanded UNet deltas**. They contain SDMLX-mapped low-rank LoRA factors:
|
| 20 |
|
|
@@ -31,6 +33,8 @@ Each `.sdmlxpatch` package contains:
|
|
| 31 |
|
| 32 |
## Packages
|
| 33 |
|
|
|
|
|
|
|
| 34 |
| Package | Recommended Steps | CFG | Sampler | Scheduler | Force No CFG |
|
| 35 |
| --- | ---: | ---: | --- | --- | --- |
|
| 36 |
| `dmd2_sdxl_4step_lora_fp16.sdmlxpatch` | 4 | 1.0 | `lcm` | `normal` | true |
|
|
@@ -41,6 +45,12 @@ Each `.sdmlxpatch` package contains:
|
|
| 41 |
| `Hyper-SDXL-8steps-CFG-lora.sdmlxpatch` | 8 | 5.0 | `lcm` | `normal` | false |
|
| 42 |
| `Hyper-SDXL-12steps-CFG-lora.sdmlxpatch` | 12 | 7.5 | `lcm` | `normal` | false |
|
| 43 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
The recommendations are metadata only. SDMLX should keep sampler settings explicit in the UI.
|
| 45 |
|
| 46 |
## Source Licenses
|
|
@@ -51,6 +61,7 @@ These packages are transformed LoRA factors. They are provided with source attri
|
|
| 51 |
- `sdxl_lightning_*`: source `ByteDance/SDXL-Lightning`, license `openrail++`.
|
| 52 |
- `lcm-lora-sdxl`: source `latent-consistency/lcm-lora-sdxl`, license `openrail++`.
|
| 53 |
- `Hyper-SDXL-*`: source `ByteDance/Hyper-SD`; SD-related Hyper-SD models are covered by the CreativeML Open RAIL++-M license in the upstream `LICENSE.md`.
|
|
|
|
| 54 |
|
| 55 |
Do not publish or redistribute packages whose upstream license does not fit your use case. In particular, DMD2 is non-commercial/share-alike. OpenRAIL++ and OpenRAIL++-M packages include use-based restrictions that downstream users must follow.
|
| 56 |
|
|
|
|
| 4 |
pipeline_tag: text-to-image
|
| 5 |
tags:
|
| 6 |
- stable-diffusion-xl
|
| 7 |
+
- flux
|
| 8 |
+
- flux.1-dev
|
| 9 |
- comfyui
|
| 10 |
- mlx
|
| 11 |
- apple-silicon
|
|
|
|
| 16 |
|
| 17 |
# SDMLX Acceleration Patches
|
| 18 |
|
| 19 |
+
Pre-mapped SDXL and FLUX.1 acceleration patches for SDMLX / ComfyUI on Apple Silicon.
|
| 20 |
|
| 21 |
These packages are **not fully expanded UNet deltas**. They contain SDMLX-mapped low-rank LoRA factors:
|
| 22 |
|
|
|
|
| 33 |
|
| 34 |
## Packages
|
| 35 |
|
| 36 |
+
### SDXL
|
| 37 |
+
|
| 38 |
| Package | Recommended Steps | CFG | Sampler | Scheduler | Force No CFG |
|
| 39 |
| --- | ---: | ---: | --- | --- | --- |
|
| 40 |
| `dmd2_sdxl_4step_lora_fp16.sdmlxpatch` | 4 | 1.0 | `lcm` | `normal` | true |
|
|
|
|
| 45 |
| `Hyper-SDXL-8steps-CFG-lora.sdmlxpatch` | 8 | 5.0 | `lcm` | `normal` | false |
|
| 46 |
| `Hyper-SDXL-12steps-CFG-lora.sdmlxpatch` | 12 | 7.5 | `lcm` | `normal` | false |
|
| 47 |
|
| 48 |
+
### FLUX.1
|
| 49 |
+
|
| 50 |
+
| Package | Target | Recommended Steps | Notes |
|
| 51 |
+
| --- | --- | ---: | --- |
|
| 52 |
+
| `Hyper-Flux.1-Dev-4-step-Lora.sdmlxpatch` | FLUX.1 Dev | 4 | Optional SDMLX FLUX.1 acceleration patch. |
|
| 53 |
+
|
| 54 |
The recommendations are metadata only. SDMLX should keep sampler settings explicit in the UI.
|
| 55 |
|
| 56 |
## Source Licenses
|
|
|
|
| 61 |
- `sdxl_lightning_*`: source `ByteDance/SDXL-Lightning`, license `openrail++`.
|
| 62 |
- `lcm-lora-sdxl`: source `latent-consistency/lcm-lora-sdxl`, license `openrail++`.
|
| 63 |
- `Hyper-SDXL-*`: source `ByteDance/Hyper-SD`; SD-related Hyper-SD models are covered by the CreativeML Open RAIL++-M license in the upstream `LICENSE.md`.
|
| 64 |
+
- `Hyper-Flux.1-Dev-4-step-Lora`: source `Lingyuzhou/Hyper_Flux.1_Dev_4_step_Lora`. No substantive upstream license grant is documented: Hugging Face metadata says `license: 123` and the included `LICENSE` file is empty (checked 2026-08-04). Do not assume redistribution or commercial-use rights; verify the upstream terms or obtain permission. Use is also subject to applicable FLUX.1 Dev terms.
|
| 65 |
|
| 66 |
Do not publish or redistribute packages whose upstream license does not fit your use case. In particular, DMD2 is non-commercial/share-alike. OpenRAIL++ and OpenRAIL++-M packages include use-based restrictions that downstream users must follow.
|
| 67 |
|