W3cubDocs

/PyTorch 2.9

torch.config

Created On: Apr 09, 2019 | Last Updated On: Jun 13, 2025

torch.__config__.show() [source]

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

Return type

str

torch.__config__.parallel_info() [source]

Returns detailed string with parallelization settings

Return type

str

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