MCPcopy Create free account
hub / github.com/Pints-AI/1.5-Pints / __init__

Method __init__

lit_gpt/utils.py:229–233  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

227
228class incremental_save:
229 def __init__(self, name):
230 self.name = name
231 self.zipfile = torch._C.PyTorchFileWriter(str(name))
232 self.has_saved = False
233 self.next_key = 0
234
235 def __enter__(self):
236 return self

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected