Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
RulinShao committed Oct 9, 2023
1 parent 860834e commit f4f0aa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ To use `fasckpt` with `flash_attn`, import and run `replace_hf_ckpt_with_fast_ck
```python
# add monkey patch for fastckpt
from fastckpt.llama_flash_attn_ckpt_monkey_patch import replace_hf_ckpt_with_fast_ckpt
replace_llama_attn_with_flash_attn()
replace_hf_ckpt_with_fast_ckpt()

# import transformers and other packages
import transformers
Expand Down

0 comments on commit f4f0aa9

Please sign in to comment.