mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-11-11 11:26:34 +00:00
feat: add Qwen Image 2.1 prefix KV cache (#2035)
This commit is contained in:
1 parent
e6281b6318
commit
2dc7f5408a
9 files changed
+237
-81
No files matched your search
@@ -71,6 +71,8 @@ struct AnimaDiffusionExtra {
|
||||
|
||||
struct QwenImage21DiffusionExtra {
|
||||
const sd::Tensor<int32_t>* image_slots = nullptr;
|
||||
// Nonzero IDs identify immutable prefix inputs within one sampling run.
|
||||
uint64_t prefix_id = 0;
|
||||
};
|
||||
|
||||
struct WanDiffusionExtra {
|
||||
|
||||
Reference in new issue
Block a user