From 6bb90357880c33b3b17c738887d6e2d9b0924758 Mon Sep 17 00:00:00 2001 From: "Huang, Xinshengzi" Date: Thu, 22 Aug 2024 11:08:48 +0800 Subject: [PATCH] fix typos --- python/llm/src/ipex_llm/transformers/models/baichuan.py | 1 - 1 file changed, 1 deletion(-) diff --git a/python/llm/src/ipex_llm/transformers/models/baichuan.py b/python/llm/src/ipex_llm/transformers/models/baichuan.py index 83dc215e..111dc1e5 100644 --- a/python/llm/src/ipex_llm/transformers/models/baichuan.py +++ b/python/llm/src/ipex_llm/transformers/models/baichuan.py @@ -284,7 +284,6 @@ def baichuan_attention_forward_7b( 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")