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

Method __del__

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

Source from the content-addressed store, hash-verified

182 raise IndexError("index out of range")
183
184 def __del__(self):
185 if self.data_file:
186 self.data_file.close()
187
188 # @lru_cache(maxsize=8)
189 def __getitem__(self, idx):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected