- Added more options to the RunPod example, including: - `cloud_type`, `gpu_count`, `volume_in_gb`, - `container_disk_in_gb`, `min_vcpu_count`, - `min_memory_in_gb`, `gpu_type_id`, `ports`, and - `volume_mount_path`. This provides a more - comprehensive demonstration of RunPod's capabilities. - Updated the example to create an on-demand pod with - specified resources and settings. The spot pod - creation remains largely unchanged. Improved the - clarity and completeness of the example. Removed - commented-out code for better readability. Also - updated the `PodFindAndDeployOnDemandRequest` struct - to remove default values, allowing for more flexible - pod configurations. Co-authored-by: mariobassem12 <mariobassem12@gmail.com>
runpod
To get started
import freeflowuniverse.crystallib.clients. runpod
mut client:= runpod.get()!
client...
example heroscript
!!runpod.configure
secret: '...'
host: 'localhost'
port: 8888