brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
exporters-and-cliUse and debug Optimum's base CLI, exporter task mappings, backend registration, and accelerated pipeline dispatcher while respecting partner-package boundaries.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when the task involves:
optimum-cli --help, optimum-cli env, optimum-cli export, or missing exporter subcommands such as optimum-cli export onnx.optimum.commands.register or optimum.commands.optimum_cli.optimum_cli_subcommand.optimum.exporters.tasks.TasksManager task synonyms, task/library/model mappings, backend config registration, and exporter config constructor lookup.optimum.exporters.base.ExporterConfig responsibilities for inputs, outputs, dummy inputs, dtype fields, and version gates.optimum.pipelines.pipeline accelerator selection for ONNX Runtime (ort) and OpenVINO (ov) without assuming those partner packages are installed.Route elsewhere:
fx-graph-workflows.gptq-quantization.utilities-and-configs.For CLI availability or missing subcommands, read references/cli-reference.md, then run the bundled probe before writing custom inline checks:
python scripts/probe_optimum_cli.py
Add --run-env when the user wants the same environment report as optimum-cli env.
For task names, synonyms, backend config lookup, or custom backend registration, read references/tasks-manager-api.md, then run the bundled probe before inventing an ad-hoc script:
python scripts/tasks_manager_probe.py
Use --backend, --model-type, and --task to probe a specific mapping without downloading models.
For accelerated inference via optimum.pipelines.pipeline, read references/pipelines-and-partner-packages.md. Treat ONNX Runtime and OpenVINO as optional partner implementations; the base package only dispatches to them.
For failure diagnosis, start with references/troubleshooting.md.
optimum alone implements ONNX export, ONNX Runtime optimization/quantization, or OpenVINO inference. Those commands and model classes are provided by partner packages such as optimum-onnx and optimum-intel.