Skip to content

Commit 6672eaa

Browse files
authored
Extend support for PT 2.6 Inference (#5653)
* Extend support for PT 2.6 Inference Signed-off-by: Sally Seok <sallyseo@amazon.com> * add .vscode to .gitignore Signed-off-by: Sally Seok <sallyseo@amazon.com> * delete .vscode Signed-off-by: Sally Seok <sallyseo@amazon.com> * comment out test; add announcement in readme Signed-off-by: Sally Seok <sallyseo@amazon.com> * note -> notice Signed-off-by: Sally Seok <sallyseo@amazon.com> --------- Signed-off-by: Sally Seok <sallyseo@amazon.com>
1 parent be38f71 commit 6672eaa

File tree

14 files changed

+184
-70
lines changed

14 files changed

+184
-70
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ __pycache__
55
.venv
66
.ruff_cache
77
.pytest_cache
8+
.vscode
89

910
# Generated docs
1011
docs/index.md

.kiro/steering/docs.md

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -376,18 +376,28 @@ table_order:
376376

377377
### Support Policy Consolidation
378378

379-
The `framework_groups` configuration consolidates support policy rows by framework. Repositories in the same group are combined into a single row using the framework name (e.g., "PyTorch").
379+
The `framework_groups` configuration consolidates support policy rows by framework. Repositories in the same group are combined into a single row using the framework name (e.g., "PyTorch") when they share the same GA/EOP dates.
380380

381381
**Version Display:**
382382

383-
- Images with the same major.minor version (e.g., `2.6.0` and `2.6.1`) are consolidated into a single row displayed as `2.6` if they have identical GA/EOP dates
384-
- If patch versions have different GA/EOP dates, each is displayed separately with full version (e.g., `2.6.0`, `2.6.1`) and a warning is logged
383+
- Images with the same major.minor version and identical GA/EOP dates are consolidated into a single row displayed as `2.6` with the framework group name (e.g., "PyTorch")
384+
- If the same version has different GA/EOP dates across repository types (e.g., training vs inference), separate rows are created showing the specific repository type: "PyTorch Training" and "PyTorch Inference"
385+
- ARM64 variants are automatically consolidated with their base repository (e.g., "PyTorch Training" and "PyTorch Training ARM64" both show as "PyTorch Training")
386+
- If patch versions within the same repository have different GA/EOP dates, each is displayed separately with full version (e.g., `2.6.0`, `2.6.1`) and a warning is logged
385387

386-
**Requirements:**
388+
**Behavior:**
387389

388-
- All repositories in a group that have a given full version (X.Y.Z) must have identical GA/EOP dates
389-
- Missing versions in some repositories are allowed (only present repos are consolidated)
390-
- A `ValueError` is raised if dates differ within a group for the same full version
390+
- Repositories in the same framework group can have different GA/EOP dates for the same version (e.g., inference can have a different EOP than training)
391+
- When dates match across all repositories in a group, they are consolidated into a single row with the framework group name
392+
- When dates differ by repository type (training vs inference), separate rows show the specific repository type names
393+
- Missing versions in some repositories are allowed (only present repos are included)
394+
395+
**Example:**
396+
397+
If PyTorch 2.6 Training has EOP 2025-10-15 but PyTorch 2.6 Inference has EOP 2026-10-15, the support policy table will show:
398+
399+
- Row 1: Framework="PyTorch Training", Version="2.6", EOP="2025-10-15"
400+
- Row 2: Framework="PyTorch Inference", Version="2.6", EOP="2026-10-15"
391401

392402
To add a new framework group, add an entry to `framework_groups` with the framework name as key and list of repositories as value.
393403

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ ______________________________________________________________________
1919
- **[2025/11/17]** Released first [SGLang DLCs](https://gallery.ecr.aws/deep-learning-containers/sglang)
2020
- SageMaker: `public.ecr.aws/deep-learning-containers/sglang:0.5.5-gpu-py312`
2121

22+
### 📢 Support Updates
23+
24+
- **[2026/02/10]** Extended support for PyTorch 2.6 Inference containers until June 30, 2026
25+
- PyTorch 2.6 Inference images will continue to receive security patches and updates through end of June 2026
26+
- For complete framework support timelines, see our [Support Policy](https://aws.github.io/deep-learning-containers/reference/support_policy/)
27+
2228
### 🎉 Hot Off the Press
2329

2430
- 🌐

docs/DEVELOPMENT.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,14 @@ eop: "2035-10-15" # End of Patch date
8181

8282
**Version Consolidation:**
8383

84-
- Images with the same major.minor version (e.g., `2.6.0` and `2.6.1`) are consolidated into a single row displayed as `2.6` if they have identical GA/EOP dates
85-
- If patch versions have different GA/EOP dates, each is displayed separately with full version (e.g., `2.6.0`, `2.6.1`) and a warning is logged
84+
- Images with the same major.minor version and identical GA/EOP dates are consolidated into a single row displayed as `2.6` with the framework group name (e.g., "PyTorch")
85+
- If the same version has different GA/EOP dates across repository types (e.g., training vs inference), separate rows are created showing the specific repository type: "PyTorch Training" and "PyTorch Inference"
86+
- ARM64 variants are automatically consolidated with their base repository
87+
- If patch versions within the same repository have different GA/EOP dates, each is displayed separately with full version (e.g., `2.6.0`, `2.6.1`) and a warning is logged
8688

87-
**Validation:** All images in the same framework group with the same full version (X.Y.Z) must have identical GA/EOP dates.
89+
**Flexibility:** Repositories in the same framework group (e.g., pytorch-training and pytorch-inference) can have different GA/EOP dates for the same version. The system will automatically create separate rows showing the specific repository type when dates differ.
90+
91+
**Example:** If PyTorch 2.6 Training has EOP 2025-10-15 but PyTorch 2.6 Inference has EOP 2026-10-15, the support policy table will show two separate rows with "PyTorch Training" and "PyTorch Inference" in the Framework column.
8892

8993
---
9094

docs/src/data/pytorch-inference-arm64/2.6-cpu-ec2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ python: py312
55
os: ubuntu22.04
66
platform: ec2
77
ga: "2025-01-29"
8-
eop: "2026-01-29"
8+
eop: "2026-06-30"
99
public_registry: true
1010

1111
tags:

docs/src/data/pytorch-inference-arm64/2.6-cpu-sagemaker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ python: py312
55
os: ubuntu22.04
66
platform: sagemaker
77
ga: "2025-01-29"
8-
eop: "2026-01-29"
8+
eop: "2026-06-30"
99
public_registry: true
1010

1111
tags:

docs/src/data/pytorch-inference-arm64/2.6-gpu-ec2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ cuda: cu124
66
os: ubuntu22.04
77
platform: ec2
88
ga: "2025-01-29"
9-
eop: "2026-01-29"
9+
eop: "2026-06-30"
1010
public_registry: true
1111

1212
tags:

docs/src/data/pytorch-inference/2.6-cpu-ec2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ python: py312
55
os: ubuntu22.04
66
platform: ec2
77
ga: "2025-01-29"
8-
eop: "2026-01-29"
8+
eop: "2026-06-30"
99
public_registry: true
1010

1111
tags:

docs/src/data/pytorch-inference/2.6-cpu-sagemaker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ python: py312
55
os: ubuntu22.04
66
platform: sagemaker
77
ga: "2025-01-29"
8-
eop: "2026-01-29"
8+
eop: "2026-06-30"
99
public_registry: true
1010

1111
tags:

docs/src/data/pytorch-inference/2.6-gpu-ec2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ cuda: cu124
66
os: ubuntu22.04
77
platform: ec2
88
ga: "2025-01-29"
9-
eop: "2026-01-29"
9+
eop: "2026-06-30"
1010
public_registry: true
1111

1212
tags:

0 commit comments

Comments
 (0)