Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make model.model_metrics.qps_metric.warmup_steps can be passed throug…
…h config (pytorch#2255) Summary: Pull Request resolved: pytorch#2255 `ThroughputMetric` already support warm_steps, however it's default to always 100. Thsi diff is to make qps_metric.warmup_steps configurable so that it can be control through model yaml file or command argument, for example, ``` buck2 run mode/{opt,amd-gpu} //aps_models/ads/icvr:icvr_launcher -- mode=local_ctr_cvr_cmf_rep_1000x_v1_no_atom +model.model_metrics.qps_metric.warmup_steps=1 ``` Reviewed By: Yuzhen11 Differential Revision: D60388121 fbshipit-source-id: 7963e8e4f87bde651cd4a39c9b68310ef408acb6
- Loading branch information