HandH1998 / QQQ

QQQ is an innovative and hardware-optimized W4A8 quantization solution for LLMs.
https://arxiv.org/pdf/2406.09904
91 stars 8 forks source link

关于安装问题 #25

Open qingkongby opened 2 weeks ago

qingkongby commented 2 weeks ago

按照仓库要求安装时,一直报如下错误,请问是否遇到过类似问题或有无解决方式?

/code/QQQ/third-party/fast-hadamard-transform/build/temp.linux-x86_64-cpython-39/csrc/fast_hadamard_transform.o: file not recognized: file format not recognized collect2: error: ld returned 1 exit status error: command '/usr/bin/g++' failed with exit code 1 error: subprocess-exited-with-error

× python setup.py develop did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

HandH1998 commented 2 weeks ago

没遇到过类似问题。你可以参考https://github.com/Dao-AILab/fast-hadamard-transform安装fast-hadamard-transform依赖。