Skip to content

TorchData 0.6.1 Release Notes

Compare
Choose a tag to compare
@NivekT NivekT released this 08 May 20:15

TorchData 0.6.1 Beta Release Notes

Highlights

This minor release is aligned with PyTorch 2.0.1 and primarily fixes bugs that are introduced in the 0.6.0 release. We sincerely thank our users and contributors for spotting various bugs and helping us to fix them.

Bug Fixes

DataLoader2

  • Properly clean up processes and queues for MPRS and Fix pause for prefetch (#1096)
  • Fix DataLoader2 seed = 0 bug (#1098)
    • Previously, if seed = 0 was passed into DataLoader2, the seed value in DataLoader2 would not be set and the seed would be unused. This change fixes that and allow seed = 0 to be used normally.
  • Fix worker_init_fn to update DataPipe graph and move worker prefetch to the end of Worker pipeline (#1100)

DataPipe

  • Fix pin_memory_fn to support namedtuple (#1086)
  • Fix typo for portalocker at import time (#1099)

Improvements

DataPipe

  • Skip FullSync operation when world_size == 1 (#1065)

Docs

  • Add long project description to setup.py for display on PyPI (#1094)

Beta Usage Note

This library is currently in the Beta stage and currently does not have a fully stable release. The API may change based on user feedback or performance. We are committed to bring this library to stable release, but future changes may not be completely backward compatible. If you install from source or use the nightly version of this library, use it along with the PyTorch nightly binaries. If you have suggestions on the API or use cases you'd like to be covered, please open a GitHub issue. We'd love to hear thoughts and feedback. As always, we welcome new contributors to our repo.