Skip to content

Commit

Permalink
updates environment to match Colab update
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesfrye committed Dec 21, 2022
1 parent edf1435 commit 6990a51
Show file tree
Hide file tree
Showing 10 changed files with 134 additions and 134 deletions.
4 changes: 2 additions & 2 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ channels:
- defaults
- conda-forge
dependencies:
- python=3.7 # versioned to match Google Colab # version also pinned in Dockerfile
- cudatoolkit=11.3.1
- python=3.8 # versioned to match Google Colab # version also pinned in Dockerfile
- cudatoolkit=11.6
- cudnn=8.3.2
- pip=21.1.3 # versioned to match Google Colab # version also pinned in Dockerfile
2 changes: 1 addition & 1 deletion lab07/api_serverless/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Starting from an official AWS image
# Keep any dependencies and versions in this file aligned with the environment.yml and Makefile
FROM public.ecr.aws/lambda/python:3.7
FROM public.ecr.aws/lambda/python:3.8

# Install Python dependencies
COPY requirements/prod.txt ./requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion lab07/app_gradio/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# The "buster" flavor of the official docker Python image is based on Debian and includes common packages.
# Keep any dependencies and versions in this file aligned with the environment.yml and Makefile
FROM python:3.7-buster
FROM python:3.8-buster

# Create the working directory
# set -x prints commands and set -e causes us to stop on errors
Expand Down
2 changes: 1 addition & 1 deletion lab08/api_serverless/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Starting from an official AWS image
# Keep any dependencies and versions in this file aligned with the environment.yml and Makefile
FROM public.ecr.aws/lambda/python:3.7
FROM public.ecr.aws/lambda/python:3.8

# Install Python dependencies
COPY requirements/prod.txt ./requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion lab08/app_gradio/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# The "buster" flavor of the official docker Python image is based on Debian and includes common packages.
# Keep any dependencies and versions in this file aligned with the environment.yml and Makefile
FROM python:3.7-buster
FROM python:3.8-buster

# Create the working directory
# set -x prints commands and set -e causes us to stop on errors
Expand Down
2 changes: 1 addition & 1 deletion requirements/dev.in
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pytest==7.1.1
pytest-cov==3.0.0
# versioned to match Google Colab
seaborn>=0.11,<0.12
tornado>=5.1,<5.2
tornado>=6.0,<6.1
# versioned to improve stability
pytorch-lightning==1.6.3
torchmetrics<0.8
Expand Down
97 changes: 50 additions & 47 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
@@ -1,28 +1,24 @@
#
# This file is autogenerated by pip-compile with python 3.7
# This file is autogenerated by pip-compile with python 3.8
# To update, run:
#
# pip-compile requirements/dev.in
#
absl-py==1.0.0
# via tensorboard
aiohttp==3.8.1
aiohttp==3.8.3
# via
# -c requirements/prod.txt
# fsspec
aiosignal==1.2.0
aiosignal==1.3.1
# via
# -c requirements/prod.txt
# aiohttp
async-timeout==4.0.2
# via
# -c requirements/prod.txt
# aiohttp
asynctest==0.13.0
# via
# -c requirements/prod.txt
# aiohttp
attrs==21.4.0
attrs==22.1.0
# via
# -c requirements/prod.txt
# aiohttp
Expand All @@ -38,19 +34,19 @@ cachetools==4.2.4
# via
# -c requirements/prod.txt
# google-auth
certifi==2021.10.8
certifi==2022.12.7
# via
# -c requirements/prod.txt
# requests
# sentry-sdk
cfgv==3.3.1
# via pre-commit
charset-normalizer==2.0.12
charset-normalizer==2.1.1
# via
# -c requirements/prod.txt
# aiohttp
# requests
click==8.1.2
click==8.1.3
# via
# -c requirements/prod.txt
# nltk
Expand Down Expand Up @@ -79,16 +75,16 @@ fastjsonschema==2.15.3
# via nbformat
filelock==3.7.0
# via virtualenv
fonttools==4.33.3
fonttools==4.38.0
# via
# -c requirements/prod.txt
# matplotlib
frozenlist==1.3.0
frozenlist==1.3.3
# via
# -c requirements/prod.txt
# aiohttp
# aiosignal
fsspec[http]==2022.5.0
fsspec[http]==2022.11.0
# via
# -c requirements/prod.txt
# pytorch-lightning
Expand All @@ -106,21 +102,15 @@ grpcio==1.44.0
# via tensorboard
identify==2.5.1
# via pre-commit
idna==3.3
idna==3.4
# via
# -c requirements/prod.txt
# requests
# yarl
importlib-metadata==4.11.3
importlib-metadata==5.2.0
# via
# -c requirements/prod.txt
# click
# jsonschema
# markdown
# pluggy
# pre-commit
# pytest
# virtualenv
importlib-resources==5.7.0
# via jsonschema
iniconfig==1.1.1
Expand Down Expand Up @@ -164,7 +154,7 @@ jupyter-core==4.9.2
# notebook
jupyterlab-widgets==1.1.1
# via ipywidgets
kiwisolver==1.4.2
kiwisolver==1.4.4
# via
# -c requirements/prod.txt
# matplotlib
Expand All @@ -174,7 +164,7 @@ markupsafe==2.0.1
# via
# -c requirements/prod.txt
# jinja2
matplotlib==3.5.2
matplotlib==3.5.3
# via
# -c requirements/prod.txt
# -r requirements/dev.in
Expand All @@ -184,7 +174,7 @@ matplotlib-inline==0.1.3
# via ipython
mistune==0.8.4
# via nbconvert
multidict==6.0.2
multidict==6.0.3
# via
# -c requirements/prod.txt
# aiohttp
Expand Down Expand Up @@ -214,9 +204,26 @@ numpy==1.21.6
# seaborn
# tensorboard
# torchmetrics
nvidia-cublas-cu11==11.10.3.66
# via
# -c requirements/prod.txt
# nvidia-cudnn-cu11
# torch
nvidia-cuda-nvrtc-cu11==11.7.99
# via
# -c requirements/prod.txt
# torch
nvidia-cuda-runtime-cu11==11.7.99
# via
# -c requirements/prod.txt
# torch
nvidia-cudnn-cu11==8.5.0.96
# via
# -c requirements/prod.txt
# torch
oauthlib==3.2.0
# via requests-oauthlib
packaging==21.3
packaging==22.0
# via
# -c requirements/prod.txt
# matplotlib
Expand Down Expand Up @@ -281,7 +288,6 @@ pyparsing==3.0.9
# via
# -c requirements/prod.txt
# matplotlib
# packaging
pyrsistent==0.18.1
# via jsonschema
pytest==7.1.1
Expand All @@ -290,7 +296,7 @@ pytest==7.1.1
# pytest-cov
pytest-cov==3.0.0
# via -r requirements/dev.in
python-dateutil==2.8.1
python-dateutil==2.8.2
# via
# -c requirements/prod.txt
# jupyter-client
Expand All @@ -299,7 +305,7 @@ python-dateutil==2.8.1
# wandb
pytorch-lightning==1.6.3
# via -r requirements/dev.in
pytz==2022.1
pytz==2022.7
# via
# -c requirements/prod.txt
# pandas
Expand All @@ -311,11 +317,11 @@ pyyaml==6.0
# wandb
pyzmq==22.3.0
# via jupyter-client
regex==2022.3.2
regex==2022.10.31
# via
# -c requirements/prod.txt
# nltk
requests==2.27.1
requests==2.28.1
# via
# -c requirements/prod.txt
# fsspec
Expand Down Expand Up @@ -373,7 +379,7 @@ tomli==2.0.1
# via
# coverage
# pytest
torch==1.12.0
torch==1.13.1
# via
# -c requirements/prod.txt
# pytorch-lightning
Expand All @@ -382,14 +388,14 @@ torchmetrics==0.7.3
# via
# -r requirements/dev.in
# pytorch-lightning
tornado==5.1.1
tornado==6.0.4
# via
# -r requirements/dev.in
# ipykernel
# jupyter-client
# notebook
# terminado
tqdm==4.64.0
tqdm==4.64.1
# via
# -c requirements/prod.txt
# nltk
Expand All @@ -405,19 +411,12 @@ traitlets==5.1.1
# nbconvert
# nbformat
# notebook
typing-extensions==4.1.1
typing-extensions==4.4.0
# via
# -c requirements/prod.txt
# aiohttp
# async-timeout
# gitpython
# importlib-metadata
# jsonschema
# kiwisolver
# pytorch-lightning
# torch
# yarl
urllib3==1.26.9
urllib3==1.26.13
# via
# -c requirements/prod.txt
# requests
Expand All @@ -432,15 +431,19 @@ webencodings==0.5.1
# via bleach
werkzeug==2.1.2
# via tensorboard
wheel==0.37.1
# via tensorboard
wheel==0.38.4
# via
# -c requirements/prod.txt
# nvidia-cublas-cu11
# nvidia-cuda-runtime-cu11
# tensorboard
widgetsnbextension==3.6.1
# via ipywidgets
yarl==1.7.2
yarl==1.8.2
# via
# -c requirements/prod.txt
# aiohttp
zipp==3.8.0
zipp==3.11.0
# via
# -c requirements/prod.txt
# importlib-metadata
Expand Down
4 changes: 2 additions & 2 deletions requirements/prod.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ gradio==3.0.21
# versioned to match Google Colab up to minor
Jinja2>=2.11,<2.12
pillow<7.2
torch>=1.12,<1.13
torchvision>=0.13
torch>=1.13,<1.14
torchvision>=0.14,<0.15
# versioned to avoid breaking change in minor version update
markupsafe<2.1
Loading

0 comments on commit 6990a51

Please sign in to comment.