VisualGLM-6B icon indicating copy to clipboard operation
VisualGLM-6B copied to clipboard

加载Q-LORA微调后模型时报错object of type 'QuantState' has no len()

Open MuWenXuan opened this issue 1 year ago • 1 comments

有大神能够提供一下解决方案吗

MuWenXuan avatar Nov 11 '24 07:11 MuWenXuan

You can try to update your lora2.py by https://github.com/THUDM/SwissArmyTransformer. It's really confusing that pip install SwingArmyTransfomer couldn't give me the latest version. )W_W(

AqiuNoCold avatar Apr 03 '25 04:04 AqiuNoCold