Skip to content

Commit 0aa793f

Browse files
committed
ruff format
Signed-off-by: Sukriti-Sharma4 <sukriti.sharma4@ibm.com>
1 parent 952d432 commit 0aa793f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

aiu_fms_testing_utils/scripts/drive_paged_programs.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -398,9 +398,9 @@ def __load_validation_info(
398398
# input_ids, extra_kwargs, sample_key = __prepare_inputs(2, max_tkv, tokenizer)
399399
pad_multiple = 64
400400
if args.prefill_chunk_size > 0:
401-
assert (
402-
args.prefill_chunk_size % 64 == 0
403-
), "Chunk size must be a multiple of the page size"
401+
assert args.prefill_chunk_size % 64 == 0, (
402+
"Chunk size must be a multiple of the page size"
403+
)
404404
pad_multiple = args.prefill_chunk_size
405405
prompt_list = [torch.arange(0, pad_multiple, dtype=torch.int64)]
406406
# matching vllm warmup to pad to 2 on fp8, and no pad for fp16

0 commit comments

Comments
 (0)