domain-ml

Guide ML/AI application development in Rust with Candle, Burn, and polars.

1|Updated Nov 27, 2025
One-click install
npx skills add https://github.com/flexisuite-org/FlexiSuite_Kernel --skill domain-ml-flexisuite-org
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: domain-ml
Source: https://github.com/flexisuite-org/FlexiSuite_Kernel/tree/main/.agents/skills/domain-ml
Command: npx skills add https://github.com/flexisuite-org/FlexiSuite_Kernel --skill domain-ml-flexisuite-org

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides guidance and best practices for developing Machine Learning and AI applications using the Rust programming language, addressing challenges related to performance, memory efficiency, and model deployment.

Core Features & Use Cases

  • ML Framework Integration: Supports popular Rust ML frameworks like Candle, Burn, and tch-rs.
  • Efficient Data Handling: Emphasizes zero-copy, streaming, and batch processing for large datasets and GPU acceleration.
  • Model Portability: Guides on using standard formats like ONNX for cross-platform deployment.
  • Use Case: Develop a Rust application that performs real-time object detection using a pre-trained ONNX model, optimizing for speed and memory usage on edge devices.

Quick Start

Use the domain-ml skill to find recommended Rust crates for ONNX model inference.

Frequently Asked Questions about domain-ml

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run ONNX model inference in Rust efficiently?

To run ONNX model inference in Rust efficiently, use frameworks like tract or Candle for cross-platform deployment, applying specific design patterns to optimize memory usage and speed.

What is the best way to handle large datasets for machine learning pipelines in Rust?

Handling large datasets for ML pipelines in Rust is best achieved by using the polars crate to perform zero-copy, streaming, and batch processing operations.

Can I use Rust for real-time object detection on edge devices?

Yes, you can use Rust for real-time object detection on edge devices by deploying a pre-trained ONNX model and optimizing for memory usage and GPU acceleration.

Does the Candle framework support GPU acceleration for deep learning in Rust?

Candle supports GPU acceleration for deep learning in Rust, providing design patterns to maximize hardware utilization while maintaining strict memory efficiency constraints.

How does Burn compare to tch-rs for building ML applications in Rust?

Burn and tch-rs are both Rust ML frameworks supported for building AI applications, with distinct implications for model portability, memory efficiency, and training scenarios.

Why should I consider memory efficiency constraints when deploying ML models in Rust?

Memory efficiency constraints are critical when deploying ML models in Rust to ensure model portability and performance, particularly for real-time inference on edge devices.