feat: Initial project setup with structure, dependencies, and tooling

This commit is contained in:
Craig
2025-04-12 10:01:26 +01:00
parent 8c6de7380f
commit 36d1a877e5
21 changed files with 728 additions and 10 deletions

32
pyproject.toml Normal file
View File

@@ -0,0 +1,32 @@
[project]
name = "torchvision-vibecoding-project"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"numpy>=2.2.4",
"pillow>=11.1.0",
"pytest>=8.3.5",
"ruff>=0.11.5",
"torch>=2.6.0",
"torchvision>=0.21.0",
]
[tool.uv.sources]
torch = [
{ index = "pytorch-cu124", marker = "sys_platform == 'linux'" },
]
torchvision = [
{ index = "pytorch-cu124", marker = "sys_platform == 'linux'" },
]
[[tool.uv.index]]
name = "pytorch-cu124"
url = "https://download.pytorch.org/whl/cu124"
explicit = true
[dependency-groups]
dev = [
"pre-commit>=4.2.0",
]