mirror of
https://github.com/remsky/Kokoro-FastAPI.git
synced 2025-08-05 16:48:53 +00:00
Revert changes to pyproject toml to use pytorch nightly
This commit is contained in:
parent
2ad4467b27
commit
7e9108efc6
1 changed files with 12 additions and 4 deletions
|
@ -47,10 +47,8 @@ gpu = [
|
|||
"torch==2.6.0+cu124",
|
||||
]
|
||||
rocm = [
|
||||
"torch @ https://repo.radeon.com/rocm/manylinux/rocm-rel-6.4.1/torch-2.6.0%2Brocm6.4.1.git1ded221d-cp310-cp310-linux_x86_64.whl",
|
||||
"pytorch-triton-rocm @ https://repo.radeon.com/rocm/manylinux/rocm-rel-6.4.1/pytorch_triton_rocm-3.2.0%2Brocm6.4.1.git6da9e660-cp310-cp310-linux_x86_64.whl",
|
||||
"torchvision @ https://repo.radeon.com/rocm/manylinux/rocm-rel-6.4.1/torchvision-0.21.0%2Brocm6.4.1.git4040d51f-cp310-cp310-linux_x86_64.whl",
|
||||
"torchaudio @ https://repo.radeon.com/rocm/manylinux/rocm-rel-6.4.1/torchaudio-2.6.0%2Brocm6.4.1.gitd8831425-cp310-cp310-linux_x86_64.whl",
|
||||
"torch==2.8.0.dev20250627+rocm6.4",
|
||||
"pytorch-triton-rocm>=3.2.0",
|
||||
]
|
||||
cpu = [
|
||||
"torch==2.6.0",
|
||||
|
@ -73,10 +71,15 @@ conflicts = [
|
|||
],
|
||||
]
|
||||
|
||||
|
||||
[tool.uv.sources]
|
||||
torch = [
|
||||
{ index = "pytorch-cpu", extra = "cpu" },
|
||||
{ index = "pytorch-cuda", extra = "gpu" },
|
||||
{ index = "pytorch-rocm", extra = "rocm" },
|
||||
]
|
||||
pytorch-triton-rocm = [
|
||||
{ index = "pytorch-rocm", extra = "rocm" },
|
||||
]
|
||||
|
||||
[[tool.uv.index]]
|
||||
|
@ -89,6 +92,11 @@ name = "pytorch-cuda"
|
|||
url = "https://download.pytorch.org/whl/cu124"
|
||||
explicit = true
|
||||
|
||||
[[tool.uv.index]]
|
||||
name = "pytorch-rocm"
|
||||
url = "https://download.pytorch.org/whl/nightly/rocm6.4"
|
||||
explicit = true
|
||||
|
||||
[build-system]
|
||||
requires = ["setuptools>=61.0"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
|
Loading…
Add table
Reference in a new issue