[Diffusion] Integrate no-AllGather DLO with Host Weight Runtime (#6486)

Signed-off-by: Hongsheng Liu <liuhongsheng4@huawei.com>
Signed-off-by: hsliuustc0106 <hsliuustc0106@users.noreply.github.com>
Co-authored-by: hsliuustc0106 <hsliuustc0106@users.noreply.github.com>
This commit is contained in:
Hongsheng Liuandhsliuustc0106 authored and GitHub committed 2026-08-25 08:03:53 +08:00
1 parent 8fdb719a41
commit 8360346a66
27 files changed
+1640 -51

No files matched your search

@@ -389,6 +389,24 @@ def test_build_lookup_share_one_published_backing_and_lease_blocks_cleanup(tmp_p
assert store.lookup(identity, validation=ValidationLevel.FULL_CHECKSUM).status is StoreStatus.MISS
def test_publication_hardens_artifact_after_atomic_rename(tmp_path: Path) -> None:
identity = _identity()
store = _make_store(tmp_path / "store")
built = store.get_or_build(
BuildRequest(identity),
FakeProducer(identity),
validation=ValidationLevel.FULL_CHECKSUM,
deadline=time.monotonic() + 10,
)
assert built.status is StoreStatus.BUILT
assert built.lease is not None
built.lease.close()
artifact_dir = store.artifacts_dir / identity.key
assert artifact_dir.stat().st_mode & 0o777 == 0o555
def test_concurrent_lease_close_waits_for_resource_teardown(tmp_path: Path) -> None:
identity = _identity()
store = _make_store(tmp_path / "store")