Upload folder using huggingface_hub

#1
by pcuenq HF staff - opened
This view is limited to 50 files because it contains too many changes.  See the raw diff here.
Files changed (50) hide show
  1. README.md +27 -0
  2. coreml-stable-diffusion-xl-base_mbp_4_50_palettized.zip +3 -0
  3. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/TextEncoder.mlmodelc/analytics/coremldata.bin +3 -0
  4. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/TextEncoder.mlmodelc/coremldata.bin +3 -0
  5. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/TextEncoder.mlmodelc/metadata.json +82 -0
  6. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/TextEncoder.mlmodelc/model.mil +0 -0
  7. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/TextEncoder.mlmodelc/weights/weight.bin +3 -0
  8. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/TextEncoder2.mlmodelc/analytics/coremldata.bin +3 -0
  9. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/TextEncoder2.mlmodelc/coremldata.bin +3 -0
  10. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/TextEncoder2.mlmodelc/metadata.json +82 -0
  11. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/TextEncoder2.mlmodelc/model.mil +0 -0
  12. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/TextEncoder2.mlmodelc/weights/weight.bin +3 -0
  13. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/Unet.mlmodelc/analytics/coremldata.bin +3 -0
  14. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/Unet.mlmodelc/coremldata.bin +3 -0
  15. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/Unet.mlmodelc/metadata.json +124 -0
  16. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/Unet.mlmodelc/model.mil +0 -0
  17. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/Unet.mlmodelc/weights/weight.bin +3 -0
  18. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/VAEDecoder.mlmodelc/analytics/coremldata.bin +3 -0
  19. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/VAEDecoder.mlmodelc/coremldata.bin +3 -0
  20. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/VAEDecoder.mlmodelc/metadata.json +74 -0
  21. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/VAEDecoder.mlmodelc/model.mil +0 -0
  22. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/VAEDecoder.mlmodelc/weights/weight.bin +3 -0
  23. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/VAEEncoder.mlmodelc/analytics/coremldata.bin +3 -0
  24. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/VAEEncoder.mlmodelc/coremldata.bin +3 -0
  25. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/VAEEncoder.mlmodelc/metadata.json +75 -0
  26. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/VAEEncoder.mlmodelc/model.mil +0 -0
  27. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/VAEEncoder.mlmodelc/weights/weight.bin +3 -0
  28. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/merges.txt +0 -0
  29. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/vocab.json +0 -0
  30. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_text_encoder.mlpackage/Data/com.apple.CoreML/FeatureDescriptions.json +18 -0
  31. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_text_encoder.mlpackage/Data/com.apple.CoreML/Metadata.json +10 -0
  32. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_text_encoder.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  33. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_text_encoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  34. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_text_encoder.mlpackage/Manifest.json +30 -0
  35. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_text_encoder_2.mlpackage/Data/com.apple.CoreML/FeatureDescriptions.json +18 -0
  36. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_text_encoder_2.mlpackage/Data/com.apple.CoreML/Metadata.json +10 -0
  37. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_text_encoder_2.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  38. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_text_encoder_2.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  39. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_text_encoder_2.mlpackage/Manifest.json +30 -0
  40. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_unet.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  41. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_unet.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  42. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_unet.mlpackage/Manifest.json +18 -0
  43. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_vae_decoder.mlpackage/Data/com.apple.CoreML/FeatureDescriptions.json +15 -0
  44. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_vae_decoder.mlpackage/Data/com.apple.CoreML/Metadata.json +10 -0
  45. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_vae_decoder.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
  46. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_vae_decoder.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
  47. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_vae_decoder.mlpackage/Manifest.json +30 -0
  48. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_vae_encoder.mlpackage/Data/com.apple.CoreML/FeatureDescriptions.json +15 -0
  49. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_vae_encoder.mlpackage/Data/com.apple.CoreML/Metadata.json +10 -0
  50. coreml-stable-diffusion-xl-base_mbp_4_50_palettized/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_vae_encoder.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
