Skip to content
Open
Changes from 1 commit
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
505531e
@
SummerSec May 16, 2026
4e7397b
feat: comprehensive Chinese (zh-CN) localization for Settings and nav…
SummerSec May 16, 2026
ec6d016
fix: translate production override parameter labels (Speed, t_shift, …
SummerSec May 16, 2026
f678e33
fix: translate voice design category labels (Gender, Age, Pitch, etc.)
SummerSec May 16, 2026
f4c6689
feat: translate Transcriptions and Voice Gallery pages
SummerSec May 16, 2026
e8bd945
fix: translate gallery category names (Disney, Anime, etc.)
SummerSec May 16, 2026
f900cfe
feat: translate DubTab, personality presets, and voice design presets
SummerSec May 16, 2026
fb732c1
fix: remove duplicated emoji in personality name translations
SummerSec May 16, 2026
4c5a245
fix: correct preset translation keys to match actual preset IDs
SummerSec May 16, 2026
fb269c8
fix: filter natural language from personality instruct to prevent val…
SummerSec May 16, 2026
0a76996
fix: handle edge case where instruct has no valid tags
SummerSec May 16, 2026
7713b4d
chore: remove debug logging from personality instruct filter
SummerSec May 16, 2026
9bcbd95
fix: address CodeRabbit review — importlib.util, English comment, gra…
SummerSec May 16, 2026
1bdc755
fix: localize selected category label in VoiceGallery header
SummerSec May 16, 2026
e033b2e
feat: translate remaining DubTab UI text (CAST, Generate Dub, Transla…
SummerSec May 16, 2026
128c8ba
fix: improve ffmpeg detection on Windows, error messages, and yt-dlp …
SummerSec May 16, 2026
186b5d8
feat: add proxy setting in Settings → General for downloading via proxy
SummerSec May 16, 2026
fb9e7f4
fix: improve ffmpeg detection on Windows, error messages, and yt-dlp …
SummerSec May 16, 2026
16c4b9e
feat: allow HTTP_PROXY/HTTPS_PROXY env vars via /system/set-env
SummerSec May 16, 2026
1bb874a
Merge remote-tracking branch 'fork/fix/backend-ffmpeg-proxy' into fix…
SummerSec May 16, 2026
16f8a51
fix: support SOCKS5 proxy, also set ALL_PROXY env var
SummerSec May 16, 2026
b5043a1
fix: increase yt-dlp extractor retries for subtitle 429 errors
SummerSec May 16, 2026
259eab5
feat: translate prep overlay stage labels (download, extract, demucs,…
SummerSec May 16, 2026
87415a1
feat: translate BatchQueue, VoiceProfile, ToolsPage, Projects pages
SummerSec May 16, 2026
3dadc97
feat: translate SetupWizard, DonatePage, EnterprisePage + fix NotImpl…
SummerSec May 16, 2026
f4dbaf7
feat: add ffmpeg status + manual path setting in Settings → General
SummerSec May 16, 2026
c064a50
fix: validate ffmpeg path exists when user sets it manually
SummerSec May 16, 2026
0e81bf9
fix: fall back to thread-based subprocess when asyncio raises NotImpl…
SummerSec May 16, 2026
714f2f8
fix: pin setuptools<70 — ctranslate2 requires pkg_resources removed i…
SummerSec May 16, 2026
f9be8e6
fix: translate transcribing overlay text
SummerSec May 16, 2026
696f245
fix: complete DubTab zh-CN localization + argostranslate preflight check
SummerSec May 17, 2026
f77d668
fix: add cmn-Hans language code mapping for Google Translate
SummerSec May 17, 2026
23266bf
fix: fall back to thread-based pip install on Windows when asyncio su…
SummerSec May 17, 2026
7844367
Merge remote-tracking branch 'origin/main' into fix/windows-triton-to…
SummerSec May 17, 2026
0651a54
feat: add DeepL/Microsoft/LLM credential fields to Settings
SummerSec May 17, 2026
b0ad935
feat(i18n): localize GlossaryPanel, DubSegmentTable, DubSegmentRow
SummerSec May 17, 2026
1366ea4
fix: Windows-safe log rotation handler avoids PermissionError on rename
SummerSec May 17, 2026
36fa543
feat: persist proxy/FFmpeg/LLM/translation credentials, separate Deep…
SummerSec May 17, 2026
936e371
feat(i18n): localize ExportModal with zh-CN support
SummerSec May 17, 2026
cc63e97
fix: address PR #66 security review feedback
SummerSec May 18, 2026
cc54f90
docs: add Chinese translation README_CN.md
SummerSec May 18, 2026
91cd79f
docs: add link to Simplified Chinese translation in README.md
SummerSec May 18, 2026
7c353b3
docs: add English/Simplified Chinese cross-links between READMEs
SummerSec May 18, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions backend/services/model_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,14 @@ def _on_hf_progress(ev):

try:
if device == "cuda":
_set_loading("compiling", "Compiling model (torch.compile)…")
_model.llm = torch.compile(_model.llm, mode="reduce-overhead")
logger.info("torch.compile applied.")
# Windows 没有 Triton——torch.compile 可能不报错但推理时炸显存
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Outdated
import importlib
if importlib.util.find_spec("triton") is None:
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Outdated
logger.info("torch.compile skipped: triton not available on this platform")
else:
_set_loading("compiling", "Compiling model (torch.compile)…")
_model.llm = torch.compile(_model.llm, mode="reduce-overhead")
logger.info("torch.compile applied.")
except Exception as e:
logger.info("torch.compile skipped: %s", e)

Expand Down