This repository contains a devcontainer for CUDA + PyTorch development. It is based on the nvidia/cuda image.
You can use this devcontainer to develop CUDA + PyTorch applications in a container.
The container is based on the nvidia/cuda image and contains the following tools:
- CUDA 11.7.1
- Python 3.10
- PyTorch
- Windows Subsystem for Linux 2 (WSL2)
- Install Docker and VSCode.
- Install the Remote - Containers extension.
- Clone this repository.
- Open the repository in VSCode.
- Click the green button in the lower left corner of the window.
- Wait for the container to build and start.
- Open a terminal in VSCode and run
python
to start the Python REPL.
This project is licensed under the MIT License.