NVlabs / timeloop

Timeloop performs modeling, mapping and code-generation for tensor algebra workloads on various accelerator architectures.
https://timeloop.csail.mit.edu/
BSD 3-Clause "New" or "Revised" License
303 stars 99 forks source link

Enhance Precision in timeloop-mapper.stats.txt Output #247

Closed xpww closed 3 months ago

xpww commented 4 months ago

I’ve been working with the timeloop-mapper tool, specifically exploring a 1-bit 1D-CNN architecture. While analyzing the output file timeloop-mapper.stats.txt, I noticed that the reported values are accurate only to two decimal places (e.g., “0.06, 0.02”). However, for my use case, I require precision up to three decimal places.

Where do I set this to achieve 3 decimal places of precision? The output on the command line is indeed 3 decimal places, but in the Summary Stats section of the file only 2 decimal places remain.

angshuman-parashar commented 3 months ago

Please grep for the strings next to the numbers to find out where in the source code they are being emitted from.