Skip to content

Commit 6d735a1

Browse files
authored
Merge branch 'aws:master' into master
2 parents bc8e6de + 422b35f commit 6d735a1

320 files changed

Lines changed: 15338 additions & 47259 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/pr-checks-master.yml

Lines changed: 63 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -74,32 +74,79 @@ jobs:
7474
echo "Changed files:"
7575
echo "$CHANGES"
7676
77-
SUBMODULES=[]
77+
# Function to extract dependencies from pyproject.toml
78+
get_dependencies() {
79+
local module=$1
80+
grep "sagemaker-" "$module/pyproject.toml" | grep -o 'sagemaker-[a-z]*' | sort -u
81+
}
82+
83+
# Function to find all modules that depend on a given module (recursively)
84+
find_dependents() {
85+
local target=$1
86+
local all_modules=("sagemaker-core" "sagemaker-train" "sagemaker-serve" "sagemaker-mlops")
87+
local dependents=()
88+
89+
for module in "${all_modules[@]}"; do
90+
if [ "$module" != "$target" ]; then
91+
if get_dependencies "$module" | grep -q "^$target$"; then
92+
dependents+=("$module")
93+
fi
94+
fi
95+
done
96+
97+
echo "${dependents[@]}"
98+
}
99+
100+
# Initialize set of submodules to test (using associative array)
101+
declare -A SUBMODULES_SET
102+
103+
# Function to recursively add module and all its dependents
104+
add_module_and_dependents() {
105+
local module=$1
106+
107+
if [ -z "${SUBMODULES_SET[$module]}" ]; then
108+
SUBMODULES_SET["$module"]=1
109+
echo "Adding $module to test set"
110+
111+
# Find all modules that depend on this one and add them recursively
112+
local dependents=$(find_dependents "$module")
113+
for dependent in $dependents; do
114+
add_module_and_dependents "$dependent"
115+
done
116+
fi
117+
}
118+
119+
# Check which submodules changed and add them plus their dependents
120+
if echo "$CHANGES" | grep -q "^sagemaker-core/"; then
121+
echo "sagemaker-core changed - will add core and all dependents"
122+
add_module_and_dependents "sagemaker-core"
123+
fi
78124
79125
if echo "$CHANGES" | grep -q "^sagemaker-train/"; then
80-
SUBMODULES='["sagemaker-train"]'
126+
echo "sagemaker-train changed - will add train and all dependents"
127+
add_module_and_dependents "sagemaker-train"
81128
fi
129+
82130
if echo "$CHANGES" | grep -q "^sagemaker-serve/"; then
83-
if [ "$SUBMODULES" = '[]' ]; then
84-
SUBMODULES='["sagemaker-serve"]'
85-
else
86-
SUBMODULES=$(echo $SUBMODULES | sed 's/\]$/,"sagemaker-serve"\]/')
87-
fi
131+
echo "sagemaker-serve changed - will add serve and all dependents"
132+
add_module_and_dependents "sagemaker-serve"
88133
fi
134+
89135
if echo "$CHANGES" | grep -q "^sagemaker-mlops/"; then
90-
if [ "$SUBMODULES" = '[]' ]; then
91-
SUBMODULES='["sagemaker-mlops"]'
92-
else
93-
SUBMODULES=$(echo $SUBMODULES | sed 's/\]$/,"sagemaker-mlops"\]/')
94-
fi
136+
echo "sagemaker-mlops changed - will add mlops"
137+
add_module_and_dependents "sagemaker-mlops"
95138
fi
96-
if echo "$CHANGES" | grep -q "^sagemaker-core/"; then
139+
140+
# Convert associative array to JSON array
141+
SUBMODULES='[]'
142+
for submodule in "${!SUBMODULES_SET[@]}"; do
97143
if [ "$SUBMODULES" = '[]' ]; then
98-
SUBMODULES='["sagemaker-core"]'
144+
SUBMODULES="[\"$submodule\"]"
99145
else
100-
SUBMODULES=$(echo $SUBMODULES | sed 's/\]$/,"sagemaker-core"\]/')
146+
SUBMODULES=$(echo $SUBMODULES | sed "s/\]$/,\"$submodule\"\]/")
101147
fi
102-
fi
148+
done
149+
103150
echo "Final SUBMODULES: $SUBMODULES"
104151
echo "submodules=$SUBMODULES" >> $GITHUB_OUTPUT
105152

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ scratch/
1818
*.egg
1919
examples/tensorflow/distributed_mnist/data
2020
*.iml
21+
22+
# Sphinx documentation
23+
docs/_build/
2124
doc/_build
2225
doc/_static
2326
doc/_templates

.readthedocs.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Read the Docs configuration file
2+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3+
4+
version: 2
5+
6+
build:
7+
os: ubuntu-22.04
8+
tools:
9+
python: "3.10"
10+
11+
sphinx:
12+
configuration: docs/conf.py
13+
14+
formats:
15+
- pdf
16+
- epub
17+
18+
python:
19+
install:
20+
- requirements: docs/requirements.txt
21+
- method: pip
22+
path: .
23+
extra_requirements:
24+
- docs

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
# Changelog
22

