MCPcopy Index your code
hub / github.com/NVIDIA/TensorRT-LLM / phi_example_root

Function phi_example_root

tests/integration/defs/examples/test_phi.py:36–44  ·  view source on GitHub ↗

Get phi example root

(llm_root, llm_venv)

Source from the content-addressed store, hash-verified

34
35@pytest.fixture(scope="module")
36def phi_example_root(llm_root, llm_venv):
37 "Get phi example root"
38 example_root = os.path.join(llm_root, "examples", "models", "core", "phi")
39 llm_venv.run_cmd([
40 "-m", "pip", "install", "-r",
41 os.path.join(example_root, "requirements.txt")
42 ])
43
44 return example_root
45
46
47@skip_post_blackwell

Callers

nothing calls this directly

Calls 1

run_cmdMethod · 0.45

Tested by

no test coverage detected