OpenMOSS / OpenMOSS/MOSS-TTS-Nano
遇到cpu环境下内存不释放 ,每次推理内存渐增长但不释放
Open
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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