MCPcopy Create free account
hub / github.com/OpenDCAI/DataFlow-MM / load_model

Method load_model

dataflow/core/LLMServing.py:22–27  ·  view source on GitHub ↗

Load the model from the given path. This method is optional and can be overridden by subclasses if needed.

(self, model_name_or_path: str, **kwargs: Any)

Source from the content-addressed store, hash-verified

20 pass
21
22 def load_model(self, model_name_or_path: str, **kwargs: Any):
23 """
24 Load the model from the given path.
25 This method is optional and can be overridden by subclasses if needed.
26 """
27 raise NotImplementedError("This method should be implemented by subclasses.")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected