mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2026-04-10 12:33:42 +00:00
Qwen3 KV cache (#688)
This commit is contained in:
committed by
GitHub
parent
2a530b49fe
commit
0b15a00574
@@ -189,7 +189,7 @@ def llama3_weights_path(tmp_path_factory):
|
||||
)
|
||||
@pytest.mark.parametrize("ModelClass", [Llama3Model, Llama3ModelKV])
|
||||
@pytest.mark.parametrize("generate_fn", [generate_text_simple, generate_text_simple_cached])
|
||||
def test_gpt_model_variants(ModelClass, generate_fn, llama3_weights_path):
|
||||
def test_model_variants(ModelClass, generate_fn, llama3_weights_path):
|
||||
|
||||
# Skip incompatible combinations
|
||||
if generate_fn is generate_text_simple and getattr(ModelClass, "reset_kv_cache", False):
|
||||
|
||||
Reference in New Issue
Block a user