pytorch / 2 / config_mod.html

torch.__config__

torch.__config__.show() [source]

Return a human-readable string with descriptions of the configuration of PyTorch.

torch.__config__.parallel_info() [source]

Returns detailed string with parallelization settings

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