What problem does it solve?
This Skill addresses the challenges of developing machine learning and AI applications in Rust, ensuring efficiency in memory usage, GPU acceleration, and model portability while avoiding common pitfalls.
Core Features & Use Cases
- Domain Constraints Guidance: Provides design implications for rules like large data handling and batch processing, recommending Rust crates like candle and tch-rs.
- Key Crates and Patterns: Recommends frameworks for inference, training, and data pipelines, with code patterns for model loading and batched inference.
- Use Case: When creating a Rust-based inference server for PyTorch models, use this Skill to implement singleton model loading and async batch processing to optimize GPU utilization and reduce latency.
Quick Start
Use the domain-ml skill to recommend Rust crates and design patterns for implementing batched neural network inference.