Skip to content

TorchedHat/pytorch-dev-container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyTorch Dev Containers

This repository provides a fully containerized development workflow for PyTorch in Fedora, complete with useful tooling and pre-configurations.


Prerequisites

  1. Git Configuration
    Ensure you have a global Git configuration. If not, run the following commands:

    git config --global user.name "Your Name"
    git config --global user.email "your-email@example.com"
  2. Install Podman If you are using Fedorda at Red Hat, it should be preinstalled.

  3. Install VSCode

  4. Install vscode extensions Install the following extensions: dev containers.

  5. Set docker path for VSCode Add "dev.containers.dockerPath": "podman" to the settings.json file in your User VSCode settings. Default location is at ~/.config/Code/User/settings.json.

  6. Fork PyTorch to Your GitHub Go to github.com/pytorch/pytorch In the top-right corner (between Notifications and Star), click Fork GitHub will create a copy of the repository under your GitHub account

  7. Clone your forked Repo From within this project directory run: git clone git@github.com:username/pytorch.git

Quick Start (Recommended)

  1. Reopen Repostitory in Container This will trigger a build if it is the first time. For more details see devcontainer
  2. Run Build Script From the terminal run: ./scripts/build_pytorch.sh

VSCode Support

For custom vscode configuration, update devcontainer.json.

About

A Fedora Based Development Container for Upstream PyTorch Development

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages