hugind config - manage configuration files and defaults.
hugind config <subcommand> [options]
The config subcommands manage configuration files and global defaults. You can list and validate configs, inspect system hardware, set defaults, and create a new config using an interactive wizard.
Config files are stored in ~/.hugind/configs/.
Global settings are stored in ~/.hugind/settings.yml.
Lists all saved configs. Only .yml and .yaml files are shown.
Validates a config file. Defaults to config.yaml in the current directory.
Prints system information: OS, CPU, memory, disk, GPU.
Interactive config generator:
- Probes system hardware (CPU, RAM, GPU).
- Prompts for a model:
- If
--modelis passed, that file path is used. - Otherwise scans downloaded model repositories for
.gguffiles.
- If
- Auto-detects vision projector files (mmproj) in the same folder.
- Asks whether to enable auto-fit or choose a context size manually.
- Auto-configures GPU layers, threads, flash attention, and KV offload based on detected hardware.
- Writes the config to
~/.hugind/configs/<name>.yml.
Deletes a config file after confirmation.
Shows or updates global defaults:
--hf-token <token>: set Hugging Face API token--set key=value: set an arbitrary key-value pair (can be repeated)
Without arguments, prints current defaults (sensitive values are masked).
Run hugind config --help to see flags and options.