Skip to content

Conversation

Indigo-Coder-github
Copy link

Hello! I also have a same problem in #76.
ImportError: cannot import name 'LLAMA_ATTENTION_CLASSES' from 'transformers.models.llama.modeling_llama'
So, I found the commit history in transformers, there is change in latest transformers.
LLAMA_ATTENTION_CLASSES and MISTRAL_ATTENTION_CLASSES are repectively re-named into LlamaAttention and MistralAttention

@Indigo-Coder-github Indigo-Coder-github closed this by deleting the head repository Oct 11, 2025
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.

1 participant