Skip to content

Update tensordict requirement from <=0.6.2 to <=0.13.0#34

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/tensordict-lte-0.13.0
Open

Update tensordict requirement from <=0.6.2 to <=0.13.0#34
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/tensordict-lte-0.13.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 29, 2026

Copy link
Copy Markdown

Updates the requirements on tensordict to permit the latest version.

Release notes

Sourced from tensordict's releases.

TensorDict v0.13.0

Highlights

TensorDict 0.13.0 adds new data import/export capabilities, broader in-place shape-changing operations, and several torch.compile reliability improvements. This release also improves memmap/file-backed workflows, TensorClass behavior under compile/export, to_module() state preservation migration, and release infrastructure for CPU-only TensorDict wheels.

Breaking Changes

  • robust_key now defaults to robust filesystem-safe key encoding for memmap save/load APIs (#1717). Passing robust_key=False keeps the legacy filename behavior for existing legacy memmap directories.

Deprecations

  • The obsolete robust_key FutureWarning targeting v0.12 has been enacted by making robust encoding the default (#1717).
  • TensorDict.to_module() now warns when writing a plain tensor over an existing nn.Parameter would deregister it from module.state_dict(); pass preserve_module_state=False to keep the v0.13 behavior or preserve_module_state=True to opt in to the v0.14 default (#1720).
  • The copy_at_(..., fast=None) fallback warning remains active; the default is scheduled to change to fast=True in v0.14.
  • No other explicit v0.13 removal-target warnings were found during the warning audit.

Features

  • Added **kwargs support to update() and update_() (#1677).
  • Added per-leaf device/dtype casting via an attributes TensorDict (#1678).
  • Added tabular data import/export support for pandas, CSV, Parquet, and JSON (#1679).
  • Added generator support to ProbabilisticTensorDictModule (#1689).
  • Added canonical=True support to contiguous() (#1698).
  • Added inplace=True support to pad() to reduce peak memory (#1706).
  • Added inplace=True support to gather, repeat, repeat_interleave, roll, reshape, flatten, unflatten, and contiguous (#1707).
  • Added preserve_module_state to TensorDict.to_module() so existing nn.Parameter and buffer registrations can be preserved when loading TensorDict leaves into modules (#1720).

Bug Fixes

  • Fixed an unravel_keys inconsistency that prevented torch.compile in some cases (#1674).
  • Fixed ragged_idx handling for consolidated tensors (#1675).
  • Fixed auto batch-size inference with MetaData (#1697).
  • Fixed dynamic-shape export by handling scalar SymInt values in _parse_batch_size and storing batch dimensions in pytree context (#1704).
  • Fixed TensorClass __post_init__ and field default application under torch.compile (#1709).
  • Made TensorDict device-transfer marking thread-safe (#1711).

Compile and Performance

  • Added a fast path for TensorDict.copy_at_ (#1691).
  • Dropped an obsolete Dynamo workaround for frozenset and dict_keys (#1703).
  • Improved compile-safety for TensorDict locking/context-manager paths.
  • Added a locked fast path for clone(recurse=False) via cached schema.

Refactors and Infrastructure

  • Split several internal helper modules for maintainability: base factory helpers, TensorDict helper functions, TensorDict memmap helpers, store byte-range helpers, utils option helpers, and utils key/JSON helpers (#1682, #1683, #1684, #1685, #1686, #1687).
  • Disabled ROCm wheel builds because TensorDict wheels are CPU-only (#1673).
  • Fixed benchmark workflows and added collector preallocated write benchmarks (#1690, #1693).
  • Bumped the release base version to 0.13.0 (#1716).

... (truncated)

Commits
  • b087c79 Use Miniconda for macOS release wheels
  • 2b0cd48 Use patched test-infra for 0.13 release
  • c41270e [Doc] Refresh TensorDict README for 0.13 (#1721)
  • 932822a [Deprecation] Warn on to_module state replacement (#1720)
  • 7036009 [Deprecation] Default memmap robust_key to True (#1717)
  • 00283c3 [Versioning] Bump version to 0.13.0 (#1716)
  • 445f1a3 [Compile] Locked-fast-path for clone(recurse=False) via cached schema
  • cf4c4e6 [Compile] Make lock_() and other _as_context_manager ops compile-safe
  • 261238b [Compile] Always materialize _td_dim_names on TensorDict instance
  • 8d1b400 [Linter] Fix linter (#1712)
  • 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@0.0.1b...v0.13.0)

---
updated-dependencies:
- dependency-name: tensordict
  dependency-version: 0.13.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 Jun 29, 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