question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Build error on Windows10

See original GitHub issue
C:/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:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
peterjc123commented, Jun 16, 2019
0reactions
GeneralJingcommented, Apr 28, 2022

solved. thanks.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found