mirror of
https://github.com/index-tts/index-tts.git
synced 2025-11-25 03:15:01 +08:00
chore: Note why package build isolation was disabled for DeepSpeed
This commit is contained in:
@@ -88,6 +88,10 @@ build-backend = "hatchling.build"
|
||||
|
||||
[tool.uv]
|
||||
# Disable build isolation when building DeepSpeed from source.
|
||||
# NOTE: This is *necessary* so that DeepSpeed builds directly within our `.venv`,
|
||||
# and finds our CUDA-enabled version of PyTorch, which DeepSpeed *needs* during
|
||||
# its compilation to determine what GPU support to compile for itself. It also
|
||||
# saves time, since it won't waste time downloading a generic PyTorch version.
|
||||
no-build-isolation-package = ["deepspeed"]
|
||||
|
||||
[tool.uv.sources]
|
||||
|
||||
Reference in New Issue
Block a user