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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[compatibility] support torch 2.2 #5875

Merged
merged 2 commits into from
Jul 4, 2024

Conversation

GuangyaoZhang
Copy link
Contributor

@GuangyaoZhang GuangyaoZhang commented Jul 1, 2024

馃搶 Checklist before creating the PR

  • I have created an issue for this PR for traceability
  • The title follows the standard format: [doc/gemini/tensor/...]: A concise description
  • I have added relevant tags if possible for us to better distinguish different PRs
  • I have installed pre-commit: pip install pre-commit && pre-commit install

馃毃 Issue number

resolved #5869

馃摑 What does this PR do?

support torch 2.2 . The torch 2.2 changed some Exception type.

馃挜 Checklist before requesting a review

  • I have linked my PR to an issue (instruction)
  • My issue clearly describes the problem/feature/proposal, with diagrams/charts/table/code if possible
  • I have performed a self-review of my code
  • I have added thorough tests.
  • I have added docstrings for all the functions/methods I implemented

猸愶笍 Do you enjoy contributing to Colossal-AI?

  • 馃対 Yes, I do.
  • 馃寶 No, I don't.

Tell us more if you don't enjoy contributing to Colossal-AI.

@GuangyaoZhang GuangyaoZhang force-pushed the torch222 branch 2 times, most recently from 153b34e to ebcd132 Compare July 1, 2024 09:56
@GuangyaoZhang GuangyaoZhang changed the title Support Pytorch 2.2.2 [Draft]Support Pytorch 2.2.2 Jul 1, 2024
@GuangyaoZhang GuangyaoZhang marked this pull request as ready for review July 1, 2024 09:57
@GuangyaoZhang GuangyaoZhang requested a review from a team as a code owner July 1, 2024 09:57
@GuangyaoZhang GuangyaoZhang force-pushed the torch222 branch 3 times, most recently from 04ba595 to ad6d156 Compare July 1, 2024 10:11
@GuangyaoZhang GuangyaoZhang changed the title [Draft]Support Pytorch 2.2.2 [compatibility] support torch 2.2 Jul 3, 2024
@ver217 ver217 changed the base branch from main to misc/torch-compatibility July 3, 2024 02:42
@@ -89,7 +89,7 @@ jobs:
if: needs.detect.outputs.anyLibraryFileChanged == 'true'
runs-on: [self-hosted, gpu]
container:
image: hpcaitech/pytorch-cuda:2.1.0-12.1.0
image: hpcaitech/pytorch-cuda:2.2.2-12.1.0
Copy link
Member

Choose a reason for hiding this comment

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

Please keep this and update .compatibility

@ver217 ver217 merged commit bbe62f5 into hpcaitech:misc/torch-compatibility Jul 4, 2024
4 checks passed
ver217 pushed a commit that referenced this pull request Jul 15, 2024
* Support Pytorch 2.2.2

* keep build_on_pr file and update .compatibility
ver217 pushed a commit that referenced this pull request Jul 16, 2024
* Support Pytorch 2.2.2

* keep build_on_pr file and update .compatibility
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.

[compatibility] support torch 2.2
3 participants