File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1
1
[project ]
2
2
name = " prime-cli"
3
- version = " 0.2.2 "
3
+ version = " 0.2.3 "
4
4
description = " Prime Intellect CLI"
5
5
readme = " README.md"
6
6
requires-python = " >=3.8"
Original file line number Diff line number Diff line change @@ -118,6 +118,7 @@ def list(
118
118
"security" : gpu .security or "N/A" ,
119
119
"vcpu" : gpu .vcpu .default_count ,
120
120
"memory" : gpu .memory .default_count ,
121
+ "is_spot" : gpu .is_spot ,
121
122
}
122
123
all_gpus .append (gpu_data )
123
124
@@ -163,9 +164,14 @@ def list(
163
164
filtered_gpus .append (gpu_config )
164
165
165
166
for gpu_entry in filtered_gpus :
167
+ gpu_type_display = (
168
+ f"{ gpu_entry ['gpu_type' ]} (Spot)"
169
+ if gpu_entry ["is_spot" ]
170
+ else gpu_entry ["gpu_type" ]
171
+ )
166
172
table .add_row (
167
173
gpu_entry ["short_id" ],
168
- gpu_entry [ "gpu_type" ] ,
174
+ gpu_type_display ,
169
175
str (gpu_entry ["gpu_count" ]),
170
176
gpu_entry ["socket" ],
171
177
gpu_entry ["provider" ],
You can’t perform that action at this time.
0 commit comments