vincentclaes commited on
Commit
96dffba
1 Parent(s): 5c8af29

initial commit

Browse files
Files changed (3) hide show
  1. README.md +7 -2
  2. llava.ipynb +752 -0
  3. screenshot.png +0 -0
README.md CHANGED
@@ -1,2 +1,7 @@
1
- # llava-on-sagemaker
2
- Deploy llava to sagemaker instantely
 
 
 
 
 
 
1
+ # Llava On Sagemker
2
+
3
+ Deploy llava to sagemaker instantely.
4
+
5
+ Open the ./[llava.ipynb](llava.ipynb) notebook in Sagemaker Studio or in a Sagemaker Notebook and follow the instructions.
6
+
7
+ ![screenshot](screenshot.png)
llava.ipynb ADDED
@@ -0,0 +1,752 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "markdown",
5
+ "metadata": {},
6
+ "source": [
7
+ "# Deploy LLaVA on Amazon Sagemaker"
8
+ ]
9
+ },
10
+ {
11
+ "cell_type": "code",
12
+ "execution_count": 2,
13
+ "metadata": {},
14
+ "outputs": [
15
+ {
16
+ "name": "stdout",
17
+ "output_type": "stream",
18
+ "text": [
19
+ "\u001b[33mDEPRECATION: pyodbc 4.0.0-unsupported has a non-standard version number. pip 24.0 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of pyodbc or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at https://github.com/pypa/pip/issues/12063\u001b[0m\u001b[33m\n",
20
+ "\u001b[0m\u001b[33mWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\u001b[0m\u001b[33m\n",
21
+ "\u001b[0m"
22
+ ]
23
+ }
24
+ ],
25
+ "source": [
26
+ "!pip install sagemaker --upgrade --quiet"
27
+ ]
28
+ },
29
+ {
30
+ "cell_type": "markdown",
31
+ "metadata": {},
32
+ "source": [
33
+ "### Deploy Llava"
34
+ ]
35
+ },
36
+ {
37
+ "cell_type": "code",
38
+ "execution_count": 5,
39
+ "metadata": {},
40
+ "outputs": [
41
+ {
42
+ "name": "stdout",
43
+ "output_type": "stream",
44
+ "text": [
45
+ "----------------!"
46
+ ]
47
+ }
48
+ ],
49
+ "source": [
50
+ "import sagemaker\n",
51
+ "from sagemaker.huggingface.model import HuggingFaceModel\n",
52
+ "\n",
53
+ "LLAVA_MODEL = \"s3://public-assets-vincent-claes/llava-v1.5-13b/model.tar.gz\"\n",
54
+ "\n",
55
+ "huggingface_model = HuggingFaceModel(\n",
56
+ " model_data=LLAVA_MODEL, # path to your model and script\n",
57
+ " role=sagemaker.get_execution_role(), # iam role with permissions to create an Endpoint\n",
58
+ " transformers_version=\"4.28.1\", # transformers version used\n",
59
+ " pytorch_version=\"2.0.0\", # pytorch version used\n",
60
+ " py_version='py310', # python version used\n",
61
+ " model_server_workers=1\n",
62
+ ")\n",
63
+ "\n",
64
+ "predictor = huggingface_model.deploy(\n",
65
+ " initial_instance_count=1,\n",
66
+ " instance_type=\"ml.g5.12xlarge\",\n",
67
+ " container_startup_health_check_timeout=900, # increase timeout for large models\n",
68
+ " model_data_download_timeout=900, # increase timeout for large models\n",
69
+ ")"
70
+ ]
71
+ },
72
+ {
73
+ "cell_type": "code",
74
+ "execution_count": 8,
75
+ "metadata": {
76
+ "tags": []
77
+ },
78
+ "outputs": [],
79
+ "source": [
80
+ "### Call Llava"
81
+ ]
82
+ },
83
+ {
84
+ "cell_type": "code",
85
+ "execution_count": 9,
86
+ "metadata": {},
87
+ "outputs": [
88
+ {
89
+ "name": "stdout",
90
+ "output_type": "stream",
91
+ "text": [
92
+ "The image features a small, red toy animal, possibly a stuffed animal or a figurine, with flames coming out of its back. The animal is wearing glasses, giving it a unique and eye-catching appearance. The flames are orange and yellow, adding a sense of warmth and energy to the scene. The overall color palette of the image is predominantly red, with the toy and the flames being the main sources of this color.\n"
93
+ ]
94
+ }
95
+ ],
96
+ "source": [
97
+ "import base64\n",
98
+ "import requests\n",
99
+ "\n",
100
+ "# URL of llava logo image\n",
101
+ "url = \"https://raw.githubusercontent.com/haotian-liu/LLaVA/main/images/llava_logo.png\"\n",
102
+ "\n",
103
+ "# Fetching the image from the URL\n",
104
+ "response = requests.get(url)\n",
105
+ "image_data = response.content\n",
106
+ "encoded_image = base64.b64encode(image_data).decode()\n",
107
+ "\n",
108
+ "# request\n",
109
+ "data = {\n",
110
+ " \"image\" : encoded_image,\n",
111
+ " \"question\" : \"Describe the image and color details.\",\n",
112
+ "}\n",
113
+ "output = predictor.predict(data)\n",
114
+ "print(output)"
115
+ ]
116
+ },
117
+ {
118
+ "cell_type": "code",
119
+ "execution_count": null,
120
+ "metadata": {},
121
+ "outputs": [],
122
+ "source": []
123
+ }
124
+ ],
125
+ "metadata": {
126
+ "availableInstances": [
127
+ {
128
+ "_defaultOrder": 0,
129
+ "_isFastLaunch": true,
130
+ "category": "General purpose",
131
+ "gpuNum": 0,
132
+ "hideHardwareSpecs": false,
133
+ "memoryGiB": 4,
134
+ "name": "ml.t3.medium",
135
+ "vcpuNum": 2
136
+ },
137
+ {
138
+ "_defaultOrder": 1,
139
+ "_isFastLaunch": false,
140
+ "category": "General purpose",
141
+ "gpuNum": 0,
142
+ "hideHardwareSpecs": false,
143
+ "memoryGiB": 8,
144
+ "name": "ml.t3.large",
145
+ "vcpuNum": 2
146
+ },
147
+ {
148
+ "_defaultOrder": 2,
149
+ "_isFastLaunch": false,
150
+ "category": "General purpose",
151
+ "gpuNum": 0,
152
+ "hideHardwareSpecs": false,
153
+ "memoryGiB": 16,
154
+ "name": "ml.t3.xlarge",
155
+ "vcpuNum": 4
156
+ },
157
+ {
158
+ "_defaultOrder": 3,
159
+ "_isFastLaunch": false,
160
+ "category": "General purpose",
161
+ "gpuNum": 0,
162
+ "hideHardwareSpecs": false,
163
+ "memoryGiB": 32,
164
+ "name": "ml.t3.2xlarge",
165
+ "vcpuNum": 8
166
+ },
167
+ {
168
+ "_defaultOrder": 4,
169
+ "_isFastLaunch": true,
170
+ "category": "General purpose",
171
+ "gpuNum": 0,
172
+ "hideHardwareSpecs": false,
173
+ "memoryGiB": 8,
174
+ "name": "ml.m5.large",
175
+ "vcpuNum": 2
176
+ },
177
+ {
178
+ "_defaultOrder": 5,
179
+ "_isFastLaunch": false,
180
+ "category": "General purpose",
181
+ "gpuNum": 0,
182
+ "hideHardwareSpecs": false,
183
+ "memoryGiB": 16,
184
+ "name": "ml.m5.xlarge",
185
+ "vcpuNum": 4
186
+ },
187
+ {
188
+ "_defaultOrder": 6,
189
+ "_isFastLaunch": false,
190
+ "category": "General purpose",
191
+ "gpuNum": 0,
192
+ "hideHardwareSpecs": false,
193
+ "memoryGiB": 32,
194
+ "name": "ml.m5.2xlarge",
195
+ "vcpuNum": 8
196
+ },
197
+ {
198
+ "_defaultOrder": 7,
199
+ "_isFastLaunch": false,
200
+ "category": "General purpose",
201
+ "gpuNum": 0,
202
+ "hideHardwareSpecs": false,
203
+ "memoryGiB": 64,
204
+ "name": "ml.m5.4xlarge",
205
+ "vcpuNum": 16
206
+ },
207
+ {
208
+ "_defaultOrder": 8,
209
+ "_isFastLaunch": false,
210
+ "category": "General purpose",
211
+ "gpuNum": 0,
212
+ "hideHardwareSpecs": false,
213
+ "memoryGiB": 128,
214
+ "name": "ml.m5.8xlarge",
215
+ "vcpuNum": 32
216
+ },
217
+ {
218
+ "_defaultOrder": 9,
219
+ "_isFastLaunch": false,
220
+ "category": "General purpose",
221
+ "gpuNum": 0,
222
+ "hideHardwareSpecs": false,
223
+ "memoryGiB": 192,
224
+ "name": "ml.m5.12xlarge",
225
+ "vcpuNum": 48
226
+ },
227
+ {
228
+ "_defaultOrder": 10,
229
+ "_isFastLaunch": false,
230
+ "category": "General purpose",
231
+ "gpuNum": 0,
232
+ "hideHardwareSpecs": false,
233
+ "memoryGiB": 256,
234
+ "name": "ml.m5.16xlarge",
235
+ "vcpuNum": 64
236
+ },
237
+ {
238
+ "_defaultOrder": 11,
239
+ "_isFastLaunch": false,
240
+ "category": "General purpose",
241
+ "gpuNum": 0,
242
+ "hideHardwareSpecs": false,
243
+ "memoryGiB": 384,
244
+ "name": "ml.m5.24xlarge",
245
+ "vcpuNum": 96
246
+ },
247
+ {
248
+ "_defaultOrder": 12,
249
+ "_isFastLaunch": false,
250
+ "category": "General purpose",
251
+ "gpuNum": 0,
252
+ "hideHardwareSpecs": false,
253
+ "memoryGiB": 8,
254
+ "name": "ml.m5d.large",
255
+ "vcpuNum": 2
256
+ },
257
+ {
258
+ "_defaultOrder": 13,
259
+ "_isFastLaunch": false,
260
+ "category": "General purpose",
261
+ "gpuNum": 0,
262
+ "hideHardwareSpecs": false,
263
+ "memoryGiB": 16,
264
+ "name": "ml.m5d.xlarge",
265
+ "vcpuNum": 4
266
+ },
267
+ {
268
+ "_defaultOrder": 14,
269
+ "_isFastLaunch": false,
270
+ "category": "General purpose",
271
+ "gpuNum": 0,
272
+ "hideHardwareSpecs": false,
273
+ "memoryGiB": 32,
274
+ "name": "ml.m5d.2xlarge",
275
+ "vcpuNum": 8
276
+ },
277
+ {
278
+ "_defaultOrder": 15,
279
+ "_isFastLaunch": false,
280
+ "category": "General purpose",
281
+ "gpuNum": 0,
282
+ "hideHardwareSpecs": false,
283
+ "memoryGiB": 64,
284
+ "name": "ml.m5d.4xlarge",
285
+ "vcpuNum": 16
286
+ },
287
+ {
288
+ "_defaultOrder": 16,
289
+ "_isFastLaunch": false,
290
+ "category": "General purpose",
291
+ "gpuNum": 0,
292
+ "hideHardwareSpecs": false,
293
+ "memoryGiB": 128,
294
+ "name": "ml.m5d.8xlarge",
295
+ "vcpuNum": 32
296
+ },
297
+ {
298
+ "_defaultOrder": 17,
299
+ "_isFastLaunch": false,
300
+ "category": "General purpose",
301
+ "gpuNum": 0,
302
+ "hideHardwareSpecs": false,
303
+ "memoryGiB": 192,
304
+ "name": "ml.m5d.12xlarge",
305
+ "vcpuNum": 48
306
+ },
307
+ {
308
+ "_defaultOrder": 18,
309
+ "_isFastLaunch": false,
310
+ "category": "General purpose",
311
+ "gpuNum": 0,
312
+ "hideHardwareSpecs": false,
313
+ "memoryGiB": 256,
314
+ "name": "ml.m5d.16xlarge",
315
+ "vcpuNum": 64
316
+ },
317
+ {
318
+ "_defaultOrder": 19,
319
+ "_isFastLaunch": false,
320
+ "category": "General purpose",
321
+ "gpuNum": 0,
322
+ "hideHardwareSpecs": false,
323
+ "memoryGiB": 384,
324
+ "name": "ml.m5d.24xlarge",
325
+ "vcpuNum": 96
326
+ },
327
+ {
328
+ "_defaultOrder": 20,
329
+ "_isFastLaunch": false,
330
+ "category": "General purpose",
331
+ "gpuNum": 0,
332
+ "hideHardwareSpecs": true,
333
+ "memoryGiB": 0,
334
+ "name": "ml.geospatial.interactive",
335
+ "supportedImageNames": [
336
+ "sagemaker-geospatial-v1-0"
337
+ ],
338
+ "vcpuNum": 0
339
+ },
340
+ {
341
+ "_defaultOrder": 21,
342
+ "_isFastLaunch": true,
343
+ "category": "Compute optimized",
344
+ "gpuNum": 0,
345
+ "hideHardwareSpecs": false,
346
+ "memoryGiB": 4,
347
+ "name": "ml.c5.large",
348
+ "vcpuNum": 2
349
+ },
350
+ {
351
+ "_defaultOrder": 22,
352
+ "_isFastLaunch": false,
353
+ "category": "Compute optimized",
354
+ "gpuNum": 0,
355
+ "hideHardwareSpecs": false,
356
+ "memoryGiB": 8,
357
+ "name": "ml.c5.xlarge",
358
+ "vcpuNum": 4
359
+ },
360
+ {
361
+ "_defaultOrder": 23,
362
+ "_isFastLaunch": false,
363
+ "category": "Compute optimized",
364
+ "gpuNum": 0,
365
+ "hideHardwareSpecs": false,
366
+ "memoryGiB": 16,
367
+ "name": "ml.c5.2xlarge",
368
+ "vcpuNum": 8
369
+ },
370
+ {
371
+ "_defaultOrder": 24,
372
+ "_isFastLaunch": false,
373
+ "category": "Compute optimized",
374
+ "gpuNum": 0,
375
+ "hideHardwareSpecs": false,
376
+ "memoryGiB": 32,
377
+ "name": "ml.c5.4xlarge",
378
+ "vcpuNum": 16
379
+ },
380
+ {
381
+ "_defaultOrder": 25,
382
+ "_isFastLaunch": false,
383
+ "category": "Compute optimized",
384
+ "gpuNum": 0,
385
+ "hideHardwareSpecs": false,
386
+ "memoryGiB": 72,
387
+ "name": "ml.c5.9xlarge",
388
+ "vcpuNum": 36
389
+ },
390
+ {
391
+ "_defaultOrder": 26,
392
+ "_isFastLaunch": false,
393
+ "category": "Compute optimized",
394
+ "gpuNum": 0,
395
+ "hideHardwareSpecs": false,
396
+ "memoryGiB": 96,
397
+ "name": "ml.c5.12xlarge",
398
+ "vcpuNum": 48
399
+ },
400
+ {
401
+ "_defaultOrder": 27,
402
+ "_isFastLaunch": false,
403
+ "category": "Compute optimized",
404
+ "gpuNum": 0,
405
+ "hideHardwareSpecs": false,
406
+ "memoryGiB": 144,
407
+ "name": "ml.c5.18xlarge",
408
+ "vcpuNum": 72
409
+ },
410
+ {
411
+ "_defaultOrder": 28,
412
+ "_isFastLaunch": false,
413
+ "category": "Compute optimized",
414
+ "gpuNum": 0,
415
+ "hideHardwareSpecs": false,
416
+ "memoryGiB": 192,
417
+ "name": "ml.c5.24xlarge",
418
+ "vcpuNum": 96
419
+ },
420
+ {
421
+ "_defaultOrder": 29,
422
+ "_isFastLaunch": true,
423
+ "category": "Accelerated computing",
424
+ "gpuNum": 1,
425
+ "hideHardwareSpecs": false,
426
+ "memoryGiB": 16,
427
+ "name": "ml.g4dn.xlarge",
428
+ "vcpuNum": 4
429
+ },
430
+ {
431
+ "_defaultOrder": 30,
432
+ "_isFastLaunch": false,
433
+ "category": "Accelerated computing",
434
+ "gpuNum": 1,
435
+ "hideHardwareSpecs": false,
436
+ "memoryGiB": 32,
437
+ "name": "ml.g4dn.2xlarge",
438
+ "vcpuNum": 8
439
+ },
440
+ {
441
+ "_defaultOrder": 31,
442
+ "_isFastLaunch": false,
443
+ "category": "Accelerated computing",
444
+ "gpuNum": 1,
445
+ "hideHardwareSpecs": false,
446
+ "memoryGiB": 64,
447
+ "name": "ml.g4dn.4xlarge",
448
+ "vcpuNum": 16
449
+ },
450
+ {
451
+ "_defaultOrder": 32,
452
+ "_isFastLaunch": false,
453
+ "category": "Accelerated computing",
454
+ "gpuNum": 1,
455
+ "hideHardwareSpecs": false,
456
+ "memoryGiB": 128,
457
+ "name": "ml.g4dn.8xlarge",
458
+ "vcpuNum": 32
459
+ },
460
+ {
461
+ "_defaultOrder": 33,
462
+ "_isFastLaunch": false,
463
+ "category": "Accelerated computing",
464
+ "gpuNum": 4,
465
+ "hideHardwareSpecs": false,
466
+ "memoryGiB": 192,
467
+ "name": "ml.g4dn.12xlarge",
468
+ "vcpuNum": 48
469
+ },
470
+ {
471
+ "_defaultOrder": 34,
472
+ "_isFastLaunch": false,
473
+ "category": "Accelerated computing",
474
+ "gpuNum": 1,
475
+ "hideHardwareSpecs": false,
476
+ "memoryGiB": 256,
477
+ "name": "ml.g4dn.16xlarge",
478
+ "vcpuNum": 64
479
+ },
480
+ {
481
+ "_defaultOrder": 35,
482
+ "_isFastLaunch": false,
483
+ "category": "Accelerated computing",
484
+ "gpuNum": 1,
485
+ "hideHardwareSpecs": false,
486
+ "memoryGiB": 61,
487
+ "name": "ml.p3.2xlarge",
488
+ "vcpuNum": 8
489
+ },
490
+ {
491
+ "_defaultOrder": 36,
492
+ "_isFastLaunch": false,
493
+ "category": "Accelerated computing",
494
+ "gpuNum": 4,
495
+ "hideHardwareSpecs": false,
496
+ "memoryGiB": 244,
497
+ "name": "ml.p3.8xlarge",
498
+ "vcpuNum": 32
499
+ },
500
+ {
501
+ "_defaultOrder": 37,
502
+ "_isFastLaunch": false,
503
+ "category": "Accelerated computing",
504
+ "gpuNum": 8,
505
+ "hideHardwareSpecs": false,
506
+ "memoryGiB": 488,
507
+ "name": "ml.p3.16xlarge",
508
+ "vcpuNum": 64
509
+ },
510
+ {
511
+ "_defaultOrder": 38,
512
+ "_isFastLaunch": false,
513
+ "category": "Accelerated computing",
514
+ "gpuNum": 8,
515
+ "hideHardwareSpecs": false,
516
+ "memoryGiB": 768,
517
+ "name": "ml.p3dn.24xlarge",
518
+ "vcpuNum": 96
519
+ },
520
+ {
521
+ "_defaultOrder": 39,
522
+ "_isFastLaunch": false,
523
+ "category": "Memory Optimized",
524
+ "gpuNum": 0,
525
+ "hideHardwareSpecs": false,
526
+ "memoryGiB": 16,
527
+ "name": "ml.r5.large",
528
+ "vcpuNum": 2
529
+ },
530
+ {
531
+ "_defaultOrder": 40,
532
+ "_isFastLaunch": false,
533
+ "category": "Memory Optimized",
534
+ "gpuNum": 0,
535
+ "hideHardwareSpecs": false,
536
+ "memoryGiB": 32,
537
+ "name": "ml.r5.xlarge",
538
+ "vcpuNum": 4
539
+ },
540
+ {
541
+ "_defaultOrder": 41,
542
+ "_isFastLaunch": false,
543
+ "category": "Memory Optimized",
544
+ "gpuNum": 0,
545
+ "hideHardwareSpecs": false,
546
+ "memoryGiB": 64,
547
+ "name": "ml.r5.2xlarge",
548
+ "vcpuNum": 8
549
+ },
550
+ {
551
+ "_defaultOrder": 42,
552
+ "_isFastLaunch": false,
553
+ "category": "Memory Optimized",
554
+ "gpuNum": 0,
555
+ "hideHardwareSpecs": false,
556
+ "memoryGiB": 128,
557
+ "name": "ml.r5.4xlarge",
558
+ "vcpuNum": 16
559
+ },
560
+ {
561
+ "_defaultOrder": 43,
562
+ "_isFastLaunch": false,
563
+ "category": "Memory Optimized",
564
+ "gpuNum": 0,
565
+ "hideHardwareSpecs": false,
566
+ "memoryGiB": 256,
567
+ "name": "ml.r5.8xlarge",
568
+ "vcpuNum": 32
569
+ },
570
+ {
571
+ "_defaultOrder": 44,
572
+ "_isFastLaunch": false,
573
+ "category": "Memory Optimized",
574
+ "gpuNum": 0,
575
+ "hideHardwareSpecs": false,
576
+ "memoryGiB": 384,
577
+ "name": "ml.r5.12xlarge",
578
+ "vcpuNum": 48
579
+ },
580
+ {
581
+ "_defaultOrder": 45,
582
+ "_isFastLaunch": false,
583
+ "category": "Memory Optimized",
584
+ "gpuNum": 0,
585
+ "hideHardwareSpecs": false,
586
+ "memoryGiB": 512,
587
+ "name": "ml.r5.16xlarge",
588
+ "vcpuNum": 64
589
+ },
590
+ {
591
+ "_defaultOrder": 46,
592
+ "_isFastLaunch": false,
593
+ "category": "Memory Optimized",
594
+ "gpuNum": 0,
595
+ "hideHardwareSpecs": false,
596
+ "memoryGiB": 768,
597
+ "name": "ml.r5.24xlarge",
598
+ "vcpuNum": 96
599
+ },
600
+ {
601
+ "_defaultOrder": 47,
602
+ "_isFastLaunch": false,
603
+ "category": "Accelerated computing",
604
+ "gpuNum": 1,
605
+ "hideHardwareSpecs": false,
606
+ "memoryGiB": 16,
607
+ "name": "ml.g5.xlarge",
608
+ "vcpuNum": 4
609
+ },
610
+ {
611
+ "_defaultOrder": 48,
612
+ "_isFastLaunch": false,
613
+ "category": "Accelerated computing",
614
+ "gpuNum": 1,
615
+ "hideHardwareSpecs": false,
616
+ "memoryGiB": 32,
617
+ "name": "ml.g5.2xlarge",
618
+ "vcpuNum": 8
619
+ },
620
+ {
621
+ "_defaultOrder": 49,
622
+ "_isFastLaunch": false,
623
+ "category": "Accelerated computing",
624
+ "gpuNum": 1,
625
+ "hideHardwareSpecs": false,
626
+ "memoryGiB": 64,
627
+ "name": "ml.g5.4xlarge",
628
+ "vcpuNum": 16
629
+ },
630
+ {
631
+ "_defaultOrder": 50,
632
+ "_isFastLaunch": false,
633
+ "category": "Accelerated computing",
634
+ "gpuNum": 1,
635
+ "hideHardwareSpecs": false,
636
+ "memoryGiB": 128,
637
+ "name": "ml.g5.8xlarge",
638
+ "vcpuNum": 32
639
+ },
640
+ {
641
+ "_defaultOrder": 51,
642
+ "_isFastLaunch": false,
643
+ "category": "Accelerated computing",
644
+ "gpuNum": 1,
645
+ "hideHardwareSpecs": false,
646
+ "memoryGiB": 256,
647
+ "name": "ml.g5.16xlarge",
648
+ "vcpuNum": 64
649
+ },
650
+ {
651
+ "_defaultOrder": 52,
652
+ "_isFastLaunch": false,
653
+ "category": "Accelerated computing",
654
+ "gpuNum": 4,
655
+ "hideHardwareSpecs": false,
656
+ "memoryGiB": 192,
657
+ "name": "ml.g5.12xlarge",
658
+ "vcpuNum": 48
659
+ },
660
+ {
661
+ "_defaultOrder": 53,
662
+ "_isFastLaunch": false,
663
+ "category": "Accelerated computing",
664
+ "gpuNum": 4,
665
+ "hideHardwareSpecs": false,
666
+ "memoryGiB": 384,
667
+ "name": "ml.g5.24xlarge",
668
+ "vcpuNum": 96
669
+ },
670
+ {
671
+ "_defaultOrder": 54,
672
+ "_isFastLaunch": false,
673
+ "category": "Accelerated computing",
674
+ "gpuNum": 8,
675
+ "hideHardwareSpecs": false,
676
+ "memoryGiB": 768,
677
+ "name": "ml.g5.48xlarge",
678
+ "vcpuNum": 192
679
+ },
680
+ {
681
+ "_defaultOrder": 55,
682
+ "_isFastLaunch": false,
683
+ "category": "Accelerated computing",
684
+ "gpuNum": 8,
685
+ "hideHardwareSpecs": false,
686
+ "memoryGiB": 1152,
687
+ "name": "ml.p4d.24xlarge",
688
+ "vcpuNum": 96
689
+ },
690
+ {
691
+ "_defaultOrder": 56,
692
+ "_isFastLaunch": false,
693
+ "category": "Accelerated computing",
694
+ "gpuNum": 8,
695
+ "hideHardwareSpecs": false,
696
+ "memoryGiB": 1152,
697
+ "name": "ml.p4de.24xlarge",
698
+ "vcpuNum": 96
699
+ },
700
+ {
701
+ "_defaultOrder": 57,
702
+ "_isFastLaunch": false,
703
+ "category": "Accelerated computing",
704
+ "gpuNum": 0,
705
+ "hideHardwareSpecs": false,
706
+ "memoryGiB": 32,
707
+ "name": "ml.trn1.2xlarge",
708
+ "vcpuNum": 8
709
+ },
710
+ {
711
+ "_defaultOrder": 58,
712
+ "_isFastLaunch": false,
713
+ "category": "Accelerated computing",
714
+ "gpuNum": 0,
715
+ "hideHardwareSpecs": false,
716
+ "memoryGiB": 512,
717
+ "name": "ml.trn1.32xlarge",
718
+ "vcpuNum": 128
719
+ },
720
+ {
721
+ "_defaultOrder": 59,
722
+ "_isFastLaunch": false,
723
+ "category": "Accelerated computing",
724
+ "gpuNum": 0,
725
+ "hideHardwareSpecs": false,
726
+ "memoryGiB": 512,
727
+ "name": "ml.trn1n.32xlarge",
728
+ "vcpuNum": 128
729
+ }
730
+ ],
731
+ "instance_type": "ml.m5.large",
732
+ "kernelspec": {
733
+ "display_name": "Python 3 (Data Science)",
734
+ "language": "python",
735
+ "name": "python3__SAGEMAKER_INTERNAL__arn:aws:sagemaker:eu-west-1:470317259841:image/datascience-1.0"
736
+ },
737
+ "language_info": {
738
+ "codemirror_mode": {
739
+ "name": "ipython",
740
+ "version": 3
741
+ },
742
+ "file_extension": ".py",
743
+ "mimetype": "text/x-python",
744
+ "name": "python",
745
+ "nbconvert_exporter": "python",
746
+ "pygments_lexer": "ipython3",
747
+ "version": "3.7.10"
748
+ }
749
+ },
750
+ "nbformat": 4,
751
+ "nbformat_minor": 4
752
+ }
screenshot.png ADDED