跳到正文
原文
Reddit r/MachineLearning· /u/Mental-Feature-2377·· 2026-10-17AI 评分33

CS 学生用 Rust 打造 DenseCore 框架,可逐位复现 PyTorch 训练 nanoGPT

[P] my rust framework trains nanoGPT with the exact same bits as pytorch. worth continuing? [P]

AI 导读

一位 CS 学生开发了 Rust 深度学习框架 DenseCore,提供类 PyTorch 的 Python API,在 Apple Silicon Mac 上运行 karpathy 的 nanoGPT 50 步训练,初始权重、loss、梯度和权重与 PyTorch 逐位相同,含 dropout 时也一致。

来源:Reddit r/MachineLearning · reddit.com