Skip to content

Commit

Permalink
make sure flash attention is enabled for the test
Browse files Browse the repository at this point in the history
  • Loading branch information
winglian committed Jan 23, 2024
1 parent 929933f commit 97e06f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/e2e/patched/test_phi_multipack.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ def test_ft_packed(self, temp_dir):
"tokenizer_type": "AutoTokenizer",
"sequence_len": 2048,
"sample_packing": True,
"flash_attention": True,
"pad_to_sequence_len": True,
"load_in_8bit": False,
"adapter": None,
Expand Down Expand Up @@ -82,6 +83,7 @@ def test_qlora_packed(self, temp_dir):
"tokenizer_type": "AutoTokenizer",
"sequence_len": 2048,
"sample_packing": True,
"flash_attention": True,
"pad_to_sequence_len": True,
"load_in_8bit": False,
"adapter": "qlora",
Expand Down

0 comments on commit 97e06f3

Please sign in to comment.