when run "python text_generation_hf.py", loading model was Killed
Open
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
- 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 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