| Crates.io | mia |
| lib.rs | mia |
| version | 0.0.1 |
| created_at | 2025-05-26 16:41:49.632607+00 |
| updated_at | 2025-05-26 16:41:49.632607+00 |
| description | A model inference framework. |
| homepage | https://github.com/cryscan/mia |
| repository | https://github.com/cryscan/mia |
| max_upload_size | |
| id | 1690047 |
| size | 141,248 |
A Lightweight, Cross-Platform Inference Framework in Rust
mia is a high-performance model inference framework designed for efficient execution of machine learning models across diverse hardware platforms. Built in Rust, it emphasizes type safety, memory efficiency, and cross-platform compatibility, supporting both native applications and web browsers via WebAssembly.
✨ Key Features
Multi-Device Support:
Cross-Platform Execution:
Efficient Tensor System:
Type-Safe Numerics:
f32, f16, u8, u16, u32, and packed formats (e.g., PackedU4x8).Async-First Design:
Memory Management:
🚀 Supported Platforms
| Device | Backend | Native | Web (WASM) |
|---|---|---|---|
| CPU | Native Rust | ✅ | ✅ |
| GPU | WebGPU | ✅ | ✅ |
📦 Installation
Add mia to your Cargo.toml:
[dependencies]
mia = { git = "https://github.com/cryscan/mia", branch = "main" }
🤝 Contributing We welcome contributions! Check out the Core Concepts documentation and open an issue/PR to discuss ideas.
License: MIT GitHub: cryscan/mia