Skip to content

Commit

Permalink
setup updated
Browse files Browse the repository at this point in the history
  • Loading branch information
antje committed Jan 15, 2021
1 parent da6d6f1 commit 679b89e
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 36 deletions.
39 changes: 25 additions & 14 deletions 01_setup/01_Setup_Dependencies.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"outputs": [],
"source": [
"!pip install -q pip --upgrade\n",
"!pip install -q wrapt --upgrade --ignore-installed"
"!pip install -q wrapt --upgrade"
]
},
{
Expand All @@ -70,8 +70,7 @@
"metadata": {},
"outputs": [],
"source": [
"!pip install -q awscli==1.18.205\n",
"!pip install -q boto3==1.16.45"
"!pip install -q awscli==1.18.216 boto3==1.16.56 botocore==1.19.56"
]
},
{
Expand All @@ -87,7 +86,7 @@
"metadata": {},
"outputs": [],
"source": [
"!pip install -q sagemaker==2.23.1\n",
"!pip install -q sagemaker==2.23.4.post0\n",
"!pip install -q smdebug==1.0.1\n",
"!pip install -q sagemaker-experiments==0.1.25"
]
Expand Down Expand Up @@ -153,8 +152,10 @@
"metadata": {},
"outputs": [],
"source": [
"!pip install -q torchserve==0.2.0\n",
"!pip install -q torch-model-archiver==0.2.0"
"#!pip install -q torchserve==0.2.0\n",
"!pip install -q torchserve==0.3.0\n",
"#!pip install -q torch-model-archiver==0.2.0\n",
"!pip install -q torch-model-archiver==0.3.0"
]
},
{
Expand All @@ -170,7 +171,8 @@
"metadata": {},
"outputs": [],
"source": [
"!pip install -q PyAthena==2.0.0"
"#!pip install -q PyAthena==2.0.0\n",
"!pip install -q PyAthena==2.1.0"
]
},
{
Expand All @@ -186,7 +188,8 @@
"metadata": {},
"outputs": [],
"source": [
"!pip install -q SQLAlchemy==1.3.20"
"#!pip install -q SQLAlchemy==1.3.20\n",
"!pip install -q SQLAlchemy==1.3.22"
]
},
{
Expand All @@ -202,7 +205,8 @@
"metadata": {},
"outputs": [],
"source": [
"!pip install -q awswrangler==2.0.1"
"#!pip install -q awswrangler==2.0.1\n",
"!pip install -q awswrangler==2.3.0"
]
},
{
Expand Down Expand Up @@ -289,16 +293,23 @@
"outputs": [],
"source": [
"%%javascript\n",
"Jupyter.notebook.save_checkpoint();\n",
"Jupyter.notebook.session.delete();"
"\n",
"try {\n",
" Jupyter.notebook.save_checkpoint();\n",
" Jupyter.notebook.session.delete();\n",
"}\n",
"catch(err) {\n",
" // NoOp\n",
"}"
]
}
],
"metadata": {
"instance_type": "ml.t3.medium",
"kernelspec": {
"display_name": "conda_python3",
"display_name": "Python 3 (Data Science)",
"language": "python",
"name": "conda_python3"
"name": "python3__SAGEMAKER_INTERNAL__arn:aws:sagemaker:us-east-1:081325390199:image/datascience-1.0"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -310,7 +321,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.10"
"version": "3.7.6"
}
},
"nbformat": 4,
Expand Down
17 changes: 12 additions & 5 deletions 01_setup/02_Check_Notebook_Instance.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -226,16 +226,23 @@
"outputs": [],
"source": [
"%%javascript\n",
"Jupyter.notebook.save_checkpoint();\n",
"Jupyter.notebook.session.delete();"
"\n",
"try {\n",
" Jupyter.notebook.save_checkpoint();\n",
" Jupyter.notebook.session.delete();\n",
"}\n",
"catch(err) {\n",
" // NoOp\n",
"}"
]
}
],
"metadata": {
"instance_type": "ml.t3.medium",
"kernelspec": {
"display_name": "conda_python3",
"display_name": "Python 3 (Data Science)",
"language": "python",
"name": "conda_python3"
"name": "python3__SAGEMAKER_INTERNAL__arn:aws:sagemaker:us-east-1:081325390199:image/datascience-1.0"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -247,7 +254,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.10"
"version": "3.7.6"
}
},
"nbformat": 4,
Expand Down
24 changes: 12 additions & 12 deletions 01_setup/03_Create_S3_Bucket.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -110,23 +110,23 @@
"outputs": [],
"source": [
"%%javascript\n",
"Jupyter.notebook.save_checkpoint();\n",
"Jupyter.notebook.session.delete();"
"\n",
"try {\n",
" Jupyter.notebook.save_checkpoint();\n",
" Jupyter.notebook.session.delete();\n",
"}\n",
"catch(err) {\n",
" // NoOp\n",
"}"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"instance_type": "ml.t3.medium",
"kernelspec": {
"display_name": "conda_python3",
"display_name": "Python 3 (Data Science)",
"language": "python",
"name": "conda_python3"
"name": "python3__SAGEMAKER_INTERNAL__arn:aws:sagemaker:us-east-1:081325390199:image/datascience-1.0"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -138,7 +138,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.10"
"version": "3.7.6"
}
},
"nbformat": 4,
Expand Down
17 changes: 12 additions & 5 deletions 01_setup/04_Update_IAM_Roles_And_Policies.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -529,16 +529,23 @@
"outputs": [],
"source": [
"%%javascript\n",
"Jupyter.notebook.save_checkpoint();\n",
"Jupyter.notebook.session.delete();"
"\n",
"try {\n",
" Jupyter.notebook.save_checkpoint();\n",
" Jupyter.notebook.session.delete();\n",
"}\n",
"catch(err) {\n",
" // NoOp\n",
"}"
]
}
],
"metadata": {
"instance_type": "ml.t3.medium",
"kernelspec": {
"display_name": "conda_python3",
"display_name": "Python 3 (Data Science)",
"language": "python",
"name": "conda_python3"
"name": "python3__SAGEMAKER_INTERNAL__arn:aws:sagemaker:us-east-1:081325390199:image/datascience-1.0"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -550,7 +557,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.10"
"version": "3.7.6"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 679b89e

Please sign in to comment.