huggingface / optimum-quanto

A pytorch quantization backend for optimum
Apache License 2.0
655 stars 35 forks source link

Add examples based on ViT #169

Open dacorvo opened 2 months ago

dacorvo commented 2 months ago

Vision Transformers should be supported out-of-the-box by quanto.

The goal of this issue is to add some examples under examples/vision.

At the very minimum, there should be a classification example, using a relatively small dataset so that people can rerun it locally without downloading gigabytes of images (imagenette maybe ?).

An image detection example would also be nice if possible, but maybe it requires too much code.

EduardoPach commented 2 months ago

@dacorvo I can work on this one. I've been contributing to the transformers library recently, but I also want to get into the quanto library as it seems pretty fun!

github-actions[bot] commented 1 month ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 1 month ago

This issue was closed because it has been stalled for 5 days with no activity.

github-actions[bot] commented 3 days ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.