[Diffusion] Document TP host layout identity
Signed-off-by: Hongsheng Liu <liuhongsheng4@huawei.com>
This commit is contained in:
1 parent
16642dc2e8
commit
42c6ae9007
3 files changed
+40
No files matched your search
@@ -480,6 +480,9 @@ def build_host_weight_cache_plan(
|
||||
try:
|
||||
records = _collect_runtime_tensors(pipeline, dit_modules)
|
||||
content_digest = runtime_content_digest(records)
|
||||
# The cache stores loader-produced ownership: TP coordinates differ,
|
||||
# while equivalent DP replicas and SP ranks may share one entry. The
|
||||
# conservative SP guard prevents reuse across unproven implementations.
|
||||
layout_identity = {
|
||||
"schema_version": HOST_WEIGHT_CACHE_SCHEMA_VERSION,
|
||||
"model": (canonicalize_existing_local_path(model_identity) if model_identity is not None else None),
|
||||
|
||||
Reference in new issue
Block a user