Skip to content

Commit

Permalink
feat: add FA to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
NanoCode012 authored and winglian committed Apr 5, 2024
1 parent 572c9e4 commit df936a9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,7 @@ def test_packing(self, minimal_cfg):
{
"sample_packing": True,
"pad_to_sequence_len": None,
"flash_attention": True,
}
)
| minimal_cfg
Expand Down Expand Up @@ -901,6 +902,7 @@ def test_eval_table_size_conflict_eval_packing(self, minimal_cfg):
{
"sample_packing": True,
"eval_table_size": 100,
"flash_attention": True,
}
)
| minimal_cfg
Expand All @@ -916,6 +918,7 @@ def test_eval_table_size_conflict_eval_packing(self, minimal_cfg):
{
"sample_packing": True,
"eval_sample_packing": False,
"flash_attention": True,
}
)
| minimal_cfg
Expand All @@ -928,6 +931,7 @@ def test_eval_table_size_conflict_eval_packing(self, minimal_cfg):
{
"sample_packing": False,
"eval_table_size": 100,
"flash_attention": True,
}
)
| minimal_cfg
Expand All @@ -941,6 +945,7 @@ def test_eval_table_size_conflict_eval_packing(self, minimal_cfg):
"sample_packing": True,
"eval_table_size": 100,
"eval_sample_packing": False,
"flash_attention": True,
}
)
| minimal_cfg
Expand Down

0 comments on commit df936a9

Please sign in to comment.