1
0
mirror of https://github.com/hpcaitech/ColossalAI.git synced 2025-05-03 14:08:11 +00:00

remove duplicate import ()

This commit is contained in:
Xuanlei Zhao 2023-11-23 15:15:01 +08:00 committed by GitHub
parent e53e729d8e
commit 68fcaa2225
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -413,8 +413,6 @@ def get_llama_flash_attention_forward():
warnings.warn("using llamav1, llamav1 hasn't repeat_kv function")
llama_version = 1
from colossalai.kernel.cuda_native import AttnMaskType, ColoAttention
def forward(
self: LlamaAttention,
hidden_states: torch.Tensor,