Build error on Windows10
See original GitHub issueC:/Python37/lib/site-packages/torch/include\THC/THCNumerics.cuh(203): error: more than one operator "<" matches these operands:
built-in operator "arithmetic < arithmetic"
function "operator<(const __half &, const __half &)"
operand types are: c10::Half < c10::Half
C:/Python37/lib/site-packages/torch/include\THC/THCNumerics.cuh(204): error: more than one operator "<=" matches these operands:
built-in operator "arithmetic <= arithmetic"
function "operator<=(const __half &, const __half &)"
operand types are: c10::Half <= c10::Half
C:/Python37/lib/site-packages/torch/include\THC/THCNumerics.cuh(205): error: more than one operator ">" matches these operands:
built-in operator "arithmetic > arithmetic"
function "operator>(const __half &, const __half &)"
operand types are: c10::Half > c10::Half
C:/Python37/lib/site-packages/torch/include\THC/THCNumerics.cuh(206): error: more than one operator ">=" matches these operands:
built-in operator "arithmetic >= arithmetic"
function "operator>=(const __half &, const __half &)"
operand types are: c10::Half >= c10::Half
C:/Python37/lib/site-packages/torch/include\THC/THCNumerics.cuh(207): error: more than one operator "==" matches these operands:
built-in operator "arithmetic == arithmetic"
function "operator==(const __half &, const __half &)"
operand types are: c10::Half == c10::Half
C:/Python37/lib/site-packages/torch/include\THC/THCNumerics.cuh(209): error: more than one operator "!=" matches these operands:
built-in operator "arithmetic != arithmetic"
function "operator!=(const __half &, const __half &)"
operand types are: c10::Half != c10::Half
6 errors detected in the compilation of "C:/Users/Jonas/AppData/Local/Temp/tmpxft_000018c4_00000000-8_nms_cuda.cpp4.ii".
error: command 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v10.1\\bin\\nvcc.exe' failed with exit status 2
Compiler version: Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Get help with Windows upgrade and installation errors
See some of the most common upgrade and installation errors for Windows 10 and Windows 11, and what you can do to try...
Read more >How to Fix the "This Build of Windows Will Expire Soon" Error ...
The "This build of Windows 10 will expire soon" error can annoy you in Windows Insider Preview builds. Here's how you can fix...
Read more >How to fix 0x8020000f error - build install fails on Windows 10
Oh no! Windows 10 build install fails with error 0x8020000f?Don't worry too much, just watch this video to see how you can fix...
Read more >windows10 build error · Issue #178 · NVlabs/instant-ngp · GitHub
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19043. ... cmake_policy command to set the policy and suppress this warning.
Read more >Windows 10 version 1909 (Build 18363) or higher error
Windows 10 version 1909 (Build 18363) or higher error · Go to steam installation folder example: C:\Program Files (x86)\Steam · Right click Steam....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Or you can set the env var
NVCC_FLAGS
. https://github.com/pytorch/vision/blob/master/packaging/windows/cuda100.bat#L39solved. thanks.