Skip to content

A user-friendly Command-line/SDK tool that makes it quickly and easier to deploy open-source LLMs on AWS

License

Notifications You must be signed in to change notification settings

aws-samples/easy-model-deployer

Easy Model Deployer: Simple, Efficient, and Easy-to-Integrate

Documentation Β· Changelog

MIT License PyPI - Downloads Build Status

πŸ”₯ Latest News

Introduction

Easy Model Deployer is a lightweight tool designed for simplify deploy Open-Source LLMs (Supported Models) and Custom Models on AWS. It provides OpenAI's Completions API and LangChain Interface. Built for developers who need reliable and scalable model serving without complex environment setup.

cli

Key Features

  • One-click deployment of models to AWS (Amazon SageMaker, Amazon ECS, Amazon EC2)
  • Diverse model types (LLMs, VLMs, Embeddings, Vision, etc.)
  • Rich inference engine (vLLM, TGI, Lmdeploy, etc.)
  • Different instance types (CPU/GPU/AWS Inferentia)
  • Convenient integration (OpenAI Compatible API, LangChain client, etc.)

πŸ”§ Get Started

Installation

Install Easy Model Deployer with PyPI, currently support for Python 3.9 or above:

pip install easy-model-deployer
emd

Bootstrap

Prepare the essential resources required for model deployment.

For more information, please refer to Architecture.

emd bootstrap

πŸ’‘ Tip Once you upgrade the EMD by pip, you need to run this command again to update the environment.

Deploy Models

Deploy models with an interactive CLI or one command line.

emd deploy

πŸ’‘ Tip To view all available parameters, run emd deploy --help. When you see the message "Waiting for model: ...", it means the deployment task has started and you can stop the terminal output by pressing Ctrl+C.

Show Status

Check the status of the model deployment task.

emd status

πŸ’‘ Tip The EMD allows launch multiple deployment tasks simultaneously.

Invocation

Invoke the deployed model for testing by CLI.

emd invoke DeepSeek-R1-Distill-Qwen-1.5B

πŸ’‘ Tip You can find the ModelId in the output by emd status.

πŸ’‘ Tip OpenAI Compatible API is supported only for Amazon ECS and Amazon EC2 deployment types.

List Supported Models

Quickly see what models are supported, this command will output all information related to deployment. (Plese browse Supported Models for more information.)

emd list-supported-models

Delete Model

Delete the deployed model.

emd destroy DeepSeek-R1-Distill-Qwen-1.5B

πŸ’‘ Tip You can find the ModelId in the output by emd status.

πŸ“– Documentation

For advanced configurations and detailed guides, visit our documentation site.

🀝 Contributing

We welcome contributions! Please see CONTRIBUTING.md for guidelines.