Skip to content

Commit 2c23201

Browse files
committed
Updated tox and pyproject
Signed-off-by: romitjain <[email protected]>
1 parent 890725c commit 2c23201

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

pyproject.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,14 @@ fms-accel = ["fms-acceleration>=0.6.2"]
5252
gptq-dev = ["auto_gptq>0.4.2", "optimum>=1.15.0"]
5353
mamba = ["mamba_ssm[causal-conv1d]>=2.0.0,<3.0.0"]
5454
scanner-dev = ["HFResourceScanner>=0.1.0"]
55+
fms-accel-all = [
56+
"fms-acceleration>=0.6.2",
57+
"fms-acceleration-peft",
58+
"fms-acceleration-foak",
59+
"fms-acceleration-aadp",
60+
"fms-acceleration-moe",
61+
"fms-acceleration-odm"
62+
]
5563

5664
[tool.setuptools.packages.find]
5765
exclude = ["tests", "tests.*"]

tox.ini

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,14 @@ commands =
5353
coverage report -m
5454
coverage xml
5555
genbadge coverage -s -i coverage.xml
56+
57+
[testenv:accel]
58+
description = run GPU enabled tests
59+
deps =
60+
pytest>=7
61+
.[aim,mlflow,clearml,scanner-dev,fms-accel-all]
62+
setenv =
63+
CUDA_VISIBLE_DEVICES=0
64+
commands =
65+
pytest {posargs:tests/test_sft_trainer.py}
66+
pytest {posargs:tests/acceleration/test_acceleration_framework.py}

0 commit comments

Comments
 (0)