Update modeling_molmo.py for compatibility
#17
by
syhuggingface
- opened
Make code compatible with transformers >= 4.50.3.
Update code to align with recent changes in the Transformers library (calling _extract_past_from_model_output() raises an error).
Same PR from allenai/Molmo-7B-D-0924
https://huggingface.co/allenai/Molmo-7B-D-0924/discussions/43
amanrangapur
changed pull request status to
merged
seems line 2275 needs to be commented out, since the try except below will handle the issue