Finally got SDNQ INT8 MM to work on Intel NPUs.
Generation time with Z-Image Turbo SDNQ INT8 model drops from 10 Mins with pure CPU to 5 Mins with NPU + CPU.
Here is an image generated with NPU running the nn.Linear layers and CPU running the rest:
This model has no text encoder.
Prompt: "This illustration consists of two girls on the image. The woman on the right side has red hair, purple eyes and orange shirt. The woman on the left side has brown hair, blue eyes and white shirt. sfw rating, 2girls, white background"
A simple diffusion transformer model trained at home in 2 weeks with 0.75 kWp power budget.
Uses Flux2 VAE.
No text encoder, diffusion transformer itself handles text tokens.
Diffusion Transformer and its nn.Embedding is randomly initialized.
A simple transformer diffusion / rectified flow model trained on 2x Intel ARC B60 GPUs for 5 days.
It doesn't use any text encoder, it uses direct tokens from the tokenizer instead.
It uses Flux2 VAE.
FP16 vs BF16 vs INT8 (quantized, sym) vs UINT8 (quantized, asym) vs FP8 E4 (quantized, sym) after 1000000 steps of x.mul_(0.99).add_(y)
using quantization with group_size 32 and fp32 scales / zero_points