Bluefog-Lib / Bluefog-Lib/bluefog

CUDA initialized even when user didn't use CUDA at all in an environment with GPUs

Open
#100 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
257
Forks
50
PR merge metrics
No merged PRs in 30d

Description

The CUDA stream is initialized in MPI_context no matter whether user use CUDA or not. Consider lazy initialization.
See: /home/kun/projects/hhb/bluefog/bluefog/common/mpi_context.cc:358.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting bluefog/common/mpi_context.cc at line 358 and trace how MPI_context initializes the CUDA stream. Verify the behavior in an environment with GPUs when no CUDA functionality is requested. Done means CUDA initialization is deferred unless the user actually uses CUDA, without changing the non-CUDA path.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.