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

"__nv_bfloat162" has already been defined #6709

Open
wolfljj opened this issue Nov 4, 2024 · 1 comment
Open

"__nv_bfloat162" has already been defined #6709

wolfljj opened this issue Nov 4, 2024 · 1 comment
Assignees
Labels
install Installation and package dependencies windows

Comments

@wolfljj
Copy link

wolfljj commented Nov 4, 2024

system:windows 11
build deepspeed use build_win.bat

error: class "__nv_bfloat162" has already been defined (previous definition at line 4787 of C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.6/include\cuda_bf16.h)
using __nv_bfloat162 = __half2;
^
1 error detected in the compilation of "csrc/transformer/inference/csrc/gelu.cu".
error: command 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.6\bin\nvcc' failed with exit code 4294967295

@loadams loadams self-assigned this Nov 4, 2024
@loadams loadams added install Installation and package dependencies windows labels Nov 4, 2024
@loadams
Copy link
Contributor

loadams commented Nov 15, 2024

Hi @wolfljj - can you share more information about your system? Python version, orch version, pip list, nvcc version, msvc version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
install Installation and package dependencies windows
Projects
None yet
Development

No branches or pull requests

2 participants