Do not flag models in dashboard due to NaN values (#88792)

Title.

Tested by running `python benchmarks/dynamo/runner.py --output-dir ../test-dynamo-runner-logs-4 --training --visualize_logs` on a copy of a recent set of logs.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/88792
Approved by: https://github.com/anijain2305
This commit is contained in:
William Wen
2022-11-10 01:48:04 +00:00
committed by PyTorch MergeBot
parent 6e3555edea
commit 0b8889c724

View File

@ -121,15 +121,15 @@ DASHBOARD_DEFAULTS = {
def flag_speedup(x):
return pd.isna(x) or x < 0.95
return x < 0.95
def flag_compilation_latency(x):
return pd.isna(x) or x == 0 or x > 120
return x > 120
def flag_compression_ratio(x):
return pd.isna(x) or x < 0.9
return x < 0.9
FLAG_FNS = {