scalesim-project / scale-sim-v2

Repository to host and maintain scale-sim-v2 code
MIT License
232 stars 99 forks source link

Issue with -i gemm argument #38

Closed iordanouki closed 2 years ago

iordanouki commented 2 years ago

Hi, I experience an issue when I try scale-sim with the argument -i gemm . The tool pops an assertion which mentions that the size per row in the csv file should be at least 4. However in the documentation example for MNK input format seem to be exactly 4 parameters (Layer Name, M, N, K). Am I missing something here?

My csv has the same format as the example in README of scale-sim for GEMM operations.

Thanks in advance, Kostas.

iordanouki commented 2 years ago

Problem solved: In the last line of the csv, a comma needed to find all the elements within the row. I assume this is happened because of the elems = row.split(',')[:-1] in the load_array_gemms.