Skip to content

[ENAB] DeiT image-classification model in OV_IR - #3617

Open
tejaswinijayashanker943 wants to merge 5 commits into
openvinotoolkit:latestfrom
tejaswinijayashanker943:Deit_Tiny_OV_Enab
Open

[ENAB] DeiT image-classification model in OV_IR#3617
tejaswinijayashanker943 wants to merge 5 commits into
openvinotoolkit:latestfrom
tejaswinijayashanker943:Deit_Tiny_OV_Enab

Conversation

@tejaswinijayashanker943

@tejaswinijayashanker943 tejaswinijayashanker943 commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Details:

This PR introduces a notebook that enables and quantizes the Deit model in OpenVINO for FP32, FP16, and INT8.

Tickets:
Jira-189828

Model: facebook/deit-tiny-distilled-patch16-224 (6 M, FP32)
Test image: getty_LeBron.jpg → basketball 99.6% (FP16 + INT8)
PyTorch FP32 → OpenVINO FP16 IR conversion (cache-aware)
NNCF accuracy-aware INT8 quantization (≤ 1% drop; 1/138 ops reverted)
Validation on 300 ImageNet-1k images via evanarlian/imagenet_1k_resized_256
benchmark_app results on Intel Arc B390 iGPU (PTL):
FP16: 0.56 ms / 1775 FPS INT8: 0.63 ms / 1588 FPS
Dataset cell now has try/except with download links if streaming fails
OpenVINO IRs excluded (.gitignore) — generated by running the notebook

Dataset fallback links added:

https://huggingface.co/datasets/evanarlian/imagenet_1k_resized_256 https://image-net.org/download.php
Expected FPS on Panther Lake iGPU for Deit-Tiny:
image

AI Assistance:

Yes, used for validation of the notebook on different platforms and to test the accuracy of the quantized models.

- Model: facebook/deit-tiny-distilled-patch16-224 (6 M, FP32)
- Test image: getty_LeBron.jpg → basketball 99.6% (FP16 + INT8)
- PyTorch FP32 → OpenVINO FP16 IR conversion (cache-aware)
- NNCF accuracy-aware INT8 quantization (≤ 1% drop; 1/138 ops reverted)
- Validation on 300 ImageNet-1k images via evanarlian/imagenet_1k_resized_256
- benchmark_app results on Intel Arc B390 iGPU (PTL):
    FP16: 0.56 ms / 1775 FPS   INT8: 0.63 ms / 1588 FPS
- Dataset cell now has try/except with download links if streaming fails
- OpenVINO IRs excluded (.gitignore) — generated by running the notebook

Dataset fallback links added:
  https://huggingface.co/datasets/evanarlian/imagenet_1k_resized_256
  https://image-net.org/download.php
The Preview table incorrectly showed 'suit, suit of clothes' (a result
from Got7_A.jpg inference). Re-ran DeiT-Tiny FP16 IR on the actual dog
group image and updated the table with the correct top-5 predictions:

  1. golden retriever     — logit 5.31
  2. Saluki, gazelle hound — logit 4.94
  3. Labrador retriever   — logit 4.72
  4. Weimaraner           — logit 3.41
  5. cocker spaniel       — logit 3.39
…predictions

Replaced dog group image (golden retriever, etc.) with the actual test
image used by the notebook (getty_LeBron.jpg) and updated predictions
to match DeiT-Tiny Distilled FP16 IR inference results:

  1. basketball         — logit 14.13
  2. volleyball         — logit  7.38
  3. balance beam, beam — logit  6.36
  4. unicycle, monocycle — logit  5.41
  5. racket, racquet    — logit  5.19

Also fixed the image path from ../../assets/preview/ to the correct
local assets/test_images/ path within the notebook folder.
@review-notebook-app

Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@tejaswinijayashanker943 tejaswinijayashanker943 changed the title Deit tiny ov enab [ENAB] DeiT image-classification model in OV_IR Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant