undertherain / benchmarker

modular framework for [not only] deep learning performance benchmarking
http://blackbird.pw/performance
Mozilla Public License 2.0
9 stars 5 forks source link

Fapp #135

Closed vatai closed 4 years ago

vatai commented 4 years ago

Done! I think it is: Borat

So, the switch to enable it is --fapp_power.

I've added two files: benchmarker/fapp.py and benchmarker/fapp_power.py. The former file implements the logic of calling fapp (with the considerations it might be expanded in the future to measure other things than power). The latter file implements the details of extracting the values from the .csv files generated by fapp.

The output is something like this:

    "problem": {
        "flop_estimated": 4194304.0,
        "gflop_estimated": 0.004194304,
        "name": "gemm",
        "power": {
            "details": [
                null,
                null,
                {
                    "L2": 1.2766175701150815,
                    "core": [
                        1.5079641451442003
                    ],
                    "mem": 1.1799673449212413
                },
                null
            ],
            "total": 3.964549060180523
        },