Team Ai
Modelpublic

elef4nt/sdmlx-acceleration-patches

sourceHugging Faceotherupdated 2mo agoView on Hugging Face
1likes
Model Card

SDMLX Acceleration Patches

Pre-mapped SDXL and FLUX.1 acceleration patches for SDMLX / ComfyUI on Apple Silicon.

These packages are not fully expanded UNet deltas. They contain SDMLX-mapped low-rank LoRA factors:

  • —target keys already match the SDMLX MLX UNet
  • —linear factors use [out, rank] and [rank, in]
  • —Conv2D down factors use MLX layout [rank, kernel_h, kernel_w, in]
  • —runtime scale is strength * alpha / rank

Each .sdmlxpatch package contains:

  • —patch.safetensors
  • —manifest.json
  • —optional source_metadata.json

Packages

SDXL

PackageRecommended StepsCFGSamplerSchedulerForce No CFG
dmd2_sdxl_4step_lora_fp16.sdmlxpatch41.0lcmnormaltrue
dmd2-lighting8step_cfg1.5.sdmlxpatch81.5lcmnormalfalse
sdxl_lightning_4step_lora.sdmlxpatch41.0eulersgm_uniformtrue
sdxl_lightning_8step_lora.sdmlxpatch81.0lcmnormaltrue
lcm-lora-sdxl.sdmlxpatch81.0lcmnormaltrue
Hyper-SDXL-8steps-CFG-lora.sdmlxpatch85.0lcmnormalfalse
Hyper-SDXL-12steps-CFG-lora.sdmlxpatch127.5lcmnormalfalse

FLUX.1

PackageTargetRecommended StepsNotes
Hyper-Flux.1-Dev-4-step-Lora.sdmlxpatchFLUX.1 Dev4Optional SDMLX FLUX.1 acceleration patch.

The recommendations are metadata only. SDMLX should keep sampler settings explicit in the UI.

Source Licenses

These packages are transformed LoRA factors. They are provided with source attribution and remain subject to their upstream licenses:

  • —dmd2_*: source tianweiy/DMD2, Hugging Face metadata lists cc-by-nc-4.0; the model card text names Creative Commons Attribution-NonCommercial-ShareAlike 4.0.
  • —sdxl_lightning_*: source ByteDance/SDXL-Lightning, license openrail++.
  • —lcm-lora-sdxl: source latent-consistency/lcm-lora-sdxl, license openrail++.
  • —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.
  • —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.

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.

The SDMLX code license does not relicense these packages. For the repository-level notice, see THIRD_PARTY_NOTICES.md in the SDMLX code repository.

Hugging Face Upload

Use Git LFS for package tensors:

bash
git lfs track "*.safetensors"
git lfs track "*.sdmlxpatch/patch.safetensors"
git add .gitattributes README.md *.sdmlxpatch
git commit -m "Add SDMLX acceleration patches"
git push

Suggested repo type: model.