MCPcopy Index your code
hub / github.com/InternLM/lmdeploy / _log_resps

Method _log_resps

lmdeploy/pytorch/engine/engine_loop.py:191–196  ·  view source on GitHub ↗

Log resps.

(outputs: list[InferOutput])

Source from the content-addressed store, hash-verified

189
190 @staticmethod
191 def _log_resps(outputs: list[InferOutput]):
192 """Log resps."""
193 if logger.level <= logging.DEBUG:
194 session_ids = [out.session_id for out in outputs]
195 logger.debug(f'Response sessions: {session_ids}')
196 logger.debug(f'Response: num_outputs={len(outputs)}.')
197
198 def _send_resp(self, out: InferOutput):
199 """Send response."""

Callers 1

_send_respsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected