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

remove legacy cross() usage #20

Closed
wants to merge 1 commit into from
Closed

Conversation

jeongseok-meta
Copy link
Contributor

Summary:
Fix legacy cross usage. Future cross() call must have explicit dim parameter.

Currently it has warning:

Warning: Using torch.cross without specifying the dim arg is deprecated.
Please either pass the dim explicitly or simply use torch.linalg.cross.
The default value of dim will change to agree with that of linalg.cross in a future release. (function operator())

Reviewed By: yutingye

Differential Revision: D58848086

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Meta Open Source bot. fb-exported labels Jun 20, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D58848086

Summary:
Pull Request resolved: #20

Fix legacy cross usage. Future cross() call must have explicit dim parameter.

Currently it has warning:
```
Warning: Using torch.cross without specifying the dim arg is deprecated.
Please either pass the dim explicitly or simply use torch.linalg.cross.
The default value of dim will change to agree with that of linalg.cross in a future release. (function operator())
```

Reviewed By: yutingye

Differential Revision: D58848086
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D58848086

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in f832c35.

@jeongseok-meta jeongseok-meta deleted the export-D58848086 branch June 22, 2024 01:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants