Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix max token slicing in compression data transform function #672

Conversation

nikita-savelyevv
Copy link
Contributor

@nikita-savelyevv nikita-savelyevv commented Jul 24, 2024

Changes
Fix how max token slicing is applied inside data-aware compression transform_fn.

Reason for change
input_ids and attention_mask have the shape of (B, N), but max token slicing is applied at first instead of the second dimension.

@github-actions github-actions bot added the category: llm_bench Label for tool/llm_bench folder label Jul 24, 2024
@nikita-savelyevv
Copy link
Contributor Author

In draft for now not to interfere with the current compression experiments

cc @KodiaqQ

nikita-savelyevv added a commit to nikita-savelyevv/openvino.genai that referenced this pull request Jul 25, 2024
nikita-savelyevv added a commit to nikita-savelyevv/openvino.genai that referenced this pull request Aug 19, 2024
nikita-savelyevv added a commit to nikita-savelyevv/openvino.genai that referenced this pull request Aug 20, 2024
@nikita-savelyevv
Copy link
Contributor Author

Not needed after #689 was merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: llm_bench Label for tool/llm_bench folder
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants