Run Environment InformationΒΆ

Here is the information from the running environment.

[1]:
import os
import platform
import shutil

import cpuinfo
import psutil
from hbutils.scale import size_to_bytes_str

print('OS:', platform.platform())
print('Python:', platform.python_implementation(), platform.python_version())
print('CPU Brand:', cpuinfo.get_cpu_info()["brand_raw"])
print('CPU Count:', os.cpu_count())
print('CPU Freq:', psutil.cpu_freq().current, 'MHz')
print('Memory Size:', size_to_bytes_str(psutil.virtual_memory().total, precision=3))
print('Has CUDA:', 'Yes' if shutil.which('nvidia-smi') else 'No')
OS: Linux-6.5.0-1018-azure-x86_64-with-glibc2.34
Python: CPython 3.8.18
CPU Brand: AMD EPYC 7763 64-Core Processor
CPU Count: 4
CPU Freq: 3162.353 MHz
Memory Size: 15.606 GiB
Has CUDA: No

Please note that, this information in deployed documentation is automatically executed on Github Action. Therefore, some performance data may be different with your local environment