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.2.0-1014-azure-x86_64-with-glibc2.34
Python: CPython 3.8.18
CPU Brand: Intel(R) Xeon(R) Platinum 8171M CPU @ 2.60GHz
CPU Count: 2
CPU Freq: 2095.22 MHz
Memory Size: 6.760 GiB
Has CUDA: No

Please note that, these information in deployed documentation is automatically executed on Github Action. Therefore, some performance data may be different. In the README.md, it is the result of our local test.