MCPcopy Create free account
hub / github.com/THUDM/GLM / get_lazy_path

Function get_lazy_path

data_utils/lazy_loader.py:27–31  ·  view source on GitHub ↗

Gets directory path where lazy files are stored.

(path)

Source from the content-addressed store, hash-verified

25
26
27def get_lazy_path(path):
28 """
29 Gets directory path where lazy files are stored.
30 """
31 return os.path.splitext(path)[0] + '.lazy'
32
33
34def exists_lazy(path, data_type='data'):

Callers 4

exists_lazyFunction · 0.85
__init__Method · 0.85
get_len_pathMethod · 0.85
__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected