Skip to content

Commit

Permalink
Updates dependencies -- PyTorch -> 2.1, TorchVision and PIL to follow
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesfrye committed Nov 23, 2023
1 parent 25a72b8 commit 6409b27
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions notebooks/lab99_colab_testing.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"colab_type": "text"
},
"source": [
"<a href=\"https://colab.research.google.com/github/the-full-stack/fsdl-text-recognizer-2022/blob/update%2Fcolab-3.10/notebooks/lab99_colab_testing.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
"<a href=\"https://colab.research.google.com/github/the-full-stack/fsdl-text-recognizer-2022/blob/main/notebooks/lab99_colab_testing.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
]
},
{
Expand Down Expand Up @@ -148,7 +148,7 @@
"source": [
"import torch\n",
"\n",
"assert \"2.0.\" in torch.__version__, torch.__version__\n",
"assert \"2.1.\" in torch.__version__, torch.__version__\n",
"assert \"cu118\" in torch.__version__, torch.__version__\n",
"torch.__version__"
],
Expand Down Expand Up @@ -188,7 +188,7 @@
"source": [
"import torchvision\n",
"\n",
"assert \"0.15.\" in torchvision.__version__, torchvision.__version__\n",
"assert \"0.16.\" in torchvision.__version__, torchvision.__version__\n",
"assert \"cu118\" in torchvision.__version__, torchvision.__version__\n",
"torchvision.__version__"
],
Expand All @@ -203,7 +203,7 @@
"source": [
"import PIL\n",
"\n",
"assert \"8.4.\" in PIL.__version__, PIL.__version__\n",
"assert \"9.4.\" in PIL.__version__, PIL.__version__\n",
"PIL.__version__"
],
"metadata": {
Expand Down Expand Up @@ -256,9 +256,9 @@
"gradio==3.0.21\n",
"# versioned to match Google Colab up to minor\n",
"Jinja2>=3.1,<3.2\n",
"pillow>=8.4,<8.5\n",
"torch>=2.0,<2.1\n",
"torchvision>=0.15,<0.16\n",
"pillow>=9.4,<9.5\n",
"torch>=2.1,<2.2\n",
"torchvision>=0.16,<0.17\n",
"# versioned to avoid breaking change in minor version update\n",
"markupsafe<2.1"
],
Expand Down

0 comments on commit 6409b27

Please sign in to comment.