Anima Turbo for the Snapdragon 8 Gen 2 neural unit

Context binaries (QAIRT 2.50.40, HTP v73, soc_model 43) that run circlestone-labs/Anima Turbo v1.1 entirely on the Snapdragon 8 Gen 2 neural processing unit: prompt encoder, 28-block drawing model and picture decoder. 6 picture sizes (512 and 768 class; square, 9:16, 16:9), 4/6/8 steps. Optional guide picture (layout/pose control) through kohya-ss/Anima-LLLite any-test-like-v2, built into the drawing model.

Non-commercial use only β€” see LICENSE.md and NOTICE. Generated pictures may be used commercially. This is a modified version of Anima and is not an official CircleStone Labs release.

Files

Only the Standard set (8-bit drawing model) is built for this chip. manifest2.json lists every file with its size and sha256 (manifest.json is the same list). Copy all of them into the app's files/models folder.

File What it is
models/text.bin Qwen3-0.6B + Anima's 6-block adapter (prompt β†’ 256Γ—1024 context), 8-bit weights in blocks of 32, fp16 maths
models/qwen_embed_q8.raw Qwen token table, 8-bit (151936 Γ— 1024 int8, then 151936 float32 row scales)
models/t5_embed_f16.raw Anima adapter's T5 token table, fp16
models/qwen_tokenizer.json, models/t5_tokenizer.json tokenizers
ms/standard/part0-3.bin drawing model, 7 blocks each, 8-bit weights, all 6 sizes in one file per piece (weights stored once, one graph s<W>x<H> per size), with the guide adapter inside; extra inputs cemb (guide embedding) and st (strength, 0 = no guide)
ms/dec.bin tiny Wan 2.1 decoder (taew2_1) for all 6 sizes, fp16
ms/guide.bin the guide reader (any-test-like-v2's conditioning network), all 6 sizes: grey picture 0..1 β†’ cemb
models/xlsr.bin optional 4Γ— upscaler (512 β†’ 2048), fp16

Sizes (width Γ— height): 512Γ—512, 384Γ—672, 672Γ—384; 768Γ—768, 576Γ—1024, 1024Γ—576. The guide works best for the first half of the steps (ComfyUI end_percent 0.5) at strength ~1.

These binaries only run on HTP v73 (Snapdragon 8 Gen 2). For the Snapdragon 8 Elite (HTP v79), use anima-qnn-8elite.

How the pieces fit together

  • Prompt: Qwen ids (no special tokens) and T5 ids (+ end token 1) are looked up in the two tables on the CPU; text.bin takes them with padding masks and returns the context (rows past the prompt are zero; prompts up to 255 T5 tokens).
  • Drawing: each Euler step runs part0 β†’ part3 on the 1024 patches (32Γ—32 of a 64Γ—64 latent); sigmas from ComfyUI's "simple" schedule with shift 3. The residual stream is divided by 256 inside the weights so it fits in fp16.
  • dec.bin turns the final latent (as is, no latent scaling) into the 512Γ—512 picture.

The app, and building these files yourself

These files are made for the Anima app. The app downloads this set by itself on Snapdragon 8 Gen 2 phones. It has not been tested on a Snapdragon 8 Gen 2 phone yet. build/anima_v7x.sh builds it (with htp_config_v73.json). The scripts that build them from the original model weights, with a step-by-step guide, are in build/ in this repo.

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 sebekblessing/anima-qnn-8gen2

Finetuned
(123)
this model