MCPcopy Create free account
hub / github.com/zai-org/CodeGeeX / __getstate__

Method __getstate__

codegeex/megatron/data/indexed_dataset.py:474–475  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

472 self._do_init(path, skip_warmup)
473
474 def __getstate__(self):
475 return self._path
476
477 def __setstate__(self, state):
478 self._do_init(state)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected