Skip to content

Commit 086fe2c

Browse files
committed
test: provision spot instance
1 parent b40008d commit 086fe2c

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

ci/slab.toml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[profile.cpu]
22
region = "eu-west-3"
33
image_id = "ami-05e8e219ac7e82eba" # ubuntu 22.04
4-
#instance_type = "t3.micro"
5-
instance_type = "m6g.large"
4+
instance_type = "t3.micro"
5+
#instance_type = "m6g.large"
66
subnet_id = "subnet-0e042c7621461f754"
77

88
[profile.cpu_fallback]
@@ -15,6 +15,12 @@ region = "eu-west-1" # Ireland
1515
image_id = "ami-0261faf04cf54fe0a" # GPU image in eu-west-1 to test auto retry
1616
instance_type = "p3.2xlarge"
1717

18+
[profile.gpu-bench]
19+
region = "us-west-2"
20+
image_id = "ami-02ae9b9b4fffdf66f"
21+
instance_type = "p5.48xlarge"
22+
max_spot_price = "200.49"
23+
1824
[command.cpu_test]
1925
workflow = "main.yml"
2026
profile = "cpu"
@@ -24,6 +30,6 @@ check_run_name = "AWS tests (Slab)"
2430

2531
[command.gpu_test]
2632
workflow = "main.yml"
27-
profile = "gpu"
33+
profile = "gpu-bench"
2834
check_run_name = "AWS tests spawn GPU (Slab)"
2935

0 commit comments

Comments
 (0)