Commit Graph
26 Commits
Author SHA1 Message Date
mrfakename 864a4a7ed2 Add VibeVoice streaming model (#35) 2025-12-04 22:00:30 -08:00
cseti007 63a21e2b45 add ---seed parameter for reproducibility (#18) 2025-10-04 19:25:35 -07:00
mrfakename c25ae58bb2 LoRA inference (#14) 2025-09-24 15:05:02 -07:00
YaoyaoChang 6065c5224e update Colab: add download audio 2025-09-02 02:08:19 -07:00
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
YaoyaoChang 3074f898ca support CPU 2025-09-01 16:32:50 +08:00
jonathanagustin 086cd6aa6c refactor(colab): remove cd and use absolute paths for idempotent runs
- avoid stateful working-directory changes in notebook cells
- use explicit /content/... paths for clone/install/inference
- improves readability and re-run reliability
2025-09-01 15:47:52 +08:00
jonathanagustin 12493567c4 perf(colab): simplify setup & speed up downloads (uv, hf-xet)
- use `uv pip -e` for faster, deterministic installs
- enable hf-xet (HF_XET_HIGH_PERFORMANCE=1) for faster transfers
- download model with `hf download` to /content/models/VibeVoice-1.5B (quiet, idempotent)
- simplify flow: absolute paths, minimal cells, remove redundant steps
- add binary T4 GPU check + clear runtime switch instructions
- add “Open in Colab” badge; keep Risks & Limitations visible
2025-09-01 15:47:52 +08:00
YaoyaoChang 174e53fc04 gradio support sdpa 2025-08-30 08:22:32 -07:00
YaoyaoChang c72bc0c59b add Risks and Limitations in Gradio 2025-08-28 02:26:17 -07:00
YaoyaoChang 1f3768c974 add Risk and Limitations for Colab 2025-08-28 02:15:42 -07:00
YaoyaoChang 4b8b6f7700 update 2025-08-28 01:28:27 -07:00
NR 84710c4d2b Add immediate UI update for Generate and Stop buttons (#18)
### Summary
The Stop button previously appeared only after the backend generation job actually started, leaving users with no cancel affordance while a request sat in the queue. This PR makes the Stop button visible immediately after clicking **Generate Podcast**.

### Change
Adds a single non-queued `.then` step in the click event chain
that hides the Generate button and shows the Stop button instantly, before the queued job begins processing.
2025-08-28 15:24:43 +08:00
_ e611deafac FIX: adjust quote type in inference_from_file (#33)
adds
full_script = full_script.replace("’", "'")
to the data preparation
2025-08-28 15:24:42 +08:00
YaoyaoChang f57a9bffb1 speaker index from 1 2025-08-28 15:24:42 +08:00
YaoyaoChang 54fbbce40e add colab 2025-08-27 18:57:33 -07:00
YaoyaoChang ac0104c65e try sdpa if error in flash_attention_2 2025-08-27 18:46:15 -07:00
YaoyaoChang 8ed05ba7de update to sdpa 2025-08-27 18:21:30 -07:00
JianweiYu 13b72fec79 update 2025-08-26 23:48:05 -07:00
YaoyaoChang 056bb5b0fa add args to use_eager 2025-08-26 19:44:34 -07:00
JianweiYu d2681c19d0 tomasyu 2025-08-26 16:27:56 -07:00
_ 2c7c57eda0 script.replace("’", "'") in gradio_demo.py
prevents ’ characters from silencing succeeding word parts
2025-08-26 01:00:37 +01:00
JianweiYu 5bb30cf6d1 update 2025-08-25 10:13:28 -07:00
JianweiYu 50e2e91bf9 update 2025-08-25 09:24:30 -07:00
JianweiYu 2f9a3d79a0 update 2025-08-25 09:21:51 -07:00
pengzhiliang d5895e76d4 init 2025-08-25 15:28:13 +00:00