计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
serving【效率与协作】Use SageMaker Python SDK v3 serving workflows for ModelBuilder, local inference, JumpStart, optimization, Bedrock, and inference recommender.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill for model deployment and inference with sagemaker-serve.
It covers ModelBuilder, InferenceSpec, SchemaBuilder, ModelServer,
build(), deploy(), deploy_local(), local container mode, in-process mode,
JumpStart deployment, train-to-inference, optimization, recommendation-driven
deployments, Bedrock deployment, and inference pipelines.
Read this sub-skill when the user says or implies:
ModelBuilder, ModelServer, InferenceSpec, or SchemaBuilderdeploy_local(), local container mode, or in-process modeModelTrainer / TrainingJobModelBuilder.from_jumpstart_config(...)BedrockModelBuilder or deployment to Amazon BedrockModelBuilder.InferenceSpec or SchemaBuilder for request/response
marshalling.ModelTrainer setup, training jobs, distributed training, or HPO;
use ../training/SKILL.md.Endpoint, EndpointConfig, TransformJob, or direct
resource chaining; use ../core-resources/SKILL.md.../model-customization/SKILL.md.../mlops/SKILL.md.ModelTrainer, JumpStart config, custom InferenceSpec, or fine-tuned
model package.SchemaBuilder(sample_input, sample_output) or a custom InferenceSpec.load() / invoke() pair. If the
runtime should serialize itself, choose the right content_type and
accept_type up front.ModelBuilder(...) or ModelBuilder.from_jumpstart_config(...).
If the source is a ModelTrainer or TrainingJob, make sure training has
completed before build.Mode.SAGEMAKER_ENDPOINT for cloud servingMode.LOCAL_CONTAINER for Docker-based local servingMode.IN_PROCESS for pure Python local servingbuild() before deploy() for normal serving flows. Use
deploy_local() only for LOCAL_CONTAINER or IN_PROCESS.inference_config or ServerlessInferenceConfig / AsyncInferenceConfig
-> real-time EndpointBatchTransformInferenceConfig -> TransformerResourceRequirements -> inference-component-based endpoint pathendpoint.invoke(body=..., content_type=..., accept=...) or
local_endpoint.invoke(...). Keep transport examples self-contained and use
placeholders for all real AWS identifiers.optimize(), generate_deployment_recommendations(), or
BedrockModelBuilder.deploy().Use these signatures as the source of truth for runtime-safe guidance:
ModelBuilder(...)ModelBuilder.build(...)ModelBuilder.deploy(...)ModelBuilder.deploy_local(...)ModelBuilder.optimize(...)ModelBuilder.from_jumpstart_config(...)InferenceSpec.load(...) / InferenceSpec.invoke(...)SchemaBuilder(...)BedrockModelBuilder.deploy(...)See the bundled references for the full verified signatures and examples.
Model, Predictor, Processor,
or Estimator patterns except in a clearly labeled deprecated migration note.ModelBuilder may resolve a role during construction if no
role_arn is provided; without credentials, that can fail before build() or
deploy() runs.endpoint.invoke() over deprecated predictor.predict() patterns.Endpoint or TransformJob creation directly, route to
../core-resources/SKILL.md.references/modelbuilder-workflows.mdreferences/deployment-modes-and-inference-spec.mdreferences/optimization-bedrock-and-recommendations.mdreferences/troubleshooting.md