MCPcopy
hub / github.com/huggingface/transformers / close

Method close

benchmark/benchmarks_entrypoint.py:305–307  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

303 self.logger.info(f"Created comprehensive benchmark summary with {len(summary_df)} records at {summary_file}")
304
305 def close(self):
306 if self.use_database and self.conn:
307 self.conn.close()
308
309
310logger = logging.getLogger(__name__)

Callers 7

run_benchmarkFunction · 0.95
_monitor_workerMethod · 0.45
stop_and_collectMethod · 0.45
test_use_safetensorsMethod · 0.45

Calls

no outgoing calls

Tested by 3

test_use_safetensorsMethod · 0.36