Skip to content

How to get the ARN of a training job / end point created using SageMaker PyTorch Python SDK? #1447

Closed
@vas610

Description

@vas610

There doesn't seem to be any option to get the ARN. I would like to get the ARN and add tags to the training job / end point.

pytorch_model = PyTorchModel(model_data=model_data,
                             role=role,
                             source_dir=source_dir,
                             entry_point='inference.py',
                             framework_version='1.0.0',
                             name=end_point_name
                             )

# Deploy to endpoint
predictor = pytorch_model.deploy(
    instance_type='ml.t2.medium',
    # instance_type='local',
    initial_instance_count=1)

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