Open Benjamin-Tan opened 1 month ago
Hi @Benjamin-Tan, thanks for the issue! Indeed, I ran a quick check and confirm bf16
and f16
aren't working right now. It would definitely be nice to have, feel free to open a PR if you want to contribute to this!
Feature request
Currently, if fp16 is used with grounding dino via https://huggingface.co/docs/transformers/main/en/model_doc/grounding-dino, there is an error of the following:
Motivation
It would be good to add support for fp16 to speed up the inference time.
Your contribution
Happy to contribute if this feature is deemed to be useful.