iSRL commited on
Commit
553451a
·
1 Parent(s): c161f96

build(pyproject.toml): 配置 uv 索引源以提升依赖下载速度

Browse files

新增阿里云 PyPI 镜像作为默认索引源,并添加 PyTorch CUDA 12.4 的官方索引源,
以优化国内用户的依赖安装体验并确保 PyTorch 相关包的正确下载。

Files changed (1) hide show
  1. pyproject.toml +4 -0
pyproject.toml CHANGED
@@ -17,3 +17,7 @@ build-backend = "hatchling.build"
17
 
18
  [[tool.uv.index]]
19
  url = "https://mirrors.aliyun.com/pypi/simple"
 
 
 
 
 
17
 
18
  [[tool.uv.index]]
19
  url = "https://mirrors.aliyun.com/pypi/simple"
20
+ default = true
21
+
22
+ [[tool.uv.index]]
23
+ url = "https://download.pytorch.org/whl/cu124"