[pt2][inductor] include `allow_tf32` in system information (#104129)
Summary: include `allow_tf32` in system information; previously aten results did not specify whether `allow_tf32` was true or not
Test Plan: sandcastle + CI
Differential Revision: D46568468
Pull Request resolved: https://github.com/pytorch/pytorch/pull/104129
Approved by: https://github.com/jansel
diff --git a/torch/_inductor/codecache.py b/torch/_inductor/codecache.py
index d4808f9..2fd8add 100644
--- a/torch/_inductor/codecache.py
+++ b/torch/_inductor/codecache.py
@@ -120,6 +120,9 @@
"cuda": torch.version.cuda,
"triton": triton_version,
},
+ "other": {
+ "allow_tf32": torch.backends.cuda.matmul.allow_tf32,
+ },
}
system["hash"] = hashlib.sha256(