MCPcopy
hub / github.com/NVIDIA/Stable-Diffusion-WebUI-TensorRT / load

Method load

utilities.py:281–283  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

279 return 0
280
281 def load(self):
282 print(f"Loading TensorRT engine: {self.engine_path}")
283 self.engine = engine_from_bytes(bytes_from_path(self.engine_path))
284
285 def activate(self, reuse_device_memory=None):
286 if reuse_device_memory:

Callers 9

read_jsonMethod · 0.80
export_weights_mapMethod · 0.80
infer_shapesMethod · 0.80
get_lora_checkpointsFunction · 0.80
get_refit_weightsFunction · 0.80
export_loraFunction · 0.80
_export_onnxFunction · 0.80
activateMethod · 0.80
apply_lorasFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected