运行实例报错
#5
by
kklots
- opened
File "/root/.cache/huggingface/modules/transformers_modules/modeling_cogvlm.py", line 452, in llm_forward
past_key_values_length = past_key_values[0][0].shape[2]
AttributeError: 'str' object has no attribute 'shape'
How to solve this problem? thx.
downgrade transformer lib to 4.40