Skip to content

Major issues with transformers version causing rubbish generations with Gemma3 family using vllm #40017

@AbdelrahmanHagrass

Description

@AbdelrahmanHagrass

System Info

.

Who can help?

Major issues with transformers version when used with Gemma3 family models on vllm. The output generations are incorrect and not usable—appears to be due to incompatibility or regression in transformers. Please advise on compatible versions or fixes.

Example: Generations are rubbish or meaningless compared to expected outputs.

Tested with latest vllm and Gemma3 models.

Information

  • The official example scripts
  • My own modified scripts

Tasks

  • An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
  • My own task or dataset (give details below)

Reproduction

.

Expected behavior

.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions