tensorfs 0.3.84__tar.gz → 0.3.86__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of tensorfs might be problematic. Click here for more details.
- {tensorfs-0.3.84 → tensorfs-0.3.86}/Cargo.lock +3 -3
- {tensorfs-0.3.84 → tensorfs-0.3.86}/Cargo.toml +1 -1
- {tensorfs-0.3.84 → tensorfs-0.3.86}/PKG-INFO +1 -1
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/bin/tfs/ensure.rs +0 -1
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/bin/tfs/fetch.rs +24 -73
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/bin/tfs/main.rs +3 -5
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/ensure.rs +0 -3
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/fetch.rs +2 -4
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/providers.rs +2 -4
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/staging.rs +7 -1
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/store.rs +7 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/transport/decisions.rs +3 -3
- tensorfs-0.3.86/crates/tensorfs-core/src/transport/download.rs +1065 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/transport/http.rs +113 -109
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/transport/ledger.rs +23 -52
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/transport/mod.rs +11 -15
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/transport/policy.rs +15 -6
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/transport/pull.rs +47 -646
- tensorfs-0.3.86/crates/tensorfs-core/src/transport/tests/tail.rs +323 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/transport/tests.rs +320 -1452
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/ensure.rs +3 -2
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/fd_budget.rs +11 -10
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/fetch_faults.rs +19 -24
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/fetch_url_progress.rs +6 -29
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/transfer_memory.rs +3 -2
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-py/src/ensure.rs +2 -1
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-py/src/store.rs +2 -1
- {tensorfs-0.3.84 → tensorfs-0.3.86}/pyproject.toml +1 -1
- {tensorfs-0.3.84 → tensorfs-0.3.86}/python/tensorfs/__init__.py +1 -1
- tensorfs-0.3.84/crates/tensorfs-core/src/transport/pace.rs +0 -282
- tensorfs-0.3.84/crates/tensorfs-core/src/transport/ranged.rs +0 -1273
- tensorfs-0.3.84/crates/tensorfs-core/src/transport/speculate.rs +0 -649
- tensorfs-0.3.84/crates/tensorfs-core/src/transport/tests/tail.rs +0 -461
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/Cargo.toml +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/build.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/examples/h3-swiglu-layout.md +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/examples/optional-cache-backfill.md +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/examples/resident-conversion.md +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/examples/resident_conversion_profile.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/asset_update.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/b64.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/bin/tfs/ckpt.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/bin/tfs/conform.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/bin/tfs/ingest.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/bin/tfs/rd.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/bin/tfs/repo.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/bin/tfs/snap.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/bin/tfs/watch.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/cache_roots.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/canon.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/capability.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/catalog/lock.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/catalog.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/cbor.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/checkpoint.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/checkpoint_root.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/corpus.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/derived/adoption.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/derived/companion_tests.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/derived/estimate.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/derived/graft_tests.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/derived/group_commit_tests.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/derived/history_cost_tests.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/derived/part_rows_tests.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/derived/progress.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/derived/resume_tests.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/derived/retention.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/derived/roots.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/derived.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/descriptors.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/disk.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/dtype.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/durability.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/ensure/admission.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/ensure/flight.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/err.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/filesystem_identity.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/fill.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/fit.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/gc.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/header.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/home.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/ids.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/ingest/carrier.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/ingest/convert.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/ingest/custody.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/ingest/fingerprint.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/ingest/gguf.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/ingest/h3_lora.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/ingest/journal.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/ingest/mod.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/ingest/narrow.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/ingest/preflight.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/ingest/routes/anima.routes.json +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/ingest/routes/anima.spec.json +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/ingest/routes/sdxl.routes.json +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/ingest/routes/sdxl.spec.json +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/ingest/routes.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/ingest/source.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/ingest/stamp.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/ingest/transaction.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/jcs.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/keyed_roots.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/lib.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/limits.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/machine.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/manifest.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/meta.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/project.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/read.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/receipt.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/reclaim.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/registry.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/relation.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/repo_cache.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/repository.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/sha256.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/source_artifact.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/spec.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/stats.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/storage.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/transport/api.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/transport/http_reuse_tests.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/transport/hub.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/transport/memory.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/transport/prefix.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/transport/push.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/unsynced.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/src/vectors.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/additive_fields.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/anima_hf_profile.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/as_is.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/catalog_owner_probe.c +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/checkpoint_roots.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/civitai_anima.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/civitai_sdxl_profile.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/fd_headroom.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/fit.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/fixtures/repo_apply/blobs.jsonl +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/fixtures/repo_apply/expected_list.jsonl +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/fixtures/repo_apply/expected_repository.json +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/fixtures/repo_apply/expected_rows.jsonl +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/fixtures/repo_apply/header.cbor +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/fixtures/repo_apply/manifest.json +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/fixtures/repo_apply/mutation.json +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/foreign_json.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/h3_lora.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/h3_swiglu.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/home.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/hub_tls.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/import_tree.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/instrument_profiles.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/keyed_roots.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/liveness.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/qwen_image21_profile.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/read_plan.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/reclaim.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/reclaim_run.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/repo_cache.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/repo_store.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/resident_admission.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/routed_single_file.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/sha256_backends.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/sharded_cas.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/source_artifacts.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/source_download.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/source_plan.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/source_prefixes.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/source_preflight.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/staging.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/store_boundaries.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/tensor_schema.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/trust_index.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/version.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-core/tests/write_through.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-plane/API.md +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-plane/Cargo.toml +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-plane/src/bin/g1_vmm.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-plane/src/bin/g2_overlap.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-plane/src/bin/gpu_bench/mod.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-plane/src/cuda.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-plane/src/cursor.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-plane/src/device.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-plane/src/host.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-plane/src/io.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-plane/src/layout.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-plane/src/lib.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-plane/src/plane.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-plane/tests/common/mod.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-plane/tests/gpu.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-plane/tests/host_tier.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-py/Cargo.toml +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-py/src/docs.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-py/src/errors.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-py/src/ingest.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-py/src/lib.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/crates/tensorfs-py/src/plane.rs +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/python/tensorfs/_derived_channel.py +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/python/tensorfs/_ext.pyi +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/python/tensorfs/_source_channel.py +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/python/tensorfs/_tensors.py +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/python/tensorfs/derived.py +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/python/tensorfs/errors.py +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/python/tensorfs/plane.py +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/python/tensorfs/plane.pyi +0 -0
- {tensorfs-0.3.84 → tensorfs-0.3.86}/python/tensorfs/py.typed +0 -0
|
@@ -449,7 +449,7 @@ checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
|
|
|
449
449
|
|
|
450
450
|
[[package]]
|
|
451
451
|
name = "tensorfs-core"
|
|
452
|
-
version = "0.3.
|
|
452
|
+
version = "0.3.86"
|
|
453
453
|
dependencies = [
|
|
454
454
|
"fs2",
|
|
455
455
|
"libc",
|
|
@@ -464,7 +464,7 @@ dependencies = [
|
|
|
464
464
|
|
|
465
465
|
[[package]]
|
|
466
466
|
name = "tensorfs-plane"
|
|
467
|
-
version = "0.3.
|
|
467
|
+
version = "0.3.86"
|
|
468
468
|
dependencies = [
|
|
469
469
|
"libc",
|
|
470
470
|
"libloading",
|
|
@@ -474,7 +474,7 @@ dependencies = [
|
|
|
474
474
|
|
|
475
475
|
[[package]]
|
|
476
476
|
name = "tensorfs-py"
|
|
477
|
-
version = "0.3.
|
|
477
|
+
version = "0.3.86"
|
|
478
478
|
dependencies = [
|
|
479
479
|
"pyo3",
|
|
480
480
|
"tensorfs-core",
|
|
@@ -124,7 +124,6 @@ pub fn cmd_ensure(root: &Path, refspec: &str, flags: &Flags) -> ExitCode {
|
|
|
124
124
|
request.step = step;
|
|
125
125
|
request.keep = &keep;
|
|
126
126
|
request.streams = flag_num(flags, "streams", transport::PULL_STREAMS);
|
|
127
|
-
request.streams_start = flag_num(flags, "streams-start", transport::STREAMS);
|
|
128
127
|
request.sample_seconds = flag_num(flags, "sample-seconds", transport::SAMPLE_SECONDS);
|
|
129
128
|
request.on_event = Some(&on_event);
|
|
130
129
|
answer(ensure::ensure(&request))
|
|
@@ -276,7 +276,6 @@ fn pull_with_budget(
|
|
|
276
276
|
request.lane = flag(flags, "lane").unwrap_or("");
|
|
277
277
|
request.session = flag(flags, "session").unwrap_or("");
|
|
278
278
|
request.streams = crate::flag_num(flags, "streams", transport::PULL_STREAMS);
|
|
279
|
-
request.streams_start = crate::flag_num(flags, "streams-start", transport::STREAMS);
|
|
280
279
|
request.deadline = deadline_of(flags);
|
|
281
280
|
request.download_budget = budget;
|
|
282
281
|
// THE WALK REPORTS WHILE IT WALKS.
|
|
@@ -319,32 +318,19 @@ fn pull_with_budget(
|
|
|
319
318
|
quoted(&report.model), quoted(&report.manifest), quoted(&report.scope),
|
|
320
319
|
report.cache_writes.bytes(), report.bytes_cached, report.bytes_total,
|
|
321
320
|
);
|
|
322
|
-
// What
|
|
323
|
-
//
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
.iter()
|
|
327
|
-
.map(|level| {
|
|
328
|
-
format!(
|
|
329
|
-
"[{},{}]",
|
|
330
|
-
level.streams,
|
|
331
|
-
level.bytes_per_second.round() as u64
|
|
332
|
-
)
|
|
333
|
-
})
|
|
334
|
-
.collect();
|
|
335
|
-
// And what admitting them cost: a pull whose streams stop growing while its batches
|
|
336
|
-
// take most of the wall time is held by the disk, not the link. `durability` says
|
|
337
|
-
// which syncs the disk the Store lives on made it pay, and what an unclean shutdown
|
|
338
|
-
// before this pull cost to repair.
|
|
321
|
+
// What the requests cost and what admitting them cost: a pull whose batches take most
|
|
322
|
+
// of the wall time is held by the disk, not the link. `durability` says which syncs the
|
|
323
|
+
// disk the Store lives on made it pay, and what an unclean shutdown before this pull
|
|
324
|
+
// cost to repair.
|
|
339
325
|
let durability = &report.durability;
|
|
340
326
|
eprintln!(
|
|
341
|
-
"{{\"event\":\"pull.streams\",\"model\":{},\"seconds\":{:.3},\"bytes_moved\":{},\"streams\":{},\"
|
|
327
|
+
"{{\"event\":\"pull.streams\",\"model\":{},\"seconds\":{:.3},\"bytes_moved\":{},\"streams\":{},\"requests\":{},\"restarts\":{},\"admission\":{{\"objects\":{},\"batches\":{},\"seconds\":{:.3}}},\"durability\":{{\"class\":{},\"filesystem\":{},\"syncs\":{},\"sync_seconds\":{:.3},\"recovery\":{{\"rehashed\":{},\"removed\":{},\"seconds\":{:.3}}}}}}}",
|
|
342
328
|
quoted(&report.model),
|
|
343
329
|
seconds,
|
|
344
330
|
report.bytes_moved,
|
|
345
331
|
report.streams,
|
|
346
|
-
|
|
347
|
-
report.
|
|
332
|
+
report.requests,
|
|
333
|
+
report.restarts,
|
|
348
334
|
after.admitted_objects - before.admitted_objects,
|
|
349
335
|
after.admission_batches - before.admission_batches,
|
|
350
336
|
(after.admission_nanos - before.admission_nanos) as f64 / 1e9,
|
|
@@ -444,29 +430,14 @@ fn sample_gap() -> std::time::Duration {
|
|
|
444
430
|
/// which stream it arrived on. `fetch url`'s result is `held|admitted <id>` and
|
|
445
431
|
/// `transferred <n> B`, and nothing printed here can be mistaken for either.
|
|
446
432
|
///
|
|
447
|
-
///
|
|
448
|
-
/// verbs. `
|
|
449
|
-
///
|
|
450
|
-
/// structurally zero and are not printed; `origin_objects` goes to one only when the object
|
|
451
|
-
/// is admitted:
|
|
452
|
-
///
|
|
453
|
-
/// {"event":"fetch.progress","origin_bytes":N,"origin_objects":0|1,"attempt":A}
|
|
454
|
-
/// {"event":"fetch.delivery","attempt":A,"host":"h","http_status":S}
|
|
455
|
-
///
|
|
456
|
-
/// `attempt` is on the progress event because a re-ask RESTARTS `origin_bytes` at zero —
|
|
457
|
-
/// `fetch url` has no mid-object resume, so those bytes are not in the store and a
|
|
458
|
-
/// consumer must be able to see the count go back rather than believe a total this fetch
|
|
459
|
-
/// cannot deliver.
|
|
433
|
+
/// One event, and the counter names are `pull.progress`'s so that one consumer reads both
|
|
434
|
+
/// verbs. `origin_bytes` is what is home so far; it goes back if an origin that does not
|
|
435
|
+
/// range starts the object over. `origin_objects` goes to one when the object is admitted:
|
|
460
436
|
///
|
|
461
|
-
///
|
|
462
|
-
/// degradation attributable at all. The URL is a bearer capability and never appears; the
|
|
463
|
-
/// HOST is not, and neither is the status. Without them a 429 retry storm and a slow link
|
|
464
|
-
/// produce the same byte curve afterwards, which is exactly why the H3 pod's 70 -> 6 MB/s
|
|
465
|
-
/// could not be attributed to anything.
|
|
437
|
+
/// {"event":"fetch.progress","origin_bytes":N,"origin_objects":0|1}
|
|
466
438
|
struct Reporter {
|
|
467
439
|
moved: u64,
|
|
468
440
|
reported: u64,
|
|
469
|
-
attempt: u32,
|
|
470
441
|
/// The byte delta between records. `--progress-bytes` states it, because resolution is
|
|
471
442
|
/// configuration and nothing here is a verdict; production states nothing and gets
|
|
472
443
|
/// SAMPLE_BYTES.
|
|
@@ -480,7 +451,6 @@ impl Reporter {
|
|
|
480
451
|
Reporter {
|
|
481
452
|
moved: 0,
|
|
482
453
|
reported: 0,
|
|
483
|
-
attempt: 0,
|
|
484
454
|
every: every.max(1),
|
|
485
455
|
gap: sample_gap(),
|
|
486
456
|
last: std::time::Instant::now(),
|
|
@@ -499,34 +469,16 @@ impl Reporter {
|
|
|
499
469
|
fn announce(&mut self, admitted: u64) {
|
|
500
470
|
self.reported = self.moved;
|
|
501
471
|
let event = format!(
|
|
502
|
-
"{{\"event\":\"fetch.progress\",\"origin_bytes\":{},\"origin_objects\":{}
|
|
503
|
-
self.moved, admitted
|
|
472
|
+
"{{\"event\":\"fetch.progress\",\"origin_bytes\":{},\"origin_objects\":{}}}",
|
|
473
|
+
self.moved, admitted
|
|
504
474
|
);
|
|
505
475
|
self.say(&event);
|
|
506
476
|
}
|
|
507
477
|
}
|
|
508
478
|
|
|
509
479
|
impl transport::FetchObserver for Reporter {
|
|
510
|
-
fn hop(&mut self, attempt: u32, host: &str, status: u16) {
|
|
511
|
-
self.attempt = attempt;
|
|
512
|
-
// The host reaches the channel as JSON, so it reaches it quoted. It comes from the
|
|
513
|
-
// policy check that already refused anything but a hostname, and this is the belt
|
|
514
|
-
// that keeps a malformed one from being a malformed EVENT.
|
|
515
|
-
let host: String = host
|
|
516
|
-
.chars()
|
|
517
|
-
.filter(|c| c.is_ascii_alphanumeric() || matches!(c, '.' | '-' | '_' | ':'))
|
|
518
|
-
.take(253)
|
|
519
|
-
.collect();
|
|
520
|
-
let event = format!(
|
|
521
|
-
"{{\"event\":\"fetch.delivery\",\"attempt\":{attempt},\"host\":\"{host}\",\"http_status\":{status}}}"
|
|
522
|
-
);
|
|
523
|
-
self.say(&event);
|
|
524
|
-
}
|
|
525
|
-
|
|
526
480
|
fn moved(&mut self, total: u64) {
|
|
527
|
-
// A
|
|
528
|
-
// bytes are not in the store, and a reader that watched them climb must watch them
|
|
529
|
-
// go back rather than believe a total this fetch cannot deliver.
|
|
481
|
+
// A count that goes back is reported at once: those bytes are not on this machine.
|
|
530
482
|
let due = total < self.moved
|
|
531
483
|
|| total.saturating_sub(self.reported) >= self.every
|
|
532
484
|
|| self.last.elapsed() >= self.gap;
|
|
@@ -538,14 +490,13 @@ impl transport::FetchObserver for Reporter {
|
|
|
538
490
|
}
|
|
539
491
|
|
|
540
492
|
/// `tfs fetch url <root> <sha256> <length> <url|-> [--progress] [--streams N] [--part-mib N]`
|
|
541
|
-
/// — plan-of-one, then the
|
|
542
|
-
///
|
|
543
|
-
///
|
|
493
|
+
/// — plan-of-one, then the pull's downloader. A held object answers `held` and moves
|
|
494
|
+
/// nothing. A url of `-` reads the real URL as one line on stdin: a capability URL can
|
|
495
|
+
/// embed a signature, and argv is world-readable in /proc.
|
|
544
496
|
///
|
|
545
|
-
/// `--streams` is how many
|
|
546
|
-
///
|
|
547
|
-
///
|
|
548
|
-
/// whatever these say.
|
|
497
|
+
/// `--streams` is how many ranged requests of THIS object are in flight and `--part-mib`
|
|
498
|
+
/// one request's size. An origin that will not answer a range gives the object to one
|
|
499
|
+
/// request whatever these say.
|
|
549
500
|
///
|
|
550
501
|
/// `--progress` opens the observation channel above. Without it this command says nothing
|
|
551
502
|
/// until it is finished, which for a 5 GiB shard is ten to fifteen minutes of silence a
|
|
@@ -584,7 +535,7 @@ fn object_of(what: &str, id: &str, length: &str) -> Result<ObjectRef, ExitCode>
|
|
|
584
535
|
|
|
585
536
|
fn ranged_of(flags: &Flags) -> transport::Ranged {
|
|
586
537
|
transport::Ranged {
|
|
587
|
-
streams: crate::flag_num(flags, "streams", transport::
|
|
538
|
+
streams: crate::flag_num(flags, "streams", transport::STREAMS),
|
|
588
539
|
part: crate::flag_num::<u64>(flags, "part-mib", transport::PART_BYTES >> 20) << 20,
|
|
589
540
|
}
|
|
590
541
|
}
|
|
@@ -702,7 +653,7 @@ pub fn cmd_url(root: &Path, id: &str, length: &str, url: &str, flags: &Flags) ->
|
|
|
702
653
|
reporter.moved = fetched.transferred;
|
|
703
654
|
reporter.announce(1);
|
|
704
655
|
}
|
|
705
|
-
println!("admitted {}", fetched.
|
|
656
|
+
println!("admitted {}", fetched.object.id());
|
|
706
657
|
println!("transferred {} B", fetched.transferred);
|
|
707
658
|
ExitCode::SUCCESS
|
|
708
659
|
}
|
|
@@ -779,8 +730,8 @@ pub fn cmd_staging_fetch(
|
|
|
779
730
|
reporter.moved = fetched.transferred;
|
|
780
731
|
reporter.announce(1);
|
|
781
732
|
}
|
|
782
|
-
let path = ok!(staging::path(&store, &fetched.
|
|
783
|
-
println!("staged {}", fetched.
|
|
733
|
+
let path = ok!(staging::path(&store, &fetched.object.sha256));
|
|
734
|
+
println!("staged {}", fetched.object.id());
|
|
784
735
|
println!("path {}", path.display());
|
|
785
736
|
println!("transferred {} B", fetched.transferred);
|
|
786
737
|
ExitCode::SUCCESS
|
|
@@ -42,10 +42,9 @@
|
|
|
42
42
|
//! The ONE transport (tfs-048/tfs-049/tfs-050). The credential is `--credential-file` or
|
|
43
43
|
//! TFS_CREDENTIAL (`bearer <token>`, `worker <id> <token>`, or empty for anonymous), never
|
|
44
44
|
//! bare argv; a URL of `-` arrives on stdin. Flags: --hub <base> --lane --session --streams <n>
|
|
45
|
-
//! --
|
|
45
|
+
//! --timeout <s> --allow-hosts a,b,.c --allow-local --max-redirects <n>
|
|
46
46
|
//! --ca-file <pem> (a private hub's CA, trusted beside the webpki set).
|
|
47
|
-
//! `--streams` is the most
|
|
48
|
-
//! at `--streams-start` (default 16) and doubles while measured goodput follows.
|
|
47
|
+
//! `--streams` is the most requests in flight (default 512, memory-bounded).
|
|
49
48
|
//! `tfs fetch` reads and backfills the Store's bound repo cache between the local Store
|
|
50
49
|
//! and the origin. It is bound by `tfs store ensure --repo-cache` and never by a flag here.
|
|
51
50
|
//!
|
|
@@ -65,8 +64,7 @@
|
|
|
65
64
|
//! tfs fetch url <root> <sha256> <length> <url|-> [--progress] [--streams N]
|
|
66
65
|
//! one granted object, in parallel ranges
|
|
67
66
|
//! --progress opens the same STDERR event channel `tfs fetch` reports on, while
|
|
68
|
-
//! the bytes move: {"event":"fetch.progress","origin_bytes":N,...} per sample
|
|
69
|
-
//! and {"event":"fetch.delivery","host":..,"http_status":..} per redirect hop,
|
|
67
|
+
//! the bytes move: {"event":"fetch.progress","origin_bytes":N,...} per sample,
|
|
70
68
|
//! so a supervisor can tell slow from wedged without a clock. stdout stays the
|
|
71
69
|
//! result. --progress-bytes <n> is that channel's resolution, never a verdict
|
|
72
70
|
//!
|
|
@@ -50,7 +50,6 @@ pub struct Request<'a> {
|
|
|
50
50
|
pub keep: &'a [String],
|
|
51
51
|
pub cancellation: Option<PullCancellation>,
|
|
52
52
|
pub streams: usize,
|
|
53
|
-
pub streams_start: usize,
|
|
54
53
|
/// The transport ledger's resolution; configuration, never a verdict.
|
|
55
54
|
pub sample_seconds: f64,
|
|
56
55
|
pub on_event: Option<&'a (dyn Fn(&Event) + Sync)>,
|
|
@@ -75,7 +74,6 @@ impl<'a> Request<'a> {
|
|
|
75
74
|
keep: &[],
|
|
76
75
|
cancellation: None,
|
|
77
76
|
streams: transport::PULL_STREAMS,
|
|
78
|
-
streams_start: transport::STREAMS,
|
|
79
77
|
sample_seconds: transport::SAMPLE_SECONDS,
|
|
80
78
|
on_event: None,
|
|
81
79
|
}
|
|
@@ -87,7 +85,6 @@ impl<'a> Request<'a> {
|
|
|
87
85
|
pull.lane = self.lane;
|
|
88
86
|
pull.cancellation = self.cancellation.clone();
|
|
89
87
|
pull.streams = self.streams;
|
|
90
|
-
pull.streams_start = self.streams_start;
|
|
91
88
|
pull.sample_seconds = self.sample_seconds;
|
|
92
89
|
pull
|
|
93
90
|
}
|
|
@@ -413,10 +413,8 @@ pub struct DeliveryGrant {
|
|
|
413
413
|
/// Where the bytes this grant authorizes come to rest.
|
|
414
414
|
///
|
|
415
415
|
/// The grant already carried this bit — it was `manifest: bool` — so a third destination is
|
|
416
|
-
/// the existing shape rather than a new concept
|
|
417
|
-
///
|
|
418
|
-
/// reader)` does not move, so byte-range resume works on the staging path for free and
|
|
419
|
-
/// cannot drift from the CAS path.
|
|
416
|
+
/// the existing shape rather than a new concept: the downloader commits a hashed temp file
|
|
417
|
+
/// where the grant says, so the staging path shares the CAS path's transport.
|
|
420
418
|
///
|
|
421
419
|
/// `Blob` and `Manifest` are store objects. `Staging` is not: it is a foreign source
|
|
422
420
|
/// carrier the store will read once and throw away, and it has no catalog record, no census
|
|
@@ -547,10 +547,8 @@ pub fn pull(
|
|
|
547
547
|
for (member, object) in &pinned {
|
|
548
548
|
if plan.wants(&object.sha256) {
|
|
549
549
|
let grant = DeliveryGrant::mint(&plan, object)?;
|
|
550
|
-
//
|
|
551
|
-
//
|
|
552
|
-
// stream. `fetch_ranged` falls back to exactly the single-stream call this
|
|
553
|
-
// replaced whenever the origin will not answer a range.
|
|
550
|
+
// A source member is whatever the uploader pushed, up to gigabytes: it is
|
|
551
|
+
// asked for as parallel ranges, or whole if the origin will not range.
|
|
554
552
|
let fetched = fetch_ranged(
|
|
555
553
|
store,
|
|
556
554
|
&grant,
|
|
@@ -181,8 +181,14 @@ pub fn staged(store: &Store, want: &ObjectRef) -> Result<Option<PathBuf>> {
|
|
|
181
181
|
/// URL that serves the wrong bytes cannot poison this area — it can only fail, leaving
|
|
182
182
|
/// nothing staged and no temp behind.
|
|
183
183
|
pub fn stage<R: Read>(store: &Store, r: &mut R, want: &ObjectRef) -> Result<Carrier> {
|
|
184
|
-
|
|
184
|
+
ensure(store)?;
|
|
185
185
|
let verified = store.stream_verified(r, Some(want), &Fault::default(), STAGE_TEMP)?;
|
|
186
|
+
adopt(store, verified)
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
/// Link a temp file already hashed to its id to `staging/<hex>`, and drop the temp.
|
|
190
|
+
pub(crate) fn adopt(store: &Store, verified: crate::store::Verified) -> Result<Carrier> {
|
|
191
|
+
let dir = ensure(store)?;
|
|
186
192
|
let destination = dir.join(&verified.sha256);
|
|
187
193
|
// 0444 for the same reason an object is: the converter reads it and nothing writes it
|
|
188
194
|
// again. A carrier is removed by unlink, which a read-only mode does not prevent.
|
|
@@ -560,6 +560,13 @@ impl Store {
|
|
|
560
560
|
}
|
|
561
561
|
}
|
|
562
562
|
|
|
563
|
+
/// `bytes` already announced as moved were thrown away.
|
|
564
|
+
pub(crate) fn discarded(&self, bytes: u64) {
|
|
565
|
+
if let Some(sink) = &self.progress {
|
|
566
|
+
sink.discarded(bytes);
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
|
|
563
570
|
/// The three authoritative namespaces identify a TensorFS store. Old mixed-object and
|
|
564
571
|
/// state.json layouts are a prelaunch hardcut and never dual-read.
|
|
565
572
|
pub fn open(root: &Path) -> Result<Store> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
//! One line per
|
|
2
|
-
//!
|
|
3
|
-
//!
|
|
1
|
+
//! One line per dropped request and one per pull, appended to the Store's own bounded log
|
|
2
|
+
//! so a slow tail is visible after the fact: run 2322 and sasori left nothing on disk to
|
|
3
|
+
//! say what the transport did. Never per chunk, never fatal.
|
|
4
4
|
use crate::ids::ObjectRef;
|
|
5
5
|
use crate::store::Store;
|
|
6
6
|
use std::fs::{self, OpenOptions};
|