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] Do not set attn_implementation to flash_attention_2 or sdpa if users already set it in XTuner configs. #609

Merged
merged 2 commits into from
Apr 25, 2024

Conversation

HIT-cwh
Copy link
Collaborator

@HIT-cwh HIT-cwh commented Apr 24, 2024

No description provided.

…uld set attn_implementation to flash_attention_2 or do not set this attribute.
@HIT-cwh HIT-cwh changed the title [Fix] Do not set attn_implementation to flash_attention_2 or sdpa if users already set it [Fix] Do not set attn_implementation to flash_attention_2 or sdpa if users already set it in XTuner configs. Apr 24, 2024
@pppppM pppppM merged commit 60e0cc9 into InternLM:main Apr 25, 2024
1 of 3 checks passed
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.

None yet

2 participants