optimum
optimum copied to clipboard
🚀 Accelerate training and inference of 🤗 Transformers and 🤗 Diffusers with easy to use hardware optimization tools
# What does this PR do? Fixes # (issue) https://github.com/huggingface/optimum/issues/1450 ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other...
Need https://github.com/huggingface/transformers/pull/28141 to be merged and part of the release before we can merge
### System Info ```shell optimum==1.14.1 peft==0.6.1 pytorch-lightning==2.1.0 pytorch-pretrained-bert==0.6.2 torch==2.0.0+cu118 torchaudio==2.0.0+cu118 torchmetrics==1.2.0 torchvision==0.15.1+cu118 ``` ### Who can help? _No response_ ### Information - [ ] The official example scripts - [X]...
### System Info - `transformers` version: 4.36.2 - Platform: Windows-10-10.0.22621-SP0 - Python version: 3.10.13 - Huggingface_hub version: 0.20.1 - Safetensors version: 0.4.1 - Accelerate version: 0.25.0 - Accelerate config: not...
Fixes #27602
### Feature request When I try to use optimum-cli to export the facebook/encodec_32khz model I get this error: ``` % optimum-cli export onnx --model facebook/encodec_32khz encodec.onnx Framework not specified. Using...
### Feature request Right now, it seems like the only implementation for ONNX exports of HuggingFace models is to use them in Python inferencing. It would be great we could...
### 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....
### System Info ```shell optimum 1.16.1 ``` ### Who can help? @philschmid ### Information - [X] The official example scripts - [ ] My own modified scripts ### Tasks -...
### System Info ```shell - Platform: Windows-10 - Python version: 3.10.13 - PyTorch version: 2.1.2+cu118 - Huggingface_hub version: 0.20.1 - Transformers version: 4.36.2 - Accelerate version: 0.25.0 - optimum version:...