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

Build wheels with debug info #770

Merged
merged 1 commit into from
May 24, 2021
Merged

Build wheels with debug info #770

merged 1 commit into from
May 24, 2021

Conversation

driazati
Copy link
Contributor

@driazati driazati commented May 20, 2021

This edits the wheel build to also make libtorch_cpu.so.dbg (and build libtorch_cpu in RelWithDebInfo) as an artifact (similar to what we already do for libtorch builds).

NB: This relies on pytorch/pytorch#58685, which needs to land first (that one is a no-op when there is no debug info but this one will break tests without that PR)

@driazati driazati requested a review from malfet May 20, 2021 23:21
@driazati driazati changed the title [wip] Build wheels with debug info Build wheels with debug info May 20, 2021
facebook-github-bot pushed a commit to pytorch/pytorch that referenced this pull request May 24, 2021
Summary:
Pull Request resolved: #58685

This moves debug packages out of the artifacts dir before running tests (as a counterpart to pytorch/builder#770). Doing it this way allows us to keep the CI configs simple since there's one directory to use for artifacts / upload to S3.

See #58684 for actual CI signals (the ones on this PR are all cancelled since it depends on the builder branch set in the next PR up the stack)

Test Plan: Imported from OSS

Reviewed By: nikithamalgifb

Differential Revision: D28646995

Pulled By: driazati

fbshipit-source-id: 965265861968906770a6e6eeecfe7c9458631b5a
@driazati driazati merged commit 8786f77 into master May 24, 2021
@driazati driazati deleted the driazati/debug_whls branch May 25, 2021 20:44
deniskokarev pushed a commit to deniskokarev/pytorch that referenced this pull request Jun 9, 2021
…8685)

Summary:
Pull Request resolved: pytorch#58685

This moves debug packages out of the artifacts dir before running tests (as a counterpart to pytorch/builder#770). Doing it this way allows us to keep the CI configs simple since there's one directory to use for artifacts / upload to S3.

See pytorch#58684 for actual CI signals (the ones on this PR are all cancelled since it depends on the builder branch set in the next PR up the stack)

Test Plan: Imported from OSS

Reviewed By: nikithamalgifb

Differential Revision: D28646995

Pulled By: driazati

fbshipit-source-id: 965265861968906770a6e6eeecfe7c9458631b5a
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.

3 participants