| { | |
| "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json", | |
| "model": "sdxs_512_dreamshaper", | |
| "family": "sdxs", | |
| "capabilities": [ | |
| "image-generation" | |
| ], | |
| "backend": "coreml", | |
| "license": "openrail++", | |
| "variants": [ | |
| { | |
| "file": "sdxs_512_dreamshaper_coreml_fp16.pte", | |
| "precision": "fp16", | |
| "quantized": false, | |
| "default": true, | |
| "methods": { | |
| "encode": { | |
| "inputs": [ | |
| { | |
| "shape": [ | |
| 1, | |
| 77 | |
| ], | |
| "dtype": "int64" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "shape": [ | |
| 1, | |
| 77, | |
| 768 | |
| ], | |
| "dtype": "float32" | |
| } | |
| ] | |
| }, | |
| "denoise": { | |
| "inputs": [ | |
| { | |
| "shape": [ | |
| 1, | |
| 4, | |
| 64, | |
| 64 | |
| ], | |
| "dtype": "float32" | |
| }, | |
| { | |
| "shape": [ | |
| 1 | |
| ], | |
| "dtype": "int64" | |
| }, | |
| { | |
| "shape": [ | |
| 1, | |
| 77, | |
| 768 | |
| ], | |
| "dtype": "float32" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "shape": [ | |
| 1, | |
| 4, | |
| 64, | |
| 64 | |
| ], | |
| "dtype": "float32" | |
| } | |
| ] | |
| }, | |
| "decode": { | |
| "inputs": [ | |
| { | |
| "shape": [ | |
| 1, | |
| 4, | |
| 64, | |
| 64 | |
| ], | |
| "dtype": "float32" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "shape": [ | |
| 1, | |
| 3, | |
| 512, | |
| 512 | |
| ], | |
| "dtype": "float32" | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| ] | |
| } |