mantik.utils.other

Functions

construct_git_clone_uri(→ str)

get_cpu_cores()

get_gpu_info(→ List[Dict])

Retrieve GPU info.

get_hostname()

get_memory_gb()

get_os()

get_platform()

get_processor()

get_python_executable()

get_python_version()

temp_chdir(path)

Module Contents

mantik.utils.other.construct_git_clone_uri(uri: str, git_access_token: str, platform: str) str[source]
mantik.utils.other.get_cpu_cores()[source]
mantik.utils.other.get_gpu_info() List[Dict][source]

Retrieve GPU info.

Currently only Nvidia GPUs are supported for bookkeeping

mantik.utils.other.get_hostname()[source]
mantik.utils.other.get_memory_gb()[source]
mantik.utils.other.get_os()[source]
mantik.utils.other.get_platform()[source]
mantik.utils.other.get_processor()[source]
mantik.utils.other.get_python_executable()[source]
mantik.utils.other.get_python_version()[source]
mantik.utils.other.temp_chdir(path: str)[source]