Skip to content

Commit 5f77f65

Browse files
committed
Merge branch 'main' into fix-os-exit
Signed-off-by: Huy Do <huydhn@gmail.com>
2 parents 14c1b6a + 98927b5 commit 5f77f65

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/cpu/features/int8_recipe_tuning/int8_autotune.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def train(dataloader, model, loss_fn, optimizer):
8484

8585
epochs = 5
8686
for t in range(epochs):
87-
print(f"Epoch {t+1}\n-------------------------------")
87+
print(f"Epoch {t + 1}\n-------------------------------")
8888
train(train_dataloader, model, loss_fn, optimizer)
8989
print("Done!")
9090

examples/cpu/llm/inference/distributed/run_generation_with_deepspeed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1017,7 +1017,7 @@ def trace_handler(prof):
10171017
generated, _ = generate()
10181018
t_generate_span = time.time() - t_generate_start
10191019
for i, o, _ in generated:
1020-
print_rank0(f"{'-'*60}\nin={i}\nout={o}\n")
1020+
print_rank0(f"{'-' * 60}\nin={i}\nout={o}\n")
10211021

10221022
# benchmark it!
10231023
else:

0 commit comments

Comments
 (0)