I am working on a laptop and I want to force running on the CPU, and I have set the following to stop TorchDynamo from compiling, but it ignores all my vars:
Get-ChildItem Env: | Where-Object { $_.Name -like “TORCH” }
Name Value
TORCH_COMPILE_BACKEND eager
TORCH_COMPILE_SKIP 1
TORCH_COMPILE_WAIT 1
TORCH_DISABLE_DYNAMO 1
TORCHINDUCTOR_CPP_WRAPPER 0
How do I prevent Torch from trying to compile anything, and stop the flood of errors with my python scripts?