PyTorch adds experimental torch.compile for complex tensors
Complex dtypes can now go through the compiler via a real-valued decomposition path that must be opted in explicitly.
By tensorComplex dtypes can now go through the compiler via a real-valued decomposition path that must be opted in explicitly.
By tensorThe proposal keeps CUDA 13.0 as a stable alternate and CUDA 12.6 as legacy while pushing Blackwell-capable 13.2 to pip install torch.
By tensorCUDA returns a version tuple while XPU returns a dict, so shared autoheuristic metadata never matches on those backends.
By tensorStrided and offset tensor paths in the compiler could read past valid memory without raising an error.
By tensorPyTorch can silently return wrong results when compiled kernels skip writing masked output regions.
By tensorOn Apple Silicon, scaled_dot_product_attention with is_causal=True can silently ignore the causal mask for float16 and bfloat16.
By tensor