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

fix "undefined symbol: curandCreateGenerator" for quantizer op #3846

Merged
merged 1 commit into from
Jul 7, 2023

Conversation

jinzhen-lin
Copy link
Contributor

I met this error when I used deepspeed v0.9.5 with torch 2.0.

ImportError: /root/miniconda3/lib/python3.8/site-packages/deepspeed/ops/quantizer/quantizer_op.cpython-38-x86_64-linux-gnu.so: undefined symbol: curandCreateGenerator

And I found that extra_ldflags (which contains -lcurand) is not used. This PR can fix it.

@jeffra jeffra added this pull request to the merge queue Jul 7, 2023
Merged via the queue into microsoft:master with commit 7e8bcc0 Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants