Skip to content
This repository was archived by the owner on Jul 8, 2026. It is now read-only.

Commit df2725e

Browse files
committed
add optional dependencies in pyproject.toml
1 parent 5d2f9b1 commit df2725e

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,8 @@ classifiers=[
3838
]
3939
dependencies = [
4040
"torch",
41-
"transformer-engine@git+https://github.com/NVIDIA/TransformerEngine.git@v0.11#egg=transformer-engine",
42-
"flash-attn==1.0.9",
4341
"colorlog>=6.7.0",
4442
"deepspeed==0.9.2",
45-
"mpi4py",
4643
]
4744
dynamic = ["version"]
4845

@@ -56,6 +53,14 @@ test = [
5653
"pytest>=7.2.0",
5754
"yapf>=0.32.0",
5855
]
56+
nvidia = [
57+
"transformer-engine@git+https://github.com/NVIDIA/TransformerEngine.git@v0.11#egg=transformer-engine",
58+
"flash-attn==1.0.9",
59+
"mpi4py",
60+
]
61+
amd = [
62+
# TransformerEngine
63+
]
5964

6065
[project.urls]
6166
homepage = "https://github.com/Azure/MS-AMP"

0 commit comments

Comments
 (0)