Skip to content

Commit c79adf4

Browse files
committed
update
1 parent 06687f7 commit c79adf4

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

benchmarks/visualize_results.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ def should_do(kind: str) -> bool:
480480
if microbatch_entries:
481481
print("Generating micro-batch speedup plot...")
482482
plot_microbatch_speedup(microbatch_entries,
483-
os.path.join(viz_dir, 'microbatch_speedup.png'))
483+
os.path.join(viz_dir, 'microbatch_speedup.pdf'))
484484
else:
485485
print("No micro-batch results found in JSON/CSV")
486486

@@ -489,7 +489,7 @@ def should_do(kind: str) -> bool:
489489
if mixed_entries:
490490
print("Generating mixed ops comparison...")
491491
plot_mixed_ops_comparison(mixed_entries,
492-
os.path.join(viz_dir, 'mixed_ops_comparison.png'))
492+
os.path.join(viz_dir, 'mixed_ops_comparison.pdf'))
493493
else:
494494
print("No mixed ops results found in JSON/CSV")
495495

@@ -498,7 +498,7 @@ def should_do(kind: str) -> bool:
498498
if mps_entries:
499499
print("Generating MPS scaling plot...")
500500
plot_mps_scaling(mps_entries,
501-
os.path.join(viz_dir, 'mps_scaling.png'))
501+
os.path.join(viz_dir, 'mps_scaling.pdf'))
502502
else:
503503
print("No MPS results found in JSON/CSV")
504504

@@ -507,7 +507,7 @@ def should_do(kind: str) -> bool:
507507
if attention_entries:
508508
print("Generating attention throughput plot...")
509509
plot_attention_throughput(attention_entries,
510-
os.path.join(viz_dir, 'attention_throughput.png'))
510+
os.path.join(viz_dir, 'attention_throughput.pdf'))
511511
else:
512512
print("No attention results found in JSON/CSV")
513513

@@ -518,12 +518,12 @@ def should_do(kind: str) -> bool:
518518
real = [e for e in mig_entries if e.get('name') == 'mig_real']
519519
if simulated:
520520
print("Generating MIG simulated plot...")
521-
plot_mig_simulated(simulated, os.path.join(viz_dir, 'mig_simulated.png'))
521+
plot_mig_simulated(simulated, os.path.join(viz_dir, 'mig_simulated.pdf'))
522522
else:
523523
print("No MIG simulated results found")
524524
if real:
525525
print("Generating MIG real plot...")
526-
plot_mig_real(real, os.path.join(viz_dir, 'mig_real.png'))
526+
plot_mig_real(real, os.path.join(viz_dir, 'mig_real.pdf'))
527527
else:
528528
print("No real MIG results found")
529529
else:
@@ -533,13 +533,13 @@ def should_do(kind: str) -> bool:
533533
print("Generating LaTeX tables...")
534534
generate_latex_table(results, os.path.join(viz_dir, 'tables.tex'))
535535

536-
print("Generating summary report...")
537-
generate_summary_report(results, os.path.join(viz_dir, 'SUMMARY.md'))
536+
# print("Generating summary report...")
537+
# generate_summary_report(results, os.path.join(viz_dir, 'SUMMARY.md'))
538538

539-
print("\n" + "="*80)
540-
print("Visualization complete!")
541-
print(f"Results saved to: {viz_dir}/")
542-
print("="*80)
539+
# print("\n" + "="*80)
540+
# print("Visualization complete!")
541+
# print(f"Results saved to: {viz_dir}/")
542+
# print("="*80)
543543

544544
if __name__ == "__main__":
545545
parser = argparse.ArgumentParser(description='Visualize benchmark results')

0 commit comments

Comments
 (0)