MCPcopy Index your code
hub / github.com/hpcaitech/ColossalAI / _verify_args

Method _verify_args

colossalai/inference/core/engine.py:64–67  ·  view source on GitHub ↗

Verify the input args

(self)

Source from the content-addressed store, hash-verified

62 self._verify_args()
63
64 def _verify_args(self) -> None:
65 """Verify the input args"""
66 assert self.engine is not None, "Please init Engine first"
67 assert self._initialized, "Engine must be initialized"
68
69 def generate(
70 self,

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected