Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to PyTorch 1.13 #1980

Merged
merged 23 commits into from
Nov 21, 2022
Merged

Upgrade to PyTorch 1.13 #1980

merged 23 commits into from
Nov 21, 2022

Conversation

agunapal
Copy link
Collaborator

@agunapal agunapal commented Nov 17, 2022

Description

Upgrading PyTorch version to 1.13

  • Added github actions for regression tests for CPU & GPU

Fixes #(issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

Feature/Issue validation/testing

Please describe the Unit or Integration tests that you ran to verify your changes and relevant result summary. Provide instructions so it can be reproduced.
Please also list any relevant details for your test configuration.

Checklist:

  • Did you have fun?
  • Have you added tests that prove your fix is effective or that this feature works?
  • Has code been commented, particularly in hard-to-understand areas?
  • Have you made corresponding changes to the documentation?

@agunapal agunapal changed the title Upgrade to PyTorch 1.13 (WIP) Upgrade to PyTorch 1.13 Nov 17, 2022
@codecov
Copy link

codecov bot commented Nov 17, 2022

Codecov Report

Merging #1980 (23fb33b) into master (36a8cb8) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1980   +/-   ##
=======================================
  Coverage   53.31%   53.31%           
=======================================
  Files          70       70           
  Lines        3157     3157           
  Branches       56       56           
=======================================
  Hits         1683     1683           
  Misses       1474     1474           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Collaborator

@lxning lxning left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

benchmark also needs add cu117

elif [ $CUDA_VERSION == "cu111" ];
then
BASE_IMAGE="nvidia/cuda:11.1.1-cudnn8-runtime-ubuntu18.04"
BASE_IMAGE="nvidia/cuda:11.1.1-cudnn8-runtime-ubuntu20.04"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NVIDIA doesn't always name their containers consistently, need to manually verify each one of these and make sure they exist

docker/build_image.sh Outdated Show resolved Hide resolved
if hw == 'gpu':
cmd = 'python ts_scripts/install_dependencies.py --environment dev --cuda cu102'
if hw == "gpu":
cmd = "python ts_scripts/install_dependencies.py --environment dev --cuda cu117"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed default CUDA version for benchmarking to CUDA 11.7 @lxning

@agunapal agunapal changed the title (WIP) Upgrade to PyTorch 1.13 Upgrade to PyTorch 1.13 Nov 21, 2022
@agunapal agunapal merged commit 4fd6397 into master Nov 21, 2022
@agunapal agunapal deleted the upgrade_pytorch_113 branch November 9, 2023 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants