Skip to content

Commit

Permalink
[Bugfix] GPTBigCodeForCausalLM: Remove lm_head from supported_lora_mo…
Browse files Browse the repository at this point in the history
…dules. (#6326)

Signed-off-by: Thomas Parnell <tpa@zurich.ibm.com>
Co-authored-by: Travis Johnson <tsjohnso@us.ibm.com>
  • Loading branch information
tdoublep and tjohnson31415 authored Jul 11, 2024
1 parent 546b101 commit 8a1415c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vllm/model_executor/models/gpt_bigcode.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def forward(
class GPTBigCodeForCausalLM(nn.Module, SupportsLoRA):
packed_modules_mapping = {"c_attn": ["c_attn"]}

supported_lora_modules = ["c_fc", "c_proj", "wte", "lm_head", "c_attn"]
supported_lora_modules = ["c_fc", "c_proj", "wte", "c_attn"]

embedding_modules = {
"wte": "input_embeddings",
Expand Down

0 comments on commit 8a1415c

Please sign in to comment.