domain-ml

Guide Rust developers in building ML/AI applications under domain constraints.

3|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/0xharryriddle/codex-field-kit --skill domain-ml-0xharryriddle
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: domain-ml
Source: https://github.com/0xharryriddle/codex-field-kit/tree/main/archive/upstream/chasebuild-agent-skills/rust/skills/domain-ml
Command: npx skills add https://github.com/0xharryriddle/codex-field-kit --skill domain-ml-0xharryriddle

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Building ML/AI apps in Rust requires navigating domain constraints, data handling, and complex design patterns. This Skill provides structured guidance and best practices to design efficient Rust ML pipelines and deployments.

Core Features & Use Cases

  • Domain constraint guidance for memory, GPU, model portability, and throughput
  • Concrete code patterns: Inference server, batched inference, lazy initialization
  • Design patterns and recommended crates: ndarray, tch-rs, burn, candle, ONNX, Polars (optional)

Quick Start

Initialize domain-ml in your Rust project and configure a simple inference service for your model.

Frequently Asked Questions about domain-ml

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

FAQPage Schema
How do I build a machine learning inference server in Rust?

To build a machine learning inference server in Rust, use design patterns like batched inference and lazy initialization with crates such as tch-rs, burn, or candle. This Skill provides concrete code patterns and domain constraint guidance for memory and throughput optimization.

What Rust crates are recommended for ONNX model deployment?

For ONNX model deployment in Rust, recommended crates include ndarray, tch-rs, burn, and candle. This Skill guides you through model portability and GPU constraints, offering practical implementation notes for integrating ONNX within Rust data pipelines.

How does Rust handle GPU memory constraints during ML inference?

Rust handles GPU memory constraints during ML inference by applying specific domain constraint patterns for memory management and throughput. This Skill documents design patterns and recommended crates to efficiently manage GPU resources and ensure model portability in edge deployments.

Can I use Rust for machine learning data pipelines and edge deployments?

Yes, you can use Rust for machine learning data pipelines and edge deployments. This Skill provides structured guidance for building efficient ML pipelines using crates like Polars, alongside domain constraint documentation for memory, GPU, and throughput requirements in constrained environments.

What is the best way to structure a Rust ML application with tch-rs and ndarray?

The best way to structure a Rust ML application with tch-rs and ndarray is to follow documented design patterns for inference servers and batched processing. This Skill supplies concrete code patterns, recommended crate combinations, and practical implementation notes for domain-specific constraints.