[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-02 21:42:30 +00:00
co-authored by Claude Opus 5.5
parent 97078306e8
commit 7b02e6c3a0
@@ -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.",