elef4nt commited on
Commit
2de51a1
·
0 Parent(s):

Initial SDMLX acceleration patches release

Browse files
.gitattributes ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
2
+ *.sdmlxpatch/patch.safetensors filter=lfs diff=lfs merge=lfs -text
Hyper-SDXL-12steps-CFG-lora.sdmlxpatch/manifest.json ADDED
The diff for this file is too large to render. See raw diff
 
Hyper-SDXL-12steps-CFG-lora.sdmlxpatch/patch.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:143921ad98ee1d2af864f09138e314bf032bb741feeb7c73e80d4294dc147ed6
3
+ size 808646936
Hyper-SDXL-12steps-CFG-lora.sdmlxpatch/source_metadata.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format": "sdmlx-acceleration-patch-v1-source-metadata",
3
+ "license": "CreativeML Open RAIL++-M",
4
+ "package": "Hyper-SDXL-12steps-CFG-lora.sdmlxpatch",
5
+ "source_file": "Hyper-SDXL-12steps-CFG-lora.safetensors",
6
+ "source_repo": "ByteDance/Hyper-SD",
7
+ "transformation": "Original SDXL UNet LoRA factors mapped into an SDMLX acceleration patch package.",
8
+ "updated_at_unix": 1779349326
9
+ }
Hyper-SDXL-8steps-CFG-lora.sdmlxpatch/manifest.json ADDED
The diff for this file is too large to render. See raw diff
 
