Files
spark-vibevoice/demo
gregory-fanousandYaoyaoChang 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
..
2025-08-25 10:13:28 -07:00
2025-08-26 19:44:34 -07:00
2025-08-26 23:48:05 -07:00