chore: Note why package build isolation was disabled for DeepSpeed
This commit is contained in:
parent
cc9c6b6cfe
commit
ae5653986c
@ -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]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user