mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-19 01:05:09 +02:00
flash attention is broken on qwen image edit. disabled conditioner to fix (+1 squashed commits)
Squashed commits: [1b705cb6e] flash attention is broken on qwen image edit. disabled conditioner to fix
This commit is contained in:
@@ -863,7 +863,10 @@ public:
|
||||
|
||||
if (sd_ctx_params->flash_attn) {
|
||||
LOG_INFO("Using flash attention");
|
||||
cond_stage_model->set_flash_attention_enabled(true);
|
||||
if(!sd_version_is_qwen_image(version)) //kcpp: edit 14feb, breaks qwen image edit
|
||||
{
|
||||
cond_stage_model->set_flash_attention_enabled(true);
|
||||
}
|
||||
if (clip_vision) {
|
||||
clip_vision->set_flash_attention_enabled(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user