Skip to content

Commit 9679446

Browse files
committed
chore: update available runtimes types
1 parent f3a3e47 commit 9679446

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

wherobots/db/runtime.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33

44
class Runtime(Enum):
5+
# CPU/General purpose runtimes
56
MICRO = "micro"
67
TINY = "tiny"
78
SMALL = "small"
@@ -11,18 +12,24 @@ class Runtime(Enum):
1112
XX_LARGE = "2x-large"
1213
XXXX_LARGE = "4x-large"
1314

14-
# HIMEM
15+
# HIMEM/Memory-optimized runtimes
1516
MEDIUM_HIMEM = "medium-himem"
1617
LARGE_HIMEM = "large-himem"
1718
X_LARGE_HIMEM = "x-large-himem"
1819
XX_LARGE_HIMEM = "2x-large-himem"
1920
XXXX_LARGE_HIMEM = "4x-large-himem"
2021

21-
# GPU
22+
# HICPU/Compute-optimized runtimes
23+
X_LARGE_HICPU = "x-large-hicpu"
24+
XX_LARGE_HICPU = "2x-large-hicpu"
25+
26+
# GPU-accelerated runtimes
2227
MICRO_A10_GPU = "micro-a10-gpu"
2328
TINY_A10_GPU = "tiny-a10-gpu"
2429
SMALL_A10_GPU = "small-a10-gpu"
2530
MEDIUM_A10_GPU = "medium-a10-gpu"
31+
LARGE_A10_GPU = "large-a10-gpu"
32+
X_LARGE_A10_GPU = "x-large-a10-gpu"
2633

2734

2835
_NAME_TO_ENUM = {runtime.value: runtime for runtime in Runtime}

0 commit comments

Comments
 (0)