Install the SageMaker HyperPod CLI - Amazon SageMaker

Install the SageMaker HyperPod CLI

SageMaker HyperPod provides the SageMaker HyperPod command line interface (CLI) package.

  1. Check if the version of Python on your local machine is between 3.8 and 3.11.

  2. Check the prerequisites in the README markdown file in the SageMaker HyperPod CLI package.

  3. Clone the SageMaker HyperPod CLI package from GitHub.

    git clone https://github.com/aws/sagemaker-hyperpod-cli.git
  4. Install the SageMaker HyperPod CLI.

    cd sagemaker-hyperpod-cli && pip install .
  5. Test if the SageMaker HyperPod CLI is successfully installed by running the following command.

    hyperpod --help
Note

If you are a data scientist and want to use the SageMaker HyperPod CLI, make sure that your IAM role is set up properly by your cluster admins following the instructions at IAM users for scientists and Setting up Kubernetes role-based access control.