tensordict breaking changes
Updated December 4, 2026
On this page
Latest version 0.15.6, released November 11, 2026. Source repository
Its 0.11.0 release requires Python 3.10 or later. Python end of life dates.
tensordict 0.15.0 breaking changes
- Removed
NormalParamWrapper
Use NormalParamExtractor instead of NormalParamWrapper. github.com - Removed
scripts
scripts was removed in tensordict 0.15.0 pypi.org - Removed
tensordict._tensordict
Code that imports tensordict._tensordict must stop doing so, because the import raises ModuleNotFoundError. github.com - Removed
tensordict.base.BEST_ATTEMPT_INPLACE
tensordict.base.BEST_ATTEMPT_INPLACE was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.base.Buffer
tensordict.base.Buffer was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.base.cache
tensordict.base.cache was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.base.capture_non_tensor_stack
tensordict.base.capture_non_tensor_stack was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.base.CompatibleType
tensordict.base.CompatibleType was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.base.convert_ellipsis_to_idx
tensordict.base.convert_ellipsis_to_idx was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.base.DeviceType
tensordict.base.DeviceType was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.base.erase_cache
tensordict.base.erase_cache was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.base.expand_as_right
tensordict.base.expand_as_right was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.base.from_list
tensordict.base.from_list was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.base.implement_for
tensordict.base.implement_for was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.base.IndexType
tensordict.base.IndexType was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.base.infer_size_impl
tensordict.base.infer_size_impl was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.base.int_generator
tensordict.base.int_generator was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.base.is_dataclass
tensordict.base.is_dataclass was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.base.is_namedtuple
tensordict.base.is_namedtuple was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.base.is_namedtuple_class
tensordict.base.is_namedtuple_class was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.base.is_non_tensor
tensordict.base.is_non_tensor was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.base.LAST_OP_MAPS
tensordict.base.LAST_OP_MAPS was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.base.lazy_legacy
tensordict.base.lazy_legacy was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.base.LinkedList
tensordict.base.LinkedList was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.base.list_to_stack
tensordict.base.list_to_stack was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.base.lock_blocked
tensordict.base.lock_blocked was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.base.MemoryMappedTensor
tensordict.base.MemoryMappedTensor was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.base.NestedKey
tensordict.base.NestedKey was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.base.prod
tensordict.base.prod was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.base.set_capture_non_tensor_stack
tensordict.base.set_capture_non_tensor_stack was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.base.set_lazy_legacy
tensordict.base.set_lazy_legacy was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.base.strtobool
tensordict.base.strtobool was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.base.T
tensordict.base.T was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.base.TensorCollection
tensordict.base.TensorCollection was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.base.TENSORDICT_ARCHIVE_SUFFIX
tensordict.base.TENSORDICT_ARCHIVE_SUFFIX was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.base.TensorDictFuture
tensordict.base.TensorDictFuture was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.base.to_mds
tensordict.base.to_mds was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.base.unravel_key
tensordict.base.unravel_key was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.base.unravel_key_list
tensordict.base.unravel_key_list was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.functional.CompatibleType
tensordict.functional.CompatibleType was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.functional.DeviceType
tensordict.functional.DeviceType was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.functional.is_non_tensor
tensordict.functional.is_non_tensor was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.functional.is_tensorclass
tensordict.functional.is_tensorclass was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.functional.LazyStackedTensorDict
tensordict.functional.LazyStackedTensorDict was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.functional.NestedKey
tensordict.functional.NestedKey was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.functional.NonTensorData
tensordict.functional.NonTensorData was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.functional.NonTensorStack
tensordict.functional.NonTensorStack was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.functional.T
tensordict.functional.T was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.functional.TensorDict
tensordict.functional.TensorDict was removed in tensordict 0.15.0 pypi.org - Removed
tensordict.functional.TensorDictBase
tensordict.functional.TensorDictBase was removed in tensordict 0.15.0 pypi.org
And 557 more in this version. Sign up to see every change
tensordict 0.14.0 breaking changes
- Removed
tensordict.base.LinkedList.__str__
LinkedList.__str__ was removed in tensordict 0.14.0 pypi.org - 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 - 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 - 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 - 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 - 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 - 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 - 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 - Signature changed
tensordict.base.TensorCollection.memmap_refresh_
Was def memmap_refresh_(self); now def memmap_refresh_(self, *, allow_pickle: bool | None = None). pypi.org - 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
And 21 more in this version. Sign up to see every change
tensordict 0.13.0 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 - 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 - 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 - Default changed
robust_key
The robust_key default changed to robust encoding. Existing legacy memmap directories need robust_key=False. github.com - 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 - 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 - 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 - 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 - 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 - 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
And 51 more in this version. Sign up to see every change
tensordict 0.12.0 breaking changes
- Removed
tensordict.UnbatchedTensor.__abs__
UnbatchedTensor.__abs__ was removed in tensordict 0.12.0 pypi.org - Removed
tensordict.UnbatchedTensor.__add__
UnbatchedTensor.__add__ was removed in tensordict 0.12.0 pypi.org - Removed
tensordict.UnbatchedTensor.__bool__
UnbatchedTensor.__bool__ was removed in tensordict 0.12.0 pypi.org - Removed
tensordict.UnbatchedTensor.__class_getitem__
UnbatchedTensor.__class_getitem__ was removed in tensordict 0.12.0 pypi.org - Removed
tensordict.UnbatchedTensor.__contains__
UnbatchedTensor.__contains__ was removed in tensordict 0.12.0 pypi.org - Removed
tensordict.UnbatchedTensor.__deepcopy__
UnbatchedTensor.__deepcopy__ was removed in tensordict 0.12.0 pypi.org - Removed
tensordict.UnbatchedTensor.__delitem__
UnbatchedTensor.__delitem__ was removed in tensordict 0.12.0 pypi.org - Removed
tensordict.UnbatchedTensor.__enter__
UnbatchedTensor.__enter__ was removed in tensordict 0.12.0 pypi.org - Removed
tensordict.UnbatchedTensor.__eq__
UnbatchedTensor.__eq__ was removed in tensordict 0.12.0 pypi.org - Removed
tensordict.UnbatchedTensor.__exit__
UnbatchedTensor.__exit__ was removed in tensordict 0.12.0 pypi.org
And 377 more in this version. Sign up to see every change
tensordict 0.11.0 breaking changes
- Removed
Python 3.9 is no longer supported; Python 3.10 or later is now required. github.com - Removed
lock
lock without a trailing underscore now raises RuntimeError; use lock_ instead. github.com - Removed
rename_key
rename_key without a trailing underscore now raises RuntimeError; use rename_key_ instead. github.com - Removed
tensordict.__version__
tensordict.__version__ was removed in tensordict 0.11.0 pypi.org - Removed
unlock
unlock without a trailing underscore now raises RuntimeError; use unlock_ instead. github.com - Behavior changed
MemoryMappedTensor._tensor
Accessing MemoryMappedTensor._tensor now raises RuntimeError; use the tensor directly since it is a tensor subclass. github.com - Behavior changed
set_lazy_legacy
Using context managers like set_lazy_legacy as class decorators now raises RuntimeError. github.com - 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 - 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 - 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
And 29 more in this version. Sign up to see every change
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.