OpenBMB / OpenBMB/CPM-Bee

when run "python text_generation_hf.py", loading model was Killed

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

ubuntu,显卡4090,显存24G,加载模型:cpm-bee-10b,执行“python text_generation_hf.py”时,程序在加载模型中被kill了,没有其他提示信息,是因为显存不够吗?torch版本:1.13.1+cu117

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_hf.py and reproduce the command python text_generation_hf.py on the reported Ubuntu, RTX 4090, and torch 1.13.1+cu117 setup. Check why the process is killed while loading cpm-bee-10b; done means identifying the cause and documenting the required resources or a reproducible fix.

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
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.