mirror of
https://github.com/pytorch/pytorch.git
synced 2026-10-25 18:53:39 +08:00
Via `torch.cpu.get_properties()` which is semantically close to `torch.cuda.get_properties` Delete bunch of individiaul `torch._C._is_avx512` etc calls and replaces them to new `get_properties()` call Vibe-coded with Claude Pull Request resolved: https://github.com/pytorch/pytorch/pull/173433 Approved by: https://github.com/ezyang