Skip to content

Commit 514ac38

Browse files
author
paulyu
committed
[V0.7.3][Qwen3] make v0.7.3 support qwen3
Signed-off-by: paulyu <paulyu0307@gmail.com>
1 parent 90afaf6 commit 514ac38

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

vllm_ascend/models/qwen3.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,16 @@ class Qwen3ForCausalLM(nn.Module, SupportsLoRA, SupportsPP):
399399
],
400400
}
401401

402+
# LoRA specific attributes
403+
supported_lora_modules = [
404+
"qkv_proj",
405+
"o_proj",
406+
"gate_up_proj",
407+
"down_proj",
408+
]
409+
embedding_modules = {}
410+
embedding_padding_modules = []
411+
402412
def __init__(self, *, vllm_config: VllmConfig, prefix: str = ""):
403413
super().__init__()
404414
config = vllm_config.model_config.hf_config

0 commit comments

Comments
 (0)