3+
## v3.3.1 (2026-01-12)
4+
### Bug fixes and Other Changes
5+
* ProcessingJob fix - Remove tags in Processor while Job creation
6+
* Telemetry Updates
7+
* sagemaker-mlops bug fix - Correct source code 'dependencies' parameter to 'requirements'
8+
* aws_batch bug fix - remove experiment config parameter as it Estimator is deprecated.
9+
10+
11+
## v3.3.0 (2025-12-19)
12+
13+
### Features
14+
* AWS_Batch: queueing of training jobs with ModelTrainer
15+
### Bug fixes and Other Changes
16+
* Fixes for model registry with ModelBuilder
17+
18+
## v3.2.0 (2025-12-18)
19+
20+
### Features
21+
* Evaluator handshake with trainer
22+
* Datasets Format validation
23+
### Bug fixes and Other Changes
24+
* Add xgboost 3.0-5 to release
25+
* Fix get_child_process_ids parsing issue
26+
327
## v3.1.1 (2025-12-10)
428

529
### Bug fixes and Other Changes

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.1.1
1+
3.3.1

docs/Makefile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
SPHINXOPTS ?=
2+
SPHINXBUILD ?= sphinx-build
3+
SOURCEDIR = .
4+
BUILDDIR = _build
5+
6+
help:
7+
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
8+
9+
.PHONY: help Makefile
10+
11+
%: Makefile
12+
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

docs/_static/custom.css

Lines changed: 174 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,174 @@
1+
/* What's New Section Styling */
2+
.whats-new-container {
3+
display: grid;
4+
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
5+
gap: 20px;
6+
margin: 30px 0;
7+
}
8+
9+
.new-feature-card {
10+
background: var(--pst-color-surface);
11+
border: 1px solid var(--pst-color-border);
12+
border-radius: 12px;
13+
padding: 25px;
14+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
15+
transition: transform 0.2s ease, box-shadow 0.2s ease;
16+
position: relative;
17+
overflow: hidden;
18+
color: var(--pst-color-text-base);
19+
}
20+
21+
[data-theme="dark"] .new-feature-card {
22+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
23+
}
24+
25+
.new-feature-card:hover {
26+
transform: translateY(-2px);
27+
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
28+
}
29+
30+
[data-theme="dark"] .new-feature-card:hover {
31+
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
32+
}
33+
34+
.new-feature-card h3 {
35+
margin-top: 0;
36+
margin-bottom: 15px;
37+
font-size: 1.3em;
38+
font-weight: 600;
39+
color: inherit;
40+
}
41+
42+
.new-feature-card ul {
43+
margin: 15px 0;
44+
padding-left: 20px;
45+
}
46+
47+
.new-feature-card li {
48+
margin-bottom: 8px;
49+
line-height: 1.5;
50+
}
51+
52+
/* Feedback Component */
53+
.feedback-container {
54+
border-top: 1px solid var(--pst-color-border);
55+
margin-top: 40px;
56+
padding: 24px;
57+
background-color: var(--pst-color-surface);
58+
border-radius: 8px;
59+
border: 1px solid var(--pst-color-border);
60+
}
61+
62+
.feedback-question {
63+
font-size: 20px;
64+
font-weight: 500;
65+
color: var(--pst-color-text-base);
66+
margin-bottom: 20px;
67+
text-align: left;
68+
}
69+
70+
.feedback-buttons {
71+
display: flex;
72+
justify-content: flex-start;
73+
gap: 12px;
74+
}
75+
76+
.feedback-btn {
77+
display: flex;
78+
align-items: center;
79+
gap: 8px;
80+
padding: 8px 16px;
81+
border: 1px solid var(--pst-color-border);
82+
border-radius: 6px;
83+
background: var(--pst-color-surface);
84+
color: var(--pst-color-text-muted);
85+
font-size: 14px;
86+
cursor: pointer;
87+
transition: all 0.2s ease;
88+
}
89+
90+
.feedback-btn:hover {
91+
border-color: var(--pst-color-primary);
92+
background: var(--pst-color-surface);
93+
}
94+
95+
.feedback-btn.selected {
96+
border-color: var(--pst-color-primary);
97+
background: var(--pst-color-primary-bg);
98+
color: var(--pst-color-primary);
99+
}
100+
101+
.feedback-btn svg {
102+
width: 16px;
103+
height: 16px;
104+
}
105+
106+
.feedback-thanks {
107+
display: none;
108+
color: #059669;
109+
font-size: 14px;
110+
text-align: center;
111+
margin-top: 16px;
112+
}
113+
114+
/* Feedback Options */
115+
.feedback-options {
116+
display: none;
117+
margin-top: 20px;
118+
}
119+
120+
.feedback-more {
121+
display: flex;
122+
flex-direction: column;
123+
gap: 12px;
124+
}
125+
126+
.feedback-github-link {
127+
color: #0366d6;
128+
text-decoration: none;
129+
font-size: 14px;
130+
padding: 10px 20px;
131+
border: 1px solid #0366d6;
132+
border-radius: 6px;
133+
transition: all 0.2s;
134+
font-weight: 500;
135+
align-self: flex-start;
136+
}
137+
138+
.feedback-github-link:hover {
139+
background-color: #0366d6;
140+
color: white;
141+
text-decoration: none;
142+
}
143+
144+
header {
145+
background-color: white;
146+
147+
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
148+
position: sticky;
149+
top: 0;
150+
z-index: 50;
151+
}
152+
153+
h1 {
154+
font-size: 1.875rem;
155+
font-weight: 700;
156+
color: var(--pst-color-text-base);
157+
}
158+
159+
h2 {
160+
font-size: 1.5rem;
161+
font-weight: 700;
162+
color: var(--pst-color-text-base);
163+
}
164+
165+
h3 {
166+
font-size: 1.25rem;
167+
font-weight: 500;
168+
color: var(--pst-color-text-base);
169+
}
170+
171+
p {
172+
font-size: 1.0rem;
173+
color: var(--pst-color-text-base);
174+
}

0 commit comments

Comments
 (0)