OpenMOSS / OpenMOSS/MOSS-TTS-Nano

遇到cpu环境下内存不释放 ,每次推理内存渐增长但不释放

Open
#92 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
4.4k
Forks
554
PR merge metrics
No merged PRs in 30d

Description

app_onnx 启动占用 700m左右内存,随着运行期间推理,可以占用8g左右内存,每次api请求推理内存都会逐渐上升,推理完成内容也不见下降

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the app_onnx CPU inference entry point and reproduce the issue by sending repeated API requests while measuring memory before and after each inference. Trace the inference lifecycle and identify where memory remains retained. Done means repeated completed requests no longer cause steady memory growth; the issue names no files or tests to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, machine-learning, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.