feat: Add RunPod client

- Added a new RunPod client to the project.
- Updated the example to use the new client.
- Improved error handling in the client.
- Refactored the code for better readability.

Co-authored-by: mariobassem12 <mariobassem12@gmail.com>
This commit is contained in:
Mahmoud Emad
2025-01-21 10:50:07 +02:00
parent 4422d67701
commit 309496ef5d
6 changed files with 107 additions and 110 deletions

View File

@@ -35,7 +35,7 @@ spot_pod_resp := rp.create_spot_pod(
min_memory_in_gb: 15
gpu_type_id: 'NVIDIA RTX A6000'
name: 'RunPod Pytorch'
image_name: 'runpod/pytorch'
image_name: 'runpod/pytorc2h'
docker_args: ''
ports: '8888/http'
volume_mount_path: '/workspace'