Skip to content

Router

trimbed.cli.__main__

The main trimbed command.

trimbed inspect --model codefuse-ai/F2LLM-v2-160M
trimbed trim --config my_config.yaml --dry-run selection.top_k=30000
trimbed presets

Each subcommand owns its own arguments, in add_arguments, next to the run they feed. This module holds the table of subcommand names and nothing else, so adding a command is a new module plus one line here.

main

main() -> None

Parse the command line and hand the arguments to the chosen subcommand's run.