Spaces:
Running on Zero
Gemma 4 error: AmbiguousGlobalPerLayerAttributeError
The Space is crashing on startup with the following error:
transformers.integrations.heterogeneity.configuration_utils.AmbiguousGlobalPerLayerAttributeError: 'head_dim' is a per-layer attribute.
Please pin transformers==5.14.1 in requirements.txt to fix it.
Hello, I'm trying to use the LTX-2.5 Hugging Face Space, but it crashes with this error:
transformers.integrations.heterogeneity.configuration_utils.AmbiguousGlobalPerLayerAttributeError: 'head_dim' is a per-layer attribute
The traceback shows that the error occurs while initializing Gemma4TextConfig.
Could you please confirm the recommended fix? Would pinning transformers to version 5.14.1 resolve this issue, or is there a newer compatible version?
I'm looking for a working solution that doesn't require a paid GPU or subscription.
Thank you!