Skip to content

Conversation

@nikita-savelyevv
Copy link
Collaborator

@nikita-savelyevv nikita-savelyevv commented Oct 27, 2025

Changes

As in the title. Example model: https://huggingface.co/facebook/sam-vit-base . Code: https://github.com/facebookresearch/segment-anything/blob/dca509fe793f601edb92606367a655c15ac00fdf/segment_anything/modeling/prompt_encoder.py#L171 .

Reason for changes

To automatically ignore positional embedding weight during weights compression.

image

Related tickets

175083

Tests

Added tests/cross_fw/test_templates/template_test_weights_compression.py::test_sam_pe_weight_compression

@nikita-savelyevv nikita-savelyevv requested a review from a team as a code owner October 27, 2025 09:56
@github-actions github-actions bot added NNCF OpenVINO Pull requests that updates NNCF OpenVINO NNCF ONNX Pull requests that updates NNCF ONNX labels Oct 27, 2025
@nikita-savelyevv
Copy link
Collaborator Author

Changes are similar to #3562

@AlexanderDokuchaev AlexanderDokuchaev merged commit 208b2ef into openvinotoolkit:develop Oct 28, 2025
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

NNCF ONNX Pull requests that updates NNCF ONNX NNCF OpenVINO Pull requests that updates NNCF OpenVINO

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants