Vivek Bhakta commited on
Commit
8c04b14
β€’
1 Parent(s): 581cdc1

Use compiled coreml models

Browse files
Files changed (44) hide show
  1. mlpackages/.gitattributes +0 -36
  2. mlpackages/Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_text_encoder.mlpackage/Data/com.apple.CoreML/FeatureDescriptions.json +0 -18
  3. mlpackages/Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_text_encoder.mlpackage/Data/com.apple.CoreML/Metadata.json +0 -10
  4. mlpackages/Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_text_encoder.mlpackage/Manifest.json +0 -30
  5. mlpackages/Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_text_encoder_2.mlpackage/Data/com.apple.CoreML/FeatureDescriptions.json +0 -18
  6. mlpackages/Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_text_encoder_2.mlpackage/Data/com.apple.CoreML/Metadata.json +0 -10
  7. mlpackages/Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_text_encoder_2.mlpackage/Manifest.json +0 -30
  8. mlpackages/Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_unet.mlpackage/Data/com.apple.CoreML/FeatureDescriptions.json +0 -27
  9. mlpackages/Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_unet.mlpackage/Data/com.apple.CoreML/Metadata.json +0 -11
  10. mlpackages/Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_unet.mlpackage/Data/com.apple.CoreML/model.mlmodel +0 -3
  11. mlpackages/Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_unet.mlpackage/Manifest.json +0 -30
  12. mlpackages/Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_vae_decoder.mlpackage/Data/com.apple.CoreML/FeatureDescriptions.json +0 -15
  13. mlpackages/Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_vae_decoder.mlpackage/Data/com.apple.CoreML/Metadata.json +0 -10
  14. mlpackages/Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_vae_decoder.mlpackage/Manifest.json +0 -30
  15. mlpackages/Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_vae_encoder.mlpackage/Data/com.apple.CoreML/FeatureDescriptions.json +0 -15
  16. mlpackages/Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_vae_encoder.mlpackage/Data/com.apple.CoreML/Metadata.json +0 -10
  17. mlpackages/Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_vae_encoder.mlpackage/Manifest.json +0 -30
  18. mlpackages/{Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_text_encoder_2.mlpackage/Data/com.apple.CoreML/model.mlmodel β†’ TextEncoder.mlmodelc/analytics/coremldata.bin} +2 -2
  19. mlpackages/{Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_vae_encoder.mlpackage/Data/com.apple.CoreML/model.mlmodel β†’ TextEncoder.mlmodelc/coremldata.bin} +2 -2
  20. mlpackages/TextEncoder.mlmodelc/metadata.json +82 -0
  21. mlpackages/TextEncoder.mlmodelc/model.mil +0 -0
  22. mlpackages/{Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_text_encoder.mlpackage/Data/com.apple.CoreML β†’ TextEncoder.mlmodelc}/weights/weight.bin +0 -0
  23. mlpackages/{Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_vae_decoder.mlpackage/Data/com.apple.CoreML/model.mlmodel β†’ TextEncoder2.mlmodelc/analytics/coremldata.bin} +2 -2
  24. mlpackages/{Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_text_encoder.mlpackage/Data/com.apple.CoreML/model.mlmodel β†’ TextEncoder2.mlmodelc/coremldata.bin} +2 -2
  25. mlpackages/TextEncoder2.mlmodelc/metadata.json +82 -0
  26. mlpackages/TextEncoder2.mlmodelc/model.mil +0 -0
  27. mlpackages/{Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_text_encoder_2.mlpackage/Data/com.apple.CoreML β†’ TextEncoder2.mlmodelc}/weights/weight.bin +0 -0
  28. mlpackages/Unet.mlmodelc/analytics/coremldata.bin +3 -0
  29. mlpackages/Unet.mlmodelc/coremldata.bin +3 -0
  30. mlpackages/Unet.mlmodelc/metadata.json +122 -0
  31. mlpackages/Unet.mlmodelc/model.mil +0 -0
  32. mlpackages/{Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_unet.mlpackage/Data/com.apple.CoreML β†’ Unet.mlmodelc}/weights/weight.bin +0 -0
  33. mlpackages/VAEDecoder.mlmodelc/analytics/coremldata.bin +3 -0
  34. mlpackages/VAEDecoder.mlmodelc/coremldata.bin +3 -0
  35. mlpackages/VAEDecoder.mlmodelc/metadata.json +74 -0
  36. mlpackages/VAEDecoder.mlmodelc/model.mil +0 -0
  37. mlpackages/{Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_vae_decoder.mlpackage/Data/com.apple.CoreML β†’ VAEDecoder.mlmodelc}/weights/weight.bin +0 -0
  38. mlpackages/VAEEncoder.mlmodelc/analytics/coremldata.bin +3 -0
  39. mlpackages/VAEEncoder.mlmodelc/coremldata.bin +3 -0
  40. mlpackages/VAEEncoder.mlmodelc/metadata.json +75 -0
  41. mlpackages/VAEEncoder.mlmodelc/model.mil +0 -0
  42. mlpackages/{Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_vae_encoder.mlpackage/Data/com.apple.CoreML β†’ VAEEncoder.mlmodelc}/weights/weight.bin +0 -0
  43. mlpackages/merges.txt +0 -0
  44. mlpackages/vocab.json +0 -0
mlpackages/.gitattributes DELETED
@@ -1,36 +0,0 @@
1
- *.7z filter=lfs diff=lfs merge=lfs -text
2
- *.arrow filter=lfs diff=lfs merge=lfs -text
3
- *.bin filter=lfs diff=lfs merge=lfs -text
4
- *.bz2 filter=lfs diff=lfs merge=lfs -text
5
- *.ckpt filter=lfs diff=lfs merge=lfs -text
6
- *.ftz filter=lfs diff=lfs merge=lfs -text
7
- *.gz filter=lfs diff=lfs merge=lfs -text
8
- *.h5 filter=lfs diff=lfs merge=lfs -text
9
- *.joblib filter=lfs diff=lfs merge=lfs -text
10
- *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
- *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
- *.model filter=lfs diff=lfs merge=lfs -text
13
- *.msgpack filter=lfs diff=lfs merge=lfs -text
14
- *.npy filter=lfs diff=lfs merge=lfs -text
15
- *.npz filter=lfs diff=lfs merge=lfs -text
16
- *.onnx filter=lfs diff=lfs merge=lfs -text
17
- *.ot filter=lfs diff=lfs merge=lfs -text
18
- *.parquet filter=lfs diff=lfs merge=lfs -text
19
- *.pb filter=lfs diff=lfs merge=lfs -text
20
- *.pickle filter=lfs diff=lfs merge=lfs -text
21
- *.pkl filter=lfs diff=lfs merge=lfs -text
22
- *.pt filter=lfs diff=lfs merge=lfs -text
23
- *.pth filter=lfs diff=lfs merge=lfs -text
24
- *.rar filter=lfs diff=lfs merge=lfs -text
25
- *.safetensors filter=lfs diff=lfs merge=lfs -text
26
- saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
- *.tar.* filter=lfs diff=lfs merge=lfs -text
28
- *.tar filter=lfs diff=lfs merge=lfs -text
29
- *.tflite filter=lfs diff=lfs merge=lfs -text
30
- *.tgz filter=lfs diff=lfs merge=lfs -text
31
- *.wasm filter=lfs diff=lfs merge=lfs -text
32
- *.xz filter=lfs diff=lfs merge=lfs -text
33
- *.zip filter=lfs diff=lfs merge=lfs -text
34
- *.zst filter=lfs diff=lfs merge=lfs -text
35
- *tfevents* filter=lfs diff=lfs merge=lfs -text
36
- 01.png filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
mlpackages/Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_text_encoder.mlpackage/Data/com.apple.CoreML/FeatureDescriptions.json DELETED
@@ -1,18 +0,0 @@
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
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
mlpackages/Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_text_encoder.mlpackage/Data/com.apple.CoreML/Metadata.json DELETED
@@ -1,10 +0,0 @@
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
- }
 
 
 
 
 
 
 
 
 
 
 
mlpackages/Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_text_encoder.mlpackage/Manifest.json DELETED
@@ -1,30 +0,0 @@
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
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
mlpackages/Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_text_encoder_2.mlpackage/Data/com.apple.CoreML/FeatureDescriptions.json DELETED
@@ -1,18 +0,0 @@
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
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
mlpackages/Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_text_encoder_2.mlpackage/Data/com.apple.CoreML/Metadata.json DELETED
@@ -1,10 +0,0 @@
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
- }
 
 
 
 
 
 
 
 
 
 
 
mlpackages/Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_text_encoder_2.mlpackage/Manifest.json DELETED
@@ -1,30 +0,0 @@
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
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
mlpackages/Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_unet.mlpackage/Data/com.apple.CoreML/FeatureDescriptions.json DELETED
@@ -1,27 +0,0 @@
1
- {
2
- "Outputs" : {
3
- "noise_pred" : {
4
- "MLFeatureShortDescription" : "Same shape and dtype as the `sample` input. The predicted noise to facilitate the reverse diffusion (denoising) process"
5
- }
6
- },
7
- "Inputs" : {
8
- "encoder_hidden_states" : {
9
- "MLFeatureShortDescription" : "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."
10
- },
11
- "sample" : {
12
- "MLFeatureShortDescription" : "The low resolution latent feature maps being denoised through reverse diffusion"
13
- },
14
- "timestep" : {
15
- "MLFeatureShortDescription" : "A value emitted by the associated scheduler object to condition the model on a given noise schedule"
16
- },
17
- "time_ids" : {
18
- "MLFeatureShortDescription" : ""
19
- },
20
- "text_embeds" : {
21
- "MLFeatureShortDescription" : ""
22
- }
23
- },
24
- "TrainingInputs" : {
25
-
26
- }
27
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
mlpackages/Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_unet.mlpackage/Data/com.apple.CoreML/Metadata.json DELETED
@@ -1,11 +0,0 @@
1
- {
2
- "MLModelVersionStringKey" : "stabilityai\/stable-diffusion-xl-base-1.0",
3
- "MLModelDescriptionKey" : "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
- "MLModelCreatorDefinedKey" : {
5
- "com.github.apple.coremltools.version" : "7.0b1",
6
- "com.github.apple.coremltools.source" : "torch==2.0.1+cu117",
7
- "com.github.apple.ml-stable-diffusion.version" : "1.0.0"
8
- },
9
- "MLModelAuthorKey" : "Please refer to the Model Card available at huggingface.co\/stabilityai\/stable-diffusion-xl-base-1.0",
10
- "MLModelLicenseKey" : "OpenRAIL++-M (https:\/\/huggingface.co\/stabilityai\/stable-diffusion-xl-base-1.0\/blob\/main\/LICENSE.md)"
11
- }
 
 
 
 
 
 
 
 
 
 
 
 
mlpackages/Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_unet.mlpackage/Data/com.apple.CoreML/model.mlmodel DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:d76b3e630fc6936ba2b10f20364290b702e2a1a4d44b2d147133a52dd86bbe5a
3
- size 2028342
 
 
 
 
mlpackages/Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_unet.mlpackage/Manifest.json DELETED
@@ -1,30 +0,0 @@
1
- {
2
- "fileFormatVersion": "1.0.0",
3
- "itemInfoEntries": {
4
- "018FAE61-4A61-4AC6-A136-4E007EDFC6B2": {
5
- "author": "com.apple.CoreML",
6
- "description": "External Metadata Overlay",
7
- "name": "Metadata.json",
8
- "path": "com.apple.CoreML/Metadata.json"
9
- },
10
- "55cd366d-d242-44ae-ac6b-0316d8671233": {
11
- "author": "com.apple.CoreML",
12
- "description": "CoreML Model Weights",
13
- "name": "weights",
14
- "path": "com.apple.CoreML/weights"
15
- },
16
- "7F4E1119-020E-4F7A-BC28-AB8F3F0119EE": {
17
- "author": "com.apple.CoreML",
18
- "description": "External FeatureDescription Overlay",
19
- "name": "FeatureDescriptions.json",
20
- "path": "com.apple.CoreML/FeatureDescriptions.json"
21
- },
22
- "c34397a4-1dac-4188-a5c0-ea4e42c7e4e9": {
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": "c34397a4-1dac-4188-a5c0-ea4e42c7e4e9"
30
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
mlpackages/Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_vae_decoder.mlpackage/Data/com.apple.CoreML/FeatureDescriptions.json DELETED
@@ -1,15 +0,0 @@
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
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
mlpackages/Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_vae_decoder.mlpackage/Data/com.apple.CoreML/Metadata.json DELETED
@@ -1,10 +0,0 @@
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
- }
 
 
 
 
 
 
 
 
 
 
 
mlpackages/Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_vae_decoder.mlpackage/Manifest.json DELETED
@@ -1,30 +0,0 @@
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
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
mlpackages/Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_vae_encoder.mlpackage/Data/com.apple.CoreML/FeatureDescriptions.json DELETED
@@ -1,15 +0,0 @@
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
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
mlpackages/Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_vae_encoder.mlpackage/Data/com.apple.CoreML/Metadata.json DELETED
@@ -1,10 +0,0 @@
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
- }
 
 
 
 
 
 
 
 
 
 
 
mlpackages/Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_vae_encoder.mlpackage/Manifest.json DELETED
@@ -1,30 +0,0 @@
1
- {
2
- "fileFormatVersion": "1.0.0",
3
- "itemInfoEntries": {
4
- "3B5695B7-E904-4965-8B20-FCA04DC0C035": {
5
- "author": "com.apple.CoreML",
6
- "description": "External FeatureDescription Overlay",
7
- "name": "FeatureDescriptions.json",
8
- "path": "com.apple.CoreML/FeatureDescriptions.json"
9
- },
10
- "78a885c8-8779-418b-9bfe-cf0ac2e82e6f": {
11
- "author": "com.apple.CoreML",
12
- "description": "CoreML Model Weights",
13
- "name": "weights",
14
- "path": "com.apple.CoreML/weights"
15
- },
16
- "7EE511A5-DB53-4061-8155-ED696C539F30": {
17
- "author": "com.apple.CoreML",
18
- "description": "External Metadata Overlay",
19
- "name": "Metadata.json",
20
- "path": "com.apple.CoreML/Metadata.json"
21
- },
22
- "9e7ab831-1e35-4406-be6a-48236315c9c4": {
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": "9e7ab831-1e35-4406-be6a-48236315c9c4"
30
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
mlpackages/{Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_text_encoder_2.mlpackage/Data/com.apple.CoreML/model.mlmodel β†’ TextEncoder.mlmodelc/analytics/coremldata.bin} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1cb832076a7e67ff890e274281c5bf83c3be6743b8214d0c6df95b88fce6711f
3
- size 418221
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f732919fa370a1b7b09ec2b227539269b6543149a2b0dbae95cc4cf350e4b697
3
+ size 207
mlpackages/{Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_vae_encoder.mlpackage/Data/com.apple.CoreML/model.mlmodel β†’ TextEncoder.mlmodelc/coremldata.bin} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ee32c2ed8e0d8dc35e513bd328fda885af82ec3d252f50037cc70fc5d966860d
3
- size 119397
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ff26866d8d8fbb4e53a0628f8aab5f7edf1b3ec763a96e6812c8f7fbf4c9827
3
+ size 825
mlpackages/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
+ ]
mlpackages/TextEncoder.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
mlpackages/{Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_text_encoder.mlpackage/Data/com.apple.CoreML β†’ TextEncoder.mlmodelc}/weights/weight.bin RENAMED
File without changes
mlpackages/{Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_vae_decoder.mlpackage/Data/com.apple.CoreML/model.mlmodel β†’ TextEncoder2.mlmodelc/analytics/coremldata.bin} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:fb66e41edf6678acc5df408ffb294157df24996f810f649d953d2997df2f40cc
3
- size 143700
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eef66b480388714bb62f2f0f2f97a8953e44acbb00b25f9a9fd63c759f4f0e83
3
+ size 207
mlpackages/{Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_text_encoder.mlpackage/Data/com.apple.CoreML/model.mlmodel β†’ TextEncoder2.mlmodelc/coremldata.bin} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d7fc64f553e0f6be677899106f40ed3bf85eceb3d0b55f90022252cb8dff1d4a
3
- size 161160
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ff26866d8d8fbb4e53a0628f8aab5f7edf1b3ec763a96e6812c8f7fbf4c9827
3
+ size 825
mlpackages/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
+ ]
mlpackages/TextEncoder2.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
mlpackages/{Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_text_encoder_2.mlpackage/Data/com.apple.CoreML β†’ TextEncoder2.mlmodelc}/weights/weight.bin RENAMED
File without changes
mlpackages/Unet.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df3831a13c76df3097f4ae659ef46a7f6604f93b45c1a5f8d14e362424d15e1f
3
+ size 207
mlpackages/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
mlpackages/Unet.mlmodelc/metadata.json ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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" : "Float16",
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.gelu" : 70,
40
+ "Ios16.matmul" : 280,
41
+ "Ios16.reshape" : 675,
42
+ "Ios16.batchNorm" : 46,
43
+ "Ios16.rsqrt" : 210,
44
+ "Ios16.silu" : 38,
45
+ "Ios16.sqrt" : 46,
46
+ "SliceByIndex" : 4,
47
+ "Ios16.mul" : 842,
48
+ "Ios16.cos" : 2
49
+ },
50
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
51
+ "isUpdatable" : "0",
52
+ "availability" : {
53
+ "macOS" : "13.0",
54
+ "tvOS" : "16.0",
55
+ "watchOS" : "9.0",
56
+ "iOS" : "16.0",
57
+ "macCatalyst" : "16.0"
58
+ },
59
+ "modelType" : {
60
+ "name" : "MLModelType_mlProgram"
61
+ },
62
+ "inputSchema" : [
63
+ {
64
+ "hasShapeFlexibility" : "0",
65
+ "isOptional" : "0",
66
+ "dataType" : "Float16",
67
+ "formattedType" : "MultiArray (Float16 2 Γ— 4 Γ— 128 Γ— 128)",
68
+ "shortDescription" : "The low resolution latent feature maps being denoised through reverse diffusion",
69
+ "shape" : "[2, 4, 128, 128]",
70
+ "name" : "sample",
71
+ "type" : "MultiArray"
72
+ },
73
+ {
74
+ "hasShapeFlexibility" : "0",
75
+ "isOptional" : "0",
76
+ "dataType" : "Float16",
77
+ "formattedType" : "MultiArray (Float16 2)",
78
+ "shortDescription" : "A value emitted by the associated scheduler object to condition the model on a given noise schedule",
79
+ "shape" : "[2]",
80
+ "name" : "timestep",
81
+ "type" : "MultiArray"
82
+ },
83
+ {
84
+ "hasShapeFlexibility" : "0",
85
+ "isOptional" : "0",
86
+ "dataType" : "Float16",
87
+ "formattedType" : "MultiArray (Float16 2 Γ— 2048 Γ— 1 Γ— 77)",
88
+ "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.",
89
+ "shape" : "[2, 2048, 1, 77]",
90
+ "name" : "encoder_hidden_states",
91
+ "type" : "MultiArray"
92
+ },
93
+ {
94
+ "hasShapeFlexibility" : "0",
95
+ "isOptional" : "0",
96
+ "dataType" : "Float16",
97
+ "formattedType" : "MultiArray (Float16 12)",
98
+ "shortDescription" : "",
99
+ "shape" : "[12]",
100
+ "name" : "time_ids",
101
+ "type" : "MultiArray"
102
+ },
103
+ {
104
+ "hasShapeFlexibility" : "0",
105
+ "isOptional" : "0",
106
+ "dataType" : "Float16",
107
+ "formattedType" : "MultiArray (Float16 2 Γ— 1280)",
108
+ "shortDescription" : "",
109
+ "shape" : "[2, 1280]",
110
+ "name" : "text_embeds",
111
+ "type" : "MultiArray"
112
+ }
113
+ ],
114
+ "userDefinedMetadata" : {
115
+ "com.github.apple.coremltools.version" : "7.0b1",
116
+ "com.github.apple.coremltools.source" : "torch==2.0.1+cu117",
117
+ "com.github.apple.ml-stable-diffusion.version" : "1.0.0"
118
+ },
119
+ "generatedClassName" : "Stable_Diffusion_version_diffusers_stable_diffusion_xl_base_1_0_unet",
120
+ "method" : "predict"
121
+ }
122
+ ]
mlpackages/Unet.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
mlpackages/{Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_unet.mlpackage/Data/com.apple.CoreML β†’ Unet.mlmodelc}/weights/weight.bin RENAMED
File without changes
mlpackages/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
mlpackages/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
mlpackages/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
+ ]
mlpackages/VAEDecoder.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
mlpackages/{Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_vae_decoder.mlpackage/Data/com.apple.CoreML β†’ VAEDecoder.mlmodelc}/weights/weight.bin RENAMED
File without changes
mlpackages/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
mlpackages/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
mlpackages/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
+ ]
mlpackages/VAEEncoder.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
mlpackages/{Stable_Diffusion_version_womboai_coreml-stable-diffusion-xl-base-1.0_vae_encoder.mlpackage/Data/com.apple.CoreML β†’ VAEEncoder.mlmodelc}/weights/weight.bin RENAMED
File without changes
mlpackages/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
mlpackages/vocab.json ADDED
The diff for this file is too large to render. See raw diff