black formatting

This commit is contained in:
Prince Canuma 2025-01-12 15:27:10 +01:00
parent 9d7f38abb8
commit d7638e029c

View File

@ -158,7 +158,7 @@ class CohereModel(nn.Module):
if mask is None:
j = self.args.sliding_window_pattern
mask = create_attention_mask(h, cache[j - 1: j])
mask = create_attention_mask(h, cache[j - 1 : j])
if cache is None:
cache = [None] * len(self.layers)