Skip to content

Commit 7f73cf8

Browse files
committed
Lints
Signed-off-by: Rafael Vasquez <rafvasq21@gmail.com>
1 parent 2473e7a commit 7f73cf8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

aiu_fms_testing_utils/scripts/drive_paged_programs.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,10 @@ def get_valid_prompts(
554554
# this will get the number of bits for the sequence length and shift to get the power of 2 that is less than or equal to the sequence length
555555
tkv_cutoff = 1 << (valid_prompt_shape[1].bit_length() - 1)
556556
possible_seq_lengths = [
557-
_ for _ in range(tkv_cutoff, valid_prompt_shape[1], pad_multiple)
557+
_
558+
for _ in range(
559+
tkv_cutoff, valid_prompt_shape[1], pad_multiple
560+
)
558561
]
559562
# favor sequences that are close to the valid prompt length
560563
possible_seq_lengths.reverse()

0 commit comments

Comments
 (0)