transformers icon indicating copy to clipboard operation
transformers copied to clipboard

Fix cache type in Idefics2

Open zucchini-nlp opened this issue 1 year ago • 1 comments

What does this PR do?

Following #30716 this PR makes the return type of Idefics2 models' cache follow the same way, by returning the type we had in the input. Fixes #30631

Tested with the provided script that the training does not fail because of cache

zucchini-nlp avatar May 09 '24 13:05 zucchini-nlp

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.