跳到主内容
@wquguru
精选70PyTorch 博客(RSS)行业动态

PyTorch 生态新增 10 个开源项目

PyTorch Ecosystem Landscape Welcomes Perforated, AReaL, TorchJD, RLinf, Miles, SMG, FiftyOne, TokenSpeed, VisualTorch, and TorchSurv

原文
发到 X

The PyTorch Ecosystem Working Group is happy to welcome 10 new projects to the PyTorch Ecosystem Landscape including Perforated, AReaL, TorchJD, RLinf, Miles, SMG, FiftyOne, TokenSpeed, VisualTorch, and TorchSurv. The PyTorch Ecosystem Landscape is a map of the innovative open source AI projects that extend, integrate with, or build upon PyTorch. Welcome to the newest PyTorch Ecosystem Landscape projects!

PyTorch生态系统工作组很高兴欢迎10个新项目加入PyTorch生态系统版图,包括Perforated、AReaL、TorchJD、RLinf、Miles、SMG、FiftyOne、TokenSpeed、VisualTorch和TorchSurv。PyTorch生态系统版图是一张展示扩展、集成或基于PyTorch构建的创新开源AI项目的地图。欢迎最新的PyTorch生态系统版图项目!

New Additions to the PyTorch Ecosystem

PyTorch生态系统新增项目

Perforated

Perforated

Perforated is a data-efficiency library for PyTorch that improves model performance by adding neuron-specific reinforcement learning signals during training. Originally inspired by a breakthrough in neuroscience research, Perforated applies a lightweight modification to backpropagation. This library helps models extract more value from available training data, enabling ML teams to reach target performance with fewer labeled examples and no changes to core model architecture. While broadly applicable across machine learning, Perforated has been most extensively validated on edge AI and computer vision workloads. ML teams that have adopted Perforated reduced error by 70% with existing data, meeting deployment criteria while truncating painful data collection and labeling.

Perforated是一个面向PyTorch的数据效率库,通过在训练过程中添加神经元特定的强化学习信号来提升模型性能。Perforated最初受神经科学研究突破的启发,对反向传播进行了轻量级修改。该库帮助模型从可用训练数据中提取更多价值,使机器学习团队能够用更少的标注样本达到目标性能,且无需更改核心模型架构。虽然Perforated广泛适用于机器学习领域,但其在边缘AI和计算机视觉工作负载上的验证最为充分。采用Perforated的机器学习团队在现有数据下将错误率降低了70%,在满足部署标准的同时,缩短了繁琐的数据收集和标注过程。

Implemented entirely in Python using standard PyTorch functionality, Perforated is proud to be officially welcomed to the PyTorch ecosystem. Teams can evaluate Perforated against their current models and benchmarks with minimal integration effort, making it easy to assess the impact of improved data efficiency within established development pipelines. We look forward to working with the PyTorch community to advance practical approaches for training higher-performing models.

Perforated完全使用Python实现,基于标准PyTorch功能,很荣幸被正式纳入PyTorch生态系统。团队可以以最小的集成工作量,将Perforated与现有模型和基准进行对比评估,从而轻松评估在既定开发流程中提升数据效率的影响。我们期待与PyTorch社区合作,推进训练更高性能模型的实用方法。

Learn more at perforatedai.com. Find us on Github. Join the Perforated Community Slack

了解更多请访问perforatedai.com。在Github上找到我们。加入Perforated社区Slack

AReaL

AReaL

AReaL is an open source, modular RL infrastructure that bridges foundation model training with modern LLM/VLM-based agent applications. Built on a fully asynchronous RL training paradigm, AReaL enables seamless building, deployment, evaluation, and fine tuning of agents through standardized data and execution interfaces. Black-box or online agentic systems can be incorporated into the full RL training loop with minimal integration overhead and no intrusive code changes.

AReaL是一个开源的模块化强化学习基础设施,将基础模型训练与现代基于LLM/VLM的智能体应用相连接。AReaL基于完全异步的强化学习训练范式,通过标准化的数据和执行接口,实现智能体的无缝构建、部署、评估和微调。黑盒或在线智能体系统可以以最小的集成开销和无侵入式代码更改,纳入完整的强化学习训练循环中。

AReaL decomposes RL into independent, composable services, enabling flexible scaling, fault tolerance, and independent optimization of system components. This design also allows broad integration with diverse training and inference backends, including vLLM, SGLang, custom PyTorch-native 5D parallel engines, and other projects within the PyTorch ecosystem. Rather than introducing new components, AReaL focuses on connecting existing ecosystem pieces into a practical, end-to-end loop that supports the full lifecycle of an agentic system – from development to continuous evolution.

