Skip to content

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

Merged
jeffra merged 1 commit into
deepspeedai:masterfrom
jinzhen-lin:patch-1
Jul 7, 2023
Merged

jeffra merged 1 commit into
deepspeedai:masterfrom
jinzhen-lin:patch-1

Conversation

@jinzhen-lin

Copy link
Copy Markdown
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 deepspeedai: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