EETQ icon indicating copy to clipboard operation
EETQ copied to clipboard

安装之后报错

Open LChuanwMz opened this issue 1 year ago • 3 comments

Python 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] on linux Type "help", "copyright", "credits" or "license" for more information.

from EETQ import quant_weights, preprocess_weights, w8_a16_gemm File "", line 1 from EETQ import quant_weights, preprocess_weights, w8_a16_gemm IndentationError: unexpected indent from EETQ import quant_weights, preprocess_weights, w8_a16_gemm Traceback (most recent call last): File "", line 1, in ImportError: /usr/local/lib/python3.10/dist-packages/EETQ.cpython-310-x86_64-linux-gnu.so: undefined symbol: _ZN3c106detail23torchInternalAssertFailEPKcS2_jS2_RKSs

LChuanwMz avatar Aug 06 '24 10:08 LChuanwMz

Make sure the pytorch==2.1.2. Or install EETQ via the source.

dtlzhuangz avatar Aug 07 '24 03:08 dtlzhuangz

Hi @dtlzhuangz , I did:

pip install --no-cache-dir https://github.com/NetEase-FuXi/EETQ/releases/download/v1.0.1/EETQ-1.0.1-cp311-cp311-linux_x86_64.whl

and got the same error. The release note says "Not depend on a specific version of pytorch" so I'm confused as to why it happened? Worst case I'll just build from source.

AwikDhar avatar Aug 31 '25 07:08 AwikDhar

Hi @dtlzhuangz , I did:

pip install --no-cache-dir https://github.com/NetEase-FuXi/EETQ/releases/download/v1.0.1/EETQ-1.0.1-cp311-cp311-linux_x86_64.whl

and got the same error. The release note says "Not depend on a specific version of pytorch" so I'm confused as to why it happened? Worst case I'll just build from source.

It may be because there are some diffs between torch >= 2.6 and the old versions. Try to build from source.

dtlzhuangz avatar Aug 31 '25 09:08 dtlzhuangz