Bug
When using AutoModelforCausaLM with Gemma3 models, the loaded version is multimodal. In this version, the LM layers are in model.language_model.layers. However, we assume they are in model.model.layers.
To Reproduce
Call any press with any Gemma3 model.
Repository version
0.2.10
Bug
When using AutoModelforCausaLM with Gemma3 models, the loaded version is multimodal. In this version, the LM layers are in
model.language_model.layers. However, we assume they are inmodel.model.layers.To Reproduce
Call any press with any Gemma3 model.
Repository version
0.2.10