kijai / ComfyUI-Florence2

Inference Microsoft Florence2 VLM
MIT License
692 stars 47 forks source link

What is this warning? How to solve this? #82

Open Orenji-Tangerine opened 1 week ago

Orenji-Tangerine commented 1 week ago

I got prompted with the following warning on the console:

Florence2LanguageForConditionalGeneration has generative capabilities, as prepare_inputs_for_generation is explicitly overwritten. However, it doesn't directly inherit from GenerationMixin. From 👉v4.50👈 onwards, PreTrainedModel will NOT inherit from GenerationMixin, and this model will lose the ability to call generate and other related functions.

Kong4Git commented 4 days ago

same to me

kijai commented 4 days ago

It probably comes from the older model's configs, it's not a problem for now but if they aren't updated in the future it might become an issue.