MCPcopy Create free account
hub / github.com/OpenGVLab/InternVL / flush

Method flush

internvl_chat_llava/llava/utils.py:87–90  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

85 self.linebuf += line
86
87 def flush(self):
88 if self.linebuf != '':
89 self.logger.log(self.log_level, self.linebuf.rstrip())
90 self.linebuf = ''
91
92
93def disable_torch_init():

Callers 6

eval_modelFunction · 0.45
eval_modelFunction · 0.45
eval_modelFunction · 0.45
eval_modelFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected