print_env#
- composer.utils.print_env(file=None)[source]#
Generate system information report.
Example: .. code-block:: python
from composer.utils.collect_env import print_env
print_env()
Sample Report:
--------------------------------- System Environment Report Created: 2022-04-27 00:25:33 UTC --------------------------------- PyTorch information ------------------- PyTorch version: 1-91+cu111 Is debug build: False CUDA used to build PyTorch: 111 ROCM used to build PyTorch: N/A OS: Ubuntu 18.04.6 LTS (x86_64) GCC version: (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 Clang version: Could not collect CMake version: version 3.10.2 Libc version: glibc-2.27 Python version: 3.8 (64-bit runtime) Python platform: Linux-5.8.0-63-generic-x86_64-with-glibc2.27 Is CUDA available: True CUDA runtime version: 11.1.105 GPU models and configuration: GPU 0: NVIDIA GeForce RTX 3080 GPU 1: NVIDIA GeForce RTX 3080 GPU 2: NVIDIA GeForce RTX 3080 GPU 3: NVIDIA GeForce RTX 3080 Nvidia driver version: 470.57.02 cuDNN version: Probably one of the following: /usr/lib/x86_64-linux-gnu/libcudnn.so.8.0.5 /usr/lib/x86_64-linux-gnu/libcudnn_adv_infer.so.8.0.5 /usr/lib/x86_64-linux-gnu/libcudnn_adv_train.so.8.0.5 /usr/lib/x86_64-linux-gnu/libcudnn_cnn_infer.so.8.0.5 /usr/lib/x86_64-linux-gnu/libcudnn_cnn_train.so.8.0.5 /usr/lib/x86_64-linux-gnu/libcudnn_ops_infer.so.8.0.5 /usr/lib/x86_64-linux-gnu/libcudnn_ops_train.so.8.0.5 HIP runtime version: N/A MIOpen runtime version: N/A Versions of relevant libraries: [pip3] numpy==1.22.3 [pip3] pytorch-ranger==0.1.1 [pip3] torch==1.9.1+cu111 [pip3] torch-optimizer==0.1.0 [pip3] torchmetrics==0.7.3 [pip3] torchvision==0.10.1+cu111 [conda] Could not collect Composer information -------------------- Composer version: 0.8.2 Composer commit hash: 9e14a47562def0baa414242c36954eb3083dcd46 Host processor model name: AMD EPYC 7502 32-Core Processor Host processor core count: 64 Number of nodes: 1 Accelerator model name: NVIDIA GeForce RTX 3080 Accelerators per node: 1 CUDA Device Count: 4
- Parameters
file (TextIO, optional) โ File handle, sys.stdout or sys.stderr. Defaults to sys.stdout.