Windows 10 build failed
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Domain
- build-system, machine-learning
Research direction
Start with csrc/multi_tensor_scale_kernel.cu at lines 69 and 97, then reproduce the Windows 10 build using the reported PyTorch, CUDA toolkit, GPU driver, and NVIDIA nvcc versions. Trace the device-code compilation errors involving isfinitec10::Half; done means the extension builds successfully without these errors on the reported environment.
Written by the indexing model from the issue text.
Description
csrc/multi_tensor_scale_kernel.cu(69): error: calling a host function("isfinite< ::c10::Half> ") from a device function("ScaleFunctor< ::c10::Half, float> ::operator ()") is not allowed
csrc/multi_tensor_scale_kernel.cu(69): error: identifier "isfinite< ::c10::Half> " is undefined in device code
csrc/multi_tensor_scale_kernel.cu(97): error: calling a host function("isfinite< ::c10::Half> ") from a device function("ScaleFunctor< ::c10::Half, float> ::operator ()") is not allowed
csrc/multi_tensor_scale_kernel.cu(97): error: identifier "isfinite< ::c10::Half> " is undefined in device code
csrc/multi_tensor_scale_kernel.cu(69): error: calling a host function("isfinite< ::c10::Half> ") from a device function("ScaleFunctor< ::c10::Half, ::c10::Half> ::operator ()") is not allowed
csrc/multi_tensor_scale_kernel.cu(69): error: identifier "isfinite< ::c10::Half> " is undefined in device code
csrc/multi_tensor_scale_kernel.cu(97): error: calling a host function("isfinite< ::c10::Half> ") from a device function("ScaleFunctor< ::c10::Half, ::c10::Half> ::operator ()") is not allowed
csrc/multi_tensor_scale_kernel.cu(97): error: identifier "isfinite< ::c10::Half> " is undefined in device code
8 errors detected in the compilation of "C:/Users/morri/AppData/Local/Temp/tmpxft_000015ec_00000000-10_multi_tensor_scale_kernel.cpp1.ii".
error: command 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc.exe' failed with exit status 1
====================================
OS: Windows 10
GPU: NVIDIA-SMI 445.87 Driver Version: 445.87 CUDA Version: 11.0
Packages: pytorch 1.0.0
cudatoolkit 10.0.130
- Dominant language
- Python
- Stars
- 9k
- Forks
- 1.5k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 3
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from NVIDIA/apex
-
Difficulty 4/5 3-5 days Newbie friendliness 64/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100