We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
config.do_stable_layer_norm is False
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
While running Flax Wav2Vec2 models like FlaxWav2Vec2Model, FlaxWav2Vec2ForCTC, FlaxWav2Vec2ForPreTraining , I am encountering an error as
NotImplementedError: ``config.do_stable_layer_norm is False`` is currently not supported"
when config.do_stable_layer_norm is False, currently there is no implementation
but, by default config.do_stable_layer_norm is False Reference
We need to implement this, since mostly do_stable_layer_norm value is false. We might get this error frequently
System Info
My environment details are as below :
transformers version: 4.51.3 Platform: Linux-5.4.0-212-generic-x86_64-with-glibc2.35 Python version: 3.10.12 Huggingface_hub version: 0.30.2 Safetensors version: 0.5.3 Accelerate version: not installed Accelerate config: not found DeepSpeed version: not installed PyTorch version (GPU?): 2.6.0+cu124 (False) Tensorflow version (GPU?): not installed (NA) Flax version (CPU?/GPU?/TPU?): 0.10.4 (cpu) Jax version: 0.5.0 JaxLib version: 0.5.0
transformers
I am attaching screenshot for reference
@gante @Rocketknight1
I am facing issue for Flax models like
FlaxWav2Vec2Model FlaxWav2Vec2ForCTC FlaxWav2Vec2ForPreTraining
examples
Steps to recreate the error:
Run the below code in any python editor
from transformers import AutoProcessor, FlaxWav2Vec2Model processor = AutoProcessor.from_pretrained("facebook/wav2vec2-base-960h") model = FlaxWav2Vec2Model.from_pretrained("facebook/wav2vec2-base-960h", from_pt= True)
The model should run and produce an error free output with the basic examples
The text was updated successfully, but these errors were encountered:
I would like to contribute for this issue
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
System Info
While running Flax Wav2Vec2 models like FlaxWav2Vec2Model, FlaxWav2Vec2ForCTC, FlaxWav2Vec2ForPreTraining , I am encountering an error as
NotImplementedError: ``config.do_stable_layer_norm is False`` is currently not supported"
when config.do_stable_layer_norm is False, currently there is no implementation
but, by default config.do_stable_layer_norm is False Reference
We need to implement this, since mostly do_stable_layer_norm value is false. We might get this error frequently
System Info
My environment details are as below :
I am attaching screenshot for reference
Who can help?
@gante @Rocketknight1
I am facing issue for Flax models like
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
Steps to recreate the error:
Run the below code in any python editor
Expected behavior
The model should run and produce an error free output with the basic examples
The text was updated successfully, but these errors were encountered: