Skip to content

What do you think about Visual Studio Marketplace? We are looking for feedback from developers like you! Take the survey

| Marketplace
Sign in
Visual Studio Code>Data Science>GPU EnvironmentsNew to Visual Studio Code? Get it now.

GPU Environments

Run.ai

|
1,570 installs
| (0) | Free
Lets you interactively control, configure and monitor the GPU resources that you are using.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

GPU Environment Management for Visual Studio Code

The genv extension lets you interactively control, configure and monitor the GPU resources that your Visual Studio Code session is using.

With genv you could:

  • Easily share GPUs with your teammates.
  • Find available GPUs for you to use.
  • Switch between GPUs without code changes.

Overview

Getting Started

Read the genv reference to get started.

Installation

From the Visual Studio Marketplace.

Features

Setting the Device Count

You can configure how many GPUs you need just by clicking the status bar item. After specifying the device count, genv will look for available GPUs and attach them for your environment.

From now on, anything you'll run in your Visual Studio Code session would use only these GPUs (e.g. Python scripts, terminal commands, etc.). You will also see the devices turn green which shows that they are attached to your environment.

Device Count

Choosing Specific GPUs to Use

In addition to automatically provisioning GPUs based on the configured device count, genv lets you choose specific GPUs that you want your environment to use. You can switch between GPUs easily by selecting them in the device view.

Choose GPUs

Development

Publish

Bump the version. You can use npm-version. For example:

npm version patch

Package the extension using:

npm run package

Publish the extension using:

npm run publish
  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft