Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Jan 28, 2026

Updates the requirements on tensordict to permit the latest version.

Release notes

Sourced from tensordict's releases.

TensorDict v0.11.0

Highlights

This release brings Python 3.14 support (including free-threaded mode), drops Python 3.9, adds extensive torch.compile compatibility improvements, introduces new tensor manipulation methods, and expands NPU device support.

Breaking Changes

  • Dropped Python 3.9 support - Python 3.10+ is now required (#1488)
  • Removed deprecated features scheduled for v0.11 (#1526):
    • pad_sequence device parameter removed (deprecated since v0.5)
    • MemoryMappedTensor._tensor property now raises RuntimeError - use the tensor directly since it's a tensor subclass
    • Class decoration with context managers like set_lazy_legacy now raises RuntimeError
    • lock, unlock, rename_key (without trailing underscore) now raise RuntimeError - use lock_, unlock_, rename_key_ instead

Features

  • Python 3.14 and free-threading support (#1481, #1438) - Fixed race conditions in value caching that caused segfaults under free-threaded Python (PYTHON_GIL=0). The library now declares it does not require the GIL.

  • TensorClassModuleBase (#1473) - New base class for type-safe PyTorch modules that operate on TensorClass instances. Provides compile-time type checking, automatic TensorDict conversion via as_td_module(), nested TensorClass support, and ONNX export compatibility.

  • New tensor manipulation methods - Added several torch-compatible operations:

    • td.movedim() (#1504)
    • td.swapaxes()
    • td.flip(), td.fliplr()
    • td.roll()
    • td.rot90()
    • td.narrow(), td.tile(), td.broadcast_to()
    • td.atleast_Nd()
    • td.mod()
  • Quantiles support (#1450) - Added quantile computation for TensorDicts

  • Context manager for td.to() (#1448) - td.to() can now be used as a context manager for temporary device transfers

  • key_transform for reduce ops (#1451) - Added key transformation support for reduction operations

  • selected_out_keys for ProbabilisticTensorDictSequential (#1497) - Added ability to specify which output keys to keep

  • Extended NPU support (#1471, #1460) - Expanded NPU device support across more use cases previously limited to CUDA

  • torch.compile support for tensordict.copy() (#1515, #1516)

Bug Fixes

  • torch.compile compatibility fixes:
    • Fixed del_ in LazyStackedTensorDict (#1500)
    • Fixed td.pop() compilation (#1500)
    • Fixed select with strict=False
    • Fixed names setter incompatibility (#1521)

... (truncated)

Commits
  • 92e2383 [CI] Fix wheel artifact corruption from duplicate filenames (#1543)
  • 47d114e [CI] Document all version files and add Windows version sanity check (#1542)
  • 2ef11a2 [BugFix] Fix Windows version script to 0.11.0
  • 87d5536 [CI] Failing jobs stop upload in release CI (bis) (#1541)
  • 31c7706 [CI] Failing jobs stop upload in release CI (#1540)
  • 993094d [CI] Sequenital builds in release.yml (#1538)
  • d022e02 [CI] Set cancel-in-progress: true for release workflow (#1537)
  • bbd0b93 [CI] Remove automatic trigger from release workflow (#1536)
  • d8b3e14 [CI] Fix concurrency in release branches builds
  • 5736cb0 Bump version to 0.11.0 (#1534)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [tensordict](https://github.com/pytorch/tensordict) to permit the latest version.
- [Release notes](https://github.com/pytorch/tensordict/releases)
- [Commits](pytorch/tensordict@v0.8.0...v0.11.0)

---
updated-dependencies:
- dependency-name: tensordict
  dependency-version: 0.11.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants