Skip to content

Docker-based Python development template using Poetry and GPU support for PyTorch, compatible with Windows WSL2 and Ubuntu. Includes Jekyll for GitHub Pages documentation.

Notifications You must be signed in to change notification settings

liuyuweitarek/python-poetry-wsl2-ubuntu-gpu-docker-template

Repository files navigation

Python Poetry WSL2-Ubuntu-GPU Docker Template

project-banner
(This picture is generated by DALL·E 3)

What is this template for?

This template sets up a Docker-based development environment with GPU support for Python projects using Poetry for package management, customized for PyTorch. It works on both Windows WSL2 and Ubuntu, and incorporates Jekyll for GitHub Pages documentation.

This template will build two docker images, which includes:

  1. Workspace Image(12.87 GB)

    Package Version
    Python 3.10.12
    Pytorch 2.1.2
    Poetry 1.8.1
  2. (Optional) Local Documentation Jekyll Server(487 MB)

How to use this template?

Get started with Prerequisites and Installation based on your Operating System and GPU Driver Version. Next, customize this template for your project.

If you want to use this template as your project's documentation, please check more details in editing this documentation that shows how to manage these pages and customize it for your project.

See more details in Template Documentation.

Having issues?

Please feel free to open an issue through Github Issues. Thank you for your report. :)


Tip

(Content above can be deleted once the new project is created; furthermore, the content below belongs to the new project generated using the template.)

Getting Started

  1. Clone the project

    $ git clone https://github.com/${YOUR_GITHUB_USERNAME}/${YOUR_REPOSITORY_NAME}.git
  2. Install Prerequisites

  3. Launch the project

    Go to the cloned repository root folder, which contain docker-compose.yml.

    $ docker compose up --build -d

Usage

Customized content for your project

See the "Usage Page" in the documentation for more setup and usage details.

Results

Customized content for your project

See the "Experiment Page" in the documentation for more experiment details.

References

Customized content for your project

Contributors

Customized content for your project

License

Customized content for your project

About

Docker-based Python development template using Poetry and GPU support for PyTorch, compatible with Windows WSL2 and Ubuntu. Includes Jekyll for GitHub Pages documentation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published