Skip to content

Commit 0d3930a

Browse files
committed
use the correct black
1 parent bd03552 commit 0d3930a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

optimum/exporters/ipex/modeling_utils.py

-1
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,6 @@ def rope(self, query, key, kv_seq_len, position_ids, use_cache, **kwargs):
292292
return query, key
293293

294294
def sdpa_with_cache(self, query, key, value, past_key_value, attention_mask, position_ids):
295-
296295
if self.module_device == "xpu":
297296
scale = 1.0 / math.sqrt(self.head_dim)
298297
is_causal = False

0 commit comments

Comments
 (0)