docs: 更新 README/CLAUDE 文档 + 配置 uv CUDA 兼容

- README: 补充 GPU 加速章节、多集合、CLI 新选项 (-C/--json)
- CLAUDE: 修正 uv run 可用说明、补充 [tool.uv] 配置文档
- pyproject.toml: 添加 [tool.uv] 配置, 通过 find-links + unsafe-best-match
  让 uv 从本地 CUDA wheel 解析 torch, 不再覆盖 GPU 环境
- uv.lock: 更新 lockfile, Windows 平台锁定 torch 2.6.0+cu124
This commit is contained in:
2026-07-06 12:44:06 +08:00
parent eebdef739c
commit 7e77c31e16
4 changed files with 260 additions and 247 deletions
+4
View File
@@ -30,6 +30,10 @@ build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/"]
[tool.uv]
find-links = ["D:/settings/Language/Python/库"]
index-strategy = "unsafe-best-match"
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]