sagemaker-python-sdk
Copilot instructions2.3k starsChanged 3 months agoApache-2.0View on GitHub
Guidance for GitHub Copilot working in this repository — the source of the Amazon SageMaker Python SDK. This repository keeps its AI-agent guidance in a single source of truth, AGENTS.md, following the AGENTS.md convention. Copilot instructions do not support file imports, so read AGENTS.md at the repository root and follow it. Key points from that file (see AGENTS.md for the authoritative, complete version): - v3 by default. The current major version is v3 (pip install sagemaker). SDK v3 is a…
- Installs packages
Trending
Quiet since September.about the whole repository
Who's talking about aws/sagemaker-python-sdk
- numpy/numpy“Ecosystem compatibility with numpy 2.0”GitHub · Apr 1, 2024 · 42 reactions
- aws/sagemaker-training-toolkit“Publish wheels to PyPI”GitHub · Feb 15, 2023 · 7 reactions
- aws/sagemaker-inference-toolkit“JVM detect the CPU count as 1 when more CPUs are available for the container. ”GitHub · Mar 15, 2021 · 6 reactions
- aws/amazon-sagemaker-feedback“Allow singleton interval for integer or continuous range hyperparameter and duplicate values for …”GitHub · Jul 17, 2025 · 5 reactions
- aws/amazon-sagemaker-feedback“State of amazon-sagemaker-feedback Repository”GitHub · Oct 14, 2025 · 2 reactions
The biggest 5 of 21 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 21
Talked about on GitHub (21 times).
On GitHub · 21
- Apr 1, 2024Ecosystem compatibility with numpy 2.0 — numpy/numpy42 reactions · 167 comments
- Feb 15, 2023Publish wheels to PyPI — aws/sagemaker-training-toolkit7 reactions
- Mar 15, 2021JVM detect the CPU count as 1 when more CPUs are available for the container. — aws/sagemaker-inference-toolkit6 reactions · 2 comments
- Jul 17, 2025Allow singleton interval for integer or continuous range hyperparameter and duplicate values for categorical range parameter of tuning job. — aws/amazon-sagemaker-feedback5 reactions · 3 comments
- Oct 14, 2025State of amazon-sagemaker-feedback Repository — aws/amazon-sagemaker-feedback2 reactions · 4 comments
16 more on GitHub
- Mar 19, 2024feature: add python module entrypoint type, add python module support… — aws/sagemaker-training-toolkit2 reactions · 1 comment
- Jul 21, 2020Support ModelPackage in the ModelStep — aws/aws-step-functions-data-science-sdk-python2 reactions
- Apr 30, 2019add support for recordio and sparse matrices — aws/sagemaker-scikit-learn-container2 reactions · 3 comments
- May 21, 2026chore(deps): bump sagemaker from 2.243.2 to 3.8.0 in /models/sagemaker — langgenius/dify-official-plugins1 reaction · 1 comment
- Aug 20, 2022Support for features / optional dependencies — repo-helper/hatch-requirements-txt1 reaction · 3 comments
- Jan 26, 2022[Bug Report] with Instance_type = "local_gpu", SageMaker unable to find PyTorch inference container image. — aws/amazon-sagemaker-examples1 reaction
- Jul 28, 2021`environment` argument to sklearn estimator does not pass environment variables into training job — aws/sagemaker-scikit-learn-container1 reaction · 3 comments
- Jun 22, 2021Custom `model_fn` function not found when extending the PyTorch inference container — aws/sagemaker-inference-toolkit1 reaction
- Jul 24, 2020Feature request: support SageMaker SDK 2.0 — aws/aws-step-functions-data-science-sdk-python1 reaction · 6 comments
- Jun 28, 2018Add Stale config — aws/sagemaker-pytorch-training-toolkit1 reaction
- Dec 22, 2017ResNet CIFAR 10 generates scalar data faster — aws/amazon-sagemaker-examples1 reaction
- Sep 28, 2026Update sagemaker requirement from <3,>=2 to >=3.23.0,<4 — gradientsky/deep-learning-containers0 reactions
- Sep 28, 2026Update sagemaker requirement from <3,>=2 to >=3.23.0,<4 — nikhil-sk/deep-learning-containers0 reactions
- Sep 28, 2026Update sagemaker requirement from <3,>=2 to >=3.23.0,<4 — shantanutrip/deep-learning-containers0 reactions
- Sep 28, 2026Update sagemaker requirement from <3,>=2 to >=3.23.0,<4 — Arrmlet/deep-learning-aws-containers0 reactions
- Sep 15, 2026Bump sagemaker from 2.225.0 to 3.8.0 in / inference/sm-app_autoscaling_realtime_endpoints_inference_components — CATHLEEN-ANN-TICO/amazon-sagemaker-examples0 reactions
The file
We split this copilot-instructions.md into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
SDK-first: Use the SageMaker Python SDK v3 as the primary interface (e.g.
- Very specific: line 23
Contributing: add/update unit tests under tests/unit/ for code changes, run the configured formatters/linters, and keep migration.md and …
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
GitHub Copilot instructions — Amazon SageMaker Python SDK
Guidance for GitHub Copilot working in this repository — the source of the Amazon SageMaker Python SDK.
This repository keeps its AI-agent guidance in a single source of truth,
AGENTS.md, following the AGENTS.md convention.
Copilot instructions do not support file imports, so read
AGENTS.md at the repository root and follow it.
Key points from that file (see AGENTS.md for the authoritative, complete version):
- v3 by default. The current major version is v3 (
pip install sagemaker). SDK v3 is a modular redesign and is not backward compatible with v2. Generate v3 patterns in all example code, docstrings, tests, and docs unless v2 is explicitly in scope. - SDK-first. Use the SageMaker Python SDK v3 as the primary interface (e.g.
sagemaker.train.ModelTrainer,sagemaker.serve.ModelBuilder); do not drop to rawboto3, the AWS CLI, or hand-rolled scripts unless the SDK genuinely does not cover the task. - No banned v2 patterns (e.g.
sagemaker.estimator.Estimator,estimator.fit(...), framework estimator classes,sagemaker.model.Model) in new code. See the v2 → v3 mapping table inAGENTS.mdandmigration.md. - Contributing: add/update unit tests under
tests/unit/for code changes, run the configured formatters/linters, and keepmigration.mdand docstrings consistent for public API changes. SeeCONTRIBUTING.md.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

