Skip to content

Instantly share code, notes, and snippets.

@djibe
Created February 5, 2026 08:24
Show Gist options
  • Select an option

  • Save djibe/7040ddae4f153b61e61e51dda1eb7321 to your computer and use it in GitHub Desktop.

Select an option

Save djibe/7040ddae4f153b61e61e51dda1eb7321 to your computer and use it in GitHub Desktop.
PyTorch 2026 setup on Windows
[project]
name = "xxx"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"accelerate>=1.12.0",
"pandas>=3.0.0",
"torch>=2.10.0",
"torchvision>=0.25.0",
"tqdm>=4.67.3",
"transformers>=5.0.0",
]
[tool.uv]
required-environments = [
"sys_platform == 'win32' and platform_machine == 'AMD64'"
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment