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

Method save

tensorrt_llm/llmapi/llm_utils.py:877–879  ·  view source on GitHub ↗
(self, engine_dir: Path)

Source from the content-addressed store, hash-verified

875 return model_loader.llm_build_stats.build_steps_info
876
877 def save(self, engine_dir: Path):
878 # copy the engine directory to the target directory
879 shutil.copytree(self.get_engine_dir(), engine_dir)
880
881
882@dataclass

Callers

nothing calls this directly

Calls 1

get_engine_dirMethod · 0.95

Tested by

no test coverage detected