microsoft / microsoft/WSL

How to call shared memory to accelerate model training when video memory is insufficient in WSL2 environment?

Open
#12,445 3 comments 0 reactions 0 assignees View on GitHub
feature GPU question
Dominant language
C++
Stars
33.7k
Forks
1.8k
Avg merge
3d 17h
Merged PRs (30d)
116

Description

When deploying and training a model using Windows Subsystem for Linux (WSL2), I need to use the GPU to speed up the training process. However, I encountered a dilemma: the video memory requirements of the model exceeded the capacity limit of the independent video card. In Windows systems, when the independent video memory is insufficient, the system will automatically call the shared video memory to meet the demand. Is there any way to implement a similar function in the WSL2 environment, that is, to call the shared video memory when the independent video memory is insufficient to continue training the model?

Contributor guide

Open the contributing guide

Research direction

The issue names no source files, tests, or entry points. Start by checking the WSL2 GPU and memory documentation and existing issue discussion for support of shared video memory; done would be a confirmed answer about whether this capability is supported and how it can be used, if at all.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.