This project is deprecated. Please check out https://github.com/ucbrise/clipper for more recent work in model serving.
Velox is a system for serving machine learning predictions.
- Supports real-time personalized predictions
- Integration with Spark and KeystoneML
- Automatic model training in batch and online
Installing Velox using the provided scripts requires fabric
>= 1.10.0 and dependencies (Paramiko >= 1.10.0)
Install and start Velox:
git clone https://github.com/amplab/velox-modelserver.git
cd velox-modelserver/bin/cluster
pip install fabric
fab install_velox_local:~/
fab start_velox:start_local=y
This start a local Velox instance listening on localhost at port 8080.
You can interact with the Velox REST API using cURL.
curl -H "Content-Type: application/json" -d '{"context": 4, "uid":1000}' http://localhost:8080/predict/matrixfact
curl -H "Content-Type: application/json" -d '{"context": 4, "uid":4, "score":1.3}' http://localhost:8080/observe/matrixfact
curl http://localhost:8080/retrain/matrixfact
For more details and a guide to deploying Velox on a cluster, check out our deployment guide.
- Mailing list: [email protected]
- [email protected]
- CIDR paper
- Tech talk
- Video and slides from presentation at AMPCamp 5
Velox is under the Apache 2.0 License.
More documentation coming soon