apac-ml-tfc / frugal-mlops Goto Github PK
View Code? Open in Web Editor NEWMLOps example with an emphasis on re-using (rather than re-building) artifacts
MLOps example with an emphasis on re-using (rather than re-building) artifacts
This repository demonstrates examples of experiment-driven pipelines to push new model ideas into deployment, but doesn't show a corresponding data-driven pipeline to refresh trained models as new data arrives.
By replacing our Lambda-calling states with style e.g.
"Hello": {
"Type": "Task",
"Resource": "arn:aws:lambda:us-east-1:xxxxxxxxx:function:HelloWorld:$LATEST",
"ResultPath": "$.LambdaResult",
"Next": "World"
},
...we can reference results at $.LambdaResult
instead of $.LambdaResult.Payload
, and not pollute the step function data with other Lambda execution metadata e.g. the called version, HTTP headers etc which appear at the moment.
Although the sandbox.yml
stack grants the user's execution role permission to sts:AssumeRole
on the SudoRole, the SudoRole's trust policy is not updated to add the new principal - so the access is still blocked... Resulting in an error something like the below at the end of notebook 1:
An error occurred (AccessDenied) when calling the AssumeRole operation: User: arn:aws:sts::123456789012:assumed-role/AmazonSageMaker-ExecutionRole-XYZ/SageMaker is not authorized to perform: sts:AssumeRole on resource: arn:aws:iam::123456789012:role/forestcover/forestcover-ProjectSudoRole
The manual fix is to open the SudoRole in the IAM console, go to the "Trust Relationships" tab, and add an entry something like:
{
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::123456789012:role/AmazonSageMaker-ExecutionRole-XYZ"
},
"Action": "sts:AssumeRole"
}
...But the templates should be updated to automate this process
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.