mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-21 05:34:18 +08:00
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:
committed by
PyTorch MergeBot
parent
6e3555edea
commit
0b8889c724
@ -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 = {
|
||||
|
Reference in New Issue
Block a user