diff --git a/ci/slab.toml b/ci/slab.toml index b206d62..05bc3a0 100644 --- a/ci/slab.toml +++ b/ci/slab.toml @@ -2,13 +2,49 @@ region = "eu-west-3" image_id = "ami-05e8e219ac7e82eba" # ubuntu 22.04 instance_type = "t3.micro" +#instance_type = "m6g.large" subnet_id = "subnet-0e042c7621461f754" +# Handling backends +[backend.aws.cpu] +region = "eu-west-3" +image_id = "ami-05e8e219ac7e82eba" # ubuntu 22.04 +#image_id = "ami-00232bbfe70330a10" # ubuntu 22.04 ARM64 +instance_type = "t3.xlarge" +#instance_type = "t4g.medium" # ARM machine +#instance_type = "t345.xlarge" # Non existing instance type + +[backend.aws.cpu_fallback] +region = "eu-west-3" +image_id = "ami-05e8e219ac7e82eba" # ubuntu 22.04 +instance_type = "t3.xlarge" + +[profile.cpu_fallback] +region = "us-east-1" +image_id = "ami-0c4773f5626d919b6" +instance_type = "p3.2xlarge" + +#[backend.hyperstack.gpu] +#environment_name = "norway" +#image_name = "Ubuntu Server 22.04 LTS R535 CUDA 12.2" +#flavor_name = "n1-cpu-small" + +[backend.hyperstack.gpu] +environment_name = "canada" +image_name = "Ubuntu Server 22.04 LTS R535 CUDA 12.2" +flavor_name = "m" + [profile.gpu] region = "eu-west-1" # Ireland image_id = "ami-0261faf04cf54fe0a" # GPU image in eu-west-1 to test auto retry instance_type = "p3.2xlarge" +[profile.gpu-bench] +region = "us-west-2" +image_id = "ami-02ae9b9b4fffdf66f" +instance_type = "p5.48xlarge" +max_spot_price = "200.49" + [command.cpu_test] workflow = "main.yml" profile = "cpu" @@ -18,6 +54,6 @@ check_run_name = "AWS tests (Slab)" [command.gpu_test] workflow = "main.yml" -profile = "gpu" +profile = "gpu-bench" check_run_name = "AWS tests spawn GPU (Slab)"