Skip to content

Error when updating endpoint. TypeError: Session.create_endpoint_config() got an unexpected keyword argument 'serverless_inference_config'. Did you mean 'serverless_inference_config_dict'? #5191

Closed
@dmtree-ivanov

Description

@dmtree-ivanov

Describe the bug
This commit introduced a bug I'm pretty sure: 9ead9c8

To reproduce

from sagemaker.model import Model

model = Model(...)

model.deploy(
    ...,
    update_endpoint=True, # <--- bug here
)

Screenshots or logs
TypeError: Session.create_endpoint_config() got an unexpected keyword argument 'serverless_inference_config'. Did you mean 'serverless_inference_config_dict'?

System information
A description of your system. Please provide:

  • SageMaker Python SDK version: 2.244.0
  • Framework name (eg. PyTorch) or algorithm (eg. KMeans):
  • Framework version:
  • Python version: 3.12.10
  • CPU or GPU:
  • Custom Docker image (Y/N):

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions