Skip to content

Commit 81e52a6

Browse files
committed
Here's a summary of all changes applied to installer/generated/post_install_v1.8.7b0.py:
# Change Status 1 verify_existing_torch_stack(): creates GPU constraints for pre-existing torch 2 install_pytorch_and_torchaudio(): use_constraints=False 3 install_pytorch(): creates GPU constraints after torch verification 4 install_llama_cpp_python(): removed [server] extras calls, added installed_backend tracking, added _pin_llama_cpp_version() calls, passes expected_backend to validation 5 Added _pin_llama_cpp_version() function 6 Rewrote validate_llama_cpp_installation() with expected_backend param, trust-the-installer approach 7 Removed _check_llama_cpp_has_gpu() entirely
1 parent 9404217 commit 81e52a6

2 files changed

Lines changed: 237 additions & 82 deletions

File tree

docs/release_notes_v1.8.7b0.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# v1.8.7-beta — Improvements & Bug Fixes
2+
3+
Pre-release for testing. Feedback welcome via [Issues](https://github.com/meizhong986/WhisperJAV/issues).
4+
5+
---
6+
7+
## Enhancements
8+
9+
- **Local LLM translation reliability** — Fixed token limit handling for small-context models (8K). Streaming is now correctly enabled for local LLM servers, and max_tokens is properly capped to prevent truncated translations. (#196)
10+
11+
- **Apple Silicon (MPS) support** — Metal GPU acceleration now works across more components:
12+
- Transformers pipeline detects and uses MPS instead of falling back to CPU (#198)
13+
- Speech enhancement backends (ZipEnhancer, BS-RoFormer) try MPS with automatic CPU fallback
14+
- Installer correctly installs PyTorch with MPS support on Apple Silicon (no longer pulls CPU-only wheels)
15+
- Prebuilt Metal wheel support for llama-cpp-python on Mac
16+
17+
- **VAD controls** — New `--vad-threshold` and `--speech-pad-ms` CLI flags for direct control over voice activity detection sensitivity, with per-pass overrides for ensemble mode. (#159)
18+
19+
- **Enhanced VAD for ChronosJAV pipelines** — Decoupled and Qwen pipelines now support speech segmentation with Silero v6.2 and TEN backends, giving these pipelines the same VAD quality as the classic balanced pipeline.
20+
21+
- **ZipEnhancer dependency fix** — The `enhance` extra now correctly declares all required ModelScope dependencies (einops, oss2, addict, attrs, datasets, etc.), eliminating manual pip installs after `pip install whisperjav[enhance]`.
22+
23+
## Bug Fixes
24+
25+
- **#196** — Local LLM translation failing with "No matches found" on 8K context models. Three root causes fixed: max_tokens cap, forced streaming, and streaming support flag in CustomClient.
26+
- **#198** — Apple Silicon Macs running Transformers pipeline on CPU instead of MPS. MPS device detection added with proper float16 dtype handling.
27+
- **#195** — UnicodeDecodeError when processing files with Japanese metadata (M4A/M4B). Added `errors='replace'` to FFmpeg subprocess calls. *(fix backported to v1.8.6)*
28+
29+
## Installation
30+
31+
```bash
32+
pip install "whisperjav @ git+https://github.com/meizhong986/whisperjav.git@v1.8.7-beta"
33+
```
34+
35+
Or for Mac users:
36+
```bash
37+
curl -fsSL https://raw.githubusercontent.com/meizhong986/whisperjav/main/install_mac.sh | bash
38+
```

0 commit comments

Comments
 (0)