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

revert rotary embedding patching for recovering gpu accuracy #855

Merged

Conversation

eaidova
Copy link
Collaborator

@eaidova eaidova commented Jul 31, 2024

What does this PR do?

this is temporal solution for unblocking model running on GPU with openvino<=2024.3, bf16 accuracy will be fixed later, when openvino runtime will be ready handle it.

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@echarlaix
Copy link
Collaborator

echarlaix commented Jul 31, 2024

Before merging can you also revert the modifications from the expected int8 ops in the tests #783 to fix the tests ?

@eaidova eaidova force-pushed the ea/remove_bf16_rotary_emb_patching branch from 017fba0 to 5d32229 Compare July 31, 2024 10:06
@echarlaix echarlaix merged commit 6388aeb into huggingface:main Jul 31, 2024
13 of 17 checks passed
IlyasMoutawwakil pushed a commit that referenced this pull request Aug 6, 2024
* revert rotary embedding patching for recovering gpu accuracy

* revert tests

* Update test_exporters_cli.py
IlyasMoutawwakil pushed a commit that referenced this pull request Aug 6, 2024
* revert rotary embedding patching for recovering gpu accuracy

* revert tests

* Update test_exporters_cli.py
IlyasMoutawwakil pushed a commit that referenced this pull request Aug 6, 2024
* revert rotary embedding patching for recovering gpu accuracy

* revert tests

* Update test_exporters_cli.py
IlyasMoutawwakil pushed a commit that referenced this pull request Aug 6, 2024
* revert rotary embedding patching for recovering gpu accuracy

* revert tests

* Update test_exporters_cli.py
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.

4 participants