Files
pytorch/benchmarks/compare.sh
Mikhail Zolotukhin d0421ff1cc Benchmarks: add scripts for FastRNNs results comparison. (#44134)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/44134

Test Plan: Imported from OSS

Reviewed By: bertmaher

Differential Revision: D23505810

Pulled By: ZolotukhinM

fbshipit-source-id: d0b3d70d4c2a44a8c3773631d09a25a98ec59370
2020-09-03 13:44:42 -07:00

5 lines
230 B
Bash

#!/bin/bash
python -m fastrnns.bench --fuser=old --group=rnns --print-json oss > old.json
python -m fastrnns.bench --fuser=te --group=rnns --print-json oss > te.json
python compare-fastrnn-results.py old.json te.json --format md