OpenMOSS / OpenMOSS/MOSS

推理占的显存不能释放吗,随着问题增多,显存溢出

Open
#157 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
12.3k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

3090卡在线推理,前面几个问题,推理时间虽然长点,能出结果,随着问题的增加,显存溢出,不是一个问题推理完后,显存自动释放吗,有好解决方案吗。
难道问的问题越多,显存占用越多,不释放,那不是再好的配置,随着问题的增多,显存越来越少。

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

No file, test, or entry point is identified in the report. First reproduce online inference on a 3090 while submitting increasingly many questions, then inspect the inference and memory-lifecycle paths to determine whether usage grows after completed requests. Done means the cause is identified and repeated inference no longer leads to GPU out-of-memory errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.