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

Support onnx export of microsoft/speecht5_hifigan and microsoft/speecht5_vc #1573

Open
matbee-eth opened this issue Dec 6, 2023 · 1 comment
Labels
feature-request New feature or request onnx Related to the ONNX export

Comments

@matbee-eth
Copy link

Feature request

microsoft/speecht5_vc

ValueError: Asked to export a speecht5 model for the task audio-to-audio (auto-detected), but the Optimum ONNX exporter only supports the tasks text-to-audio for speecht5. Please use a supported task. Please open an issue at https://github.com/huggingface/optimum/issues if you would like the task audio-to-audio to be supported in the ONNX export for speecht5.

microsoft/speecht5_hifigan

KeyError: "The task could not be automatically inferred. Please provide the argument --task with the relevant task from token-classification, zero-shot-image-classification, image-to-image, zero-shot-object-detection, semantic-segmentation, text2text-generation, feature-extraction, mask-generation, depth-estimation, stable-diffusion, image-to-text, image-segmentation, audio-classification, text-classification, automatic-speech-recognition, conversational, audio-xvector, stable-diffusion-xl, question-answering, multiple-choice, text-generation, audio-frame-classification, image-classification, fill-mask, object-detection, text-to-audio, masked-im. Detailed error: 'Could not find the proper task name for SpeechT5HifiGan.'"

Motivation

Trying to run "AudioLDM" using ONNX formats to use with onnxruntime-web

Your contribution

Novice with onnx, so at best, my contributions may not be beneficial

@matbee-eth
Copy link
Author

Possibly related? #1552

@fxmarty fxmarty added feature-request New feature or request onnx Related to the ONNX export labels Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request onnx Related to the ONNX export
Projects
None yet
Development

No branches or pull requests

2 participants