We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96a1dc2 commit 09186faCopy full SHA for 09186fa
src/llama.cpp
@@ -11519,13 +11519,7 @@ int32_t llama_lora_adapter_set(
11519
struct llama_context * ctx,
11520
struct llama_lora_adapter * adapter,
11521
float scale) {
11522
- if (ctx->cparams.flash_attn) {
11523
- LLAMA_LOG_ERROR("%s: flash_attn is not compatible with LoRA\n", __func__);
11524
- return -1;
11525
- }
11526
-
11527
ctx->lora_adapters[adapter] = scale;
11528
11529
return 0;
11530
}
11531
0 commit comments