neural_compressor.ux.utils.hw_info
UX server HW info module.
Module Contents
Classes
Class responsible for gathering information about platform hardware. |
Functions
|
Get number of sockets in platform. |
|
Return system distibution. |
|
Return bios version. |
|
Check if turbo boost is enabled. |
|
Return kernel version. |
|
Check framework version. |
|
Return framework subdependencies version. |
- class neural_compressor.ux.utils.hw_info.HWInfo[source]
Class responsible for gathering information about platform hardware.
- neural_compressor.ux.utils.hw_info.get_number_of_sockets() int[source]
Get number of sockets in platform.
- neural_compressor.ux.utils.hw_info.get_distribution() str[source]
Return system distibution.
- Returns:
distribution name
- Return type:
str
- neural_compressor.ux.utils.hw_info.is_turbo_boost_enabled() str | bool[source]
Check if turbo boost is enabled.
Return True if enabled, False if disabled, None if cannot collect info.