VibeVoice/demo
gregory-fanous 6dd49cb720
feat: add Apple MPS device support (dtype + attention handling) to demos (#67)
* Enhance model loading with device support and error handling

Updated device handling for model loading and added support for MPS. Improved error handling and fallback mechanisms for attention implementations.

* Improve device handling and model loading logic

Updated device argument handling to support MPS and added validation for MPS availability. Enhanced model loading logic based on the selected device type.

* fallback only when flash_attention_2 and add some comments back

---------

Co-authored-by: YaoyaoChang <cyy574006791@qq.com>
2025-09-01 17:16:01 +08:00
..
example update 2025-08-25 10:13:28 -07:00
text_examples add args to use_eager 2025-08-26 19:44:34 -07:00
voices update 2025-08-26 23:48:05 -07:00
gradio_demo.py feat: add Apple MPS device support (dtype + attention handling) to demos (#67) 2025-09-01 17:16:01 +08:00
inference_from_file.py feat: add Apple MPS device support (dtype + attention handling) to demos (#67) 2025-09-01 17:16:01 +08:00
VibeVoice_colab.ipynb refactor(colab): remove cd and use absolute paths for idempotent runs 2025-09-01 15:47:52 +08:00