- 升级Python版本要求从3.13到3.14 - 更新PyTorch CUDA索引URL从cu129到cu130 - 移除依赖版本固定,允许更灵活的版本选择 - 更新项目版本号从0.2.0到0.2.1 - 同步更新README和包元数据中的版本信息 - 更新Python版本锁定文件(.python-version)至3.14
31 lines
682 B
TOML
31 lines
682 B
TOML
[project]
|
|
name = "cifar100"
|
|
version = "0.2.1"
|
|
description = "Cifar100 classification using PyTorch"
|
|
readme = "README.md"
|
|
requires-python = ">=3.14"
|
|
dependencies = [
|
|
"matplotlib",
|
|
"numpy",
|
|
"torch",
|
|
"torchvision",
|
|
]
|
|
|
|
[tool.uv]
|
|
python-install-mirror = "https://gh-proxy.com/https://github.com/astral-sh/python-build-standalone/releases/download/"
|
|
|
|
[tool.uv.sources]
|
|
torch = {index = "pytorch"}
|
|
torchaudio = {index = "pytorch"}
|
|
torchvision = {index = "pytorch"}
|
|
|
|
[[tool.uv.index]]
|
|
name = "tuna"
|
|
url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple"
|
|
default = true
|
|
|
|
[[tool.uv.index]]
|
|
name = "pytorch"
|
|
url = "https://download.pytorch.org/whl/cu130"
|
|
explicit = true
|