---
title: "LibTorch-Lite 2.0.0 Breaking Changes on CocoaPods"
description: "What each LibTorch-Lite release removed, renamed or changed: 40 breaking changes in 1 version on CocoaPods, each with its source."
canonical_url: https://since.dev/packages/cocoapods/LibTorch-Lite
last_updated: 2026-12-04
---

# LibTorch-Lite breaking changes

LibTorch-Lite 2.0.0 (October 11, 2023) is its newest release with breaking changes, 40 of them. The first: LibTorch-Lite 2.0.0 requires CUDA 11.0 or later. Every breaking API change we have recorded in LibTorch-Lite on CocoaPods: 40 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.1.0`, released October 11, 2023. [Source repository](https://github.com/pytorch/pytorch)

## LibTorch-Lite 2.0.0 breaking changes

LibTorch-Lite 2.0.0, released October 11, 2023: 40 breaking changes.

- **Removed**  

The minimum supported CUDA version is now 11.0. Users on CUDA 10 must upgrade. [github.com](https://github.com/pytorch/pytorch/releases/tag/v2.0.0)
- **Removed**  

PyTorch 2.0 requires Python 3.8 or later to install. Users on Python 3.7 must upgrade Python. [github.com](https://github.com/pytorch/pytorch/releases/tag/v2.0.0)
- **Removed** `at.frobenius_norm`  

The tensor overload of frobenius_norm is removed; it was not used by bindings and should not affect torch.norm users. [github.com](https://github.com/pytorch/pytorch/releases/tag/v2.0.0)
- **Removed** `FullyShardedDataParallel.params_with_grad`  

The params_with_grad method is removed. Filter self.parameters() by grad instead. [github.com](https://github.com/pytorch/pytorch/releases/tag/v2.0.0)
- **Removed** `lazy.View`  

The view and aliasing infrastructure in lazy tensor core is removed in favor of functionalization. [github.com](https://github.com/pytorch/pytorch/releases/tag/v2.0.0)
- **Removed** `ShardingStrategy`  

Wildcard imports of the FSDP module no longer expose non-public symbols such as ShardingStrategy. Import them explicitly. [github.com](https://github.com/pytorch/pytorch/releases/tag/v2.0.0)
- **Removed** `torch._six`  

The six, future and torch.\_six compatibility modules are removed; use builtins or torch.inf. [github.com](https://github.com/pytorch/pytorch/releases/tag/v2.0.0)
- **Removed** `torch.ao.quantization.fx.backend_config_utils.get_native_quant_patterns`  

Four mistakenly public functions are removed; use the underscored replacements in their modules. [github.com](https://github.com/pytorch/pytorch/releases/tag/v2.0.0)
- **Removed** `torch.ao.quantization.fx.backend_config_utils.get_quantize_handler_cls`  

Four mistakenly public functions are removed; use the underscored replacements in their modules. [github.com](https://github.com/pytorch/pytorch/releases/tag/v2.0.0)
- **Removed** `torch.ao.quantization.fx.utils.create_qparam_nodes`  

Several unused functions are removed from the quantization fx utils namespaces. [github.com](https://github.com/pytorch/pytorch/releases/tag/v2.0.0)
- **Removed** `torch.ao.quantization.fx.utils.get_per_tensor_qparams`  

Several unused functions are removed from the quantization fx utils namespaces. [github.com](https://github.com/pytorch/pytorch/releases/tag/v2.0.0)
- **Removed** `torch.ao.quantization.fx.utils.get_qconv_op`  

Several unused functions are removed from the quantization fx utils namespaces. [github.com](https://github.com/pytorch/pytorch/releases/tag/v2.0.0)
- **Removed** `torch.ao.quantization.fx.utils.graph_pretty_str`  

Several unused functions are removed from the quantization fx utils namespaces. [github.com](https://github.com/pytorch/pytorch/releases/tag/v2.0.0)
- **Removed** `torch.ao.quantization.fx.utils.is_get_tensor_info_node`  

Several unused functions are removed from the quantization fx utils namespaces. [github.com](https://github.com/pytorch/pytorch/releases/tag/v2.0.0)
- **Removed** `torch.ao.quantization.fx.utils.node_return_type_is_int`  

Several unused functions are removed from the quantization fx utils namespaces. [github.com](https://github.com/pytorch/pytorch/releases/tag/v2.0.0)
- **Removed** `torch.ao.quantization.fx.utils.quantize_node`  

Several unused functions are removed from the quantization fx utils namespaces. [github.com](https://github.com/pytorch/pytorch/releases/tag/v2.0.0)
- **Removed** `torch.ao.quantization.quantization_patterns`  

Handler classes move to quantize_handler and fuse_handler namespaces. [github.com](https://github.com/pytorch/pytorch/releases/tag/v2.0.0)
- **Removed** `torch.deploy`  

torch::deploy has moved to the MultiPy project and is no longer in PyTorch core. [github.com](https://github.com/pytorch/pytorch/releases/tag/v2.0.0)
- **Removed** `torch.Graph.op`  

Methods op, at, constant and \_\_getitem\_\_ added to torch.Graph, Block and Node by torch.onnx are gone. Use g.op() on GraphContext in custom symbolic functions. [github.com](https://github.com/pytorch/pytorch/releases/tag/v2.0.0)
- **Removed** `torch.testing.get_all_device_types`  

The deprecated torch.testing items are removed in 2.0. Stop using them. [github.com](https://github.com/pytorch/pytorch/releases/tag/v2.0.0)
- **Removed** `torch.testing.make_non_contiguous`  

The deprecated torch.testing items are removed in 2.0. Stop using them. [github.com](https://github.com/pytorch/pytorch/releases/tag/v2.0.0)
- **Removed** `torch.testing.rand`  

The deprecated torch.testing items are removed in 2.0. Stop using them. [github.com](https://github.com/pytorch/pytorch/releases/tag/v2.0.0)
- **Removed** `torch.testing.randn`  

The deprecated torch.testing items are removed in 2.0. Stop using them. [github.com](https://github.com/pytorch/pytorch/releases/tag/v2.0.0)
- **Renamed** `c10.fromIntArrayRef`  

The function is renamed to fromIntArrayRefSlow. Update call sites. [github.com](https://github.com/pytorch/pytorch/releases/tag/v2.0.0)
- **Renamed** `get_observer_dict`  

Private AO quantization APIs now carry a leading underscore. Update imports to the underscored names. [github.com](https://github.com/pytorch/pytorch/releases/tag/v2.0.0)
- **Behavior changed** `overwrite_output_observer`  

Wrong observers for fixed qparams ops are ignored with a warning rather than an exception. Use get_default_qconfig_mapping to get quantization. [github.com](https://github.com/pytorch/pytorch/releases/tag/v2.0.0)
- **Behavior changed** `torch.diagonal_scatter`  

These scatter ops now keep the input tensor's strides and storage offset instead of returning contiguous tensors. [github.com](https://github.com/pytorch/pytorch/releases/tag/v2.0.0)
- **Behavior changed** `torch.istft`  

Inputs must be complex-valued tensors. Convert real inputs with torch.view_as_complex before calling istft. [github.com](https://github.com/pytorch/pytorch/releases/tag/v2.0.0)
- **Behavior changed** `torch.nn.utils.stateless.functional_call`  

Providing one tied weight now updates every tied weight. Pass tie_weights=False to get the previous behavior. [github.com](https://github.com/pytorch/pytorch/releases/tag/v2.0.0)
- **Behavior changed** `torch.onnx.export`  

The full_check parameter of check_onnx_proto is removed and full checking always runs, with warnings on failure. [github.com](https://github.com/pytorch/pytorch/releases/tag/v2.0.0)
- **Behavior changed** `torch.save`  

Attributes set on tensors and Parameters are now saved and restored by torch.save and torch.load. Use WeakTensorKeyDictionary for attributes that must not be serialized. [github.com](https://github.com/pytorch/pytorch/releases/tag/v2.0.0)
- **Default changed** `adam`  

On CUDA with native tensors, optimizers now use the foreach implementation by default, which can give small numerical differences. Pass foreach=False to keep the old behavior. [github.com](https://github.com/pytorch/pytorch/releases/tag/v2.0.0)
- **Default changed** `torch.sparse_coo_tensor`  

Component verification is now disabled by default. Pass check_invariants=True or use torch.sparse.check_sparse_tensor_invariants to enable it. [github.com](https://github.com/pytorch/pytorch/releases/tag/v2.0.0)
- **Default changed** `zero_grad`  

Gradients are set to None instead of zero tensors, which breaks code that reads or computes on grads after zero_grad(). Pass set_to_none=False to keep the old behavior. [github.com](https://github.com/pytorch/pytorch/releases/tag/v2.0.0)
- **Signature changed** `alltoall`  

The output and input keyword arguments are renamed to output_tensors and input_tensors. [github.com](https://github.com/pytorch/pytorch/releases/tag/v2.0.0)
- **Signature changed** `BackendPatternConfig`  

Fusion patterns now use natural order and fuser methods take arguments in that order. Old reversed nested tuple patterns need \_set_pattern_complex_format. [github.com](https://github.com/pytorch/pytorch/releases/tag/v2.0.0)
- **Signature changed** `lambda_auto_wrap_policy`  

The unwrapped_params keyword is replaced by nonwrapped_numel in the auto-wrap policy functions. [github.com](https://github.com/pytorch/pytorch/releases/tag/v2.0.0)
- **Signature changed** `size_based_auto_wrap_policy`  

The unwrapped_params keyword is replaced by nonwrapped_numel in the auto-wrap policy functions. [github.com](https://github.com/pytorch/pytorch/releases/tag/v2.0.0)
- **Signature changed** `torch.stft`  

For real inputs, return_complex is now a required argument with no default. Pass it explicitly. [github.com](https://github.com/pytorch/pytorch/releases/tag/v2.0.0)
- **Signature changed** `transformer_auto_wrap_policy`  

The unwrapped_params keyword is replaced by nonwrapped_numel in the auto-wrap policy functions. [github.com](https://github.com/pytorch/pytorch/releases/tag/v2.0.0)

## Related packages

- [torch](https://since.dev/packages/pypi/torch.md):  on PyPI
- [LibTorch](https://since.dev/packages/cocoapods/LibTorch.md)

## 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.
