ray-serve-on-aml's People
ray-serve-on-aml's Issues
Define and implement load testing
Need to code a simple load testing set of scripts based on load testers or document this process to validate and measure/document performance scenarios of a few classic use cases.
Note: test that this works + easily generate data for blog posts, more elaborated documents to outline the benefits of this solution
Create Deployment abstract class / API to be implemented by customer
Need to abstract this code out of the main core base.
Document Ray Service configuration and deployment to Ray Cluster
Exception handling when a model is not available in Redis
Exception handling when a model is not available in Redis
Document API + AML registry 'api'
Update Setup instructions
Multi-tenancy security: can we leverage API Management?
Need to be able to restrict one tenant from scoring for another tenant.
Mostly we need to document how you would implement multi-tenant RBAC on the scoring method.
Document: non code driven config of Ray Serve environment
Need to govern via config the # of Deployments in the service so this gets dynamically created instead of hardcoded.
Q: Do we need to enable a live reconfiguration of the number of deployments? Say the customer demand increases over time and this solution drives an HA system which can't go down.
Update Specs
ray_service.yml: update 'working_dir' to point to a github release
We want to avoid having to create/update a zip of the code
Detailed Architecture diagram
Define and document model naming/taging that will drive the lifecycle process
Assuming AML trained many models deployed in the registry, we would probably rely on name conventions + tags to lazy load the proper models on inference, potential parameters for naming/tags:
- tenant name (or something more generic as some many models scenarios aren't going to be about tenant)
- versions
- stage tags (for instance: prod vs stage vs test, or blue, green, etc.
- tiers: do we have performance tiers, there may be a Tier1 that always needs to be in cache no matter what (nice to have feature potentially)
Etc.
Need framework to be able to store persistent version of current ML registry production version/tag
Hide secret using .Env
Hide secret using .Env
Script to setup AML Registry with 1800 models
Find forecast model, etc.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.