VisualGLM-6B
VisualGLM-6B copied to clipboard
qlora微调报错,有没有大神
NameError: free variable 'dtype' referenced before assignment in enclosing scope
me too
I've fixed it by adding code in line 88 of sat/lora2.py
also 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(