Skip to content

Commit

Permalink
use the correct black
Browse files Browse the repository at this point in the history
  • Loading branch information
faaany committed Jun 7, 2024
1 parent bd03552 commit 0d3930a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion optimum/exporters/ipex/modeling_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,6 @@ def rope(self, query, key, kv_seq_len, position_ids, use_cache, **kwargs):
return query, key

def sdpa_with_cache(self, query, key, value, past_key_value, attention_mask, position_ids):

if self.module_device == "xpu":
scale = 1.0 / math.sqrt(self.head_dim)
is_causal = False
Expand Down

0 comments on commit 0d3930a

Please sign in to comment.