MCPcopy
hub / github.com/XPixelGroup/DiffBIR / flush

Method flush

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.80
eval_modelFunction · 0.80
eval_modelFunction · 0.80
eval_modelFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected