Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MiniMax-AI/VTP
/ md5_hash
Function
md5_hash
vtp/utils/lpips.py:42–45 ·
view source on GitHub ↗
(path)
Source
from the content-addressed store, hash-verified
40
41
42
def
md5_hash(path):
43
with
open(path,
"rb"
)
as
f:
44
content = f.read()
45
return
hashlib.md5(content).hexdigest()
46
47
48
def
get_ckpt_path(name, root=None, check=False):
Callers
1
get_ckpt_path
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected