MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT-LLM / model_files

Function model_files

tests/unittest/bindings/test_executor_bindings.py:31–37  ·  view source on GitHub ↗
(llm_root: Path, resource_path: Path, results_data_path: Path)

Source from the content-addressed store, hash-verified

29
30@pytest.fixture
31def model_files(llm_root: Path, resource_path: Path, results_data_path: Path):
32 # Model engines and expected outputs need to be generated.
33 if not results_data_path.exists():
34 model_cache = llm_models_root()
35 model_cache_arg = ["--model_cache", str(model_cache)
36 ] if model_cache is not None else []
37 prepare_model_tests(llm_root, resource_path, "gpt", model_cache_arg)
38
39
40@pytest.fixture

Callers

nothing calls this directly

Calls 2

llm_models_rootFunction · 0.90
prepare_model_testsFunction · 0.70

Tested by

no test coverage detected