-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Windows 2019 vcc build #920
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
Comments
If you are using the latest |
Thank you for your feedback !, No it is Version 16.11.5 Torch 1.10 / 1.19 Cuda 11.3 / 11.4. it strange really I re-create 20 times different conda env. |
I think you may need to downgrade the compiler. See #876 (comment) and the links from there. I think it's a known problem with the very latest compiler. |
So it took some effort it looks like the issue somewhere in Torch 1.19/1.10 and CUDA 11.4. I manage to compile and testing now. |
Hi Folks,
I manage to narrow down most of the issues with VC. ( note I keep testing CUDA 11.3 / 11.4 Torch 1.9/1.10)
but it same issue.
I added /wd4624 torch extension so it won't go crazy with false positives.
so it invoked with /wd4267
Tested both with and without 14/17 ( default one wrong it not valid vc args.
also, this kEpsilon is defined in different places. So it is not clear it float or double
In util geometric it just cost auto
in another spot, it is defined below. So it truncates type or can't do type deduction in templates.
I refactored a bit header file in ball etc and used the same epsilon definition,
it looks like fixed all truncation errors.
C:\Users\neros.conda\envs\tf-gpu\lib\site-packages\torch\include\pybind11\cast.h(1429): error: too few arguments for template template parameter "Tuple"
detected during instantiation of class "pybind11::detail::tuple_caster<Tuple, Ts...> [with Tuple=std::pair, Ts=<T1, T2>]"
(1507): here
But I can't narrow down errors related to templates.
I'm not even sure how I can dump errors because it is not clear what error actually even is.
The text was updated successfully, but these errors were encountered: