We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c87474b + 80c250c commit bd84150Copy full SHA for bd84150
extras/exercises/09_pytorch_model_deployment_exercises.ipynb
@@ -71,7 +71,7 @@
71
"try:\n",
72
" import torch\n",
73
" import torchvision\n",
74
- " assert int(torch.__version__.split(\".\")[1]) >= 12, \"torch version should be 1.12+\"\n",
+ " assert int(torch.__version__.split(\".\")[1]) >= 12 or int(torch.__version__.split(\".\")[0]) > 1, \"torch version should be 1.12+\"\n",
75
" assert int(torchvision.__version__.split(\".\")[1]) >= 13, \"torchvision version should be 0.13+\"\n",
76
" print(f\"torch version: {torch.__version__}\")\n",
77
" print(f\"torchvision version: {torchvision.__version__}\")\n",
0 commit comments