pytorch-cuda-devcontainer

February 7, 2026 ยท View on GitHub

This repository provides a development environment where you can run GPU-enabled PyTorch inside a devcontainer on WSL2.

Environment

  • Python Version: 3.12
  • Base Image: ubuntu:24.04

Preparation

  • Enable NVIDIA CUDA on WSL
    • English
    • Japanese
  • NVIDIA Container Toolkit

Tested Environment

  • Ubuntu 22.04 (WSL2)
  • NVIDIA GeForce RTX 3060 Ti
itemversion
NVIDIA Driver591.86

Contents

  1. 1Environment
  2. 2Preparation
  3. 3Tested Environment