MCPcopy Create free account
hub / github.com/PRIME-RL/PRIME / md5_encode

Function md5_encode

training/verl/utils/fs.py:33–34  ·  view source on GitHub ↗
(path: str)

Source from the content-addressed store, hash-verified

31
32
33def md5_encode(path: str) -> str:
34 return hashlib.md5(path.encode()).hexdigest()
35
36
37def get_local_temp_path(hdfs_path: str, cache_dir: str) -> str:

Callers 2

get_local_temp_pathFunction · 0.85

Calls 1

encodeMethod · 0.45

Tested by

no test coverage detected