Getting Started¶
Prerequisites¶
Installation¶
Running the Example Pipelines¶
Example pipelines demonstrate the full workflow: register a base model, finetune on sample data, promote the best version, and run inference.
| Example | Task | Model |
|---|---|---|
just example dinov3s_buildings |
Semantic segmentation | DINOv3 ViT-S/16 + UperNet (PyTorch) |
just example yolo_swag_waste_grid_segmentation |
Semantic segmentation | YOLO26x classifier (ultralytics) |
just example sklearn_rgb_segmentation |
Semantic segmentation | Logistic regression (scikit-learn) |
Run All Pipelines¶
just build builds the model Docker images before any pipeline runs, since the
compose ZenML stack executes each step in the model image via the local_docker
orchestrator.
Running a single example
Verifying Results¶
After the pipeline completes
| What | Where |
|---|---|
| ZenML pipelines, steps, artifacts | http://localhost:8080 (login: default / empty) |
| STAC collections | http://localhost:8082/collections |
| MLflow runs | http://localhost:5000 |
| MinIO objects | http://localhost:9001 (login: minioadmin / minioadmin) |
| Trained weights | artifacts/ |
| Predictions | data/sample/test/predictions/ |
Project Structure¶
fair/is the core library (pip-installable asfair-py-ops): STAC catalog management, builders, and validators understac/, data helpers underutils/, and ZenML config generation, promotion, and steps underzenml/.models/holds base model contributions, one subdirectory per model.examples/holds the example pipeline runner for the models undermodels/.infra/holds the production stack (Kubernetes via helmfile); the local dev stack thatjust setupuses is underinfra/compose/.stacks/compose.yamlis the ZenML stack definition for the compose stack.tests/holds the pytest suite.
Development Commands¶
Available recipes
just setup # install deps + bring up stack + register ZenML stack
just example # run all example pipelines
just down # stop the stack (state preserved, fast restart)
just up # restart after `just down`
just tear # destroy stack + volumes + local ZenML state
just lint # ruff check + format + ty check
just test # pytest
just validate # validate STAC items + model pipelines
just docs # serve documentation locally
just commit # run pre-commit hooks + commitizen
Next Steps¶
Tip
- Read the Architecture overview to understand the system
- Contribute a model to fAIr
- Stand up the Kubernetes dev stack for production-parity testing