Skip to main content

cirron plan

Generate execution plans for Cirron operations (compile, build) and save, compare, or replay them. Plans show what will be executed, estimated resources, and potential issues without running anything.

Usage

Commands

Options (compile / build)

Plan compile / build

Validation covers required files (src/model.py, requirements.txt), architecture-specific checks (e.g. CUDA availability), framework compatibility, and dependency resolution. The plan reports environment setup, dependency resolution, model compilation/build, architecture-specific optimization, and artifact generation steps.

Plan diff

Compare two saved plans to identify added/removed/changed/unchanged configurations and dependencies.
Example diff:

Plan save

Plans are stored in ~/.cirron/plans/ with timestamp, description, tags, command type, and framework metadata.

Plan replay

Examples

Output Formats

Troubleshooting

Use descriptive names and tags, save baselines before major changes, and clean up old plans regularly with --cleanup. Use --json for programmatic processing in CI/CD pipelines.