Skip to content

Extend CREST

Extend the component that owns the change you want to make.

Change Guide
Load a different dataset or supply representative calibration samples Add a dataset
Define targets, losses, metrics, or evaluation Add a task
Define an architecture, search space, or export variant Add a model family
Build, flash, or measure a model on a new board Add a board

Registration is explicit. Adding a Python file does not make a component selectable. Built-ins are registered in crest/builtin_components.py. Register custom classes under stable keys in crest/registry.py before loading configuration. Select them through dataset.name, task.name, model.family, or optimizer.type. Follow the matching component guide's extension steps and completion checks, including small inputs and invalid configurations before a full search.

Native sampling and explicit LLM proposals use the same objective, feasibility rules, and evaluation budget. The runner validates complete explicit batches before queueing them. See the optimizer guide for the proposal contract and LLM guide for provider examples.

API reference

For more information, read the full source code README on GitHub.