目录

注意力

2024年6月更新:移除DataPipes和DataLoader V2

我们正在重新聚焦torchdata仓库,使其成为torch.utils.data.DataLoader的迭代增强。我们不计划继续开发或维护[DataPipes]和[DataLoaderV2]解决方案,并且它们将从torchdata仓库中移除。我们还将重新审视pytorch/pytorch中的DataPipes引用。在torchdata==0.8.0版本(2024年7月)中,它们将被标记为已弃用,并在0.9.0版本(2024年10月)中删除。现有用户建议固定到torchdata==0.8.0或更早版本,直到他们能够迁移为止。后续版本将不再包含DataPipes或DataLoaderV2。如果您有任何建议或评论,请使用此问题反馈。

TorchData

该库是 PyTorch 项目的一部分。PyTorch 是一个开源的机器学习框架。

torchdata 是一个 Beta 库,包含用于轻松构建灵活且高性能数据管道的常用模块化数据加载原语。并且,还有一些功能仍处于原型阶段。

本文档中描述的功能按发布状态进行分类:

Stable: These features will be maintained long-term and there should generally be no major performance limitations or gaps in documentation. We also expect to maintain backwards compatibility (although breaking changes can happen and notice will be given one release ahead of time).

Beta: Features are tagged as Beta because the API may change based on user feedback, because the performance needs to improve, or because coverage across operators is not yet complete. For Beta features, we are committing to seeing the feature through to the Stable classification. We are not, however, committing to backwards compatibility.

Prototype: These features are typically not available as part of binary distributions like PyPI or Conda, except sometimes behind run-time flags, and are at an early stage for feedback and testing.

索引

文档

访问 PyTorch 的全面开发人员文档

查看文档

教程

获取面向初学者和高级开发人员的深入教程

查看教程

资源

查找开发资源并解答您的问题

查看资源