Get Endpoints
To retrieve a comprehensive list of all available endpoint configurations within Runpod, you can use theget_endpoints()
function. This function returns a list of endpoint configurations, allowing you to understand what’s available for use in your projects.
Create Template
Templates in Runpod serve as predefined configurations for setting up environments efficiently. Thecreate_template()
function facilitates the creation of new templates by specifying a name and a Docker image.
Create Endpoint
Creating a new endpoint with thecreate_endpoint()
function. This function requires you to specify a name
and a template_id
. Additional configurations such as GPUs, number of Workers, and more can also be specified depending your requirements.
Get GPUs
For understanding the computational resources available, theget_gpus()
function lists all GPUs that can be allocated to endpoints in Runpod. This enables optimal resource selection based on your computational needs.
Get GPU by Id
Useget_gpu()
and pass in a GPU Id to retrieve details about a specific GPU model by its ID. This is useful when understanding the capabilities and costs associated with various GPU models.