running error with transformers

#3
by yxnchen - opened

when running the model with the newest transformers framework, there is an error:

ModuleNotFoundError: Could not import module 'Gemma4UnifiedProcessor'. Are this object's requirements defined correctly?

Hi @yxnchen , thank you for reporting this. We tested the google/gemma-4-12B-it-assistant model notebook with the latest transformers version 5.10.2 using pip install -U transformers and code ran successfully without any errors. Please refer to the gist.

Could you help us debug further by sharing the following:

  • Your exact transformer version, how exactly you installed transformers?
  • Was it pip install -U transformers or any specific version
  • Full error traceback.

Sign up or log in to comment