chore: Note why package build isolation was disabled for DeepSpeed

This commit is contained in:
Arcitec
2025-09-19 02:35:27 +02:00
parent cc9c6b6cfe
commit ae5653986c

View File

@@ -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]