Use flash attention monkeypatch

This commit is contained in:
yamashi 2023-04-06 13:49:12 +02:00 committed by GitHub
parent 8020b3ec3b
commit 3ea18575c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -16,6 +16,9 @@
}
]
"""
from monkeypatch.llama_flash_attn_monkey_patch import replace_llama_attn_with_flash_attn
replace_llama_attn_with_flash_attn()
import sys