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

Align diopiStd with camb, torch_cuda, ascend for >=torch2.0 #1320

Merged

Conversation

DoorKickers
Copy link
Contributor

@DoorKickers DoorKickers commented Jul 29, 2024

Motivation and Context

torch.std has updated version since torch2.0, the changes is from

torch.std(input, dim, unbiased, keepdim=False, out=None)

to

torch.std(input, dim=None, correction=1, keepdim=False, out=None)

this pr is to update DIOPI related to support this new feature

Description

Use cases (Optional)

BC-breaking (Optional)

Checklist

Before PR:

  • I have read and followed the workflow indicated in the Contributors.md to create this PR.
  • Pre-commit or linting tools indicated in Contributors.md are used to fix the potential lint issues.
  • Bug fixes are covered by unit tests, the case that causes the bug should be added in the unit tests.
  • New functionalities are covered by complete unit tests. If not, please add more unit test to ensure the correctness.
  • The documentation has been modified accordingly, including docstring or example tutorials.

After PR:

  • CLA has been signed and all committers have signed the CLA in this PR.

@DoorKickers DoorKickers changed the title Align diopiStd with camb, torch_cuda, ascend Align diopiStd with camb, torch_cuda, ascend for >=torch2.0 Jul 30, 2024
@yangbofun yangbofun merged commit 65930a5 into DeepLink-org:main Aug 2, 2024
17 checks passed
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