Skip to content

Update tensordict requirement from !=0.9.0,<=0.10.0,>=0.8.0 to >=0.8.0,!=0.9.0,<=0.12.0#8

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/tensordict-gte-0.8.0-and-neq-0.9.0-and-lte-0.12.0
Closed

Update tensordict requirement from !=0.9.0,<=0.10.0,>=0.8.0 to >=0.8.0,!=0.9.0,<=0.12.0#8
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/tensordict-gte-0.8.0-and-neq-0.9.0-and-lte-0.12.0

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot bot commented on behalf of github Apr 8, 2026

Updates the requirements on tensordict to permit the latest version.

Release notes

Sourced from tensordict's releases.

TensorDict v0.12.0

Highlights

TensorDict v0.12.0 introduces TypedTensorDict for schema-enforced tensor dictionaries, a full distributed collectives suite (broadcast, all_reduce, all_gather, scatter), TensorDictStore with Redis/Dragonfly/KeyDB backends, and major torch.compile and performance improvements. The UnbatchedTensor has been rewritten as a proper tensor subclass, and state_dict handling has been overhauled for consistency.

Breaking Changes

  • UnbatchedTensor is now a __torch_dispatch__-based tensor subclass (was previously a wrapper) (#1638, #1648)
  • state_dict is now flat by default, with auto-detection in load_state_dict for backwards compatibility
  • TensorClass state_dict now uses logical keys

Features

  • TypedTensorDict: Schema-enforced TensorDicts with type annotations, cross-class compatibility, and torch.compile support (#1657, #1659, #1660, #1662, #1663)
  • TensorDictStore: Redis/Dragonfly/KeyDB-backed TensorDict with TensorClass support, lazy stack storage, and optimized indexed ops
  • Distributed collectives: broadcast, all_reduce, all_gather, scatter, consolidated send/recv and init_remote/from_remote_init with UCXX transport support (#1611)
  • set_printoptions: Configurable TensorDict repr with verbose mode (#1654, #1655, #1665)
  • torch.func support: jacrev, jacfwd, and hessian now work with TensorDict (#1613)
  • vmap with unbatched data: TensorDicts containing unbatched tensors can now be vmapped (#1625)
  • TensorClass.select(as_tensordict=...) parameter (#1544)
  • TensorDictBase.is_non_tensor(key) for consistent non-tensor key detection

Bug Fixes

  • Fix HigherOrderOperator support in __torch_function__ (#1668)
  • Fix td[key] = [] handling (#1666)
  • Fix UnbatchedTensor.tolist() (#1664)
  • Fix UnbatchedTensor CUDA pickling for multiprocessing (#1656)
  • Fix UnbatchedTensor indexing without batch dim, GPU failures, getitem/stack (#1607, #1626, #1633)
  • Fix replace() recompiles under torch.compile (#1605)
  • Fix auto_batch_size regression with NonTensorStack (#1609)
  • Fix NonTensorData positional args causing graph breaks under torch.compile (#1630)
  • Fix state_dict error messages, params forwarding, detach
  • Pin pybind11>=2.13 for Python 3.13 compatibility

Performance

  • Speed up TensorDict.__init__ by bypassing set() dispatch chain (#1551)
  • Speed up TensorClass.__init__ by bypassing __setattr__ and dataclass __init__ (#1552)
  • Use CUDA event sync instead of torch.cuda.synchronize() in .to() (#1545)
  • Reduce guards and recompiles for TensorDict under torch.compile (#1636)
  • Compile-friendly TensorDict build (#1624)
Commits
  • bb8825e [CI] Also disable ROCm wheel builds (tensordict is CPU-only)
  • 015507b [CI] Disable CUDA wheel builds (tensordict is CPU-only) (#1672)
  • 3f84f8d [CI] Fix wheel builds (#1671)
  • b0ebe66 [Release] Bump version to 0.12.0 (#1670)
  • 31b5ef5 [BugFix] Support HigherOrderOperator in torch_function (#1668)
  • 962bf40 [BugFix] Handle td[key] = [] properly (#1666)
  • fb51ac7 [Feature] set_printoptions(verbose=False) (#1665)
  • 32d9fb6 [BugFix] Fix UnbatchedTensor.tolist() (#1664)
  • 45424d7 [Refactor] Use torch_dispatch for UnbatchedTensor (#1648)
  • 4df757c [Feature] torch.compile compatibility for TypedTensorDict (#1659)
  • 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 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.12.0)

---
updated-dependencies:
- dependency-name: tensordict
  dependency-version: 0.12.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 Apr 8, 2026
@dependabot @github
Copy link
Copy Markdown
Author

dependabot bot commented on behalf of github Apr 15, 2026

Superseded by #9.

@dependabot dependabot bot closed this Apr 15, 2026
@dependabot dependabot bot deleted the dependabot/pip/tensordict-gte-0.8.0-and-neq-0.9.0-and-lte-0.12.0 branch April 15, 2026 15:09
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