MCPcopy Create free account
hub / github.com/bitsandbytes-foundation/bitsandbytes / model_and_tokenizer

Function model_and_tokenizer

tests/test_generation.py:68–71  ·  view source on GitHub ↗
(request)

Source from the content-addressed store, hash-verified

66
67@pytest.fixture(scope="session", params=product(models, dtypes))
68def model_and_tokenizer(request):
69 model, tokenizer = get_model_and_tokenizer(request.param)
70 yield request.param, model, tokenizer
71 del model
72
73
74@pytest.mark.parametrize("DQ", TRUE_FALSE, ids=id_formatter("dq"))

Callers

nothing calls this directly

Calls 1

get_model_and_tokenizerFunction · 0.85

Tested by

no test coverage detected