We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug fp_quantizer is not correctly built when non-jit installation.
To Reproduce Steps to reproduce the behavior:
DS_BUILD_FP_QUANTIZER=1 pip install deepspeed
install will succeed but
from deepspeed.ops.fp_quantizer import FP_Quantize FP_Quantize()
will raise ImportError: dynamic module does not define module export function (PyInit_fp_quantizer_op)
ImportError: dynamic module does not define module export function (PyInit_fp_quantizer_op)
Expected behavior
Renaming csrc/fp_quantizer/quantize.cu may solve the issue. This restriction seems to be cause of the bug.
Note that setuptools cannot handle files with the same name but different extensions https://pytorch.org/tutorials/advanced/cpp_extension.html
The text was updated successfully, but these errors were encountered:
Thanks for pointing this out @twaka - we will take a look
Sorry, something went wrong.
@twaka Can you try #5577?
Rename files in fp_quantize op from quantize.* to fp_quantize.* (micr…
bf66acd
…osoft#5577) Fixes microsoft#5535. Todo: need to test.
5e5c8a7
loadams
Successfully merging a pull request may close this issue.
Describe the bug
fp_quantizer is not correctly built when non-jit installation.
To Reproduce
Steps to reproduce the behavior:
install will succeed but
will raise
ImportError: dynamic module does not define module export function (PyInit_fp_quantizer_op)
Expected behavior
Renaming csrc/fp_quantizer/quantize.cu may solve the issue.
This restriction seems to be cause of the bug.
The text was updated successfully, but these errors were encountered: