ksuit.utils.platform.system

Attributes

Functions

get_cli_command()

Return the command with which the script was called.

get_installed_cuda_version()

log_system_info()

Logs system information like OS, CUDA version, and Python version.

Module Contents

ksuit.utils.platform.system.logger
ksuit.utils.platform.system.get_cli_command()

Return the command with which the script was called.

Attention: This assumes the script was started with python (not python3 or similar).

Returns:

The command with which the script was called.

Return type:

str

ksuit.utils.platform.system.get_installed_cuda_version()
Return type:

str | None

ksuit.utils.platform.system.log_system_info()

Logs system information like OS, CUDA version, and Python version.

Return type:

None