Skip to content

Conversation

nisanthmp
Copy link
Contributor

@nisanthmp nisanthmp commented Jul 11, 2023

g++ flag -march is not recognised on ppc64le. So adding a check for platform machine to be ppc64le and using -mcpu flag instead. Other architectures will still use -march flag

This fixes the torch.compile feature failure on ppc64le

cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @Xia-Weiwen @wenzhe-nrv @jiayisunx @peterbell10 @ipiszy @ngimel @yf225 @chenyang78 @kadeng @muchulee8

g++ flag -march is not recognised on ppc64le. So adding a check for
platform machine to be ppc64le and using -mcpu flag instead. Other
architectures will still use -march flag
@pytorch-bot
Copy link

pytorch-bot bot commented Jul 11, 2023

🔗 Helpful Links

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

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

✅ No Failures

As of commit 70db384:
💚 Looks good so far! There are no failures yet. 💚

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

@nisanthmp
Copy link
Contributor Author

@pytorchbot label "topic: not user facing"

@pytorch-bot pytorch-bot bot added the topic: not user facing topic category label Jul 12, 2023
@nisanthmp
Copy link
Contributor Author

@jgong5 All checks have passed. Can you please merge it? Anything else pending from me?

@jgong5 jgong5 requested a review from jansel July 14, 2023 01:26
@jgong5
Copy link
Collaborator

jgong5 commented Jul 14, 2023

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Jul 14, 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants