Question/Bug AttributeError: 'super' object has no attribute '_extract_past_from_model_output'
- 主要語言
- Python
- 星號
- 933
- 分支
- 96
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Upon running the quick start at [Huggingface](https://huggingface.co/allenai/Molmo-7B-O-0924) I encountered an error mentioned below.
```
File "/home/user/.cache/huggingface/modules/transformers_modules/allenai/Molmo-7B-O-0924/ed442fa7789ab66fc9f435f790823319d51196fb/modeling_molmo.py", line 2275, in _update_model_kwargs_for_generation
cache_name, cache = super()._extract_past_from_model_output(outputs)
AttributeError: 'super' object has no attribute '_extract_past_from_model_output'
```
Now in the ```modeling_molmo.py``` I tried replacing super() with self in the hopes that it may not need to inherit and might function normally.However it didn't work.
I was finally able to get inference by commenting that line entirely but I didn't get why i faced this error. Was it a bug? or some dependency issue?
Below I have listed the dependency as per ```pip list``` of my env.
```
tokenizers 0.21.2
torch 2.7.1
torchvision 0.22.1
tqdm 4.67.1
transformers 4.53.3
triton 3.3.1
```
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。