force torch to match when installing fa and deepspeed using uv

This commit is contained in:
Wing Lian
2026-03-04 10:00:08 -05:00
parent b6b8db805a
commit a4a3b618e7

View File

@@ -63,3 +63,5 @@ docstring-code-format = false
[tool.uv.extra-build-dependencies]
axolotl = ["huggingface_hub"]
flash-attn = [{ requirement = "torch", match-runtime = true }]
deepspeed = [{ requirement = "torch", match-runtime = true }]