Skip to content

Run setup-macos.sh in unittest-macos even in Buck mode #9505

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 2 commits into from
Mar 24, 2025

Conversation

swolchok
Copy link
Contributor

@swolchok swolchok commented Mar 21, 2025

We've been seeing flakes due to missing torchgen that have become more common. After some investigation, it appears that #8688 was probably overzealous: installing pytorch was probably also installing torchgen, so let's install pytorchjust run the macos setup script to avoid proliferating configurations.

Test Plan: unittest-buck / macos on this PR, monitor to see if failures go away.

[ghstack-poisoned]
@swolchok
Copy link
Contributor Author

swolchok commented Mar 21, 2025

Stack from ghstack (oldest at bottom):

Copy link

pytorch-bot bot commented Mar 21, 2025

🔗 Helpful Links

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

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

❌ 2 New Failures, 2 Cancelled Jobs

As of commit 47e81fc with merge base d16b867 (image):

NEW FAILURES - The following jobs have failed:

CANCELLED JOBS - The following jobs were cancelled. Please retry:

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

swolchok added a commit that referenced this pull request Mar 21, 2025
We've been seeing flakes due to missing torchgen that have become more common. After some investigation, it appears that #8688 was probably overzealous: installing pytorch was probably also installing torchgen, so let's install pytorch.

Test Plan: unittest-buck / macos on this PR, monitor to see if failures go away.

ghstack-source-id: 05496b1
ghstack-comment-id: 2744469219
Pull Request resolved: #9505
@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 21, 2025
[ghstack-poisoned]
swolchok added a commit that referenced this pull request Mar 21, 2025
We've been seeing flakes due to missing torchgen that have become more common. After some investigation, it appears that #8688 was probably overzealous: installing pytorch was probably also installing torchgen, so let's install pytorch.

Test Plan: unittest-buck / macos on this PR, monitor to see if failures go away.

ghstack-source-id: 24a48bf
ghstack-comment-id: 2744469219
Pull Request resolved: #9505
@swolchok swolchok changed the title Install PyTorch in unittest-macos even in Buck mode Run setup-macos.sh in unittest-macos even in Buck mode Mar 21, 2025
@swolchok
Copy link
Contributor Author

feel free to merge when accepting this PR

@mergennachin mergennachin merged commit 4b78d1a into main Mar 24, 2025
166 of 171 checks passed
@mergennachin mergennachin deleted the gh/swolchok/387/head branch March 24, 2025 14:40
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. topic: not user facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants