Skip to content

Use xplat/caffe2:ovrsource_aten_Config.h for arvr build modes #9462

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

Merged
merged 1 commit into from
Mar 22, 2025

Conversation

tarun292
Copy link
Contributor

Summary: For arvr modes we should use //xplat/caffe2:ovrsource_aten_Config.h to get the ATen config headers as the ovrsource variants are what's used in arvr repos and using ``"//xplat/caffe2:ovrsource_aten_Config.h"` causes the ovrsource ones to get overwritten and hence results in build failures.

Differential Revision: D71506180

Copy link

pytorch-bot bot commented Mar 20, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/9462

Note: Links to docs will display an error until the docs builds have been completed.

❌ 1 New Failure, 1 Unrelated Failure

As of commit c19ee0c with merge base 2c3fd71 (image):

NEW FAILURE - The following job has failed:

FLAKY - The following job failed but was likely due to flakiness present on trunk:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 20, 2025
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

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

tarun292 added a commit that referenced this pull request Mar 20, 2025
Summary:
Pull Request resolved: #9462

For arvr modes we should use `//xplat/caffe2:ovrsource_aten_Config.h` to get the ATen config headers as the `ovrsource` variants are what's used in arvr repos and using ``"//xplat/caffe2:ovrsource_aten_Config.h"` causes the ovrsource ones to get overwritten and hence results in build failures.

Reviewed By: thejarlid

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

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

tarun292 added a commit that referenced this pull request Mar 20, 2025
Summary:
Pull Request resolved: #9462

For arvr modes we should use `//xplat/caffe2:ovrsource_aten_Config.h` to get the ATen config headers as the `ovrsource` variants are what's used in arvr repos and using ``"//xplat/caffe2:ovrsource_aten_Config.h"` causes the ovrsource ones to get overwritten and hence results in build failures.

Reviewed By: thejarlid

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

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

tarun292 added a commit that referenced this pull request Mar 20, 2025
Summary:
Pull Request resolved: #9462

For arvr modes we should use `//xplat/caffe2:ovrsource_aten_Config.h` to get the ATen config headers as the `ovrsource` variants are what's used in arvr repos and using ``"//xplat/caffe2:ovrsource_aten_Config.h"` causes the ovrsource ones to get overwritten and hence results in build failures.

Reviewed By: thejarlid

Differential Revision: D71506180
tarun292 added a commit that referenced this pull request Mar 20, 2025
Summary:

For arvr modes we should use `//xplat/caffe2:ovrsource_aten_Config.h` to get the ATen config headers as the `ovrsource` variants are what's used in arvr repos and using ``"//xplat/caffe2:ovrsource_aten_Config.h"` causes the ovrsource ones to get overwritten and hence results in build failures.

Reviewed By: thejarlid

Differential Revision: D71506180
facebook-github-bot pushed a commit that referenced this pull request Mar 20, 2025
Summary:

For arvr modes we should use `//xplat/caffe2:ovrsource_aten_Config.h` to get the ATen config headers as the `ovrsource` variants are what's used in arvr repos and using ``"//xplat/caffe2:ovrsource_aten_Config.h"` causes the ovrsource ones to get overwritten and hence results in build failures.

Reviewed By: thejarlid

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

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

1 similar comment
@facebook-github-bot
Copy link
Contributor

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

tarun292 added a commit that referenced this pull request Mar 20, 2025
Summary:
Pull Request resolved: #9462

For arvr modes we should use `//xplat/caffe2:ovrsource_aten_Config.h` to get the ATen config headers as the `ovrsource` variants are what's used in arvr repos and using ``"//xplat/caffe2:ovrsource_aten_Config.h"` causes the ovrsource ones to get overwritten and hence results in build failures.

Reviewed By: thejarlid

Differential Revision: D71506180
facebook-github-bot pushed a commit that referenced this pull request Mar 20, 2025
Summary:

For arvr modes we should use `//xplat/caffe2:ovrsource_aten_Config.h` to get the ATen config headers as the `ovrsource` variants are what's used in arvr repos and using ``"//xplat/caffe2:ovrsource_aten_Config.h"` causes the ovrsource ones to get overwritten and hence results in build failures.

Reviewed By: thejarlid

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

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

"//xplat/caffe2/c10:c10_headers",
],
] + ["//xplat/caffe2:ovrsource_aten_Config.h" if is_arvr_mode() else "//xplat/caffe2:generated_aten_config_header",],
Copy link
Contributor

Choose a reason for hiding this comment

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

do we also need to cover line 63 above?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

shouldn't be needed as arvr only uses xplat_exported_deps and not fbcode_exported_deps

facebook-github-bot pushed a commit that referenced this pull request Mar 21, 2025
Summary:

For arvr modes we should use `//xplat/caffe2:ovrsource_aten_Config.h` to get the ATen config headers as the `ovrsource` variants are what's used in arvr repos and using ``"//xplat/caffe2:ovrsource_aten_Config.h"` causes the ovrsource ones to get overwritten and hence results in build failures.

Reviewed By: thejarlid

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

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

facebook-github-bot pushed a commit that referenced this pull request Mar 21, 2025
Summary:

For arvr modes we should use `//xplat/caffe2:ovrsource_aten_Config.h` to get the ATen config headers as the `ovrsource` variants are what's used in arvr repos and using ``"//xplat/caffe2:ovrsource_aten_Config.h"` causes the ovrsource ones to get overwritten and hence results in build failures.

Reviewed By: thejarlid

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

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

facebook-github-bot pushed a commit that referenced this pull request Mar 21, 2025
Summary:

For arvr modes we should use `//xplat/caffe2:ovrsource_aten_Config.h` to get the ATen config headers as the `ovrsource` variants are what's used in arvr repos and using ``"//xplat/caffe2:ovrsource_aten_Config.h"` causes the ovrsource ones to get overwritten and hence results in build failures.

Reviewed By: thejarlid

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

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

Summary:

For arvr modes we should use `//xplat/caffe2:ovrsource_aten_Config.h` to get the ATen config headers as the `ovrsource` variants are what's used in arvr repos and using ``"//xplat/caffe2:ovrsource_aten_Config.h"` causes the ovrsource ones to get overwritten and hence results in build failures.

Reviewed By: thejarlid

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

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

@facebook-github-bot facebook-github-bot merged commit d980ce0 into main Mar 22, 2025
78 of 82 checks passed
@facebook-github-bot facebook-github-bot deleted the export-D71506180 branch March 22, 2025 01:54
DannyYuyang-quic pushed a commit to CodeLinaro/executorch that referenced this pull request Apr 2, 2025
Differential Revision: D71506180

Pull Request resolved: pytorch#9462
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 Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported topic: not user facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants