dreamshaper8-cast-npu-8gen2

DreamShaper 8 with IP-Adapter Plus (SD 1.5) for consistent characters, compiled to Qualcomm Hexagon NPU context binaries for the Snapdragon 8 Gen 2 (SM8550, Hexagon v73) via Qualcomm AI Hub (QAIRT 2.45, w8a16). Built for the storyboard Cast feature in Latent Studio.

What is different from plain IP-Adapter

  • Regional, two identities per image: two 16-token identity slots, each with its own 64x64 spatial weight map, so two characters keep their own look in one panel.
  • Appearance without layout copying: identity is injected in the UNet up-sampling blocks only.
  • Strength travels in the mask (ip_mask 0..1 per pixel); ip_scale is inert.
  • Text encoder uses a -300 causal mask (numerically identical) so it survives int16 quantisation.

Verified on a real Snapdragon 8 Gen 3 (Galaxy S24, AI Hub): cosine similarity to fp32 >= 0.995 for every graph.

Graphs (all IO uint16 EPContext wrappers; scales in quant.txt)

File Inputs Output
text_encoder tokens int32 [1,77] text_embedding [1,77,768]
image_encoder pixels [1,224,224,3] RGB 0..1 ip_tokens [1,16,768]
unet latent [1,64,64,4], timestep [1,1], text_emb [1,154,768], ip_emb [1,2,16,768], ip_mask [1,2,64,64], ip_scale [1,1] output_latent [1,64,64,4]
vae latent [1,64,64,4] image [1,512,512,3] 0..1

Chip-specific builds

Repo Chip SoC Hexagon
dreamshaper8-cast-npu-8gen2 Snapdragon 8 Gen 2 SM8550 v73
dreamshaper8-cast-npu-8gen3 Snapdragon 8 Gen 3 SM8650 v75
dreamshaper8-cast-npu-8elite Snapdragon 8 Elite SM8750 v79
dreamshaper8-cast-npu-8elitegen5 Snapdragon 8 Elite Gen 5 SM8850 v81

License

Derivative work (re-exported, quantised and compiled; no retraining or merging). DreamShaper 8 / Stable Diffusion 1.5: CreativeML OpenRAIL-M; its Attachment A use-restrictions apply to you and cannot be removed downstream. IP-Adapter: Apache-2.0. CLIP ViT-H/14 (LAION): MIT. Credit belongs to the original authors (Lykon; Tencent AI Lab; LAION).

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for latentdivergence/dreamshaper8-cast-npu-8gen2

Quantized
(17)
this model