Skip to content

Commit

Permalink
fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
milocress committed Jan 10, 2024
1 parent 350f6ca commit 6550af9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/callbacks/test_hf_checkpointer.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ def _dummy_log_info(*msgs: str):
lambda *_, **__: None)
def assert_checkpoint_saves_to_uri(uri: str, build_tiny_hf_mpt: Callable):
uri_base = uri.split('://')[0]
model = build_tiny_hf_mpt()
model = build_tiny_hf_mpt(attn_config={
'attn_impl': 'triton',
'attn_uses_sequence_id': False,
})

dummy_state = State(model=model,
rank_zero_seed=42,
Expand Down

0 comments on commit 6550af9

Please sign in to comment.