Repository navigation
perf(vulkan): accelerate MOSS normalization and SiTU staging - #2273
Conversation
Co-authored-by: mirek190 <mirek190@gmail.com>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Summary
Reduce intermediate tensor writes and separate dispatches in MOSS-Image's Vulkan execution:
135ce1e0, including native SiTU-to-F16 staging for Q8 matrix multiplication from ggml #25.The normalization and RoPE fusions use sd.cpp's ggml extension mechanism. SiTU staging remains in ggml and reuses its matrix multiplication implementation.
Thanks to @mirek190 for the original optimizations.
Related Issue / Discussion
N/A
Additional Information
Hardware: NVIDIA GeForce RTX 4090 24 GB, NVIDIA driver 596.36.
DiT files:
MOSS-Image-SFT-Q8_0.ggufSampling throughput in it/s; higher is better:
The measured mean increased by 4.99%.
Configuration:
Qwen3.5-9B-Q4_K_M.gguftext encoder,flux2_ae.safetensorsVAE andtokenizer_qwen3.5.json.a lovely cat holding a sign says 'moss-image.cpp'.Checklist
Summary by CodeRabbit