-
Notifications
You must be signed in to change notification settings - Fork 7k
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
Unable to build wheel for 0.8.1 #2932
Comments
@choidongyeon thanks for the report. I could reproduce your issue inside docker container with Ubuntu 16.04 and gcc 5.4.0. This should be related to gcc version (5.4.0) as according to C++ ref
Since gcc 6.1 we can use If we manually replace - std::tuple<torch::Tensor, double> result = {outFrame, frame_pts_s};
+ std::tuple<torch::Tensor, double> result = std::make_tuple(outFrame, frame_pts_s); we can build the package. |
- Replaced tuple creation by one acceptable by majority of compilers
@choidongyeon recently merged PR #2937 should fix the problem on the master. Please build torchvision from master instead of the tag 0.8.1 and feel free to reopen this issue if it still does not work for you. Thanks |
I think we will be building a 1.7.1 release for PyTorch in December, so we might as well have this fix be pushed to the new torchvision release being built (0.8.2). cc @seemethere the process would be to send cherry-pick PRs to |
Thanks @vfdev-5 ! |
- Replaced tuple creation by one acceptable by majority of compilers
- Replaced tuple creation by one acceptable by majority of compilers
- Replaced tuple creation by one acceptable by majority of compilers
🐛 Bug
I am unable to create a wheel from the v0.8.1 tag. I already have pytorch 1.7 installed.
To Reproduce
Steps to reproduce the behavior:
git checkout tags/v0.8.1 -b v0.8.1
python setup.py clean
python setup.py bdist_wheel --universal --plat-name=manylinux1_x86_64
orpython setup.py install
The last few couple lines are:
A full log can be viewed here: output_bdist_wheel.log.
I am able to build/install v0.7.0 and earlier versions, but am unable to build v0.8.0 and v0.8.1.
Any help would be appreciated. Thanks!
Expected behavior
Creation of a 0.8.1 torchvision binary.
Environment
Additional context
cc @bjuncek
The text was updated successfully, but these errors were encountered: