Skip to content

Commit 1f1d127

Browse files
committed
feat: add mamba kernels for benchmark
: Signed-off-by: Mehant Kammakomati <mehant.kammakomati2@ibm.com>
1 parent feea682 commit 1f1d127

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

scripts/benchmarks/scenarios-moe.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ scenarios:
7676
learning_rate: 5e-5
7777
torch_dtype: bfloat16
7878
gradient_accumulation_steps: null
79-
per_device_train_batch_size: 2
79+
per_device_train_batch_size: 8
8080
logging_steps: 1
8181
packing: False
8282
adam_epsilon: 1e-8

tox.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ commands =
3434
# some models need this for tokenizers
3535
pip install protobuf
3636

37+
# for mamba based models
38+
pip install --no-build-isolation mamba_ssm[causal-conv1d]>=2.0.0
39+
3740
# install the plugins for test
3841
# NOTE: when there are more plugins install here
3942
python -m fms_acceleration.cli install -e {toxinidir}/plugins/accelerated-peft

0 commit comments

Comments
 (0)