---
title: 2.0 Upgrade Guide
description: >-
  The following section will guide you through updating your code to the 2.x
  series of releases.
canonical: 'https://lightning.ai/docs/pytorch/stable/home/migration_guide'
---
# 2.0 Upgrade Guide {#2-0-upgrade-guide}

The following section will guide you through updating your code to the 2.x series of releases.

## Particular versions {#particular-versions}

- [2.0.x](/docs/pytorch/2.6.6/home/migration_guide/from_2_0.md) — Upgrade from 2.0.x series to the 2.1.

- [1.9.x](/docs/pytorch/2.6.6/home/migration_guide/from_1_9.md) — Upgrade from 1.9.x series to the 2.0.

- [1.8.x](/docs/pytorch/2.6.6/home/migration_guide/from_1_8.md) — Upgrade from 1.8.x series to the 2.0.

- [1.7.x](/docs/pytorch/2.6.6/home/migration_guide/from_1_7.md) — Upgrade from 1.7.x series to the 2.0.

- [1.6.x](/docs/pytorch/2.6.6/home/migration_guide/from_1_6.md) — Upgrade from 1.6.x series to the 2.0.

- [1.5.x](/docs/pytorch/2.6.6/home/migration_guide/from_1_5.md) — Upgrade from 1.5.x series to the 2.0.

- [1.4.x](/docs/pytorch/2.6.6/home/migration_guide/from_1_4.md) — Upgrade from 1.4.x series to the 2.0.

---

**Navigation**

- Parent: [Home](/docs/pytorch/2.6.6/home.md)
- Children:
  - [2.0.x](/docs/pytorch/2.6.6/home/migration_guide/from_2_0.md)
  - [1.9.x](/docs/pytorch/2.6.6/home/migration_guide/from_1_9.md)
  - [Upgrade from 1.8 to the 2.0](/docs/pytorch/2.6.6/home/migration_guide/from_1_8.md)
  - [Upgrade from 1.7 to the 2.0](/docs/pytorch/2.6.6/home/migration_guide/from_1_7.md)
  - [Upgrade from 1.6 to the 2.0](/docs/pytorch/2.6.6/home/migration_guide/from_1_6.md)
  - [Upgrade from 1.5 to the 2.0](/docs/pytorch/2.6.6/home/migration_guide/from_1_5.md)
  - [Upgrade from 1.4 to the 2.0](/docs/pytorch/2.6.6/home/migration_guide/from_1_4.md)
