ImportError: KwargsForCausalLM not found in transformers.models.csm.modeling_csm #2891
Answered
by
danielhanchen
Geekygrapher
asked this question in
Q&A
-
I'm currently facing an import error when trying to load a Gemma model in your latest notebook "Gemma3N_(4B)-Conversational" Please help out |
Beta Was this translation helpful? Give feedback.
Answered by
danielhanchen
Jul 6, 2025
Replies: 1 comment
-
|
Please downgrade transformers at the top to |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Geekygrapher
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Please downgrade transformers at the top to
!pip uninstall transformers -y && pip install "transformers==4.53.1"We're working on a fix asap sorry!