pytorch/torch/_C
Natalia Gimelshein 37c6087334 Add split-K control to cuBLAS reduced-precision settings (#164766)
## Summary
- add a CuBLASReductionOption enum so the CUDA context can track reduced-precision and split-K options
- extend the Python bindings, backend helpers, and docs to accept an optional allow_splitk argument for fp16/bf16 matmul controls
- update cuBLAS/cuBLASLt call sites plus dynamo guards and tests to respect the new combinations

## Testing
- python test/test_cuda.py TestCuda.test_cublas_allow_fp16_reduced_precision_reduction_get_set -v *(fails: ModuleNotFoundError: No module named 'psutil')*

------
https://chatgpt.com/codex/tasks/task_e_68e404623178832f8a3e1d34e1e175da

Pull Request resolved: https://github.com/pytorch/pytorch/pull/164766
Approved by: https://github.com/malfet, https://github.com/albanD
2025-10-08 18:48:45 +00:00
..
_acc Add functions to setup PrivateUse1 as a python backend device. (#157859) 2025-10-01 21:32:59 +00:00
_dynamo [5/N] Apply ruff UP035 rule (#164423) 2025-10-02 07:31:11 +00:00
_export [serialization] Add pte file to archive (#162520) 2025-09-11 07:59:11 +00:00
__init__.pyi.in Add split-K control to cuBLAS reduced-precision settings (#164766) 2025-10-08 18:48:45 +00:00
_aoti.pyi [AOTInductor] Add class declarations to torch._C._aoti interface file (#155128) 2025-06-17 00:10:57 +00:00
_autograd.pyi [5/N] Apply ruff UP035 rule (#164423) 2025-10-02 07:31:11 +00:00
_cpu.pyi
_cudnn.pyi
_cusparselt.pyi
_distributed_autograd.pyi
_distributed_c10d.pyi Add pyrefly suppressions 2/n (#164513) 2025-10-03 02:46:13 +00:00
_distributed_rpc_testing.pyi
_distributed_rpc.pyi
_functionalization.pyi Reapply "Make functionalization ViewMeta serializable with pickle. (#143712)" (#163769) 2025-09-25 10:27:37 +00:00
_functions.pyi
_functorch.pyi torchdim Python port (#160236) 2025-09-21 03:01:04 +00:00
_instruction_counter.pyi
_itt.pyi
_jit_tree_views.pyi added stubs for jit tree views (#156504) 2025-06-25 06:15:17 +00:00
_lazy_ts_backend.pyi
_lazy.pyi
_monitor.pyi [5/N] Apply ruff UP035 rule (#164423) 2025-10-02 07:31:11 +00:00
_nn.pyi.in fix type hints for interpolation functions (#157202) 2025-07-09 03:11:37 +00:00
_nvtx.pyi
_onnx.pyi
_profiler.pyi [5/N] Apply ruff UP035 rule (#164423) 2025-10-02 07:31:11 +00:00
_VariableFunctions.pyi.in [BE][CI][Easy] Run lintrunner on generated .pyi stub files (#150732) 2025-05-27 14:58:02 +00:00
_verbose.pyi
build.bzl
return_types.pyi.in [BE][CI][Easy] Run lintrunner on generated .pyi stub files (#150732) 2025-05-27 14:58:02 +00:00