AReaL将强化学习分解为独立、可组合的服务,实现了灵活的扩展、容错以及系统组件的独立优化。这一设计还允许与多种训练和推理后端广泛集成,包括vLLM、SGLang、自定义的PyTorch原生5D并行引擎,以及PyTorch生态系统中的其他项目。AReaL并非引入新组件,而是专注于将现有生态系统的各个部分连接成一个实用的端到端循环,支持智能体系统的完整生命周期——从开发到持续演进。

Learn more about AReaL.

了解更多关于AReaL的信息。

TorchJD

TorchJD

TorchJD is a library to train neural networks with multiple losses. Two main classes of methods are supported:

TorchJD是一个用于训练多损失神经网络的库。支持两大类方法:

  • scalarization: combine the losses into a single scalar loss, and minimize it with a gradient-based optimizer.
  • Jacobian Descent (JD): compute the Jacobian of the vector of losses (one gradient per loss), and aggregate it into a common update direction to feed to the optimizer.
  • 标量化:将多个损失合并为单个标量损失,并使用基于梯度的优化器进行最小化。
  • 雅可比下降(JD):计算损失向量的雅可比矩阵(每个损失对应一个梯度),并将其聚合为共同的更新方向,以供优化器使用。

There is a key advantage to Jacobian descent: with the proper aggregation method, the parameter update will decrease all losses simultaneously. In some cases though (e.g. very aligned gradients), scalarization may be enough. Our goal is to provide a comprehensive collection of gradient-based multi-objective optimization methods, making it easy both for experts to compare approaches and for newcomers to start solving multi-loss problems without requiring deep expertise in the field.

雅可比下降有一个关键优势:通过适当的聚合方法,参数更新将同时减少所有损失。然而,在某些情况下(例如梯度非常一致时),标量化可能就足够了。我们的目标是提供一套全面的基于梯度的多目标优化方法,既便于专家比较不同方法,也便于新手无需深入了解该领域即可开始解决多损失问题。

We’re joining the PyTorch ecosystem in the hope of gathering a larger community of users and contributors. We have many ideas for the future of TorchJD, and we’re looking forward to building them together with the community as we continue working toward making TorchJD the ideal library for training models with multiple losses.

我们加入PyTorch生态系统,希望能聚集更广泛的用户和贡献者社区。我们对TorchJD的未来有很多想法,期待与社区一起构建,继续努力使TorchJD成为训练多损失模型的理想库。

Learn more about TorchJD or join the Discord community.

了解更多关于TorchJD的信息或加入Discord社区。

RLinf

RLinf

RLinf is an open source reinforcement learning framework for embodied and agentic AI, built for a world where models are increasingly trained through complex real-world interactions across robots and sensors, simulators, tools, web environments, code, and multi-agent workflows. RLinf connects these interactive feedback loops with scalable training, offering standard and reusable building blocks for rollout, reward computation, environment execution, and learning, without revealing the intricate details of managing heterogeneous hardware and complex environments. Together with push-button recipes for reproducing state-of-the-art RL algorithms, RLinf helps accelerate the advancement of reinforcement learning in embodied and agentic systems.

RLinf是一个面向具身与智能体AI的开源强化学习框架,专为模型日益通过机器人、传感器、模拟器、工具、网络环境、代码及多智能体工作流中的复杂真实世界交互进行训练而设计。RLinf将这些交互式反馈循环与可扩展训练相连接,提供标准且可复用的构建模块,用于展开(rollout)、奖励计算、环境执行和学习,而无需揭示管理异构硬件和复杂环境的繁琐细节。配合一键复现最先进RL算法的配方,RLinf助力加速强化学习在具身与智能体系统中的发展。

As part of the PyTorch ecosystem, RLinf brings a real-world perspective to scalable RL: PyTorch users can prototype with familiar model code while RLinf handles the coordination between learning, acting, sensing, evaluating, and scaling across heterogeneous hardware. By making robots and GPUs first-class citizens in the same workflow, RLinf aims to help the ecosystem push post-training beyond isolated model loops toward reproducible, extensible systems that learn through interaction. Learn more at RLinf.

作为PyTorch生态系统的一部分,RLinf为可扩展强化学习带来了真实世界的视角:PyTorch用户可以用熟悉的模型代码进行原型设计,而RLinf则负责协调学习、行动、感知、评估以及跨异构硬件的扩展。通过让机器人和GPU在同一工作流中成为一等公民,RLinf旨在帮助生态系统将后训练从孤立的模型循环推向可复现、可扩展、通过交互学习的系统。了解更多请访问RLinf。

