CoolFace
Modelpublic

latentdivergence/lcm-ssd1b-npu-8elite

sourceHugging Faceapache-2.0updated 21h agoView on Hugging Face
0likes
Model Card

lcm-ssd1b-npu-8elite

LCM-SSD-1B compiled for the Qualcomm Hexagon v79 NPU (Snapdragon 8 Elite), as used by Latent Studio. UNet and VAE decoder only - the text encoders and tokenizer are shared with sdxl-lightning-4step-int8.

Measured on a Snapdragon 8 Elite: 733 ms per UNet step, 1.53 s VAE decode, ~27 s end to end for a 1024px image (versus 5 m 40 s for SDXL-Lightning on CPU).

  • —unet/ - 6 inputs: sample [1,4,128,128], timestep [1], encoder_hidden_states [1,77,2048], time_ids [1,6], text_embeds [1,1280], timestep_cond [1,256] (LCM guidance embedding). Output output_0.
  • —vae_decoder/ - built from madebyollin/sdxl-vae-fp16-fix. The stock SDXL VAE overflows in fp16 (two convs peak at 640,538 and 106,287 against fp16's 65,504 ceiling) and renders pure black; the fix weights peak at 2,301.

Both are EPContext wrappers: model.onnx names ./model.bin beside it. The architecture is fixed - a v79 binary will not load on v75.