RuntimeError: Only Tensors of floating point and complex dtype can require gradients #744
Replies: 1 comment 1 reply
-
This issue can also occur when using chatglm-6b-int4 or chatglm2-6b-int4, but not when using chatglm2-6b. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
我改了moel_config.py中2个地方的配置。然后启动报错如下,有遇到相同问题吗,求解答。
系统:macos (使用cpu)
python: conda + python3.8.16
Beta Was this translation helpful? Give feedback.
All reactions