OpenBMB / OpenBMB/MiniCPM-o-Demo

如何1个worker能占用两张显卡

Open
#13 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
386
Forks
81
Avg merge
1h 59m
Merged PRs (30d)
3

Description

我有两张显卡,都是24G左右,实际使用会oom,现在希望worker能够同时利用两张显卡该怎么办?

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 issue names no file, test, or entry point. Start by locating how a worker assigns model execution to GPUs and reproduce the OOM with the two approximately 24 GB cards. Done would require a clearly documented or implemented approach for using both GPUs, with its memory behavior verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
machine-learning
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.