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

Function get_hashed_filename

src/diffusers/utils/testing_utils.py:1487–1489  ·  view source on GitHub ↗
(group_id: str)

Source from the content-addressed store, hash-verified

1485 expected_files = set()
1486
1487 def get_hashed_filename(group_id: str) -> str:
1488 short_hash = _compute_group_hash(group_id)
1489 return os.path.join(offload_to_disk_path, f"group_{short_hash}.safetensors")
1490
1491 if offload_type == "block_level":
1492 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…