CNugteren / CLBlast

Tuned OpenCL BLAS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Benchmark Script Plotting Error - IndexError: too many indices for array

tedliosu opened this issue · comments

(base) tedliosu@victus-ted:~/Documents/all_git/CLBlast/build$ python3 ../scripts/benchmark/benchmark.py --comparisons CPU-BLAS --platform 0 --device 0 --precision 6464 --benchmark gemmbatched
...
[benchmark] Saving benchmark results to '/home/tedliosu/Documents/all_git/CLBlast/build/zgemmbatched_benchmarks.json'
Traceback (most recent call last):
  File "/home/tedliosu/Documents/all_git/CLBlast/build/../scripts/benchmark/benchmark.py", line 183, in <module>
    benchmark_single(**parsed_arguments)
  File "/home/tedliosu/Documents/all_git/CLBlast/build/../scripts/benchmark/benchmark.py", line 174, in benchmark_single
    plot.plot_graphs(results["benchmarks"], pdf_file_name, results["num_rows"], results["num_cols"],
  File "/home/tedliosu/Documents/all_git/CLBlast/scripts/benchmark/plot.py", line 79, in plot_graphs
    ax = axes[row, col]
IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed
(base) tedliosu@victus-ted:~/Documents/all_git/CLBlast/build$ python3 ../scripts/benchmark/benchmark.py --comparisons CPU-BLAS --platform 0 --device 0 --precision 64 --benchmark gemmbatched
...
[benchmark] Saving benchmark results to '/home/tedliosu/Documents/all_git/CLBlast/build/dgemmbatched_benchmarks.json'
Traceback (most recent call last):
  File "/home/tedliosu/Documents/all_git/CLBlast/build/../scripts/benchmark/benchmark.py", line 183, in <module>
    benchmark_single(**parsed_arguments)
  File "/home/tedliosu/Documents/all_git/CLBlast/build/../scripts/benchmark/benchmark.py", line 174, in benchmark_single
    plot.plot_graphs(results["benchmarks"], pdf_file_name, results["num_rows"], results["num_cols"],
  File "/home/tedliosu/Documents/all_git/CLBlast/scripts/benchmark/plot.py", line 79, in plot_graphs
    ax = axes[row, col]
IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed
(base) tedliosu@victus-ted:~/Documents/all_git/CLBlast/build$ python3 ../scripts/benchmark/benchmark.py --comparisons CPU-BLAS --platform 0 --device 0 --precision 32 --benchmark gemmbatched
...
[benchmark] Saving benchmark results to '/home/tedliosu/Documents/all_git/CLBlast/build/sgemmbatched_benchmarks.json'
Traceback (most recent call last):
  File "/home/tedliosu/Documents/all_git/CLBlast/build/../scripts/benchmark/benchmark.py", line 183, in <module>
    benchmark_single(**parsed_arguments)
  File "/home/tedliosu/Documents/all_git/CLBlast/build/../scripts/benchmark/benchmark.py", line 174, in benchmark_single
    plot.plot_graphs(results["benchmarks"], pdf_file_name, results["num_rows"], results["num_cols"],
  File "/home/tedliosu/Documents/all_git/CLBlast/scripts/benchmark/plot.py", line 79, in plot_graphs
    ax = axes[row, col]
IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed

Please find offending JSON files attached within ZIP archive here: offending_files.zip, and please let me know if any other info is needed to debug this error.