Install the SageMaker HyperPod CLI
SageMaker HyperPod provides the SageMaker HyperPod command line interface
-
Check if the version of Python on your local machine is between 3.8 and 3.11.
-
Check the prerequisites in the
README
markdown file in the SageMaker HyperPod CLIpackage. -
Clone the SageMaker HyperPod CLI package from GitHub.
git clone https://github.com/aws/sagemaker-hyperpod-cli.git
-
Install the SageMaker HyperPod CLI.
cd sagemaker-hyperpod-cli && pip install .
-
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.