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

[aotinductor] Allow specifying a .so name in the aot_inductor.output_path config #112651

Closed
wants to merge 4 commits into from

Conversation

Copy link

pytorch-bot bot commented Nov 1, 2023

🔗 Helpful Links

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

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

✅ You can merge normally! (1 Unrelated Failure)

As of commit 9b189cf with merge base 7f77ec3 (image):

UNSTABLE - The following job failed but was likely due to flakiness present on trunk and has been marked as unstable:

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

desertfire added a commit that referenced this pull request Nov 1, 2023
…path config

ghstack-source-id: 15376003077e0bfaa5ce0bc03770392babffe477
Pull Request resolved: #112651
…tor.output_path config"

cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx peterbell10 ipiszy yf225 chenyang78 kadeng muchulee8 aakhundov ColinPeppler

[ghstack-poisoned]
desertfire added a commit that referenced this pull request Nov 1, 2023
…path config

ghstack-source-id: f779cb706f3b75d9d64835eafc1dfa2dbf078068
Pull Request resolved: #112651
…tor.output_path config"

cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx peterbell10 ipiszy yf225 chenyang78 kadeng muchulee8 aakhundov ColinPeppler

[ghstack-poisoned]
desertfire added a commit that referenced this pull request Nov 1, 2023
…path config

ghstack-source-id: 84a93f0e9e5f54f01857ec2988180c74570118ef
Pull Request resolved: #112651
@desertfire
Copy link
Contributor Author

@desertfire has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

…tor.output_path config"

cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx peterbell10 ipiszy yf225 chenyang78 kadeng muchulee8 aakhundov ColinPeppler

Differential Revision: [D50902585](https://our.internmc.facebook.com/intern/diff/D50902585)

[ghstack-poisoned]
desertfire added a commit that referenced this pull request Nov 2, 2023
…path config

ghstack-source-id: db70060220023bd69f9920492e4cb6e7681968f3
Pull Request resolved: #112651
@desertfire
Copy link
Contributor Author

@desertfire has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Copy link
Contributor

@chenyang78 chenyang78 left a comment

Choose a reason for hiding this comment

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

Left a minor comment. LGTM overall. Thanks!

specified_output_path
and os.path.dirname(cls.cache[key]) != specified_output_path
or specified_so_name
and os.path.basename(cls.cache[key]) != specified_so_name
Copy link
Contributor

Choose a reason for hiding this comment

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

We cache the full path for the output.so, which is either config.aot_inductor.output_path or os.path.splitext(input_path)[0] + ".so". So, seems we wouldn't have any case where we cache specified_so_name?

@facebook-github-bot
Copy link
Contributor

@pytorchbot merge

(Initiating merge automatically since Phabricator Diff has merged)

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Nov 3, 2023
@pytorchmergebot
Copy link
Collaborator

Merge started

Your 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

Advanced Debugging
Check the merge workflow status
here

pytorchmergebot pushed a commit that referenced this pull request Nov 6, 2023
Summary: Some tests can utilize cache_dir()

Pull Request resolved: #112728
Approved by: https://github.com/jansel, https://github.com/chenyang78
ghstack dependencies: #112651
@facebook-github-bot facebook-github-bot deleted the gh/desertfire/252/head branch November 6, 2023 15:25
xuhancn pushed a commit to xuhancn/pytorch that referenced this pull request Nov 7, 2023
xuhancn pushed a commit to xuhancn/pytorch that referenced this pull request Nov 7, 2023
Summary: Some tests can utilize cache_dir()

Pull Request resolved: pytorch#112728
Approved by: https://github.com/jansel, https://github.com/chenyang78
ghstack dependencies: pytorch#112651
Skylion007 pushed a commit to Skylion007/pytorch that referenced this pull request Nov 14, 2023
Skylion007 pushed a commit to Skylion007/pytorch that referenced this pull request Nov 14, 2023
Summary: Some tests can utilize cache_dir()

Pull Request resolved: pytorch#112728
Approved by: https://github.com/jansel, https://github.com/chenyang78
ghstack dependencies: pytorch#112651
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants