Skip to content
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

最新版本跑在Macbook上,占用内存比较高,想请教下是什么原因? #523

Open
anzchy opened this issue Apr 14, 2024 · 7 comments
Labels
enhancement New feature or request

Comments

@anzchy
Copy link

anzchy commented Apr 14, 2024

如图,昨晚更新了最新版本后,发现 Macbook 明显发热特别厉害,早上查看了下进程,发现 enjoy 占用了很多内存和功耗,我的 Macbook 是 M1 Pro,Mac OS 版本14.2.1 (23C71),解析音频用的是 small.en 这个 400Mb 的模型,想了解下:在播放跟读音频过程中,离线模型文件一直在运行?有没有可以解决的办法?
SCR-20240414-hpjx
SCR-20240414-htrd

@an-lee
Copy link
Collaborator

an-lee commented Apr 14, 2024

应该只有用 whisper 语音转文本的时候,功耗才会比较大,其他时候不会这样。可能有 bug,我检查一下看。

@JIM4ME
Copy link

JIM4ME commented Apr 16, 2024

我是m2 air 乞丐版,也是感觉比较耗电

@JIM4ME
Copy link

JIM4ME commented Apr 16, 2024

今天特意注意了下,跑1小时20分钟enjoy,设备从100%掉到66%

@an-lee
Copy link
Collaborator

an-lee commented Apr 16, 2024

能确认是升级新版本之后出现的新问题吗?

@JIM4ME
Copy link

JIM4ME commented Apr 16, 2024

能确认是升级新版本之后出现的新问题吗?

无法确定。

@anzchy
Copy link
Author

anzchy commented Apr 16, 2024

能确认是升级新版本之后出现的新问题吗?

今天退回到0.2.2试了下,也会占80%的 CPU 任务(enjoy render 占 64%),但没有 0.2.3 用起来电脑那么烫

@an-lee an-lee added the enhancement New feature or request label May 13, 2024
@JIM4ME
Copy link

JIM4ME commented May 14, 2024

今天特意注意了下,跑1小时20分钟enjoy,设备从100%掉到66%

[v0.2.5]版本测试了下,跑1小时20分钟enjoy,设备从89%掉到76%,显著提升。
测试设备:m2 macbook 丐版
测试方法:一直循环播放一条音频,内存及cpu占用入下图。
截屏2024-05-14 10 06 50

截屏2024-05-14 10 40 00

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants