Mosec is a high-performance and flexible model-serving framework for building ML model-enabled backend and microservices. It bridges the gap between any machine learning models you just trained and the efficient online service API.

Features

  • Web layer and task coordination built with Rust, which offers blazing speed in addition to efficient CPU utilization powered by async I/O
  • User interface purely in Python, by which users can serve their models in an ML framework-agnostic manner using the same code as they do for offline testing
  • Aggregate requests from different users for batched inference and distribute results back
  • Spawn multiple processes for pipelined stages to handle CPU/GPU/IO mixed workloads
  • Designed to run in the cloud, with the model warmup, graceful shutdown, and Prometheus monitoring metrics, easily managed by Kubernetes or any container orchestration systems
  • Focus on the online serving part, users can pay attention to the model optimization and business logic

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow Mosec

Mosec Web Site

Other Useful Business Software
Build Securely on AWS with Proven Frameworks Icon
Build Securely on AWS with Proven Frameworks

Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Download Now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Mosec!

Additional Project Details

Programming Language

Python

Related Categories

Python Large Language Models (LLM), Python LLM Inference Tool

Registered

2023-08-25