Skip to content

Commit

Permalink
update monkey patch for llama2 (lm-sys#2379)
Browse files Browse the repository at this point in the history
  • Loading branch information
merrymercy authored Sep 7, 2023
1 parent a5e6abf commit 1d703b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastchat/train/train_mem.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Make it more memory efficient by monkey patching the LLaMA model with FlashAttn.

# Need to call this before importing transformers.
from fastchat.train.llama_flash_attn_monkey_patch import (
from fastchat.train.llama2_flash_attn_monkey_patch import (
replace_llama_attn_with_flash_attn,
)

Expand Down

0 comments on commit 1d703b2

Please sign in to comment.