class

Cloud::Runner

Inherits Reference < Object

Constants

DEPLOY_FILES = ["bin/microgpt", "models.yml"]

Files/dirs to upload for a microgpt experiment

Constructors

new(provider : Provider)
Source

Instance methods

destroy(instance_id : Int64)

Destroy a specific instance

Source
destroy_all

Destroy all active instances

Source
instances

List active instances

Source
provider
Source
run_experiments(data : String, config : String, runs : Array(String), eval_file : String | Nil = nil, gpu : String | Nil = nil, max_price : Float64 = 1.5, min_reliability : Float64 = 0.95, disk_gb : Int32 = 16)

Rent a GPU, deploy code, run experiments, collect results, destroy

Source
search(gpu : String | Nil = nil, max_price : Float64 = 2.0, limit : Int32 = 10)

List available GPU offers

Source