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

Function run_command

tests/unittest/bindings/binding_test_utils.py:11–17  ·  view source on GitHub ↗
(command: _tp.Sequence[str],
                cwd: _pl.Path,
                *,
                shell=False,
                env=None)

Source from the content-addressed store, hash-verified

9
10
11def run_command(command: _tp.Sequence[str],
12 cwd: _pl.Path,
13 *,
14 shell=False,
15 env=None) -> None:
16 _log.info("Running: cd %s && %s", str(cwd), " ".join(command))
17 _sp.check_call(command, cwd=cwd, shell=shell, env=env)
18
19
20def prepare_model_tests(

Callers 2

prepare_model_testsFunction · 0.70
prepare_lora_configsFunction · 0.70

Calls 1

infoMethod · 0.45

Tested by

no test coverage detected