Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dakinggg committed Nov 16, 2023
1 parent 2f8afa2 commit 6791f3d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_mpt_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ def test_mpt_generate_callback(attn_impl: str, use_alibi: bool,
@pytest.mark.parametrize('attn_impl', ['triton', 'torch'])
@pytest.mark.parametrize('use_alibi', [True, False])
def test_mpt_generate_callback_not_tied(
attn_impl: str, build_tiny_mpt: Callable[..., ComposerMPTCausalLM],
use_alibi: bool, attn_impl: str,
build_tiny_mpt: Callable[..., ComposerMPTCausalLM],
tiny_ft_dataloader: DataLoader):
device = get_device('gpu')

Expand All @@ -157,7 +158,7 @@ def test_mpt_generate_callback_not_tied(
attn_config={
'attn_impl': attn_impl,
'attn_uses_sequence_id': False,
'alibi': True,
'alibi': use_alibi,
},
)
model = device.module_to_device(model)
Expand Down

0 comments on commit 6791f3d

Please sign in to comment.