Open blueviggen opened 3 years ago
@blueviggen Thank you for the feedback. We will work on it and will keep you updated on the thread
@blueviggen Thanks for the feedback! As the document is based on the sample : https://github.com/Azure-Samples/functions-python-pytorch-tutorial and I do see that it is not using the latest torch and torchvision as per the sample. There could be chances that the new version may break the existing functionallity. I have assigned the issue to the content author to investigate further and update the document as appropriate.
GitHub user gvashishtha has been removed from the MicrosoftDocs organization, so they were automatically removed as an assignee.
I tried a number of combinations of torch/torchvision - always keeping the version relationship between the two as shown in the table here (https://github.com/pytorch/vision#installation) - and they all worked. Going to update the article sample to the latest torch==1.13.0 and torchvision==0.14.0. The requirements.txt (https://github.com/Azure-Samples/functions-python-pytorch-tutorial/blob/master/end/requirements.txt) should probably be updated as well. Create a PR https://github.com/Azure-Samples/functions-python-pytorch-tutorial/pull/4.
The torch and torchvision versions for start/requirements.txt are outdated.
As of August 29, 2021, the latest versions are as follows:
azure-functions requests -f https://download.pytorch.org/whl/torch_stable.html torch==1.9.0+cpu torchvision==0.10.0+cpu
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.