Skip to main content

Synopsis

Description

Detects and displays your system’s hardware specifications including RAM, CPU, GPU, and available backends for LLM inference. This command is useful for verifying what llmfit has detected about your system and troubleshooting detection issues.

Options

boolean
default:"false"
Output system specs as JSON instead of formatted text.
string
Override GPU VRAM size (e.g., “32G”, “32000M”, “1.5T”). Useful when autodetection fails or for testing different configurations.

Usage Examples

Basic System Info

JSON Output

Override GPU Memory

Example Output

Human-Readable Format

JSON Format

System Detection

llmfit automatically detects:
  • RAM: Total and available system memory via sysinfo crate
  • CPU: Core count and model name
  • GPU: NVIDIA (via nvidia-smi), AMD (via rocm-smi), Apple Silicon (via system_profiler)
  • Backend: CUDA, ROCm, Metal, or CPU-only
  • Unified Memory: Apple Silicon systems where VRAM = RAM

Platform Notes

NVIDIA

Requires nvidia-smi in PATH. Detects CUDA-capable GPUs and VRAM.

AMD

Requires rocm-smi in PATH. Detects ROCm-capable GPUs.

Apple Silicon

Uses system_profiler to detect Metal backend. VRAM equals system RAM due to unified memory architecture.

CPU-Only

If no GPU is detected, llmfit will use CPU inference mode for model recommendations.
  • llmfit - Launch TUI with detected specs
  • fit - Find models matching your system
  • plan - Plan hardware requirements for a model