File tree Expand file tree Collapse file tree 2 files changed +38
-0
lines changed
sagemaker_neo_compilation_jobs Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change 23
23
" !~/anaconda3/envs/pytorch_p36/bin/pip install torch==1.4.0 torchvision==0.5.0"
24
24
]
25
25
},
26
+ {
27
+ "cell_type" : " markdown" ,
28
+ "metadata" : {},
29
+ "source" : [
30
+ " ### SageMaker SDK >= 2.0 is required for this notebook"
31
+ ]
32
+ },
26
33
{
27
34
"cell_type" : " code" ,
28
35
"execution_count" : null ,
32
39
" !~/anaconda3/envs/pytorch_p36/bin/pip install --upgrade sagemaker"
33
40
]
34
41
},
42
+ {
43
+ "cell_type" : " code" ,
44
+ "execution_count" : null ,
45
+ "metadata" : {},
46
+ "outputs" : [],
47
+ "source" : [
48
+ " import sagemaker\n " ,
49
+ " current_version = sagemaker.__version__\n " ,
50
+ " if current_version.split('.')[0] == '1':\n " ,
51
+ " raise Exception(\" Please upgrade SageMaker SDK by running the above code cell and restart the kernel\" )"
52
+ ]
53
+ },
35
54
{
36
55
"cell_type" : " markdown" ,
37
56
"metadata" : {},
Original file line number Diff line number Diff line change 27
27
" !~/anaconda3/envs/pytorch_p36/bin/pip install torch==1.4.0 torchvision==0.5.0"
28
28
]
29
29
},
30
+ {
31
+ "cell_type" : " markdown" ,
32
+ "metadata" : {},
33
+ "source" : [
34
+ " ### SageMaker SDK >= 2.0 is required for this notebook"
35
+ ]
36
+ },
30
37
{
31
38
"cell_type" : " code" ,
32
39
"execution_count" : null ,
36
43
" !~/anaconda3/envs/pytorch_p36/bin/pip install --upgrade sagemaker"
37
44
]
38
45
},
46
+ {
47
+ "cell_type" : " code" ,
48
+ "execution_count" : null ,
49
+ "metadata" : {},
50
+ "outputs" : [],
51
+ "source" : [
52
+ " import sagemaker\n " ,
53
+ " current_version = sagemaker.__version__\n " ,
54
+ " if current_version.split('.')[0] == '1':\n " ,
55
+ " raise Exception(\" Please upgrade SageMaker SDK by running the above code cell and restart the kernel\" )"
56
+ ]
57
+ },
39
58
{
40
59
"cell_type" : " markdown" ,
41
60
"metadata" : {},
You can’t perform that action at this time.
0 commit comments