-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Reduce some ambiguity in Tensor #92266
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/92266
Note: Links to docs will display an error until the docs builds have been completed. ⏳ No Failures, 2 PendingAs of commit 961ec6f: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
This pull request was exported from Phabricator. Differential Revision: D42538675 |
This pull request was exported from Phabricator. Differential Revision: D42538675 |
Summary: Pull Request resolved: pytorch#92266 A lot of other libraries have their own `xyz::Tensor` data structure. Under some rare cases, when they interop with torch, there will be compilation error such as ``` torch/csrc/api/include/torch/data/samplers/random.h(49): error: "Tensor" is ambiguous ``` Making some of the `Tensor` namespace clear will resolve this. Test Plan: CI Differential Revision: D42538675 fbshipit-source-id: f9a65c5b180a5b1789ad1c90496ab7d980556c27
7c0ff2f
to
d1a23ef
Compare
/easycla |
2 similar comments
/easycla |
/easycla |
This pull request was exported from Phabricator. Differential Revision: D42538675 |
d1a23ef
to
a2a5d65
Compare
Summary: Pull Request resolved: pytorch#92266 A lot of other libraries have their own `xyz::Tensor` data structure. Under some rare cases, when they interop with torch, there will be compilation error such as ``` torch/csrc/api/include/torch/data/samplers/random.h(49): error: "Tensor" is ambiguous ``` Making some of the `Tensor` namespace clear will resolve this. Test Plan: CI Reviewed By: malfet Differential Revision: D42538675 fbshipit-source-id: ea9599381c154b0bc1761cc9338cb3751a1e789b
This pull request was exported from Phabricator. Differential Revision: D42538675 |
Summary: Pull Request resolved: pytorch#92266 A lot of other libraries have their own `xyz::Tensor` data structure. Under some rare cases, when they interop with torch, there will be compilation error such as ``` torch/csrc/api/include/torch/data/samplers/random.h(49): error: "Tensor" is ambiguous ``` Making some of the `Tensor` namespace clear will resolve this. ignore-github-export-checks Test Plan: CI Reviewed By: malfet Differential Revision: D42538675 fbshipit-source-id: 4194fa8cfa20b5d5cb4c4c14f921e7a27c526218
a2a5d65
to
edf28f2
Compare
Summary: Pull Request resolved: pytorch#92266 A lot of other libraries have their own `xyz::Tensor` data structure. Under some rare cases, when they interop with torch, there will be compilation error such as ``` torch/csrc/api/include/torch/data/samplers/random.h(49): error: "Tensor" is ambiguous ``` Making some of the `Tensor` namespace clear will resolve this. ignore-github-export-checks Test Plan: CI Reviewed By: malfet Differential Revision: D42538675 fbshipit-source-id: 3bb47ad0d8e1d510f9e5d9a31b48ac3a2e257f9c
edf28f2
to
961ec6f
Compare
This pull request was exported from Phabricator. Differential Revision: D42538675 |
@pytorchbot merge (Initiating merge automatically since Phabricator Diff has merged) |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Summary:
A lot of other libraries have their own
xyz::Tensor
data structure. Under some rare cases, when they interop with torch, there will be compilation error such asMaking some of the
Tensor
namespace clear will resolve this.Test Plan: CI
Differential Revision: D42538675