MCPcopy Index your code
hub / github.com/huggingface/diffusers / get_hashed_filename

Function get_hashed_filename

tests/testing_utils.py:1651–1653  ·  view source on GitHub ↗
(group_id: str)

Source from the content-addressed store, hash-verified

1649 expected_files = set()
1650
1651 def get_hashed_filename(group_id: str) -> str:
1652 short_hash = _compute_group_hash(group_id)
1653 return os.path.join(offload_to_disk_path, f"group_{short_hash}.safetensors")
1654
1655 if offload_type == "block_level":
1656 if num_blocks_per_group is None:

Callers 1

Calls 1

_compute_group_hashFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…