pytorch / 2 / generated / torch.cuda.get_arch_list.html

torch.cuda.get_arch_list

torch.cuda.get_arch_list() [source]

Returns list CUDA architectures this library was compiled for.

Return type

List[str]

© 2024, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://pytorch.org/docs/2.1/generated/torch.cuda.get_arch_list.html