build: a LoRA-declined fused GEMM owns no weight and is not a reference-kernel op

Found on Qwen3.8-27B fp8: the 64 declined gemm_nt_q_gated folds tripped the reference-kernel gate,
and as unresolved readers of gate_up they would have told the planner the weight cannot live on the
card.
This commit is contained in:
baKon committed 2026-10-16 20:52:09 -05:00
1 parent 63e6d01394
commit be4ebdc3af
3 files changed
+12

No files matched your search

+4
View File
@@ -271,6 +271,10 @@ struct OpInfo {
* plugin op. `lora_site`: on a targeted gemm, its row in Program::lora_sites; -1 otherwise. */
int32_t anchor = -1;
int32_t lora_site = -1;
/* Declined at declare because runtime LoRA targets its weight (a fused GEMM no delta can follow):
* recorded unresolved on purpose, its handle never handed to the plugin, so it is never issued
* and the reference-kernel gate does not count it. */
bool lora_declined = false;
};
struct KVGroupInfo {