Commit e100e0a
authored
feat: jumpstart instance type variants (#4068)
* feat: jumpstart instance type variants
* fix: typo
* fix: failing tests
* fix: docstring
* chore: support for local and local_gpu
* fix: variants -> regional_variants, properties -> regional_properties
* chore: fallback to legacy logic if no match found
* chore: add support for no ecr specs
* fix: flake8 line length
* chore: address PR comments, add support for bad metadata fallback
* chore: remove unnecessary log, improve error message
* chore: slight adjustment to image uri variant logic
* chore: improve error message
* fix: instance type found but image uri for family
* feat: instance type variants for environment variables
* chore: address PR comments, fix formatting1 parent 65ca6ba commit e100e0a
File tree
12 files changed
+1195
-31
lines changed- src/sagemaker
- jumpstart
- artifacts
- factory
- tests/unit
- sagemaker
- environment_variables/jumpstart
- image_uris/jumpstart
- jumpstart
12 files changed
+1195
-31
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| 37 | + | |
| 38 | + | |
36 | 39 | | |
37 | 40 | | |
38 | 41 | | |
| |||
58 | 61 | | |
59 | 62 | | |
60 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
61 | 68 | | |
62 | 69 | | |
63 | 70 | | |
| |||
78 | 85 | | |
79 | 86 | | |
80 | 87 | | |
| 88 | + | |
| 89 | + | |
81 | 90 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | 273 | | |
288 | 274 | | |
289 | 275 | | |
| |||
297 | 283 | | |
298 | 284 | | |
299 | 285 | | |
300 | | - | |
| 286 | + | |
301 | 287 | | |
302 | 288 | | |
303 | 289 | | |
| |||
385 | 371 | | |
386 | 372 | | |
387 | 373 | | |
388 | | - | |
| 374 | + | |
389 | 375 | | |
390 | 376 | | |
391 | 377 | | |
| |||
409 | 395 | | |
410 | 396 | | |
411 | 397 | | |
412 | | - | |
| 398 | + | |
413 | 399 | | |
414 | 400 | | |
415 | 401 | | |
| |||
426 | 412 | | |
427 | 413 | | |
428 | 414 | | |
429 | | - | |
| 415 | + | |
430 | 416 | | |
431 | 417 | | |
432 | 418 | | |
| |||
441 | 427 | | |
442 | 428 | | |
443 | 429 | | |
444 | | - | |
| 430 | + | |
445 | 431 | | |
446 | 432 | | |
447 | 433 | | |
| |||
529 | 515 | | |
530 | 516 | | |
531 | 517 | | |
532 | | - | |
| 518 | + | |
533 | 519 | | |
534 | 520 | | |
535 | 521 | | |
| |||
559 | 545 | | |
560 | 546 | | |
561 | 547 | | |
562 | | - | |
| 548 | + | |
563 | 549 | | |
564 | 550 | | |
565 | 551 | | |
| |||
Lines changed: 31 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
| |||
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
62 | 68 | | |
63 | 69 | | |
64 | 70 | | |
| |||
69 | 75 | | |
70 | 76 | | |
71 | 77 | | |
72 | | - | |
| 78 | + | |
73 | 79 | | |
74 | 80 | | |
75 | 81 | | |
76 | 82 | | |
77 | 83 | | |
78 | 84 | | |
79 | 85 | | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
84 | 109 | | |
| 110 | + | |
85 | 111 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
121 | 128 | | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
122 | 135 | | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
123 | 143 | | |
124 | | - | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
125 | 150 | | |
126 | 151 | | |
127 | 152 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
| 289 | + | |
| 290 | + | |
289 | 291 | | |
290 | 292 | | |
291 | 293 | | |
| |||
0 commit comments