"""Hardware detection and model selection."""