Skip to content

出现在最后一个段落翻译中卡住的情况 #339

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
5 tasks done
Akaka217 opened this issue May 7, 2025 · 8 comments
Open
5 tasks done

出现在最后一个段落翻译中卡住的情况 #339

Akaka217 opened this issue May 7, 2025 · 8 comments
Labels
bug Something isn't working High priority

Comments

@Akaka217
Copy link

Akaka217 commented May 7, 2025

Before you submit

  • I have searched existing issues
  • I spent at least 5 minutes investigating and preparing this report
  • I confirmed this is not caused by a network issue
  • I have fully read and understood the README
  • I am certain that this issue is with BabelDOC itself and can be reproduced through the BabelDOC cli

Environment

- OS:win11
- Python:3.11.8
- BabelDOC:0.3.30

Describe the bug

Translate Paragraphs (1/1) ━━━━━━━━━━━━━━━━╸ 1857/1858 0:40:25 -:--:-

出现在最后一个段落翻译中卡住的情况,已经等了15分钟了,不是api接口的问题。

经常出现这个问题,而且会卡很久。

Steps to Reproduce

Expected Behavior

No response

Relevant Log Output or Screenshots


Original PDF File

No response

Additional Context

No response

@Akaka217 Akaka217 added the bug Something isn't working label May 7, 2025
@awwaawwa
Copy link
Member

awwaawwa commented May 7, 2025

请使用最新版重试。

@Akaka217
Copy link
Author

Akaka217 commented May 8, 2025

更新后仍然存在类似的问题,但有所缓解。原先大概要等待几十分钟,现在一般最多等待几分钟到十几分钟。

babeldoc版本为 babeldoc 0.3.37
python版本为 3.11.8

Image

@awwaawwa
Copy link
Member

awwaawwa commented May 9, 2025

可以试试火山引擎的deepseek 或者豆包,qps开到300-500

@wjy1010111
Copy link

我也出现了这个问题,怀疑等待时间的原因是,发送给服务器模型提供商遇到错误,但是超时重试时间太长导致的。

@hadesli
Copy link

hadesli commented May 12, 2025

更新到0.3.40也出现了这个问题

后台用的是硅基的Pro/DeepSeek v3

qps = 6
max-pages-per-part = 200

Translate Paragraphs (1/1) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╸ 943/944 0:16:41 0:00:01

@awwaawwa
Copy link
Member

请各位上传一下完整日志。(把完整日志存到txt中)

@awwaawwa
Copy link
Member

Image

0.3.42未能复现
qps=16,硅基流动 Pro/deepseek-ai/DeepSeek-V3

0.3.40 -> 0.3.42 的更改可能与此有关,各位用0.3.42重试一下吧

@awwaawwa
Copy link
Member

Image

更换一个具有4000段的测试文件也没复现,暂时认为此问题已修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working High priority
Projects
None yet
Development

No branches or pull requests

14 participants
@hadesli @awwaawwa @Akaka217 @wjy1010111 and others