MCPcopy Create free account
hub / github.com/BIT-DataLab/LakeBench / get_memory_usage

Function get_memory_usage

union/D3L/indexing_large.py:17–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15from d3l.indexing.feature_extraction.values.fasttext_embedding_transformer import FasttextTransformer
16
17def get_memory_usage():
18 process = psutil.Process()
19 return process.memory_info().rss
20
21if __name__ == "__main__":
22 start_memory = get_memory_usage()

Callers 1

indexing_large.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected