MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.27k stars 21.45k forks source link

Update the torch and torchvision versions in the Doc #80322

Open blueviggen opened 3 years ago

blueviggen commented 3 years ago

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.

psmanhas commented 3 years ago

@blueviggen Thank you for the feedback. We will work on it and will keep you updated on the thread

MayankBargali-MSFT commented 3 years ago

@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.

ggailey777 commented 2 years ago

reassign:stefanushinardi

PRMerger16 commented 2 years ago

GitHub user gvashishtha has been removed from the MicrosoftDocs organization, so they were automatically removed as an assignee.

ggailey777 commented 2 years ago

assign:ggailey777

vmagelo commented 1 year ago

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.