百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
A

autograph

> 编程语言
开源

一个用于 Rust 的 机器学习 库。

334 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

一个用于 Rust 的 机器学习 库。

[![LicenseBadge]][License] [![DocsBadge]][Docs] [License]: https://github.com/charles-r-earp/autograph/blob/main/LICENSE-APACHE [LicenseBadge]: https://img.shields.io/badge/license-MIT/Apache_2.0-blue.svg [Docs]: https://docs.rs/autograph [DocsBadge]: https://docs.rs/autograph/badge.svg

autograph

A machine learning library for Rust.

GPGPU kernels implemented with krnl.

  • Host and device execution.
  • Tensors emulate ndarray
    • Host tensors can be borrowed as arrays.
  • Tensors, models, and optimizers can be serialized with serde.
    • Portable between platforms.
    • Save and resume training progress.
  • Fully extensible, in Rust.

Neural Networks

…

See the Neural Network MNIST example.

Benchmarks

NVIDIA GeForce GTX 1060 with Max-Q Design

LeNet5(training, batch_size = 100)

autograph tch candle
bf16_host 498.54 ms (✅ 1.00x) 75.26 ms ( 6.62x faster) N/A
f32_host 8.25 ms (✅ 1.00x) 3.14 ms ( 2.63x faster) 34.17 ms (❌ 4.14x slower)
bf16_device 1.76 ms (✅ 1.00x) 17.63 ms (❌ 10.02x slower) N/A
f32_device 1.73 ms (✅ 1.00x) 1.19 ms (✅ 1.45x faster) 9.76 ms (❌ 5.64x slower)

LeNet5(inference, batch_size = 1,000)

autograph tch candle
bf16_host 1.81 s (✅ 1.00x) 193.60 ms ( 9.37x faster) N/A
f32_host 15.56 ms (✅ 1.00x) 9.46 ms (✅ 1.64x faster) 94.23 ms (❌ 6.06x slower)
bf16_device 4.65 ms (✅ 1.00x) 48.63 ms (❌ 10.46x slower) N/A
f32_device 4.65 ms (✅ 1.00x) 1.84 ms ( 2.52x faster) 10.81 ms (❌ 2.33x slower)

See the Neural Network benchmark.

License

Dual-licensed to be compatible with the Rust project.

Licensed under the Apache License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0 or the MIT license http://opensource.org/licenses/MIT, at your option. This file may not be copied, modified, or distributed except according to those terms.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rustcudamachine-learningneural-networksrust

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言