Learn R Programming

localLLM (version 1.1.0)

hardware_profile: Inspect detected hardware resources

Description

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)

Value

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

Arguments

refresh

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

Examples

Run this code
if (interactive()) {
  hardware_profile()
}

Run the code above in your browser using DataLab