software-mansion/react-native-executorch-sdxs-512-dreamshaper
sdxs-512-dreamshaper
This repository hosts the sdxs-512-dreamshaper models exported for the React Native ExecuTorch library as ExecuTorch .pte programs, ready to run on device.
Upstream model: SDXS-512-DreamShaper
Variants
Unshipped backends
A backend directory carrying a NOTES.md and no .pte was exported and not published. Its note records what went wrong.
mlx(why)
Repository structure
config.json 41 B
coreml/config.json 2.0 kB
coreml/sdxs_512_dreamshaper_coreml_fp16.pte 840 MB
mlx/NOTES.md 2.8 kB
tokenizer.json 3.5 MB
tokenizer_config.json 399 B
xnnpack/config.json 2.0 kB
xnnpack/sdxs_512_dreamshaper_xnnpack_fp32.pte 1.6 GBCompatibility
These files are published for the ExecuTorch v1.4.1 runtime. ExecuTorch gives no forward compatibility guarantee, so an older runtime may fail to load them.
To use them in React Native ExecuTorch, pass the model constant shipped in the library's model registry to the corresponding task pipeline. See the documentation.
To load these files in your own ExecuTorch runtime, read the compatibility note first.
Model details
Each backend's .pte exports three methods, and the diffusion loop is split between the program and the client. The program owns encode, denoise and decode; the client owns CLIP tokenization and the single-step scheduler, which is linear in the latents and the predicted noise. Neither of those is in the graph, so a caller that only runs the three methods will not produce an image.
Exact shapes and dtypes for the three methods are declared in each config.json.
