OpenMOSS / OpenMOSS/MOSS

推理时,显卡内存慢慢占满,怎么释放

Open
#209 2 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

使用moss-moon-003-sft-int4,单卡推理,显卡内存随着推理,慢慢占满,怎样设置,推理完一个问题后, 释放显卡内存

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

The report only identifies single-GPU inference with moss-moon-003-sft-int4 and does not name a file, test, or entry point. Start by reproducing the memory growth across successive questions and trace the inference and memory-management path. Done means memory no longer grows without bound after each question, with a regression test or documented reproduction result.

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.