README.md ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Core ML Stable Diffusion Mixed-Bit Palettization Resources
2
+
3
+ This repository contains resources related to the use of [mixed-bit palettization techniques for Stable Diffusion](https://github.com/apple/ml-stable-diffusion#mbp). As explained in the original repo, this is an advanced compression technique that applies palettization using a varying number of bits per layer to keep quality above the desired threshold (as measured by the PSNR with respect to the original model). This can achieve strong space savings without resorting to learned quantization tables during fine-tuning.
4
+
5
+ The repository contains the following resources:
6
+
7
+ - [`recipes/`](tree/main/recipes). JSON files with results from the analysis phase [(Step 1 of the instructions)](https://github.com/apple/ml-stable-diffusion#mbp) on three popular Stable Diffusion models:
8
+ * Stable Diffusion 1.5
9
+ * Stable Diffusion 2.1 base
10
+ * Stable Diffusion XL 1.0 base
11
+
12
+ You can apply any of the available recipes on the appropriate model to experiment and compare results.
13
+
14
+ - [`unet-mbp-sdxl-1-base/`](tree/main/unet-mbp-sdxl-1-base). Three pre-applied recipes on the UNet of Stable Diffusion XL 1.0 base:
15
+
16
+ | Recipe | Effective bits | UNet size (GB) | Size reduction |
17
+ |------------------------------|----------------|----------------|----------------|
18
+ | recipe_3_41_bit_mixedpalette | 3.41 | 1.1 | 77% |
19
+ | recipe_4_50_bit_mixedpalette | 4.50 | 1.4 | 71% |
20
+ | recipe_6_55_bit_mixedpalette | 6.55 | 2.0 | 58% |
21
+
22
+ - [`coreml-stable-diffusion-xl-base_mbp_4_50_palettized`]. A full pipeline of a Core ML version of Stable Diffusion XL 1.0 base, with the `recipe_4_50_bit_mixedpalette` recipe pre-applied to the UNet. You can download it to use in your own Core ML apps.
23
+
24
+ - [`coreml-stable-diffusion-xl-base_mbp_4_50_palettized.zip`]. An archived version of the same pipeline, for use with [Hugging Face demo app](https://github.com/huggingface/swift-coreml-diffusers) and other third party tools.
25
+
26
+ This repository was prepared by Apple and Hugging Face in July 2023, from experiments conducted on July 2023 using public beta versions of iOS 17.0, iPadOS 17.0 and macOS 14.0.
27
+
coreml-stable-diffusion-xl-base_mbp_4_50_palettized.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:64f0b7ee4cbb803bbaf83d4eef69b2868e0da864d8fd7baec988eb8155f92ced
3
+ size 3356775856
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/TextEncoder.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f732919fa370a1b7b09ec2b227539269b6543149a2b0dbae95cc4cf350e4b697
3
+ size 207
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/TextEncoder.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ff26866d8d8fbb4e53a0628f8aab5f7edf1b3ec763a96e6812c8f7fbf4c9827
3
+ size 825
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/TextEncoder.mlmodelc/metadata.json ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "shortDescription" : "Stable Diffusion generates images conditioned on text and\/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)",
11
+ "shortDescription" : "Hidden states after the encoder layers",
12
+ "shape" : "[]",
13
+ "name" : "hidden_embeds",
14
+ "type" : "MultiArray"
15
+ },
16
+ {
17
+ "hasShapeFlexibility" : "0",
18
+ "isOptional" : "0",
19
+ "dataType" : "Float32",
20
+ "formattedType" : "MultiArray (Float32)",
21
+ "shortDescription" : "The version of the `last_hidden_state` output after pooling",
22
+ "shape" : "[]",
23
+ "name" : "pooled_outputs",
24
+ "type" : "MultiArray"
25
+ }
26
+ ],
27
+ "version" : "diffusers\/stable-diffusion-xl-base-1.0",
28
+ "modelParameters" : [
29
+
30
+ ],
31
+ "author" : "Please refer to the Model Card available at huggingface.co\/diffusers\/stable-diffusion-xl-base-1.0",
32
+ "specificationVersion" : 7,
33
+ "storagePrecision" : "Float16",
34
+ "license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
35
+ "mlProgramOperationTypeHistogram" : {
36
+ "Ios16.cast" : 3,
37
+ "Ios16.mul" : 36,
38
+ "Ios16.layerNorm" : 25,
39
+ "Stack" : 1,
40
+ "Transpose" : 60,
41
+ "Ios16.sigmoid" : 12,
42
+ "Ios16.linear" : 72,
43
+ "Ios16.add" : 37,
44
+ "Ios16.matmul" : 24,
45
+ "Ios16.softmax" : 12,
46
+ "Ios16.gatherNd" : 1,
47
+ "Ios16.gather" : 1,
48
+ "Ios16.reshape" : 120,
49
+ "Ios16.reduceArgmax" : 1
50
+ },
51
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
52
+ "isUpdatable" : "0",
53
+ "availability" : {
54
+ "macOS" : "13.0",
55
+ "tvOS" : "16.0",
56
+ "watchOS" : "9.0",
57
+ "iOS" : "16.0",
58
+ "macCatalyst" : "16.0"
59
+ },
60
+ "modelType" : {
61
+ "name" : "MLModelType_mlProgram"
62
+ },
63
+ "inputSchema" : [
64
+ {
65
+ "hasShapeFlexibility" : "0",
66
+ "isOptional" : "0",
67
+ "dataType" : "Float32",
68
+ "formattedType" : "MultiArray (Float32 1 × 77)",
69
+ "shortDescription" : "The token ids that represent the input text",
70
+ "shape" : "[1, 77]",
71
+ "name" : "input_ids",
72
+ "type" : "MultiArray"
73
+ }
74
+ ],
75
+ "userDefinedMetadata" : {
76
+ "com.github.apple.coremltools.version" : "7.0b1",
77
+ "com.github.apple.coremltools.source" : "torch==2.0.1+cu117"
78
+ },
79
+ "generatedClassName" : "Stable_Diffusion_version_diffusers_stable_diffusion_xl_base_1_0_text_encoder",
80
+ "method" : "predict"
81
+ }
82
+ ]
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/TextEncoder.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/TextEncoder.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a86533724aadf50c8f5539592d440887a484f60002d7967505c69c7faf4d7797
3
+ size 246145536
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/TextEncoder2.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eef66b480388714bb62f2f0f2f97a8953e44acbb00b25f9a9fd63c759f4f0e83
3
+ size 207
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/TextEncoder2.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ff26866d8d8fbb4e53a0628f8aab5f7edf1b3ec763a96e6812c8f7fbf4c9827
3
+ size 825
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/TextEncoder2.mlmodelc/metadata.json ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "shortDescription" : "Stable Diffusion generates images conditioned on text and\/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)",
11
+ "shortDescription" : "Hidden states after the encoder layers",
12
+ "shape" : "[]",
13
+ "name" : "hidden_embeds",
14
+ "type" : "MultiArray"
15
+ },
16
+ {
17
+ "hasShapeFlexibility" : "0",
18
+ "isOptional" : "0",
19
+ "dataType" : "Float32",
20
+ "formattedType" : "MultiArray (Float32)",
21
+ "shortDescription" : "The version of the `last_hidden_state` output after pooling",
22
+ "shape" : "[]",
23
+ "name" : "pooled_outputs",
24
+ "type" : "MultiArray"
25
+ }
26
+ ],
27
+ "version" : "diffusers\/stable-diffusion-xl-base-1.0",
28
+ "modelParameters" : [
29
+
30
+ ],
31
+ "author" : "Please refer to the Model Card available at huggingface.co\/diffusers\/stable-diffusion-xl-base-1.0",
32
+ "specificationVersion" : 7,
33
+ "storagePrecision" : "Float16",
34
+ "license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
35
+ "mlProgramOperationTypeHistogram" : {
36
+ "Ios16.cast" : 3,
37
+ "Ios16.mul" : 32,
38
+ "Ios16.layerNorm" : 65,
39
+ "Stack" : 1,
40
+ "Transpose" : 160,
41
+ "Ios16.linear" : 193,
42
+ "Ios16.add" : 97,
43
+ "Ios16.matmul" : 64,
44
+ "Ios16.gelu" : 32,
45
+ "Ios16.softmax" : 32,
46
+ "Ios16.gatherNd" : 1,
47
+ "Ios16.gather" : 1,
48
+ "Ios16.reshape" : 320,
49
+ "Ios16.reduceArgmax" : 1
50
+ },
51
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
52
+ "isUpdatable" : "0",
53
+ "availability" : {
54
+ "macOS" : "13.0",
55
+ "tvOS" : "16.0",
56
+ "watchOS" : "9.0",
57
+ "iOS" : "16.0",
58
+ "macCatalyst" : "16.0"
59
+ },
60
+ "modelType" : {
61
+ "name" : "MLModelType_mlProgram"
62
+ },
63
+ "inputSchema" : [
64
+ {
65
+ "hasShapeFlexibility" : "0",
66
+ "isOptional" : "0",
67
+ "dataType" : "Float32",
68
+ "formattedType" : "MultiArray (Float32 1 × 77)",
69
+ "shortDescription" : "The token ids that represent the input text",
70
+ "shape" : "[1, 77]",
71
+ "name" : "input_ids",
72
+ "type" : "MultiArray"
73
+ }
74
+ ],
75
+ "userDefinedMetadata" : {
76
+ "com.github.apple.coremltools.version" : "7.0b1",
77
+ "com.github.apple.coremltools.source" : "torch==2.0.1+cu117"
78
+ },
79
+ "generatedClassName" : "Stable_Diffusion_version_diffusers_stable_diffusion_xl_base_1_0_text_encoder_2",
80
+ "method" : "predict"
81
+ }
82
+ ]
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/TextEncoder2.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/TextEncoder2.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8bd1fc0bcce11cff685648387b0060e0b6ecfce6c34e580e1ae904cae5903363
3
+ size 1389367424
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/Unet.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48f726f7f29091a23eb434bd4febf1f83733c95db26b912dfa671cdccad5d874
3
+ size 243
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/Unet.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8aea3887ffdc8e059925f3981259e1cd3227b827e5f91edff613c73ac0ea16f6
3
+ size 1338
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/Unet.mlmodelc/metadata.json ADDED
@@ -0,0 +1,124 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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)",
11
+ "shortDescription" : "Same shape and dtype as the `sample` input. The predicted noise to facilitate the reverse diffusion (denoising) process",
12
+ "shape" : "[]",
13
+ "name" : "noise_pred",
14
+ "type" : "MultiArray"
15
+ }
16
+ ],
17
+ "version" : "diffusers\/stable-diffusion-xl-base-1.0",
18
+ "modelParameters" : [
19
+
20
+ ],
21
+ "author" : "Please refer to the Model Card available at huggingface.co\/diffusers\/stable-diffusion-xl-base-1.0",
22
+ "specificationVersion" : 7,
23
+ "storagePrecision" : "Mixed (Float16, Palettized (1 bits), Palettized (2 bits), Palettized (4 bits), Palettized (6 bits), Palettized (8 bits))",
24
+ "license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
25
+ "mlProgramOperationTypeHistogram" : {
26
+ "UpsampleNearestNeighbor" : 2,
27
+ "Ios16.reduceMean" : 512,
28
+ "Ios16.sin" : 2,
29
+ "Ios16.softmax" : 140,
30
+ "Split" : 70,
31
+ "Ios16.add" : 722,
32
+ "Concat" : 14,
33
+ "Ios16.realDiv" : 46,
34
+ "Ios16.square" : 46,
35
+ "ExpandDims" : 6,
36
+ "Ios16.sub" : 256,
37
+ "Ios16.cast" : 1,
38
+ "Ios16.conv" : 794,
39
+ "Ios16.constexprLutToDense" : 775,
40
+ "Ios16.gelu" : 70,
41
+ "Ios16.matmul" : 280,
42
+ "Ios16.batchNorm" : 46,
43
+ "Ios16.reshape" : 675,
44
+ "Ios16.rsqrt" : 210,
45
+ "Ios16.silu" : 38,
46
+ "Ios16.sqrt" : 46,
47
+ "Ios16.mul" : 842,
48
+ "Ios16.cos" : 2,
49
+ "SliceByIndex" : 4
50
+ },
51
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
52
+ "isUpdatable" : "0",
53
+ "availability" : {
54
+ "macOS" : "13.0",
55
+ "tvOS" : "16.0",
56
+ "visionOS" : "1.0",
57
+ "watchOS" : "9.0",
58
+ "iOS" : "16.0",
59
+ "macCatalyst" : "16.0"
60
+ },
61
+ "modelType" : {
62
+ "name" : "MLModelType_mlProgram"
63
+ },
64
+ "inputSchema" : [
65
+ {
66
+ "hasShapeFlexibility" : "0",
67
+ "isOptional" : "0",
68
+ "dataType" : "Float16",
69
+ "formattedType" : "MultiArray (Float16 2 × 4 × 128 × 128)",
70
+ "shortDescription" : "The low resolution latent feature maps being denoised through reverse diffusion",
71
+ "shape" : "[2, 4, 128, 128]",
72
+ "name" : "sample",
73
+ "type" : "MultiArray"
74
+ },
75
+ {
76
+ "hasShapeFlexibility" : "0",
77
+ "isOptional" : "0",
78
+ "dataType" : "Float16",
79
+ "formattedType" : "MultiArray (Float16 2)",
80
+ "shortDescription" : "A value emitted by the associated scheduler object to condition the model on a given noise schedule",
81
+ "shape" : "[2]",
82
+ "name" : "timestep",
83
+ "type" : "MultiArray"
84
+ },
85
+ {
86
+ "hasShapeFlexibility" : "0",
87
+ "isOptional" : "0",
88
+ "dataType" : "Float16",
89
+ "formattedType" : "MultiArray (Float16 2 × 2048 × 1 × 77)",
90
+ "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.",
91
+ "shape" : "[2, 2048, 1, 77]",
92
+ "name" : "encoder_hidden_states",
93
+ "type" : "MultiArray"
94
+ },
95
+ {
96
+ "hasShapeFlexibility" : "0",
97
+ "isOptional" : "0",
98
+ "dataType" : "Float16",
99
+ "formattedType" : "MultiArray (Float16 12)",
100
+ "shortDescription" : "",
101
+ "shape" : "[12]",
102
+ "name" : "time_ids",
103
+ "type" : "MultiArray"
104
+ },
105
+ {
106
+ "hasShapeFlexibility" : "0",
107
+ "isOptional" : "0",
108
+ "dataType" : "Float16",
109
+ "formattedType" : "MultiArray (Float16 2 × 1280)",
110
+ "shortDescription" : "",
111
+ "shape" : "[2, 1280]",
112
+ "name" : "text_embeds",
113
+ "type" : "MultiArray"
114
+ }
115
+ ],
116
+ "userDefinedMetadata" : {
117
+ "com.github.apple.coremltools.version" : "7.0b1",
118
+ "com.github.apple.coremltools.source" : "torch==2.0.1+cu117",
119
+ "com.github.apple.ml-stable-diffusion.version" : "1.0.0"
120
+ },
121
+ "generatedClassName" : "recipe_4_50_bit_mixedpalette",
122
+ "method" : "predict"
123
+ }
124
+ ]
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/Unet.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/Unet.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9219e9fcaa60ff76a31ea84658b485264b50f66147c058e18a7cfd456bb0f3a
3
+ size 1450049728
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/VAEDecoder.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bac2854504d7f6bfdc5645982dd965cca9cc8c12b9fdd2493cf50cd583684cc2
3
+ size 207
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/VAEDecoder.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:766fce2585587fe93a1d32e09bc4d63ad45335ea62239f11b193e481b5888258
3
+ size 773
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/VAEDecoder.mlmodelc/metadata.json ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "shortDescription" : "Stable Diffusion generates images conditioned on text and\/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)",
11
+ "shortDescription" : "Generated image normalized to range [-1, 1]",
12
+ "shape" : "[]",
13
+ "name" : "image",
14
+ "type" : "MultiArray"
15
+ }
16
+ ],
17
+ "version" : "diffusers\/stable-diffusion-xl-base-1.0",
18
+ "modelParameters" : [
19
+
20
+ ],
21
+ "author" : "Please refer to the Model Card available at huggingface.co\/diffusers\/stable-diffusion-xl-base-1.0",
22
+ "specificationVersion" : 7,
23
+ "storagePrecision" : "Float32",
24
+ "license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
25
+ "mlProgramOperationTypeHistogram" : {
26
+ "Ios16.mul" : 2,
27
+ "Ios16.sqrt" : 30,
28
+ "Ios16.sub" : 30,
29
+ "Transpose" : 6,
30
+ "UpsampleNearestNeighbor" : 3,
31
+ "Ios16.conv" : 36,
32
+ "Ios16.add" : 46,
33
+ "Ios16.linear" : 4,
34
+ "Ios16.matmul" : 2,
35
+ "Ios16.realDiv" : 30,
36
+ "Ios16.reduceMean" : 60,
37
+ "Ios16.softmax" : 1,
38
+ "Ios16.batchNorm" : 29,
39
+ "Ios16.square" : 30,
40
+ "Ios16.reshape" : 65,
41
+ "Ios16.silu" : 29
42
+ },
43
+ "computePrecision" : "Mixed (Float32, Int32)",
44
+ "isUpdatable" : "0",
45
+ "availability" : {
46
+ "macOS" : "13.0",
47
+ "tvOS" : "16.0",
48
+ "watchOS" : "9.0",
49
+ "iOS" : "16.0",
50
+ "macCatalyst" : "16.0"
51
+ },
52
+ "modelType" : {
53
+ "name" : "MLModelType_mlProgram"
54
+ },
55
+ "inputSchema" : [
56
+ {
57
+ "hasShapeFlexibility" : "0",
58
+ "isOptional" : "0",
59
+ "dataType" : "Float32",
60
+ "formattedType" : "MultiArray (Float32 1 × 4 × 128 × 128)",
61
+ "shortDescription" : "The denoised latent embeddings from the unet model after the last step of reverse diffusion",
62
+ "shape" : "[1, 4, 128, 128]",
63
+ "name" : "z",
64
+ "type" : "MultiArray"
65
+ }
66
+ ],
67
+ "userDefinedMetadata" : {
68
+ "com.github.apple.coremltools.version" : "7.0b1",
69
+ "com.github.apple.coremltools.source" : "torch==2.0.1"
70
+ },
71
+ "generatedClassName" : "Stable_Diffusion_version_diffusers_stable_diffusion_xl_base_1_0_vae_decoder",
72
+ "method" : "predict"
73
+ }
74
+ ]
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/VAEDecoder.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/VAEDecoder.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ade814d6037fb5ba892963be1596c8e37852f96c399101401831f8c07e64bd2
3
+ size 197977216
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/VAEEncoder.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e44297c358d64101602d9abfe4d6c9fb96ddb3b120f84fbb74001aa4312cf93
3
+ size 207
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/VAEEncoder.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7269e365034d061c3ad035d9a5b7c38864d7db71bee6fb7545c97a4942a865f1
3
+ size 783
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/VAEEncoder.mlmodelc/metadata.json ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "shortDescription" : "Stable Diffusion generates images conditioned on text and\/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)",
11
+ "shortDescription" : "The latent embeddings from the unet model from the input image.",
12
+ "shape" : "[]",
13
+ "name" : "latent",
14
+ "type" : "MultiArray"
15
+ }
16
+ ],
17
+ "version" : "diffusers\/stable-diffusion-xl-base-1.0",
18
+ "modelParameters" : [
19
+
20
+ ],
21
+ "author" : "Please refer to the Model Card available at huggingface.co\/diffusers\/stable-diffusion-xl-base-1.0",
22
+ "specificationVersion" : 7,
23
+ "storagePrecision" : "Float16",
24
+ "license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
25
+ "mlProgramOperationTypeHistogram" : {
26
+ "Pad" : 3,
27
+ "Ios16.cast" : 1,
28
+ "Ios16.mul" : 2,
29
+ "Ios16.sqrt" : 22,
30
+ "Ios16.sub" : 22,
31
+ "Transpose" : 6,
32
+ "Ios16.conv" : 28,
33
+ "Ios16.add" : 34,
34
+ "Ios16.linear" : 4,
35
+ "Ios16.matmul" : 2,
36
+ "Ios16.realDiv" : 22,
37
+ "Ios16.reduceMean" : 44,
38
+ "Ios16.softmax" : 1,
39
+ "Ios16.batchNorm" : 21,
40
+ "Ios16.square" : 22,
41
+ "Ios16.reshape" : 49,
42
+ "Ios16.silu" : 21
43
+ },
44
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
45
+ "isUpdatable" : "0",
46
+ "availability" : {
47
+ "macOS" : "13.0",
48
+ "tvOS" : "16.0",
49
+ "watchOS" : "9.0",
50
+ "iOS" : "16.0",
51
+ "macCatalyst" : "16.0"
52
+ },
53
+ "modelType" : {
54
+ "name" : "MLModelType_mlProgram"
55
+ },
56
+ "inputSchema" : [
57
+ {
58
+ "hasShapeFlexibility" : "0",
59
+ "isOptional" : "0",
60
+ "dataType" : "Float16",
61
+ "formattedType" : "MultiArray (Float16 1 × 3 × 1024 × 1024)",
62
+ "shortDescription" : "The input image to base the initial latents on normalized to range [-1, 1]",
63
+ "shape" : "[1, 3, 1024, 1024]",
64
+ "name" : "z",
65
+ "type" : "MultiArray"
66
+ }
67
+ ],
68
+ "userDefinedMetadata" : {
69
+ "com.github.apple.coremltools.version" : "7.0b1",
70
+ "com.github.apple.coremltools.source" : "torch==2.0.1+cu117"
71
+ },
72
+ "generatedClassName" : "Stable_Diffusion_version_diffusers_stable_diffusion_xl_base_1_0_vae_encoder",
73
+ "method" : "predict"
74
+ }
75
+ ]
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/VAEEncoder.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/VAEEncoder.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:329f708df0bae1990a1886007b5ae56cfd9a44e7091e8f822db907a9fc411858
3
+ size 68338112
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/compiled/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_text_encoder.mlpackage/Data/com.apple.CoreML/FeatureDescriptions.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Outputs" : {
3
+ "pooled_outputs" : {
4
+ "MLFeatureShortDescription" : "The version of the `last_hidden_state` output after pooling"
5
+ },
6
+ "hidden_embeds" : {
7
+ "MLFeatureShortDescription" : "Hidden states after the encoder layers"
8
+ }
9
+ },
10
+ "Inputs" : {
11
+ "input_ids" : {
12
+ "MLFeatureShortDescription" : "The token ids that represent the input text"
13
+ }
14
+ },
15
+ "TrainingInputs" : {
16
+
17
+ }
18
+ }
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_text_encoder.mlpackage/Data/com.apple.CoreML/Metadata.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "MLModelVersionStringKey" : "stabilityai\/stable-diffusion-xl-base-1.0",
3
+ "MLModelDescriptionKey" : "Stable Diffusion generates images conditioned on text and\/or other images as input through the diffusion process. Please refer to https:\/\/arxiv.org\/abs\/2112.10752 for details.",
4
+ "MLModelCreatorDefinedKey" : {
5
+ "com.github.apple.coremltools.version" : "7.0b1",
6
+ "com.github.apple.coremltools.source" : "torch==2.0.1+cu117"
7
+ },
8
+ "MLModelAuthorKey" : "Please refer to the Model Card available at huggingface.co\/stabilityai\/stable-diffusion-xl-base-1.0",
9
+ "MLModelLicenseKey" : "OpenRAIL++-M (https:\/\/huggingface.co\/stabilityai\/stable-diffusion-xl-base-1.0\/blob\/main\/LICENSE.md)"
10
+ }
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_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:d7fc64f553e0f6be677899106f40ed3bf85eceb3d0b55f90022252cb8dff1d4a
3
+ size 161160
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_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:a86533724aadf50c8f5539592d440887a484f60002d7967505c69c7faf4d7797
3
+ size 246145536
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_text_encoder.mlpackage/Manifest.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "2E437C75-2D29-4906-9BBF-06B4F60AF608": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "External Metadata Overlay",
7
+ "name": "Metadata.json",
8
+ "path": "com.apple.CoreML/Metadata.json"
9
+ },
10
+ "3d765fc2-d834-4477-9cf7-818901242816": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "CoreML Model Weights",
13
+ "name": "weights",
14
+ "path": "com.apple.CoreML/weights"
15
+ },
16
+ "58CF0F86-0A4C-4478-B878-FB21979F2094": {
17
+ "author": "com.apple.CoreML",
18
+ "description": "External FeatureDescription Overlay",
19
+ "name": "FeatureDescriptions.json",
20
+ "path": "com.apple.CoreML/FeatureDescriptions.json"
21
+ },
22
+ "5fc727d7-449d-4885-8c48-b3b711dfed7b": {
23
+ "author": "com.apple.CoreML",
24
+ "description": "CoreML Model Specification",
25
+ "name": "model.mlmodel",
26
+ "path": "com.apple.CoreML/model.mlmodel"
27
+ }
28
+ },
29
+ "rootModelIdentifier": "5fc727d7-449d-4885-8c48-b3b711dfed7b"
30
+ }
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_text_encoder_2.mlpackage/Data/com.apple.CoreML/FeatureDescriptions.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Outputs" : {
3
+ "pooled_outputs" : {
4
+ "MLFeatureShortDescription" : "The version of the `last_hidden_state` output after pooling"
5
+ },
6
+ "hidden_embeds" : {
7
+ "MLFeatureShortDescription" : "Hidden states after the encoder layers"
8
+ }
9
+ },
10
+ "Inputs" : {
11
+ "input_ids" : {
12
+ "MLFeatureShortDescription" : "The token ids that represent the input text"
13
+ }
14
+ },
15
+ "TrainingInputs" : {
16
+
17
+ }
18
+ }
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_text_encoder_2.mlpackage/Data/com.apple.CoreML/Metadata.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "MLModelVersionStringKey" : "stabilityai\/stable-diffusion-xl-base-1.0",
3
+ "MLModelDescriptionKey" : "Stable Diffusion generates images conditioned on text and\/or other images as input through the diffusion process. Please refer to https:\/\/arxiv.org\/abs\/2112.10752 for details.",
4
+ "MLModelCreatorDefinedKey" : {
5
+ "com.github.apple.coremltools.version" : "7.0b1",
6
+ "com.github.apple.coremltools.source" : "torch==2.0.1+cu117"
7
+ },
8
+ "MLModelAuthorKey" : "Please refer to the Model Card available at huggingface.co\/stabilityai\/stable-diffusion-xl-base-1.0",
9
+ "MLModelLicenseKey" : "OpenRAIL++-M (https:\/\/huggingface.co\/stabilityai\/stable-diffusion-xl-base-1.0\/blob\/main\/LICENSE.md)"
10
+ }
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_text_encoder_2.mlpackage/Data/com.apple.CoreML/model.mlmodel ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1cb832076a7e67ff890e274281c5bf83c3be6743b8214d0c6df95b88fce6711f
3
+ size 418221
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_text_encoder_2.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:8bd1fc0bcce11cff685648387b0060e0b6ecfce6c34e580e1ae904cae5903363
3
+ size 1389367424
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_text_encoder_2.mlpackage/Manifest.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "1003fcc7-51c2-44b1-bfd2-71eaffb11598": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Weights",
7
+ "name": "weights",
8
+ "path": "com.apple.CoreML/weights"
9
+ },
10
+ "5bff403e-2a80-4472-b7fe-4c3438e76e85": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "CoreML Model Specification",
13
+ "name": "model.mlmodel",
14
+ "path": "com.apple.CoreML/model.mlmodel"
15
+ },
16
+ "66E76242-93D0-4D4D-8D64-697552EC6C38": {
17
+ "author": "com.apple.CoreML",
18
+ "description": "External FeatureDescription Overlay",
19
+ "name": "FeatureDescriptions.json",
20
+ "path": "com.apple.CoreML/FeatureDescriptions.json"
21
+ },
22
+ "8DF8F909-251F-4BFD-BFA3-F72860B2F27D": {
23
+ "author": "com.apple.CoreML",
24
+ "description": "External Metadata Overlay",
25
+ "name": "Metadata.json",
26
+ "path": "com.apple.CoreML/Metadata.json"
27
+ }
28
+ },
29
+ "rootModelIdentifier": "5bff403e-2a80-4472-b7fe-4c3438e76e85"
30
+ }
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_unet.mlpackage/Data/com.apple.CoreML/model.mlmodel ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d32aa25518ec6d20563c61f0cc8f0b9ecca6d31665e4a5345a4b44d4c7706004
3
+ size 2135914
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_unet.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:d9219e9fcaa60ff76a31ea84658b485264b50f66147c058e18a7cfd456bb0f3a
3
+ size 1450049728
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_unet.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "4aab2a70-8353-41d1-81e0-1761fcebde0f": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Weights",
7
+ "name": "weights",
8
+ "path": "com.apple.CoreML/weights"
9
+ },
10
+ "58e673b4-eef0-4992-a74f-f42d8ec45a72": {
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": "58e673b4-eef0-4992-a74f-f42d8ec45a72"
18
+ }
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_vae_decoder.mlpackage/Data/com.apple.CoreML/FeatureDescriptions.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Outputs" : {
3
+ "image" : {
4
+ "MLFeatureShortDescription" : "Generated image normalized to range [-1, 1]"
5
+ }
6
+ },
7
+ "Inputs" : {
8
+ "z" : {
9
+ "MLFeatureShortDescription" : "The denoised latent embeddings from the unet model after the last step of reverse diffusion"
10
+ }
11
+ },
12
+ "TrainingInputs" : {
13
+
14
+ }
15
+ }
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_vae_decoder.mlpackage/Data/com.apple.CoreML/Metadata.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "MLModelVersionStringKey" : "stabilityai\/stable-diffusion-xl-base-1.0",
3
+ "MLModelDescriptionKey" : "Stable Diffusion generates images conditioned on text and\/or other images as input through the diffusion process. Please refer to https:\/\/arxiv.org\/abs\/2112.10752 for details.",
4
+ "MLModelCreatorDefinedKey" : {
5
+ "com.github.apple.coremltools.version" : "7.0b1",
6
+ "com.github.apple.coremltools.source" : "torch==2.0.1"
7
+ },
8
+ "MLModelAuthorKey" : "Please refer to the Model Card available at huggingface.co\/stabilityai\/stable-diffusion-xl-base-1.0",
9
+ "MLModelLicenseKey" : "OpenRAIL++-M (https:\/\/huggingface.co\/stabilityai\/stable-diffusion-xl-base-1.0\/blob\/main\/LICENSE.md)"
10
+ }
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_vae_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:fb66e41edf6678acc5df408ffb294157df24996f810f649d953d2997df2f40cc
3
+ size 143700
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_vae_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:7ade814d6037fb5ba892963be1596c8e37852f96c399101401831f8c07e64bd2
3
+ size 197977216
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_vae_decoder.mlpackage/Manifest.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "0C4B4A84-E58C-4B55-9232-7AD156C36DF1": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Specification",
7
+ "name": "model.mlmodel",
8
+ "path": "com.apple.CoreML/model.mlmodel"
9
+ },
10
+ "63939630-D849-41F2-B7BB-9439F4215E25": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "External FeatureDescription Overlay",
13
+ "name": "FeatureDescriptions.json",
14
+ "path": "com.apple.CoreML/FeatureDescriptions.json"
15
+ },
16
+ "920AF9A5-7F1B-4655-9367-780D11D0CACC": {
17
+ "author": "com.apple.CoreML",
18
+ "description": "External Metadata Overlay",
19
+ "name": "Metadata.json",
20
+ "path": "com.apple.CoreML/Metadata.json"
21
+ },
22
+ "FF129861-DA4E-4A61-A51B-4E991CC3DAEA": {
23
+ "author": "com.apple.CoreML",
24
+ "description": "CoreML Model Weights",
25
+ "name": "weights",
26
+ "path": "com.apple.CoreML/weights"
27
+ }
28
+ },
29
+ "rootModelIdentifier": "0C4B4A84-E58C-4B55-9232-7AD156C36DF1"
30
+ }
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_vae_encoder.mlpackage/Data/com.apple.CoreML/FeatureDescriptions.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Outputs" : {
3
+ "latent" : {
4
+ "MLFeatureShortDescription" : "The latent embeddings from the unet model from the input image."
5
+ }
6
+ },
7
+ "Inputs" : {
8
+ "z" : {
9
+ "MLFeatureShortDescription" : "The input image to base the initial latents on normalized to range [-1, 1]"
10
+ }
11
+ },
12
+ "TrainingInputs" : {
13
+
14
+ }
15
+ }
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_vae_encoder.mlpackage/Data/com.apple.CoreML/Metadata.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "MLModelVersionStringKey" : "stabilityai\/stable-diffusion-xl-base-1.0",
3
+ "MLModelDescriptionKey" : "Stable Diffusion generates images conditioned on text and\/or other images as input through the diffusion process. Please refer to https:\/\/arxiv.org\/abs\/2112.10752 for details.",
4
+ "MLModelCreatorDefinedKey" : {
5
+ "com.github.apple.coremltools.version" : "7.0b1",
6
+ "com.github.apple.coremltools.source" : "torch==2.0.1+cu117"
7
+ },
8
+ "MLModelAuthorKey" : "Please refer to the Model Card available at huggingface.co\/stabilityai\/stable-diffusion-xl-base-1.0",
9
+ "MLModelLicenseKey" : "OpenRAIL++-M (https:\/\/huggingface.co\/stabilityai\/stable-diffusion-xl-base-1.0\/blob\/main\/LICENSE.md)"
10
+ }
coreml-stable-diffusion-xl-base_mbp_4_50_palettized/packages/Stable_Diffusion_version_stabilityai_stable-diffusion-xl-base-1.0_vae_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:ee32c2ed8e0d8dc35e513bd328fda885af82ec3d252f50037cc70fc5d966860d
3
+ size 119397