fix typoes

This commit is contained in:
Huang, Xinshengzi 2024-08-22 11:09:58 +08:00
parent 6bb9035788
commit 6a5ca17afc

View file

@ -283,7 +283,7 @@ def baichuan_attention_forward_7b(
key_states, value_states, self.layer_idx,
query_states, attention_mask, 1,
self.config, enough_kv_room, KV_CACHE_ALLOC_BLOCK_LENGTH)
if self.training:
warnings.warn("xops is not supported on Intel GPU, so just use normal implementation")