Skip to main content

Module system

Module system 

Source
Expand description

Cross-platform system detection (CPU, RAM, OS, Docker, GPU).

Structs§

GpuInfo

Functions§

cpu_model
cpu_threads
detect_gpus
docker_version
escape_json
has_cargo
Check whether cargo is available on the host.
has_command
Check whether a command exists on PATH.
is_inside_docker
nvidia_driver_version
os_version
platform_tag
Platform string for download URLs (e.g. “linux-x86_64”, “macos-arm64”).
ram_total_gb