This template demonstrates Feast's Ray integration, showcasing both the Ray Offline Store and Ray Compute Engine capabilities for distributed feature processing.
ray_template/
├── feature_repo/
│ ├── feature_store.yaml # Ray offline store + compute engine config
│ ├── feature_definitions.py # Feature definitions with Ray optimizations
│ ├── test_workflow.py # Demo script showing Ray capabilities
│ └── data/ # Sample datasets (generated by bootstrap)
│ ├── driver_stats.parquet
│ └── customer_daily_profile.parquet
└── README.md # This file
-
Initialize the template:
feast init -t ray my_ray_project cd my_ray_project/feature_repo -
Install Ray dependencies:
pip install feast[ray]
-
Apply feature definitions:
feast apply
-
Run the demo:
python test_workflow.py