Skip to content

Commit

Permalink
Add num_beams to make tests pass
Browse files Browse the repository at this point in the history
  • Loading branch information
achalddave committed Dec 15, 2023
1 parent b5f9beb commit b34e6ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_generate_kv_cache_time.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ def test_generate_kv_cache(wiki_page, context_len, max_gen_len):
"qk_norm": False,
"positional_embedding_type": "rotary",
"ffn_type": "swiglu",
"num_beams": 1,
}
)

Expand Down
1 change: 1 addition & 0 deletions tests/test_generate_load_kv_cache_equal.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def args():
"qk_norm": False,
"positional_embedding_type": "head_rotary",
"ffn_type": "swiglu",
"num_beams": 1,
}
)
return args
Expand Down

0 comments on commit b34e6ac

Please sign in to comment.