Links

Pod Env Variables

Environment variables are accessible within in a pod. These are the variables that are set by default.
Variable
Description
RUNPOD_POD_ID
The unique identifier for your pod.
RUNPOD_API_KEY
Used to make RunPod API calls to the specific pod. It's limited in scope to only the pod.
RUNPOD_POD_HOSTNAME
Name of the host server the pod is running on.
RUNPOD_GPU_COUNT
Number of GPUs available to the pod.
PWD
current working directory
PYTORCH_VERSION
Installed PyTorch Version
PUBLIC_KEY
The SSH public key to access the pod over SSH.