fix typoes
This commit is contained in:
parent
6bb9035788
commit
6a5ca17afc
1 changed files with 1 additions and 1 deletions
|
|
@ -283,7 +283,7 @@ def baichuan_attention_forward_7b(
|
||||||
key_states, value_states, self.layer_idx,
|
key_states, value_states, self.layer_idx,
|
||||||
query_states, attention_mask, 1,
|
query_states, attention_mask, 1,
|
||||||
self.config, enough_kv_room, KV_CACHE_ALLOC_BLOCK_LENGTH)
|
self.config, enough_kv_room, KV_CACHE_ALLOC_BLOCK_LENGTH)
|
||||||
|
|
||||||
if self.training:
|
if self.training:
|
||||||
warnings.warn("xops is not supported on Intel GPU, so just use normal implementation")
|
warnings.warn("xops is not supported on Intel GPU, so just use normal implementation")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue