[test] Allow TRITON_INTERPRET in the env policy

test_pan2_fusions runs the fused kernels through the Triton interpreter in a child process; the contract test
flagged the override as a new violation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
William Lin
2026-11-03 20:31:55 +00:00
co-authored by Claude Opus 5.5
parent 678bc6e1f5
commit cd98b76f37
@@ -90,6 +90,7 @@ EXTERNAL_ALLOWLIST = {
"CUDACXX": "CUDA compiler.",
"CUBLAS_WORKSPACE_CONFIG": "cuBLAS workspace setting.",
"TORCHDYNAMO_DISABLE": "PyTorch Dynamo switch.",
"TRITON_INTERPRET": "Triton interpreter switch; tests run kernels through it on CPU.",
"PYTORCH_MPS_*": "PyTorch MPS memory settings.",
"USER": "Login name of the current user.",
"PYTHONPATH": "Python module search path.",