OpenBMB / OpenBMB/CPM-Bee

推理报错CUDA:oom & 添加参数--use-bminf --memory-limit 10执行后,报错缺少参数

Open
#99 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2.4k
Forks
176
PR merge metrics
No merged PRs in 30d

Description

模型:2b的压缩模型
内存16G
显卡:v100 16G
部署后,运行python text_generation.py报错 CUDA:OOM
增加参数--use-bminf --memory-limit 10后执行,报错缺少参数
对bminf的版本是否有要求?具体要求什么版本?

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 text_generation.py and reproduce the CUDA OOM using the stated 2B compressed model, 16G system memory, and V100 16G GPU. Then inspect how --use-bminf and --memory-limit 10 are parsed and identify the missing parameter and any required bminf version. Done means the required invocation and compatibility requirements are documented or the reported failure is fixed.

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.