https://github.com/liuyuweitarek/python-poetry-wsl2-ubuntu-gpu-docker-template
Docker-based Python development template using Poetry and GPU support for PyTorch, compatible with Windows WSL2 and Ubuntu. Includes Jekyll for GitHub Pages documentation.
https://github.com/liuyuweitarek/python-poetry-wsl2-ubuntu-gpu-docker-template
docker docker-template github-pages-website gpu-container jeykll-template python-poetry python-template pytorch wsl-ubuntu
Last synced: 3 months ago
JSON representation
Docker-based Python development template using Poetry and GPU support for PyTorch, compatible with Windows WSL2 and Ubuntu. Includes Jekyll for GitHub Pages documentation.
- Host: GitHub
- URL: https://github.com/liuyuweitarek/python-poetry-wsl2-ubuntu-gpu-docker-template
- Owner: liuyuweitarek
- Created: 2024-06-16T03:43:15.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-09-07T08:47:24.000Z (8 months ago)
- Last Synced: 2025-01-11T19:43:05.858Z (4 months ago)
- Topics: docker, docker-template, github-pages-website, gpu-container, jeykll-template, python-poetry, python-template, pytorch, wsl-ubuntu
- Language: Dockerfile
- Homepage: https://liuyuweitarek.github.io/python-poetry-wsl2-ubuntu-gpu-docker-template/
- Size: 4.94 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Python Poetry WSL2-Ubuntu-GPU Docker Template
![]()
(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](https://liuyuweitarek.github.io/python-poetry-wsl2-ubuntu-gpu-docker-template/getting_started/prerequisites/) and [Installation](https://liuyuweitarek.github.io/python-poetry-wsl2-ubuntu-gpu-docker-template/getting_started/installations.html) based on your Operating System and GPU Driver Version. Next, [customize this template](https://liuyuweitarek.github.io/python-poetry-wsl2-ubuntu-gpu-docker-template/getting_started/customized-to-new-project.html) for your project.
If you want to use this template as your project's documentation, please check more details in [editing this documentation](https://liuyuweitarek.github.io/python-poetry-wsl2-ubuntu-gpu-docker-template/documentations/) that shows how to manage these pages and customize it for your project.
See more details in [Template Documentation](https://liuyuweitarek.github.io/python-poetry-wsl2-ubuntu-gpu-docker-template/).
## Having issues?
Please feel free to open an issue through [Github Issues](https://github.com/liuyuweitarek/python-poetry-wsl2-ubuntu-gpu-docker-template/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
```bash
$ git clone https://github.com/${YOUR_GITHUB_USERNAME}/${YOUR_REPOSITORY_NAME}.git
```2. [Install Prerequisites](https://liuyuweitarek.github.io/python-poetry-wsl2-ubuntu-gpu-docker-template/getting_started/prerequisites)
3. Launch the project
Go to the cloned repository root folder, which contain `docker-compose.yml`.
```bash
$ 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