davidw0311 commited on
Commit
7286b41
1 Parent(s): bc70286

Upload 6 files

Browse files
dreamshaper7_lcm/.DS_Store ADDED
Binary file (6.15 kB). View file
 
dreamshaper7_lcm/Unet.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:197d03d4cc44ac02c50fe29ae659042aaa6080f3864b369ddce69df588353a09
3
+ size 243
dreamshaper7_lcm/Unet.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:385ea51e28bdd9798c5cd103018fb6922e7b9519911dcd7ae689213741599f18
3
+ size 1265
dreamshaper7_lcm/Unet.mlmodelc/metadata.json ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "shortDescription" : "Stable Diffusion generates images conditioned on text or other images as input through the diffusion process. Please refer to https:\/\/arxiv.org\/abs\/2112.10752 for details.",
4
+ "metadataOutputVersion" : "3.0",
5
+ "outputSchema" : [
6
+ {
7
+ "hasShapeFlexibility" : "0",
8
+ "isOptional" : "0",
9
+ "dataType" : "Float32",
10
+ "formattedType" : "MultiArray (Float32 2 × 4 × 96 × 96)",
11
+ "shortDescription" : "Same shape and dtype as the `sample` input. The predicted noise to facilitate the reverse diffusion (denoising) process",
12
+ "shape" : "[2, 4, 96, 96]",
13
+ "name" : "noise_pred",
14
+ "type" : "MultiArray"
15
+ }
16
+ ],
17
+ "version" : "SimianLuo\/LCM_Dreamshaper_v7",
18
+ "modelParameters" : [
19
+
20
+ ],
21
+ "author" : "Please refer to the Model Card available at huggingface.co\/SimianLuo\/LCM_Dreamshaper_v7",
22
+ "specificationVersion" : 7,
23
+ "storagePrecision" : "Mixed (Float16, Palettized (6 bits))",
24
+ "license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
25
+ "mlProgramOperationTypeHistogram" : {
26
+ "Transpose" : 32,
27
+ "UpsampleNearestNeighbor" : 3,
28
+ "Ios16.reduceMean" : 218,
29
+ "Ios16.sin" : 1,
30
+ "Ios16.softmax" : 256,
31
+ "Split" : 16,
32
+ "Ios16.add" : 265,
33
+ "Concat" : 46,
34
+ "Ios16.realDiv" : 61,
35
+ "Ios16.square" : 61,
36
+ "ExpandDims" : 3,
37
+ "Ios16.sub" : 109,
38
+ "Ios16.cast" : 1,
39
+ "Ios16.conv" : 282,
40
+ "Ios16.constexprLutToDense" : 310,
41
+ "Ios16.einsum" : 512,
42
+ "Ios16.gelu" : 16,
43
+ "Ios16.batchNorm" : 61,
44
+ "Ios16.reshape" : 154,
45
+ "Ios16.rsqrt" : 48,
46
+ "Ios16.silu" : 47,
47
+ "Ios16.sqrt" : 61,
48
+ "Ios16.mul" : 417,
49
+ "Ios16.cos" : 1,
50
+ "SliceByIndex" : 770
51
+ },
52
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
53
+ "isUpdatable" : "0",
54
+ "availability" : {
55
+ "macOS" : "13.0",
56
+ "tvOS" : "16.0",
57
+ "visionOS" : "1.0",
58
+ "watchOS" : "9.0",
59
+ "iOS" : "16.0",
60
+ "macCatalyst" : "16.0"
61
+ },
62
+ "modelType" : {
63
+ "name" : "MLModelType_mlProgram"
64
+ },
65
+ "inputSchema" : [
66
+ {
67
+ "hasShapeFlexibility" : "0",
68
+ "isOptional" : "0",
69
+ "dataType" : "Float16",
70
+ "formattedType" : "MultiArray (Float16 2 × 4 × 96 × 96)",
71
+ "shortDescription" : "The low resolution latent feature maps being denoised through reverse diffusion",
72
+ "shape" : "[2, 4, 96, 96]",
73
+ "name" : "sample",
74
+ "type" : "MultiArray"
75
+ },
76
+ {
77
+ "hasShapeFlexibility" : "0",
78
+ "isOptional" : "0",
79
+ "dataType" : "Float16",
80
+ "formattedType" : "MultiArray (Float16 2)",
81
+ "shortDescription" : "A value emitted by the associated scheduler object to condition the model on a given noise schedule",
82
+ "shape" : "[2]",
83
+ "name" : "timestep",
84
+ "type" : "MultiArray"
85
+ },
86
+ {
87
+ "hasShapeFlexibility" : "0",
88
+ "isOptional" : "0",
89
+ "dataType" : "Float16",
90
+ "formattedType" : "MultiArray (Float16 2 × 768 × 1 × 77)",
91
+ "shortDescription" : "Output embeddings from the associated text_encoder model to condition to generated image on text. A maximum of 77 tokens (~40 words) are allowed. Longer text is truncated. Shorter text does not reduce computation.",
92
+ "shape" : "[2, 768, 1, 77]",
93
+ "name" : "encoder_hidden_states",
94
+ "type" : "MultiArray"
95
+ }
96
+ ],
97
+ "userDefinedMetadata" : {
98
+ "com.github.apple.coremltools.version" : "7.0b2",
99
+ "com.github.apple.coremltools.source" : "torch==2.0.0",
100
+ "com.github.apple.ml-stable-diffusion.version" : "1.1.0"
101
+ },
102
+ "generatedClassName" : "Stable_Diffusion_version_SimianLuo_LCM_Dreamshaper_v7_unet",
103
+ "method" : "predict"
104
+ }
105
+ ]
dreamshaper7_lcm/Unet.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
dreamshaper7_lcm/Unet.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd2f3332df98e9697d6970e2c27aac83aaf68285c536e80377f6ced029eeda9a
3
+ size 645167616