AxonML 是 AI Skill Hub 本期精选AI工具之一。综合评分 7.5 分,整体质量较高。我们推荐使用将其纳入你的 AI 工具库,帮助提升工作效率。
AxonML是开源的AI工具,基于Rust语言开发,提供PyTorch等功能,支持CUDA GPU和生物识别等领域的深度学习应用。
AxonML 是一款基于 Rust 开发的开源工具,专注于 tag1、tag2、tag3 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
AxonML是开源的AI工具,基于Rust语言开发,提供PyTorch等功能,支持CUDA GPU和生物识别等领域的深度学习应用。
AxonML 是一款基于 Rust 开发的开源工具,专注于 tag1、tag2、tag3 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
# 方式一:cargo install(推荐) cargo install axonml # 方式二:从源码编译 git clone https://github.com/AutomataNexus/AxonML cd AxonML cargo build --release # 二进制在 ./target/release/axonml
# 查看帮助 axonml --help # 基本运行 axonml [options] <input> # 详细使用说明请查阅文档 # https://github.com/AutomataNexus/AxonML
# axonml 配置说明 # 查看配置选项 axonml --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export AXONML_CONFIG="/path/to/config.yml"
<p><strong>A complete, PyTorch-equivalent machine learning framework written in pure Rust.</strong></p>
</div>
Axonml (named after axons - the nerve fibers that transmit signals between neurons) is an ambitious open-source project to create a complete machine learning framework in Rust. Our goal is to provide the same comprehensive functionality as PyTorch while leveraging Rust's performance, safety, and concurrency guarantees.
axonml zip create -o bundle.zip --model m.f --data d/ # Create bundle axonml zip extract bundle.zip -o ./output # Extract bundle axonml zip list bundle.zip # List bundle contents axonml upload model.axonml --hub myrepo # Upload to model hub axonml serve model.axonml --port 8080 # Start inference server
AxonML powers real-time predictive maintenance on HVAC systems across commercial buildings. 12 models (6 LSTM autoencoders for anomaly detection + 6 GRU failure predictors) run live inference on Raspberry Pi edge controllers, processing sensor data at 1 Hz.
| Building | Unit | Anomaly Detector | Failure Predictor | Params | RSS |
|---|---|---|---|---|---|
| FCOG | Mechroom | Erebus (LSTM-AE) | Kairos (GRU-FDD) | 416K | 2.5 MB |
| Warren | AHU-1 | Aether | Moros | 105K | 2.1 MB |
| Warren | AHU-2 | Phanes | Hecate | 233K | 2.4 MB |
| Warren | AHU-4 | Nyctos | Cassandra | 105K | 2.1 MB |
| Warren | AHU-7 | Poseidon | Triton | 105K | 2.1 MB |
| Huntington | Mechroom | Plutus | Moira | 415K | 3.2 MB |
Stack: AxonML training (CPU) → .axonml model files → cross-compiled ARM inference daemons (armv7-unknown-linux-musleabihf) → PM2-managed services on Raspberry Pi → REST API (/api/inference/latest)
Each daemon runs pure-tensor inference (no autograd overhead), polls local NexusEdge for sensor data, maintains rolling time-series buffers, and exposes anomaly scores + failure predictions via HTTP.
git clone https://github.com/automatanexus/axonml
cd axonml
cargo build --release
cargo install --path crates/axonml-cli
cargo build --release -p axonml-server # Build release binary sudo mkdir -p /var/log/axonml # Create log directory sudo chown $USER:$USER /var/log/axonml
Add Axonml to your Cargo.toml:
[dependencies]
axonml = "0.6"
use axonml::prelude::*;
fn main() {
// Create tensors
let a = zeros::<f32>(&[2, 3]);
let b = ones::<f32>(&[2, 3]);
// Arithmetic operations with broadcasting
let c = &a + &b;
let d = &c * 2.0;
// Matrix operations
let e = randn::<f32>(&[3, 4]);
let f = randn::<f32>(&[4, 5]);
let g = e.matmul(&f).unwrap();
// Reductions
let sum = d.sum();
let mean = d.mean().unwrap();
// Activations
let h = randn::<f32>(&[10]);
let activated = h.relu();
println!("Result shape: {:?}", g.shape());
}
use axonml::prelude::*;
use axonml_nn::{Sequential, Linear, ReLU, CrossEntropyLoss, Module};
use axonml_optim::{Adam, Optimizer};
use axonml_data::{DataLoader, Dataset};
fn main() {
// Build model
let model = Sequential::new()
.add(Linear::new(784, 256))
.add(ReLU)
.add(Linear::new(256, 10));
// Setup optimizer
let mut optimizer = Adam::new(model.parameters(), 0.001);
// Training loop
for epoch in 0..10 {
for batch in dataloader.iter() {
let output = model.forward(&batch.data);
let loss = CrossEntropyLoss::new().compute(&output, &batch.targets);
optimizer.zero_grad();
loss.backward();
optimizer.step();
}
}
}
axonml wandb login axonml wandb init --project my-project
| Variable | Default | Description |
|---|---|---|
RUST_LOG | info | Log level (trace, debug, info, warn, error) |
AEGIS_URL | http://127.0.0.1:7001 | Aegis-DB connection URL |
RESEND_API_KEY | - | Email service API key |
AXONML_JWT_SECRET | - | JWT signing secret (**required**, must be ≥32 chars; server refuses to boot otherwise) |
AXONML_DEVOPS_PASSWORD | - | If set, seeds the DevOps@automatanexus.com admin on first boot |
VAULT_ADDR | - | If set, enables HashiCorp Vault secrets backend (takes precedence over env) |
axonml login # Login to AxonML server axonml login --server http://server:3021 # Login to custom server axonml logout # Logout and clear credentials axonml sync # Check sync status with server axonml sync --full # Full sync of training runs, models, datasets
axon start
axon start --server --port 3000
axonml train config.toml # Train from config file axonml train --model mlp --epochs 10 # Quick training axonml resume checkpoint.axonml # Resume from checkpoint
axonml kaggle login <username> <key> # Save Kaggle API credentials axonml kaggle status # Check authentication status axonml kaggle search "image classification" # Search datasets axonml kaggle download owner/dataset # Download dataset axonml kaggle list # List downloaded datasets
Built-in experiment tracking with W&B:
```bash
AxonML是一款基于Rust的开源AI工具,提供了PyTorch等功能,支持CUDA GPU和生物识别等领域的深度学习应用。虽然其功能和性能较好,但仍然需要进一步的测试和优化。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。
经综合评估,AxonML 在AI工具赛道中表现稳健,质量良好。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | AxonML |
| 原始描述 | 开源AI工具:PyTorch-equivalent ML framework in pure Rust — 22 crates, CUDA GPU, biometrics, 。⭐22 · Rust |
| Topics | tag1tag2tag3 |
| GitHub | https://github.com/AutomataNexus/AxonML |
| License | Apache-2.0 |
| 语言 | Rust |
收录时间:2026-05-21 · 更新时间:2026-05-22 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。