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

torch\include\ATen/core/ivalue_inl.h... cl.exe' failed with exit status 2 #43687

Closed
shihlun1208 opened this issue Aug 27, 2020 · 6 comments
Closed
Labels
module: build Build system issues module: windows Windows support for PyTorch triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module windows-triaged

Comments

@shihlun1208
Copy link

shihlun1208 commented Aug 27, 2020

How should i solve this problem?
Either pip install mmcv-full or python setup.py build develop will occur this error.
image
image

Wondering if compiler cause the problem
image

cc @malfet @seemethere @walterddr @peterjc123 @maxluk @nbcsm @guyang3532 @gunandrose4u @smartcat2010 @mszhanyi

@glaringlee glaringlee added module: build Build system issues module: windows Windows support for PyTorch triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module labels Aug 27, 2020
@malfet
Copy link
Contributor

malfet commented Aug 27, 2020

@shihlun1208 can you please post the actual build logs rather than screenshots? Also, what version of pytorch you are trying to build?
And is there a reason why you can't upgrade to a more recent version of VC++?

@shihlun1208
Copy link
Author

shihlun1208 commented Aug 31, 2020

@malfet I'm using pytorch 1.4.0 torchvision 0.5.0 cuda 10
Thanks for the suggestion. Upgrade from 2015 to 2019 pops out compatiblity error, It seems like vs2019 is not supported with cuda 10.
So I downgraded my build tools from 2019 to 2017, it did not occur the error again.

@qiangqing
Copy link

I have the same questions.But my VS is 2015,i want to know,Do I need to upgrade the VS2015 to 2017?

@shihlun1208
Copy link
Author

@qiangqing Hi, I suggest you give it a try with VS2017 or VS2019.
Following the VS Build Tool tutorials below FYR.
benfred/implicit#76 (comment)

@shihlun1208 shihlun1208 reopened this Sep 4, 2020
@mszhanyi
Copy link
Collaborator

mszhanyi commented Sep 5, 2020

@qiangqing, please install 16.6.5 in vs2019 earlier release.
And It'd better to disable the upgrade because the latest VS 2019 has some issues.

@mszhanyi
Copy link
Collaborator

@shihlun1208, if you still come across this issue, feel free to report it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: build Build system issues module: windows Windows support for PyTorch triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module windows-triaged
Projects
None yet
Development

No branches or pull requests

5 participants