TORCH_HIP_VERSION is defined by cmake as HIP major*100+minor (currently 7xx), so < 305 in ATenNVRTC.h and >= 301 in nccl.h always resolve to the modern branch; hardcode it. The surviving…
mean/var/std (and var_mean/std_mean), nanmean and gradient reject integer input with a plain RuntimeError, but are well-defined for integers (NumPy promotes to float) and merely unimplemented, so raise…
This PR is auto-generated nightly by this action. Update the pinned vllm hash. Pull Request resolved: #193748 Approved by: https://github.com/pytorchbot
This PR is auto-generated nightly by this action. Update the pinned vllm hash. Pull Request resolved: #193748 Approved by: https://github.com/pytorchbot
Related Part of #170487 Why Setting tensor.requires_grad = True inside torch.compile always broke the graph, even on tensors created in the compiled region The equivalent .requires_grad_(True) call already worked, so…
Related Part of #170487 Why Setting tensor.requires_grad = True inside torch.compile always broke the graph, even on tensors created in the compiled region The equivalent .requires_grad_(True) call already worked, so…
torch.compiler.export_python wraps torch.compiler.precompile in a decorator keyed by a readable Python artifact on disk. The first call captures and lowers the decorated function, publishes the self-contained source,…