Skip to content

Commit 4bf5946

Browse files
committed
ruff 0.9.0 format
1 parent d44a9b6 commit 4bf5946

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/container/nsys_jax/nsys_jax/analyses/Analysis.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@
310310
"# Print out the largest entries adding up to at least this fraction of the total\n",
311311
"threshold = 0.97\n",
312312
"compile_summary[\"FracNonChild\"] = compile_summary[\"DurNonChildMs\"] / total_compile_time\n",
313-
"print(f\"Top {threshold:.0%}+ of {total_compile_time*1e-3:.2f}s compilation time\")\n",
313+
"print(f\"Top {threshold:.0%}+ of {total_compile_time * 1e-3:.2f}s compilation time\")\n",
314314
"for row in compile_summary[\n",
315315
" compile_summary[\"FracNonChild\"].cumsum() <= threshold\n",
316316
"].itertuples():\n",

.github/container/nsys_jax/nsys_jax/scripts/nsys_jax.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ def run_nsys_recipe(recipe, report_file, tmp_dir, output_queue):
371371
continue
372372
output_queue.put((ofile, full_path, COMPRESS_NONE))
373373
print(
374-
f"{archive_name}: recipe post-processing finished in {time.time()-start:.2f}s"
374+
f"{archive_name}: recipe post-processing finished in {time.time() - start:.2f}s"
375375
)
376376

377377
def compress_and_archive(prefix, file, output_queue):
@@ -425,7 +425,7 @@ def keep_column(name):
425425
# If there's no data, don't write a file to the output at all
426426
pass
427427
print(
428-
f"{archive_name}: stats post-processing finished in {time.time()-start:.2f}s"
428+
f"{archive_name}: stats post-processing finished in {time.time() - start:.2f}s"
429429
)
430430

431431
def save_device_stream_thread_names(tmp_dir, report, output_queue):

0 commit comments

Comments
 (0)