You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci: configure tox to pass environment variables for PyTorch
tox's isolated environment blocks `USERNAME` by default, causing
PyTorch's `torch._inductor` to fail during import when it calls
`getpass.getuser()` for cache directory setup.
Pass through username and temp directory variables, and set
`TORCHINDUCTOR_CACHE_DIR` explicitly to avoid the getpass call.
Fixes Windows Python 3.10/3.11 test failures.
0 commit comments