Skip to content

[v1.7.1] third_party: Update pybind to point to fork #48312

Merged
seemethere merged 2 commits intopytorch:release/1.7from
seemethere:update_pybind_171
Nov 20, 2020
Merged

[v1.7.1] third_party: Update pybind to point to fork #48312
seemethere merged 2 commits intopytorch:release/1.7from
seemethere:update_pybind_171

Conversation

@seemethere
Copy link
Copy Markdown
Member

@seemethere seemethere commented Nov 20, 2020

Cherry pick of (#48117, #46415)

Summary:
There are specific patches we need for Python 3.9 compatibilty and that
process is currently hung up on separate issues.

Let's update to a newer version of our forked pybind to grab the Python
3.9 fixes while we wait for them to be upstreamed

Signed-off-by: Eli Uriegas eliuriegas@fb.com

Pull Request resolved: #48117

Relates to: pybind/pybind11#2657

Full comparison for this update looks like this: pybind/pybind11@59a2ac2...seemethere:v2.6-fb

Fixes #47776

Pull Request resolved: #48120

Reviewed By: gchanan

Differential Revision: D25030688

Pulled By: seemethere

fbshipit-source-id: 10889c813aeaa70ef1298adad5c631e6b5a39d72
(cherry picked from commit aa8aa30)
Signed-off-by: Eli Uriegas eliuriegas@fb.com

Fixes #{issue number}

Summary:
There are specific patches we need for Python 3.9 compatibilty and that
process is currently hung up on separate issues.

Let's update to a newer version of our forked pybind to grab the Python
3.9 fixes while we wait for them to be upstreamed

Signed-off-by: Eli Uriegas <eliuriegas@fb.com>

Pull Request resolved: pytorch#48117

Relates to: pybind/pybind11#2657

Full comparison for this update looks like this: pybind/pybind11@59a2ac2...seemethere:v2.6-fb

Fixes pytorch#47776

Pull Request resolved: pytorch#48120

Reviewed By: gchanan

Differential Revision: D25030688

Pulled By: seemethere

fbshipit-source-id: 10889c813aeaa70ef1298adad5c631e6b5a39d72
(cherry picked from commit aa8aa30)
Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
@seemethere seemethere added module: pybind Related to our Python bindings / interactions with other Python libraries module: third_party labels Nov 20, 2020
@seemethere seemethere added this to the 1.7.1 milestone Nov 20, 2020
@seemethere seemethere requested a review from a team November 20, 2020 17:11
Summary:
Preserve PYBIND11 (pytorch@63ce3fb) configuration options in `torch._C._PYBIND11 (https://github.com/pytorch/pytorch/commit/63ce3fbde85672e112411ad731839e6db3c15c08)_COMPILER_TYPE` and use them when building extensions

Also, use f-strings in `torch.utils.cpp_extension`

"Fixes" pytorch#46367

Pull Request resolved: pytorch#46415

Reviewed By: VitalyFedyunin

Differential Revision: D24605949

Pulled By: malfet

fbshipit-source-id: 87340f2ed5308266a46ef8f0317316227dab9d4d
(cherry picked from commit 2b6a720)
Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
@dr-ci
Copy link
Copy Markdown

dr-ci bot commented Nov 20, 2020

💊 CI failures summary and remediations

As of commit d61df96 (more details on the Dr. CI page):


  • 2/2 failures possibly* introduced in this PR
    • 2/2 non-CircleCI failure(s)

Extra GitHub checks: 1 failed


codecov.io: 1 failed


This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions on the GitHub issue tracker or post in the (internal) Dr. CI Users group.

See how this bot performed.

This comment has been revised 2 times.

@codecov
Copy link
Copy Markdown

codecov bot commented Nov 20, 2020

Codecov Report

Merging #48312 (d61df96) into release/1.7 (bf72312) will decrease coverage by 0.00%.
The diff coverage is 60.00%.

Impacted file tree graph

@@               Coverage Diff               @@
##           release/1.7   #48312      +/-   ##
===============================================
- Coverage        68.43%   68.43%   -0.01%     
===============================================
  Files              406      406              
  Lines            52323    52331       +8     
===============================================
+ Hits             35807    35811       +4     
- Misses           16516    16520       +4     
Impacted Files Coverage Δ
torch/utils/cpp_extension.py 39.85% <60.00%> (+0.10%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bf72312...d61df96. Read the comment docs.

@seemethere seemethere merged commit 76c9339 into pytorch:release/1.7 Nov 20, 2020
@seemethere seemethere deleted the update_pybind_171 branch November 20, 2020 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla signed module: pybind Related to our Python bindings / interactions with other Python libraries module: third_party

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants