Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 760 Bytes

File metadata and controls

30 lines (23 loc) · 760 Bytes

CUDA Development Container

This repo configures a CUDA enabled python development container. If you are unfamiliar with development containers, check out this page.

Installation

  1. Add repo as submodule
git submodule add git@github.com:raphaelschwinger/cuda-python-devcontainer.git .devcontainer
  1. Set CUDA_VERSION and VARIANT in .devcontainer/devcontainer.json to your desired values. The CUDA and Ubuntu version has to match with image tags found here.

  2. Reopen in container

  3. Init poetry project

poetry init
  1. Start installing packages
poetry add <package>
  1. Start virtualenv
eval $(poetry env activate)