Miles

Miles

Miles is an open source post-training framework for large-scale models, built and maintained by RadixArk. It targets the scale at which post-training actually runs: frontier scale open MoEs, multi-node clusters, and long-running jobs that have to stay up. Miles has deep SGLang integration and first-class support for new model architectures and hardware platforms as they land, along with production capabilities including LoRA, TITO, and low-precision training. It is customizable rather than prescriptive, so teams can modify the training loop, swap components, and adapt algorithms to their own recipes instead of working around the framework.

Miles是一个由RadixArk构建和维护的开源大规模模型后训练框架。它针对后训练实际运行的规模:前沿规模的开源MoE、多节点集群以及必须保持长期运行的任务。Miles深度集成SGLang,并优先支持新模型架构和硬件平台,同时提供包括LoRA、TITO和低精度训练在内的生产能力。它是可定制而非规定性的,因此团队可以修改训练循环、替换组件、调整算法以适应自己的配方,而不是受制于框架。

Miles is already used by research labs and industry teams to post-train open models at that scale. RL post-training is where PyTorch-native training meets high-throughput inference, and Miles is built to connect the two. We are joining the PyTorch Ecosystem Landscape to develop that path in the open, alongside the rest of the PyTorch community.

Miles已被研究实验室和工业团队用于在该规模下对开放模型进行后训练。RL后训练是PyTorch原生训练与高吞吐量推理交汇之处,而Miles正是为连接两者而构建。我们加入PyTorch生态系统版图,旨在与PyTorch社区其他成员一起,公开开发这条路径。

Learn more about Miles.

了解更多关于Miles的信息。

SMG

SMG

SMG (Shepherd Model Gateway) is an engine-agnostic, high-performance model-routing gateway for large-scale LLM deployments. Written in Rust, SMG sits in front of self-hosted inference engines — vLLM, TensorRT-LLM, TokenSpeed, SGLang, MLX — and cloud providers, unifying them behind a single OpenAI-compatible endpoint. Its cache-aware routing tracks each worker’s KV-cache state in radix trees to maximize prefix reuse and GPU utilization, while a native streaming gRPC pipeline supports prefill/decode disaggregation and data-parallel-aware routing. SMG adds enterprise-grade controls — priority admission scheduling, multi-tenancy, API-key auth with OIDC, WebAssembly plugins, and self-hosted chat history — along with 90+ Prometheus metrics and OpenTelemetry tracing. We’re excited to join the PyTorch Ecosystem and to keep building the serving layer for open source models alongside the community.

SMG(Shepherd Model Gateway)是一个与引擎无关、高性能的模型路由网关,用于大规模LLM部署。SMG用Rust编写,位于自托管推理引擎——vLLM、TensorRT-LLM、TokenSpeed、SGLang、MLX——以及云提供商之前,将它们统一在一个兼容OpenAI的端点之后。其缓存感知路由通过基数树跟踪每个工作节点的KV缓存状态,以最大化前缀重用和GPU利用率,同时原生流式gRPC管道支持预填充/解码分离和数据并行感知路由。SMG增加了企业级控制——优先级准入调度、多租户、支持OIDC的API密钥认证、WebAssembly插件和自托管聊天历史——以及90多个Prometheus指标和OpenTelemetry追踪。我们很高兴加入PyTorch生态系统,并与社区一起继续构建开源模型的推理服务层。

Learn more about SMG.

了解更多关于SMG的信息。

FiftyOne

FiftyOne

FiftyOne is the multimodal data platform for physical AI. It helps developers build better models by indexing multimodal data for search, curation, annotation, and model evaluation.That data spans images, video, and sensor streams like LiDAR and radar. FiftyOne gives ML teams the tools to find the failure modes, data quality issues, and edge cases that improve model performance, from initial dataset exploration through production model debugging.

FiftyOne是用于物理AI的多模态数据平台。它通过索引多模态数据以进行搜索、整理、标注和模型评估,帮助开发者构建更好的模型。这些数据涵盖图像、视频以及LiDAR和雷达等传感器流。FiftyOne为机器学习团队提供了工具,以发现故障模式、数据质量问题和边缘案例,从而提升模型性能,从初始数据集探索到生产模型调试。

更进一步:量化金融体系

看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力

进入量化体系 →

相似阅读

另一事件,读法相近