Skip to content
New issue

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

Add wav2vec2 support - export and audio tasks modeling #645

Merged
merged 10 commits into from
Jul 11, 2024

Conversation

JingyaHuang
Copy link
Collaborator

@JingyaHuang JingyaHuang commented Jun 28, 2024

What does this PR do?

  • Exporter support of wav2vec2
  • tiny test
optimum-cli export neuron --model hf-internal-testing/tiny-random-Wav2Vec2Model --task audio-xvector --batch_size 1 --audio_sequence_length 74400 --auto_cast matmul --auto_cast_type bf16 tiny_wav2vec_neuron/
  • regular model
optimum-cli export neuron --model facebook/wav2vec2-large-960h-lv60-self --task audio-xvector --batch_size 1 --audio_sequence_length 74400 --auto_cast matmul --auto_cast_type bf16 wav2vec_neuron/
  • Neuron modeling for audio tasks
  • Transformers pipeline support
  • Tests
  • Documentation

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Did you make sure to update the documentation with your changes?
  • Did you write any new necessary tests?

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@JingyaHuang JingyaHuang marked this pull request as ready for review July 9, 2024 15:06
Copy link
Collaborator

@dacorvo dacorvo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the pull-request, looks good to me !

paths:
- "setup.py"
- "optimum/**.py"
workflow_dispatch
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good ! We can still launch them manually

@JingyaHuang JingyaHuang merged commit 56cb8a5 into main Jul 11, 2024
9 of 12 checks passed
@JingyaHuang JingyaHuang deleted the add-wav2vec-support branch July 11, 2024 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants