Inspect detected hardware resources
hardware_profile.RdReturns 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.
Value
A list describing the operating system, CPU cores, total RAM (bytes), GPU information and detection timestamp.
Examples
# \donttest{
hardware_profile()
#> $os
#> [1] "Darwin"
#>
#> $release
#> [1] "25.3.0"
#>
#> $cpu_cores
#> [1] 10
#>
#> $ram_total
#> [1] 17179869184
#>
#> $gpu
#> $gpu$name
#> [1] "Apple M4"
#>
#> $gpu$vram_bytes
#> [1] NA
#>
#> $gpu$cores
#> [1] 10
#>
#> $gpu$source
#> [1] "system_profiler (unified memory)"
#>
#>
#> $detected_at
#> [1] "2026-05-18 16:31:59 EDT"
#>
# }