vllm_omni.diffusion.model_loader.host_weights.source_identity ¶
Canonical diffusion weight-source identity and one-load replacement guard.
FinalLayoutSourceContext dataclass ¶
Resolved source identity plus process-local replacement observations.
NodeSourceDigestCache ¶
Share content-backed local-source fingerprints across node workers.
PreparedWeightSource dataclass ¶
Canonical source files and adapter ABI selected by the ordinary loader.
checkpoint_adapter class-attribute instance-attribute ¶
checkpoint_adapter: ImplementationIdentity | None = None
source_kind class-attribute instance-attribute ¶
source_kind: WeightSourceKind = WeightSourceKind.LOCAL_PATH
WeightSourceKind ¶
resolve_final_layout_source_identity ¶
resolve_final_layout_source_identity(
prepared_sources: Sequence[PreparedWeightSource],
*,
model_id: str,
target_names: frozenset[str],
digest_cache: NodeSourceDigestCache | None = None,
) -> FinalLayoutSourceContext
Resolve exact source identity for files covering the owned tensors.