-
Notifications
You must be signed in to change notification settings - Fork 74.4k
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
Fixes include path broken by virtual pip packaging #29561
Fixes include path broken by virtual pip packaging #29561
Conversation
Signed-off-by: Bairen Yi <yibairen.byron@bytedance.com>
unzip $WHEEL -d $WHEEL_TMPDIR > /dev/null | ||
rm $WHEEL | ||
pushd $WHEEL_TMPDIR > /dev/null | ||
mv tensorflow_core/include/tensorflow{_core,} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we only need this line but immediately after line 172 above:
mv tensorflow tensorflow_core # this is line 172
mv tensorflow_core/include/tensorflow{_core,} # this is the line
This way we don't unzip and rezip the wheel and potentially breaking the contract in manifest.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm going to approve as is for now and fix that tomorrow after we have new pips
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That’s weird, why do we have them under tensorflow_core in the first place, before bdist_wheel? I’ll take a closer look at your suggested fix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This way we don't unzip and rezip the wheel and potentially breaking the contract in manifest.
The MANIFEST.in file seems long broken anyway. Do we need to fix them as well?
PiperOrigin-RevId: 252255891
Oh this should not be merged...ping @perfinion to help sort out this patch in a proper way. |
Ping @mihaimaruseac for review. Ping @lark as this is a work-related contribution.
This fixes horovod/horovod#1129 in our in-house nightly build.