Skip to contents

Returns the cached system profile recorded by localLLM when the package was attached. The probe captures approximate CPU, RAM, and GPU capacity so that safety warnings can estimate whether a model fits the device.

Usage

hardware_profile(refresh = FALSE)

Arguments

refresh

When TRUE, forces a fresh probe instead of returning the cached profile.

Value

A list describing the operating system, CPU cores, total RAM (bytes), GPU information and detection timestamp.

Examples

if (interactive()) {
  hardware_profile()
}