Commit 638e38d
authored
Prepare future OCI spot instances support (#1401)
This commit implements launching OCI spot
instances. However, spot offers will not be added
to `gpuhunt` catalog yet, as they would break
previous `dstack` versions that do not distinguish
between on-demand and spot offers. We can add spot
offers to catalog later, once `dstack` versions
0.18.3 and 0.18.4 become irrelevant.1 parent d3fa99e commit 638e38d
2 files changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| 154 | + | |
154 | 155 | | |
155 | 156 | | |
156 | 157 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
| 287 | + | |
287 | 288 | | |
288 | 289 | | |
289 | 290 | | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
290 | 297 | | |
291 | 298 | | |
292 | 299 | | |
| |||
301 | 308 | | |
302 | 309 | | |
303 | 310 | | |
| 311 | + | |
304 | 312 | | |
305 | 313 | | |
306 | 314 | | |
| |||
0 commit comments