ierezell / ml_infra

Infrastructure templates with AWS CDK for machine learning projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ml_infra

This is a small test to deploy an NLP model (huggingface) on AWS with the CDK.

You have here code to deploy on:

  • Lambda
  • Ec2 with GPU
  • Inferentia aws chip
  • Asynchronous inference
  • Sagemaker hosting
  • Onnx version to run faster on cpu (or GPU)

Development

These are the "classic" aws CDK commands, refer to their doc for more, if you miss authentification etc...

  • npm run build compile typescript to js
  • npm run watch watch for changes and compile
  • npm run test perform the jest unit tests
  • cdk deploy deploy this stack to your default AWS account/region
  • cdk diff compare deployed stack with current state
  • cdk synth emits the synthesized CloudFormation template

About

Infrastructure templates with AWS CDK for machine learning projects


Languages

Language:Python 57.0%Language:TypeScript 35.2%Language:JavaScript 4.5%Language:Dockerfile 3.4%