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

feat: adjust attn weight loading logic #1975

Merged
merged 1 commit into from
May 29, 2024
Merged

feat: adjust attn weight loading logic #1975

merged 1 commit into from
May 29, 2024

Conversation

drbh
Copy link
Collaborator

@drbh drbh commented May 29, 2024

This PR updates load_attention to prefer loading specific attention based on the model type. Additionally there were two cases where TensorParallelColumnLinear.load_multi was called and this reduces it to a single path

Copy link
Collaborator

@Narsil Narsil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@drbh drbh merged commit cbced7f into main May 29, 2024
6 of 8 checks passed
@drbh drbh deleted the simplify-llama-attn-load branch May 29, 2024 16:42
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.

2 participants