---
title: "tensordict 0.15.0 Breaking Changes on PyPI | Since.dev"
description: "What each tensordict release removed, renamed or changed: 1,125 breaking changes in 5 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/tensordict
last_updated: 2026-12-04
---

# tensordict breaking changes

tensordict 0.15.0 (October 15, 2026) is its newest release with breaking changes, 607 of them. The first: Removed NormalParamWrapper. Every breaking API change we have recorded in tensordict on PyPI: 1,125 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.15.6`, released November 11, 2026. [Source repository](https://github.com/pytorch/tensordict)

Its 0.11.0 release requires [Python 3.10](https://since.dev/calendar/python/3.10.md) or later. [Python end of life dates](https://since.dev/calendar/python.md).

- From [0.11.0](#v-0-11-0) to [0.15.0](#v-0-15-0): 1,086 breaking changes in 4 versions.

## tensordict 0.15.0 breaking changes

tensordict 0.15.0, released October 15, 2026: 607 breaking changes.

- **Removed** `NormalParamWrapper`  

Use NormalParamExtractor instead of NormalParamWrapper. [github.com](https://github.com/pytorch/tensordict/releases/tag/v0.15.0)
- **Removed** `scripts`  

scripts was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict._tensordict`  

Code that imports tensordict.\_tensordict must stop doing so, because the import raises ModuleNotFoundError. [github.com](https://github.com/pytorch/tensordict/releases/tag/v0.15.0)
- **Removed** `tensordict.base.BEST_ATTEMPT_INPLACE`  

tensordict.base.BEST_ATTEMPT_INPLACE was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.base.Buffer`  

tensordict.base.Buffer was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.base.cache`  

tensordict.base.cache was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.base.capture_non_tensor_stack`  

tensordict.base.capture_non_tensor_stack was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.base.CompatibleType`  

tensordict.base.CompatibleType was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.base.convert_ellipsis_to_idx`  

tensordict.base.convert_ellipsis_to_idx was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.base.DeviceType`  

tensordict.base.DeviceType was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.base.erase_cache`  

tensordict.base.erase_cache was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.base.expand_as_right`  

tensordict.base.expand_as_right was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.base.from_list`  

tensordict.base.from_list was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.base.implement_for`  

tensordict.base.implement_for was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.base.IndexType`  

tensordict.base.IndexType was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.base.infer_size_impl`  

tensordict.base.infer_size_impl was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.base.int_generator`  

tensordict.base.int_generator was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.base.is_dataclass`  

tensordict.base.is_dataclass was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.base.is_namedtuple`  

tensordict.base.is_namedtuple was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.base.is_namedtuple_class`  

tensordict.base.is_namedtuple_class was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.base.is_non_tensor`  

tensordict.base.is_non_tensor was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.base.LAST_OP_MAPS`  

tensordict.base.LAST_OP_MAPS was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.base.lazy_legacy`  

tensordict.base.lazy_legacy was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.base.LinkedList`  

tensordict.base.LinkedList was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.base.list_to_stack`  

tensordict.base.list_to_stack was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.base.lock_blocked`  

tensordict.base.lock_blocked was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.base.MemoryMappedTensor`  

tensordict.base.MemoryMappedTensor was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.base.NestedKey`  

tensordict.base.NestedKey was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.base.prod`  

tensordict.base.prod was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.base.set_capture_non_tensor_stack`  

tensordict.base.set_capture_non_tensor_stack was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.base.set_lazy_legacy`  

tensordict.base.set_lazy_legacy was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.base.strtobool`  

tensordict.base.strtobool was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.base.T`  

tensordict.base.T was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.base.TensorCollection`  

tensordict.base.TensorCollection was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.base.TENSORDICT_ARCHIVE_SUFFIX`  

tensordict.base.TENSORDICT_ARCHIVE_SUFFIX was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.base.TensorDictFuture`  

tensordict.base.TensorDictFuture was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.base.to_mds`  

tensordict.base.to_mds was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.base.unravel_key`  

tensordict.base.unravel_key was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.base.unravel_key_list`  

tensordict.base.unravel_key_list was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.functional.CompatibleType`  

tensordict.functional.CompatibleType was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.functional.DeviceType`  

tensordict.functional.DeviceType was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.functional.is_non_tensor`  

tensordict.functional.is_non_tensor was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.functional.is_tensorclass`  

tensordict.functional.is_tensorclass was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.functional.LazyStackedTensorDict`  

tensordict.functional.LazyStackedTensorDict was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.functional.NestedKey`  

tensordict.functional.NestedKey was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.functional.NonTensorData`  

tensordict.functional.NonTensorData was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.functional.NonTensorStack`  

tensordict.functional.NonTensorStack was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.functional.T`  

tensordict.functional.T was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.functional.TensorDict`  

tensordict.functional.TensorDict was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)
- **Removed** `tensordict.functional.TensorDictBase`  

tensordict.functional.TensorDictBase was removed in tensordict 0.15.0 [pypi.org](https://pypi.org/project/tensordict/0.15.0/)

And 557 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## tensordict 0.14.0 breaking changes

tensordict 0.14.0, released August 14, 2026: 31 breaking changes.

- **Removed** `tensordict.base.LinkedList.__str__`  

LinkedList.\_\_str\_\_ was removed in tensordict 0.14.0 [pypi.org](https://pypi.org/project/tensordict/0.14.0/)
- **Behavior changed** `TensorDict.to_module`  

TensorDict.to_module() keeps existing module parameter and buffer registrations by default. Pass preserve_module_state=False to keep the previous replacement behavior. [github.com](https://github.com/pytorch/tensordict/releases/tag/v0.14.0)
- **Default changed** `TensorDict.copy_at_`  

TensorDict.copy_at\_() uses the optimized tensor-only path by default. Pass fast=False to keep the previous update_at\_() fallback behavior. [github.com](https://github.com/pytorch/tensordict/releases/tag/v0.14.0)
- **Signature changed** `tensordict.base.TensorCollection.copy_at_`  

Was def copy_at\_(self, tensordict: T, idx: IndexType, non_blocking: bool = False, \*, fast: bool | None = None) -> Self; now def copy_at\_(self, tensordict: T, idx: IndexType, non_blocking: bool = False, \*, fast: bool | None = True) -> Self. [pypi.org](https://pypi.org/project/tensordict/0.14.0/)
- **Signature changed** `tensordict.base.TensorCollection.irecv`  

Was def irecv(self, src: int, \*, group: dist.ProcessGroup | None = None, return_premature: bool = False, init_tag: int = 0, pseudo_rand: bool = False) -> tuple\[int, list\[torch.Future\]\] | list\[torch.Future\] | None; now def irecv(self, src... [pypi.org](https://pypi.org/project/tensordict/0.14.0/)
- **Signature changed** `tensordict.base.TensorCollection.isend`  

Was def isend(self, dst: int, \*, group: dist.ProcessGroup | None = None, init_tag: int = 0, pseudo_rand: bool = False) -> int; now def isend(self, dst: int | None = None, \*, group: dist.ProcessGroup | None = None, group_dst: int | None =... [pypi.org](https://pypi.org/project/tensordict/0.14.0/)
- **Signature changed** `tensordict.base.TensorCollection.load_memmap`  

Was @classmethod def load_memmap(cls, prefix: str | Path, device: torch.device | None = None, non_blocking: bool = False, \*, out: TensorCollection | None = None, robust_key: bool | None = True) -> Self; now @classmethod def... [pypi.org](https://pypi.org/project/tensordict/0.14.0/)
- **Signature changed** `tensordict.base.TensorCollection.load_memmap_`  

Was def load_memmap\_(self, prefix: str | Path, robust_key: bool | None = True); now def load_memmap\_(self, prefix: str | Path, robust_key: bool | None = True, \*, allow_pickle: bool | None = None). [pypi.org](https://pypi.org/project/tensordict/0.14.0/)
- **Signature changed** `tensordict.base.TensorCollection.memmap_refresh_`  

Was def memmap_refresh\_(self); now def memmap_refresh\_(self, \*, allow_pickle: bool | None = None). [pypi.org](https://pypi.org/project/tensordict/0.14.0/)
- **Signature changed** `tensordict.base.TensorCollection.recv`  

Was def recv(self, src: int, \*, group: dist.ProcessGroup | None = None, init_tag: int = 0, pseudo_rand: bool = False, consolidated: bool = False) -> int; now def recv(self, src: int | None = None, \*, group: dist.ProcessGroup | None = None... [pypi.org](https://pypi.org/project/tensordict/0.14.0/)

And 21 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## tensordict 0.13.0 breaking changes

tensordict 0.13.0, released June 4, 2026: 61 breaking changes.

- **Behavior changed** `robust_key`  

The memmap save/load APIs now encode keys robustly by default. Pass robust_key=False to keep the legacy filename behavior for existing memmap directories. [github.com](https://github.com/pytorch/tensordict/releases/tag/v0.13.0)
- **Behavior changed** `TensorDict.to_module`  

to_module() now warns when writing a plain tensor over an existing nn.Parameter. Pass preserve_module_state=False to keep the v0.13 behavior or True to opt in to the v0.14 default. [github.com](https://github.com/pytorch/tensordict/releases/tag/v0.13.0)
- **Default changed** `copy_at_`  

The copy_at\_ fast=None fallback warning remains active; the default is scheduled to change to fast=True in v0.14. Pass fast explicitly to avoid the change. [github.com](https://github.com/pytorch/tensordict/releases/tag/v0.13.0)
- **Default changed** `robust_key`  

The robust_key default changed to robust encoding. Existing legacy memmap directories need robust_key=False. [github.com](https://github.com/pytorch/tensordict/releases/tag/v0.13.0)
- **Signature changed** `tensordict.base.TensorCollection.copy_at_`  

Was def copy_at\_(self, tensordict: T, idx: IndexType, non_blocking: bool = False) -> Self; now def copy_at\_(self, tensordict: T, idx: IndexType, non_blocking: bool = False, \*, fast: bool | None = None) -> Self. [pypi.org](https://pypi.org/project/tensordict/0.13.0/)
- **Signature changed** `tensordict.base.TensorCollection.dumps`  

Was def dumps(self, prefix: str | None = None, copy_existing: bool = False, \*, num_threads: int = 0, return_early: bool = False, share_non_tensor: bool = False, robust_key: bool | None = None) -> Self; now def dumps(self, prefix: str |... [pypi.org](https://pypi.org/project/tensordict/0.13.0/)
- **Signature changed** `tensordict.base.TensorCollection.load`  

Was @classmethod def load(cls, prefix: str | Path, \*args, robust_key: bool | None = None, \*\*kwargs) -> Self; now @classmethod def load(cls, prefix: str | Path, \*args, robust_key: bool | None = True, \*\*kwargs) -> Self. [pypi.org](https://pypi.org/project/tensordict/0.13.0/)
- **Signature changed** `tensordict.base.TensorCollection.load_`  

Was def load\_(self, prefix: str | Path, \*args, robust_key: bool | None = None, \*\*kwargs); now def load\_(self, prefix: str | Path, \*args, robust_key: bool | None = True, \*\*kwargs). [pypi.org](https://pypi.org/project/tensordict/0.13.0/)
- **Signature changed** `tensordict.base.TensorCollection.load_memmap`  

Was @classmethod def load_memmap(cls, prefix: str | Path, device: torch.device | None = None, non_blocking: bool = False, \*, out: TensorCollection | None = None, robust_key: bool | None = None) -> Self; now @classmethod def... [pypi.org](https://pypi.org/project/tensordict/0.13.0/)
- **Signature changed** `tensordict.base.TensorCollection.load_memmap_`  

Was def load_memmap\_(self, prefix: str | Path, robust_key: bool | None = None); now def load_memmap\_(self, prefix: str | Path, robust_key: bool | None = True). [pypi.org](https://pypi.org/project/tensordict/0.13.0/)

And 51 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## tensordict 0.12.0 breaking changes

tensordict 0.12.0, released April 8, 2026: 387 breaking changes.

- **Removed** `tensordict.UnbatchedTensor.__abs__`  

UnbatchedTensor.\_\_abs\_\_ was removed in tensordict 0.12.0 [pypi.org](https://pypi.org/project/tensordict/0.12.0/)
- **Removed** `tensordict.UnbatchedTensor.__add__`  

UnbatchedTensor.\_\_add\_\_ was removed in tensordict 0.12.0 [pypi.org](https://pypi.org/project/tensordict/0.12.0/)
- **Removed** `tensordict.UnbatchedTensor.__bool__`  

UnbatchedTensor.\_\_bool\_\_ was removed in tensordict 0.12.0 [pypi.org](https://pypi.org/project/tensordict/0.12.0/)
- **Removed** `tensordict.UnbatchedTensor.__class_getitem__`  

UnbatchedTensor.\_\_class_getitem\_\_ was removed in tensordict 0.12.0 [pypi.org](https://pypi.org/project/tensordict/0.12.0/)
- **Removed** `tensordict.UnbatchedTensor.__contains__`  

UnbatchedTensor.\_\_contains\_\_ was removed in tensordict 0.12.0 [pypi.org](https://pypi.org/project/tensordict/0.12.0/)
- **Removed** `tensordict.UnbatchedTensor.__deepcopy__`  

UnbatchedTensor.\_\_deepcopy\_\_ was removed in tensordict 0.12.0 [pypi.org](https://pypi.org/project/tensordict/0.12.0/)
- **Removed** `tensordict.UnbatchedTensor.__delitem__`  

UnbatchedTensor.\_\_delitem\_\_ was removed in tensordict 0.12.0 [pypi.org](https://pypi.org/project/tensordict/0.12.0/)
- **Removed** `tensordict.UnbatchedTensor.__enter__`  

UnbatchedTensor.\_\_enter\_\_ was removed in tensordict 0.12.0 [pypi.org](https://pypi.org/project/tensordict/0.12.0/)
- **Removed** `tensordict.UnbatchedTensor.__eq__`  

UnbatchedTensor.\_\_eq\_\_ was removed in tensordict 0.12.0 [pypi.org](https://pypi.org/project/tensordict/0.12.0/)
- **Removed** `tensordict.UnbatchedTensor.__exit__`  

UnbatchedTensor.\_\_exit\_\_ was removed in tensordict 0.12.0 [pypi.org](https://pypi.org/project/tensordict/0.12.0/)

And 377 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## tensordict 0.11.0 breaking changes

tensordict 0.11.0, released January 26, 2026: 39 breaking changes.

- **Removed**  

Python 3.9 is no longer supported; Python 3.10 or later is now required. [github.com](https://github.com/pytorch/tensordict/releases/tag/v0.11.0)
- **Removed** `lock`  

lock without a trailing underscore now raises RuntimeError; use lock\_ instead. [github.com](https://github.com/pytorch/tensordict/releases/tag/v0.11.0)
- **Removed** `rename_key`  

rename_key without a trailing underscore now raises RuntimeError; use rename_key\_ instead. [github.com](https://github.com/pytorch/tensordict/releases/tag/v0.11.0)
- **Removed** `tensordict.__version__`  

tensordict.\_\_version\_\_ was removed in tensordict 0.11.0 [pypi.org](https://pypi.org/project/tensordict/0.11.0/)
- **Removed** `unlock`  

unlock without a trailing underscore now raises RuntimeError; use unlock\_ instead. [github.com](https://github.com/pytorch/tensordict/releases/tag/v0.11.0)
- **Behavior changed** `MemoryMappedTensor._tensor`  

Accessing MemoryMappedTensor.\_tensor now raises RuntimeError; use the tensor directly since it is a tensor subclass. [github.com](https://github.com/pytorch/tensordict/releases/tag/v0.11.0)
- **Behavior changed** `set_lazy_legacy`  

Using context managers like set_lazy_legacy as class decorators now raises RuntimeError. [github.com](https://github.com/pytorch/tensordict/releases/tag/v0.11.0)
- **Signature changed** `tensordict.base.TensorCollection.dumps`  

Was def dumps(self, prefix: str | None = None, copy_existing: bool = False, \*, num_threads: int = 0, return_early: bool = False, share_non_tensor: bool = False) -> Self; now def dumps(self, prefix: str | None = None, copy_existing: bool =... [pypi.org](https://pypi.org/project/tensordict/0.11.0/)
- **Signature changed** `tensordict.base.TensorCollection.load`  

Was @classmethod def load(cls, prefix: str | Path, \*args, \*\*kwargs) -> Self; now @classmethod def load(cls, prefix: str | Path, \*args, robust_key: bool | None = None, \*\*kwargs) -> Self. [pypi.org](https://pypi.org/project/tensordict/0.11.0/)
- **Signature changed** `tensordict.base.TensorCollection.load_`  

Was def load\_(self, prefix: str | Path, \*args, \*\*kwargs); now def load\_(self, prefix: str | Path, \*args, robust_key: bool | None = None, \*\*kwargs). [pypi.org](https://pypi.org/project/tensordict/0.11.0/)

And 29 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
