Cinv commited on
Commit
cb9edda
·
verified ·
1 Parent(s): 6837081

LCM_Dreamshaper_v7 for CV Studio: Core ML (macOS) and ONNX int8 (Windows), TAESD, manifest

Browse files
README.md ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ tags: [text-to-image, latent-consistency-model, coreml, onnx]
4
+ base_model: SimianLuo/LCM_Dreamshaper_v7
5
+ ---
6
+
7
+ # CV Studio illustrator (on-device)
8
+
9
+ Ready-to-run conversions used by the CV Studio desktop app to draw one illustration per sentence of a video, on the
10
+ customer's own machine (no PyTorch at run time):
11
+
12
+ | Folder | Runtime | Contents |
13
+ |---|---|---|
14
+ | `macos/` | Core ML (macOS 14+, Apple Silicon) | `text_encoder.mlpackage` (fp16), `unet_6bit.mlpackage` (6-bit palettised), `taesd_decoder.mlpackage`, `tokenizer.json` |
15
+ | `windows/` | ONNX Runtime (CPU / DirectML) | `text_encoder_int8.onnx`, `unet_int8.onnx` (dynamic int8), `taesd_decoder.onnx`, `tokenizer.json` |
16
+
17
+ Inputs: UNet `(sample 1×4×64×64, timestep 1, encoder_hidden_states 1×77×768) → noise_pred`, with the LCM guidance
18
+ embedding (w = 8) built in; 4 LCM steps; the TAESD decoder returns RGB in [0, 1] at 512×512. `manifest.json` lists
19
+ every file with its size and SHA-256.
20
+
21
+ ## Origin and licences
22
+
23
+ - **LCM_Dreamshaper_v7** by Simian Luo et al. (https://huggingface.co/SimianLuo/LCM_Dreamshaper_v7), published under
24
+ the **MIT** licence; it is a latent consistency model distilled from **DreamShaper v7** (Lykon), a Stable Diffusion
25
+ 1.5 fine-tune released under the **CreativeML OpenRAIL-M** licence. To respect the upstream terms, the use
26
+ restrictions of OpenRAIL-M (Attachment A: no illegal, harmful, discriminatory, defamatory or deceptive use, no
27
+ medical advice, no exploitation of minors, etc.) are passed on to users of these files.
28
+ - **TAESD** (Tiny AutoEncoder for Stable Diffusion) by Ollin Boer Bohan (https://github.com/madebyollin/taesd), MIT.
29
+ - The conversions (Core ML palettisation, ONNX export and int8 quantisation) were made by the CV Studio team; no
30
+ weights were retrained.
macos/taesd_decoder.mlpackage/Data/com.apple.CoreML/model.mlmodel ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7816cfc92ae44120b5bbbd78c799846db0706e595c2c62931383babdc2f37650
3
+ size 57534
macos/taesd_decoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:79efdfd4b22bf3bcab3bb62172f566e335ef339c3ff073ec7d4c35732c6dc740
3
+ size 2449344
macos/taesd_decoder.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "A25D51AC-2B7F-4891-B107-AF0FF479C99F": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Weights",
7
+ "name": "weights",
8
+ "path": "com.apple.CoreML/weights"
9
+ },
10
+ "BE8038CE-7344-462D-8ACD-11E5E47D76E2": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "CoreML Model Specification",
13
+ "name": "model.mlmodel",
14
+ "path": "com.apple.CoreML/model.mlmodel"
15
+ }
16
+ },
17
+ "rootModelIdentifier": "BE8038CE-7344-462D-8ACD-11E5E47D76E2"
18
+ }
macos/text_encoder.mlpackage/Data/com.apple.CoreML/model.mlmodel ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab96d88ea7a1bdc21f253b1e0f2a61e9567bf81dab84dfddc1e4b73d3aa9a1d7
3
+ size 129597
macos/text_encoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f682780ccd108498488eab5738130d4825ebb4d3eeaa8a7ac7c578530eac093
3
+ size 246145536
macos/text_encoder.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "0A9D97F7-AFBC-44DC-A682-D52EE4175307": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Specification",
7
+ "name": "model.mlmodel",
8
+ "path": "com.apple.CoreML/model.mlmodel"
9
+ },
10
+ "17F71030-F9F7-4EB2-8FA5-61C37E04C6C0": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "CoreML Model Weights",
13
+ "name": "weights",
14
+ "path": "com.apple.CoreML/weights"
15
+ }
16
+ },
17
+ "rootModelIdentifier": "0A9D97F7-AFBC-44DC-A682-D52EE4175307"
18
+ }
macos/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
macos/unet_6bit.mlpackage/Data/com.apple.CoreML/model.mlmodel ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c740d8fe338e23a8b9dbd77a03c422ad0daf8368e2db9e83a1b25816245bd5d2
3
+ size 773369
macos/unet_6bit.mlpackage/Data/com.apple.CoreML/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:363346f49f0f9b342da017fe51cacac9b7f4196989e565d0a4071081a516a960
3
+ size 645326144
macos/unet_6bit.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "2126D12B-1D3C-4BD7-88D8-857D429FFC7E": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Specification",
7
+ "name": "model.mlmodel",
8
+ "path": "com.apple.CoreML/model.mlmodel"
9
+ },
10
+ "3B00BEA7-B8DF-4A36-B605-5B1099A325C5": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "CoreML Model Weights",
13
+ "name": "weights",
14
+ "path": "com.apple.CoreML/weights"
15
+ }
16
+ },
17
+ "rootModelIdentifier": "2126D12B-1D3C-4BD7-88D8-857D429FFC7E"
18
+ }
manifest.json ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "LCM_Dreamshaper_v7",
3
+ "steps": 4,
4
+ "size": 512,
5
+ "files": {
6
+ "README.md": {
7
+ "size": 1796,
8
+ "sha256": "4bef62f591413b2bab44bf9d54e3af2b5d7f3b872c8d91e4de9e33116ac2ad86"
9
+ },
10
+ "macos/taesd_decoder.mlpackage/Data/com.apple.CoreML/model.mlmodel": {
11
+ "size": 57534,
12
+ "sha256": "7816cfc92ae44120b5bbbd78c799846db0706e595c2c62931383babdc2f37650"
13
+ },
14
+ "macos/taesd_decoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin": {
15
+ "size": 2449344,
16
+ "sha256": "79efdfd4b22bf3bcab3bb62172f566e335ef339c3ff073ec7d4c35732c6dc740"
17
+ },
18
+ "macos/taesd_decoder.mlpackage/Manifest.json": {
19
+ "size": 617,
20
+ "sha256": "411108ef105759c519624ff2b91014e3d09169a19931a3718e8d40330b44f6ea"
21
+ },
22
+ "macos/text_encoder.mlpackage/Data/com.apple.CoreML/model.mlmodel": {
23
+ "size": 129597,
24
+ "sha256": "ab96d88ea7a1bdc21f253b1e0f2a61e9567bf81dab84dfddc1e4b73d3aa9a1d7"
25
+ },
26
+ "macos/text_encoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin": {
27
+ "size": 246145536,
28
+ "sha256": "0f682780ccd108498488eab5738130d4825ebb4d3eeaa8a7ac7c578530eac093"
29
+ },
30
+ "macos/text_encoder.mlpackage/Manifest.json": {
31
+ "size": 617,
32
+ "sha256": "d2f51e4aebadb534d5af6f70c66488c6a6bbdad190b5b5720228014d5c8e44ee"
33
+ },
34
+ "macos/tokenizer.json": {
35
+ "size": 3642072,
36
+ "sha256": "13104770298661de73a73c53d7d9ec718527bb9d0fc6e7080b8a9173b649d4bb"
37
+ },
38
+ "macos/unet_6bit.mlpackage/Data/com.apple.CoreML/model.mlmodel": {
39
+ "size": 773369,
40
+ "sha256": "c740d8fe338e23a8b9dbd77a03c422ad0daf8368e2db9e83a1b25816245bd5d2"
41
+ },
42
+ "macos/unet_6bit.mlpackage/Data/com.apple.CoreML/weights/weight.bin": {
43
+ "size": 645326144,
44
+ "sha256": "363346f49f0f9b342da017fe51cacac9b7f4196989e565d0a4071081a516a960"
45
+ },
46
+ "macos/unet_6bit.mlpackage/Manifest.json": {
47
+ "size": 617,
48
+ "sha256": "1b29d9f2b05a16c5b2e749c83bebfc6222b20ed08044a3c681831c038505d641"
49
+ },
50
+ "windows/taesd_decoder.onnx": {
51
+ "size": 4913012,
52
+ "sha256": "0badd58a353c29b2bf665b534b4518e2e59b0cf9e7127979a71f64c71af9a9fd"
53
+ },
54
+ "windows/text_encoder_int8.onnx": {
55
+ "size": 123691702,
56
+ "sha256": "6f9f0de97fcc19a8300120fb30ed3335f088e719c1b21e3214a364bfd92a8bba"
57
+ },
58
+ "windows/tokenizer.json": {
59
+ "size": 3642072,
60
+ "sha256": "13104770298661de73a73c53d7d9ec718527bb9d0fc6e7080b8a9173b649d4bb"
61
+ },
62
+ "windows/unet_int8.onnx": {
63
+ "size": 862388800,
64
+ "sha256": "d1e98b9ca0d750e58ae21570169dd7d88b79ae748fa994944ad3845e6cf62db0"
65
+ }
66
+ }
67
+ }
windows/taesd_decoder.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0badd58a353c29b2bf665b534b4518e2e59b0cf9e7127979a71f64c71af9a9fd
3
+ size 4913012
windows/text_encoder_int8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f9f0de97fcc19a8300120fb30ed3335f088e719c1b21e3214a364bfd92a8bba
3
+ size 123691702
windows/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
windows/unet_int8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1e98b9ca0d750e58ae21570169dd7d88b79ae748fa994944ad3845e6cf62db0
3
+ size 862388800