Hyper-SDXL-8steps-CFG-lora.sdmlxpatch/patch.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:168691fa2817df4f047cf62ba5c805329dcaa9e562e5757bcb0ea52f37d3156a
3
+ size 808653656
Hyper-SDXL-8steps-CFG-lora.sdmlxpatch/source_metadata.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format": "sdmlx-acceleration-patch-v1-source-metadata",
3
+ "license": "CreativeML Open RAIL++-M",
4
+ "package": "Hyper-SDXL-8steps-CFG-lora.sdmlxpatch",
5
+ "source_file": "Hyper-SDXL-8steps-CFG-lora.safetensors",
6
+ "source_repo": "ByteDance/Hyper-SD",
7
+ "transformation": "Original SDXL UNet LoRA factors mapped into an SDMLX acceleration patch package.",
8
+ "updated_at_unix": 1779349326
9
+ }
README.md ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ library_name: mlx
4
+ pipeline_tag: text-to-image
5
+ tags:
6
+ - stable-diffusion-xl
7
+ - comfyui
8
+ - mlx
9
+ - apple-silicon
10
+ - acceleration
11
+ - lora
12
+ - sdmlx
13
+ ---
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
+
21
+ - target keys already match the SDMLX MLX UNet
22
+ - linear factors use `[out, rank]` and `[rank, in]`
23
+ - Conv2D down factors use MLX layout `[rank, kernel_h, kernel_w, in]`
24
+ - runtime scale is `strength * alpha / rank`
25
+
26
+ Each `.sdmlxpatch` package contains:
27
+
28
+ - `patch.safetensors`
29
+ - `manifest.json`
30
+ - optional `source_metadata.json`
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 |
37
+ | `dmd2-lighting8step_cfg1.5.sdmlxpatch` | 8 | 1.5 | `lcm` | `normal` | false |
38
+ | `sdxl_lightning_4step_lora.sdmlxpatch` | 4 | 1.0 | `euler` | `sgm_uniform` | true |
39
+ | `sdxl_lightning_8step_lora.sdmlxpatch` | 8 | 1.0 | `lcm` | `normal` | true |
40
+ | `lcm-lora-sdxl.sdmlxpatch` | 8 | 1.0 | `lcm` | `normal` | true |
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
47
+
48
+ These packages are transformed LoRA factors. They are provided with source attribution and remain subject to their upstream licenses:
49
+
50
+ - `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.
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
+
57
+ The SDMLX code license does not relicense these packages. For the repository-level notice, see `THIRD_PARTY_NOTICES.md` in the SDMLX code repository.
58
+
59
+ ## Hugging Face Upload
60
+
61
+ Use Git LFS for package tensors:
62
+
63
+ ```bash
64
+ git lfs track "*.safetensors"
65
+ git lfs track "*.sdmlxpatch/patch.safetensors"
66
+ git add .gitattributes README.md *.sdmlxpatch
67
+ git commit -m "Add SDMLX acceleration patches"
68
+ git push
69
+ ```
70
+
71
+ Suggested repo type: model.
dmd2-lighting8step_cfg1.5.sdmlxpatch/manifest.json ADDED
The diff for this file is too large to render. See raw diff
 
dmd2-lighting8step_cfg1.5.sdmlxpatch/patch.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:999e9e4d33c19c6e2a858814ab6c21a5cfaee389643bcc3b4a11c7c1185fefca
3
+ size 359649256
dmd2-lighting8step_cfg1.5.sdmlxpatch/source_metadata.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format": "sdmlx-acceleration-patch-v1-source-metadata",
3
+ "license": "cc-by-nc-4.0 / model card mentions CC-BY-NC-SA-4.0",
4
+ "package": "dmd2-lighting8step_cfg1.5.sdmlxpatch",
5
+ "source_file": "dmd2-lighting8step_cfg1.5.safetensors",
6
+ "source_repo": "tianweiy/DMD2",
7
+ "transformation": "Original SDXL UNet LoRA factors mapped into an SDMLX acceleration patch package.",
8
+ "updated_at_unix": 1779349326
9
+ }
dmd2_sdxl_4step_lora_fp16.sdmlxpatch/manifest.json ADDED
The diff for this file is too large to render. See raw diff
 
dmd2_sdxl_4step_lora_fp16.sdmlxpatch/patch.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2cad03246669d6cfae29256fa24a2cdcd5ffdf3729ed88ef830b2ac7d1ce51f
3
+ size 404485296
dmd2_sdxl_4step_lora_fp16.sdmlxpatch/source_metadata.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format": "sdmlx-acceleration-patch-v1-source-metadata",
3
+ "license": "cc-by-nc-4.0 / model card mentions CC-BY-NC-SA-4.0",
4
+ "package": "dmd2_sdxl_4step_lora_fp16.sdmlxpatch",
5
+ "source_file": "dmd2_sdxl_4step_lora_fp16.safetensors",
6
+ "source_repo": "tianweiy/DMD2",
7
+ "transformation": "Original SDXL UNet LoRA factors mapped into an SDMLX acceleration patch package.",
8
+ "updated_at_unix": 1779349326
9
+ }
lcm-lora-sdxl.sdmlxpatch/manifest.json ADDED
The diff for this file is too large to render. See raw diff
 
lcm-lora-sdxl.sdmlxpatch/patch.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f0d898a02a1768fd586b016f76560bd49fd436497b9893213d6e3195a55826c5
3
+ size 404485296
lcm-lora-sdxl.sdmlxpatch/source_metadata.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format": "sdmlx-acceleration-patch-v1-source-metadata",
3
+ "license": "openrail++",
4
+ "package": "lcm-lora-sdxl.sdmlxpatch",
5
+ "source_file": "pytorch_lora_weights.safetensors",
6
+ "source_repo": "latent-consistency/lcm-lora-sdxl",
7
+ "transformation": "Original SDXL UNet LoRA factors mapped into an SDMLX acceleration patch package.",
8
+ "updated_at_unix": 1779349326
9
+ }
sdxl_lightning_4step_lora.sdmlxpatch/manifest.json ADDED
The diff for this file is too large to render. See raw diff
 
sdxl_lightning_4step_lora.sdmlxpatch/patch.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8da7113fad93acee08f369ba903eac3ba4f354dbb8c606a3d7cf1e9a6a2d63d4
3
+ size 808653656
sdxl_lightning_4step_lora.sdmlxpatch/source_metadata.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format": "sdmlx-acceleration-patch-v1-source-metadata",
3
+ "license": "openrail++",
4
+ "package": "sdxl_lightning_4step_lora.sdmlxpatch",
5
+ "source_file": "sdxl_lightning_4step_lora.safetensors",
6
+ "source_repo": "ByteDance/SDXL-Lightning",
7
+ "transformation": "Original SDXL UNet LoRA factors mapped into an SDMLX acceleration patch package.",
8
+ "updated_at_unix": 1779349326
9
+ }
sdxl_lightning_8step_lora.sdmlxpatch/manifest.json ADDED
The diff for this file is too large to render. See raw diff
 
sdxl_lightning_8step_lora.sdmlxpatch/patch.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb399eb9f4242cf465e6fde4de768d0b5fe495eae0e79fefa83bda9a8a3f0d39
3
+ size 404485296
sdxl_lightning_8step_lora.sdmlxpatch/source_metadata.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format": "sdmlx-acceleration-patch-v1-source-metadata",
3
+ "license": "openrail++",
4
+ "package": "sdxl_lightning_8step_lora.sdmlxpatch",
5
+ "source_file": "sdxl_lightning_8step_lora.safetensors",
6
+ "source_repo": "ByteDance/SDXL-Lightning",
7
+ "transformation": "Original SDXL UNet LoRA factors mapped into an SDMLX acceleration patch package.",
8
+ "updated_at_unix": 1779349326
9
+ }