Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Suppress csv creation on cold-start phase of --warm-start-latency (#1…
…25953) Summary: It seems that most (all?) of our utilities for examining benchmark output expect single-line entries per benchmark. The way the --warm-start-latency flag is currently implemented, it means that we'll see two entries for every benchmark run (one for the warm-up run and one for the actual run). This PR adds a --disable-output flag that we can use for the first run to suppress populating the csv. This way, the existing utilities like `benchmarks/dynamo/check_accuracy.py` will function without any changes. X-link: pytorch/pytorch#125953 Approved by: https://github.com/desertfire ghstack dependencies: #125917 Reviewed By: huydhn Differential Revision: D57421488 Pulled By: masnesral fbshipit-source-id: 02c6e7500fbddcb7eb474e2170c3a3ae5f369487
- Loading branch information