tensorfs 0.19.4__tar.gz → 0.20.0__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.
- {tensorfs-0.19.4 → tensorfs-0.20.0}/Cargo.lock +16 -11
- {tensorfs-0.19.4 → tensorfs-0.20.0}/Cargo.toml +1 -1
- {tensorfs-0.19.4 → tensorfs-0.20.0}/PKG-INFO +1 -1
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/durable.rs +32 -3
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/paths.rs +5 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/Cargo.toml +1 -1
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/family/mod.rs +94 -4
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/import/verify.rs +7 -30
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/store/gc.rs +121 -34
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/store/mod.rs +5 -4
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/store/retention.rs +129 -12
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs-py/Cargo.toml +1 -1
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/varena/Cargo.toml +1 -1
- {tensorfs-0.19.4 → tensorfs-0.20.0}/pyproject.toml +1 -1
- {tensorfs-0.19.4 → tensorfs-0.20.0}/LICENSE +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/README.md +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/backend/tensorfs_build.py +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/executor-protocol/Cargo.toml +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/executor-protocol/src/lib.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/Cargo.toml +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/contain/host_memory.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/contain/host_memory_linux.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/contain/host_memory_macos.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/contain/host_memory_windows.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/contain/host_pressure.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/contain/host_pressure_linux.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/contain/host_pressure_unsupported.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/contain/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/contain/scope.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/contain/scope_unsupported.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/contain/scope_windows.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/durable/disk.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/gpu/apple.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/gpu/budget.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/gpu/cuda.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/gpu/faults.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/gpu/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/handles/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/handles/unix.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/handles/windows.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/ipc/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/ipc/unix.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/ipc/windows.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/lib.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/lock.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/memory/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/memory/unix.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/memory/windows.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/net.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/process/linux.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/process/macos.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/process/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/process/unix.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/process/windows.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/release.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/service/launchd.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/service/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/service/systemd.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/service/windows.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/tail.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/tools.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/watch/linux.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/watch/macos.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/watch/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/platform/src/watch/windows.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/.gitattributes +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/README.md +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/build.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/converters/anima.single_file.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/converters/h3.comfy.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/converters/h3.latent_upscaler.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/converters/h3.lora.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/converters/h3.native.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/converters/ideogram4.fp8.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/converters/krea2.lora.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/converters/qwen3.6-35b-a3b.experts.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/converters/sdxl.lora.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/converters/sdxl.single_file.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/converters/seedvr2.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/docs/quantization-metadata-history.md +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/docs/rust-api-types.md +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/docs/rust-api.md +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/docs/why-cozytensors.md +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/families/anima.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/families/ideogram-4.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/families/krea-2.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/families/minimax-h3.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/families/moss.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/families/qwen-image-2.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/families/qwen-image.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/families/sdxl.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/families/seedvr2.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/orders/AnimaTextConditioner.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/orders/AutoencoderKL.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/orders/AutoencoderKLFlux2.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/orders/AutoencoderKLQwenImage.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/orders/AutoencoderKLQwenImage21.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/orders/CLIPTextModel.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/orders/CLIPTextModelWithProjection.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/orders/CosmosTransformer3DModel.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/orders/Flux3Transformer2DModel.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/orders/MiniMaxH3Transformer3DModel.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/orders/Qwen2_5_VLForConditionalGeneration.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/orders/Qwen3Model.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/orders/Qwen3VLForConditionalGeneration.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/orders/Qwen3_5ForConditionalGeneration.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/orders/QwenImage21Transformer2DModel.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/orders/QwenImageTransformer2DModel.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/orders/UNet2DConditionModel.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/orders/inputs/flux-3-klein-0.1.0-bf16.transformer.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/orders/inputs/flux-3-klein-0.1.0-bf16.vae.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/orders/inputs/flux-3-klein-base-0.1.0-bf16.transformer.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/spec/cozytensors.md +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/spec/distribution.md +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/spec/examples/README.md +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/spec/examples/header-basic.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/spec/examples/header-configs.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/spec/examples/repo-basic.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/spec/examples/tree-basic.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/spec/schema/header.cddl +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/spec/schema/repo.schema.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/spec/schema/tree.schema.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/spec/selection.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/bin/tfs/dev.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/bin/tfs/main.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/descriptors.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/err.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/export/gguf.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/export.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/failure.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/family/probe.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/fetch/ask.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/fetch/conform.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/fetch/download.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/fetch/endpoint.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/fetch/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/fetch/net.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/fetch/origin.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/fetch/policy.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/fetch/token.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/fetch/volume.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/cbor.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/compose.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/decode/affine.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/decode/awq.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/decode/blocks.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/decode/bnb.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/decode/comfy.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/decode/ct.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/decode/elem.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/decode/fp8.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/decode/fp8_blockwise.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/decode/gguf.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/decode/gptq.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/decode/grid.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/decode/int8.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/decode/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/decode/mxfp4.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/decode/mxfp8.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/decode/nvfp4.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/decode/plan.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/decode/svdq.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/doc.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/dtype.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/encode/affine.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/encode/awq.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/encode/bnb.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/encode/comfy.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/encode/ct.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/encode/elem.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/encode/fp8.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/encode/fp8_blockwise.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/encode/gguf.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/encode/gptq.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/encode/int8.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/encode/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/encode/mxfp4.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/encode/mxfp8.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/encode/nvfp4.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/encode/svdq.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/encode/svdq_fit.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/encode/w4a8.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/json.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/layout.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/repo.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/format/value.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/home.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/import/base.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/import/carriers/bnb.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/import/carriers/nunchaku.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/import/carriers.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/import/carriers.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/import/engine.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/import/gguf.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/import/gguf_names.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/import/lora.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/import/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/import/order.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/import/remote.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/import/source.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/io/cuda.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/io/decode.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/io/device.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/io/host.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/io/metrics.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/io/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/io/pins.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/io/plan.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/io/probe.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/io/source.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/io/view.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/kernels.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/lib.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/precision.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/raw.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/session/checkpoint.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/session/convert.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/session/endpoint.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/session/file.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/session/provider.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/session/quantize.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/session/quantize_bf16.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/session/quantize_fit.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/session/remote.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/session/selection.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/session/writer.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/session.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/sha256.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/store/checkpoint.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/store/folder.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/store/records.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/verification.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/src/writer.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/README.md +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/anima-civitai-headers/2945208-2004692.safetensors.header +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/anima-civitai-headers/2945208-2824387.safetensors.header +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/anima-civitai-headers/2945208-2824391.safetensors.header +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/anima-civitai-headers/LICENSE.md +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/anima-civitai-headers/MANIFEST.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/anima-hf-headers/LICENSE.md +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/anima-hf-headers/MANIFEST.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/anima-hf-headers/construction_order.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/anima-hf-headers/text_conditioner/diffusion_pytorch_model.safetensors.header +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/anima-hf-headers/text_encoder/model.safetensors.header +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/anima-hf-headers/transformer/diffusion_pytorch_model.safetensors.header +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/anima-hf-headers/vae/diffusion_pytorch_model.safetensors.header +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/civitai-sdxl-headers/128078-92696.safetensors.header +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/civitai-sdxl-headers/MANIFEST.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/FL2VA__transformer__model-00001-of-00013.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/FL2VA__transformer__model-00002-of-00013.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/FL2VA__transformer__model-00003-of-00013.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/FL2VA__transformer__model-00004-of-00013.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/FL2VA__transformer__model-00005-of-00013.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/FL2VA__transformer__model-00006-of-00013.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/FL2VA__transformer__model-00007-of-00013.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/FL2VA__transformer__model-00008-of-00013.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/FL2VA__transformer__model-00009-of-00013.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/FL2VA__transformer__model-00010-of-00013.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/FL2VA__transformer__model-00011-of-00013.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/FL2VA__transformer__model-00012-of-00013.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/FL2VA__transformer__model-00013-of-00013.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/FL2VA__transformer__model.safetensors.index.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/MANIFEST.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/Ref2VA__transformer__model-00001-of-00013.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/Ref2VA__transformer__model-00002-of-00013.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/Ref2VA__transformer__model-00003-of-00013.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/Ref2VA__transformer__model-00004-of-00013.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/Ref2VA__transformer__model-00005-of-00013.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/Ref2VA__transformer__model-00006-of-00013.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/Ref2VA__transformer__model-00007-of-00013.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/Ref2VA__transformer__model-00008-of-00013.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/Ref2VA__transformer__model-00009-of-00013.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/Ref2VA__transformer__model-00010-of-00013.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/Ref2VA__transformer__model-00011-of-00013.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/Ref2VA__transformer__model-00012-of-00013.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/Ref2VA__transformer__model-00013-of-00013.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/Ref2VA__transformer__model.safetensors.index.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/audio_vae__diffusion_pytorch_model.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/text_encoder__model-00001-of-00014.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/text_encoder__model-00002-of-00014.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/text_encoder__model-00003-of-00014.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/text_encoder__model-00004-of-00014.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/text_encoder__model-00005-of-00014.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/text_encoder__model-00006-of-00014.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/text_encoder__model-00007-of-00014.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/text_encoder__model-00008-of-00014.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/text_encoder__model-00009-of-00014.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/text_encoder__model-00010-of-00014.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/text_encoder__model-00011-of-00014.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/text_encoder__model-00012-of-00014.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/text_encoder__model-00013-of-00014.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/text_encoder__model-00014-of-00014.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/text_encoder__model.safetensors.index.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/vae__diffusion_pytorch_model-00001-of-00003.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/vae__diffusion_pytorch_model-00002-of-00003.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/vae__diffusion_pytorch_model-00003-of-00003.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/vae__diffusion_pytorch_model.safetensors.index.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-latent-upscaler-headers/minimax_h3_latent_upscaler_3d_conv_v1_bf16.safetensors.header +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/ideogram4-headers/MANIFEST.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/ideogram4-headers/transformer__diffusion_pytorch_model.safetensors +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/krea2-headers/LICENSE.md +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/krea2-headers/MANIFEST.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/krea2-headers/darkbrush.safetensors.header +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/krea2-headers/krea2_raw_bf16.safetensors.header +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/krea2-headers/krea2_style_reference.safetensors.header +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/sdxl-headers/MANIFEST.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/sdxl-headers/text_encoder_2__model.fp16.safetensors.header +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/sdxl-headers/text_encoder__model.fp16.safetensors.header +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/sdxl-headers/unet__diffusion_pytorch_model.fp16.safetensors.header +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/sdxl-headers/vae__diffusion_pytorch_model.fp16.safetensors.header +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/seedvr2-headers/ema_vae_fp16.safetensors.header +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs/vectors/seedvr2-headers/seedvr2_ema_7b_fp16.safetensors.header +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs-py/.dockerignore +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs-py/.gitattributes +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs-py/.gitignore +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs-py/.python-version +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs-py/API-TYPES.md +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs-py/API.md +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs-py/LICENSE +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs-py/README.md +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs-py/Taskfile.yaml +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs-py/backend/tensorfs_build.py +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs-py/kernels/abi.py +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs-py/kernels/build.py +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs-py/kernels/kernels.py +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs-py/scripts/build-wheel.sh +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs-py/scripts/converters.py +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs-py/scripts/dev-version.sh +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs-py/scripts/families.py +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs-py/scripts/orders.py +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs-py/src/ceiling.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs-py/src/classref.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs-py/src/cleanup.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs-py/src/credentials.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs-py/src/dlpack_source.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs-py/src/errors.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs-py/src/executor.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs-py/src/file.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs-py/src/lib.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs-py/src/quantize.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs-py/src/resident_decode.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs-py/src/store.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs-py/src/tensors.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs-py/src/varena/allocator.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs-py/src/varena/continuation.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs-py/src/varena/elf.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs-py/src/varena/iat.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs-py/src/varena/load.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs-py/src/varena/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs-py/src/varena/phase.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs-py/src/varena/refill.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs-py/src/varena/stage_continuation.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs-py/src/verification.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/tensorfs-py/wheel-data/scripts/.gitkeep +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/varena/README.md +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/varena/src/cuda.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/crates/varena/src/lib.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/python/tensorfs/__init__.py +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/python/tensorfs/_ext.pyi +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/python/tensorfs/api.py +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/python/tensorfs/api.pyi +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/python/tensorfs/executor.py +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/python/tensorfs/executor.pyi +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/python/tensorfs/py.typed +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/python/tensorfs/raw.py +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/python/tensorfs/raw.pyi +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/python/tensorfs/varena/README.md +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/python/tensorfs/varena/__init__.py +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/COPYING.EIGEN.MPL2 +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/COPYING.LAPACK.BSD +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/COPYING.SUITE_SPARSE.AMD.BSD +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/COPYING.SUITE_SPARSE.COLAMD.BSD +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/Cargo.toml +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/LICENSE +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/README.md +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/TENSORFS-PATCH.json +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/TENSORFS-PATCH.md +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/TENSORFS.patch +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/examples/bench.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/examples/bench.toml +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/examples/bench_iterative.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/examples/bench_sparse.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/examples/dynstack.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/examples/lblt.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/examples/linop.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/katex-header.html +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/col/col_index.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/col/colmut.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/col/colown.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/col/colref.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/col/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/diag/diagmut.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/diag/diagown.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/diag/diagref.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/diag/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/hacks.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/io.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/lib.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/bunch_kaufman/factor.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/bunch_kaufman/inverse.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/bunch_kaufman/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/bunch_kaufman/reconstruct.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/bunch_kaufman/solve.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/ldlt/factor.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/ldlt/inverse.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/ldlt/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/ldlt/reconstruct.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/ldlt/solve.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/ldlt/update.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/llt/factor.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/llt/inverse.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/llt/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/llt/reconstruct.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/llt/solve.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/llt/update.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/llt_pivoting/factor.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/llt_pivoting/inverse.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/llt_pivoting/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/llt_pivoting/reconstruct.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/llt_pivoting/solve.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/evd/hessenberg.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/evd/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/evd/schur/complex_schur.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/evd/schur/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/evd/schur/real_schur.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/evd/tridiag.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/evd/tridiag_evd.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/gevd/gen_hessenberg/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/gevd/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/gevd/qz_cplx/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/gevd/qz_real/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/householder.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/jacobi.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/kron.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/lu/full_pivoting/factor.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/lu/full_pivoting/inverse.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/lu/full_pivoting/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/lu/full_pivoting/reconstruct.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/lu/full_pivoting/solve.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/lu/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/lu/partial_pivoting/factor.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/lu/partial_pivoting/inverse.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/lu/partial_pivoting/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/lu/partial_pivoting/reconstruct.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/lu/partial_pivoting/solve.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/mat_ops.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/matmul/internal/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/matmul/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/matmul/triangular.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/qr/col_pivoting/factor.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/qr/col_pivoting/inverse.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/qr/col_pivoting/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/qr/col_pivoting/reconstruct.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/qr/col_pivoting/solve.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/qr/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/qr/no_pivoting/factor.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/qr/no_pivoting/inverse.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/qr/no_pivoting/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/qr/no_pivoting/reconstruct.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/qr/no_pivoting/solve.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/reductions/determinant.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/reductions/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/reductions/norm_l1.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/reductions/norm_l2.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/reductions/norm_l2_sqr.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/reductions/norm_max.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/reductions/sum.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/solvers.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/svd/bidiag.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/svd/bidiag_svd.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/svd/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/triangular_inverse.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/triangular_solve.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/linalg/zip.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/mat/mat_index.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/mat/matmut.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/mat/matown.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/mat/matref.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/mat/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/operator/bicgstab.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/operator/conjugate_gradient.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/operator/eigen/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/operator/lsmr.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/operator/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/operator/operator_impl/csc_matmut.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/operator/operator_impl/csc_matown.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/operator/operator_impl/csc_matref.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/operator/operator_impl/csr_matmut.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/operator/operator_impl/csr_matown.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/operator/operator_impl/csr_matref.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/operator/operator_impl/diagmut.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/operator/operator_impl/diagown.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/operator/operator_impl/diagref.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/operator/operator_impl/matmut.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/operator/operator_impl/matown.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/operator/operator_impl/matref.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/operator/operator_impl/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/operator/self_adjoint_eigen/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/operator/svd/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/perm/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/perm/permown.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/perm/permref.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/row/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/row/row_index.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/row/rowmut.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/row/rowown.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/row/rowref.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/sort.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/sparse/csc/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/sparse/csr/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/sparse/linalg/amd.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/sparse/linalg/cholesky.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/sparse/linalg/colamd.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/sparse/linalg/lu.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/sparse/linalg/matmul.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/sparse/linalg/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/sparse/linalg/qr.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/sparse/linalg/triangular_solve.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/sparse/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/sparse/ops.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/sparse/solvers.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/sparse/utils.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/stats/meanvar.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/stats/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/utils/approx.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/utils/bound.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/utils/mod.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/utils/simd.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/vendor/faer/src/utils/slice.rs +0 -0
- {tensorfs-0.19.4 → tensorfs-0.20.0}/wheel-data/scripts/.gitkeep +0 -0
|
@@ -354,12 +354,13 @@ checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04"
|
|
|
354
354
|
|
|
355
355
|
[[package]]
|
|
356
356
|
name = "calcifer"
|
|
357
|
-
version = "0.
|
|
357
|
+
version = "0.20.0"
|
|
358
358
|
dependencies = [
|
|
359
359
|
"async-trait",
|
|
360
360
|
"axum",
|
|
361
361
|
"base64 0.23.1",
|
|
362
362
|
"ed25519-dalek",
|
|
363
|
+
"eventsource-stream",
|
|
363
364
|
"futures-util",
|
|
364
365
|
"getrandom 0.3.4",
|
|
365
366
|
"hex",
|
|
@@ -374,6 +375,7 @@ dependencies = [
|
|
|
374
375
|
"serde_json",
|
|
375
376
|
"serde_path_to_error",
|
|
376
377
|
"sha2",
|
|
378
|
+
"tar",
|
|
377
379
|
"tempfile",
|
|
378
380
|
"tensorfs",
|
|
379
381
|
"thiserror 2.0.21",
|
|
@@ -384,6 +386,8 @@ dependencies = [
|
|
|
384
386
|
"toml_edit",
|
|
385
387
|
"tracing",
|
|
386
388
|
"tracing-subscriber",
|
|
389
|
+
"url",
|
|
390
|
+
"zip",
|
|
387
391
|
]
|
|
388
392
|
|
|
389
393
|
[[package]]
|
|
@@ -506,7 +510,7 @@ checksum = "1c133bc6a41be0d194c306b5506d15e6feeea7b1d6604bd3f8310dfb2ca96486"
|
|
|
506
510
|
|
|
507
511
|
[[package]]
|
|
508
512
|
name = "cli"
|
|
509
|
-
version = "0.
|
|
513
|
+
version = "0.20.0"
|
|
510
514
|
dependencies = [
|
|
511
515
|
"anstream",
|
|
512
516
|
"anstyle",
|
|
@@ -646,7 +650,7 @@ checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
|
|
|
646
650
|
|
|
647
651
|
[[package]]
|
|
648
652
|
name = "cozy"
|
|
649
|
-
version = "0.
|
|
653
|
+
version = "0.20.0"
|
|
650
654
|
dependencies = [
|
|
651
655
|
"calcifer",
|
|
652
656
|
"cli",
|
|
@@ -1177,7 +1181,7 @@ dependencies = [
|
|
|
1177
1181
|
|
|
1178
1182
|
[[package]]
|
|
1179
1183
|
name = "executor-protocol"
|
|
1180
|
-
version = "0.
|
|
1184
|
+
version = "0.20.0"
|
|
1181
1185
|
dependencies = [
|
|
1182
1186
|
"base64 0.23.1",
|
|
1183
1187
|
"pyo3",
|
|
@@ -1701,7 +1705,7 @@ checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9"
|
|
|
1701
1705
|
|
|
1702
1706
|
[[package]]
|
|
1703
1707
|
name = "hub-client"
|
|
1704
|
-
version = "0.
|
|
1708
|
+
version = "0.20.0"
|
|
1705
1709
|
dependencies = [
|
|
1706
1710
|
"aws-lc-rs",
|
|
1707
1711
|
"base64 0.23.1",
|
|
@@ -2567,7 +2571,7 @@ checksum = "f6b464fbc74e149a392436b17d523f769e057cb6877f6a5c4618bc6f11800548"
|
|
|
2567
2571
|
|
|
2568
2572
|
[[package]]
|
|
2569
2573
|
name = "platform"
|
|
2570
|
-
version = "0.
|
|
2574
|
+
version = "0.20.0"
|
|
2571
2575
|
dependencies = [
|
|
2572
2576
|
"flate2",
|
|
2573
2577
|
"getrandom 0.3.4",
|
|
@@ -2640,7 +2644,7 @@ dependencies = [
|
|
|
2640
2644
|
|
|
2641
2645
|
[[package]]
|
|
2642
2646
|
name = "protocol"
|
|
2643
|
-
version = "0.
|
|
2647
|
+
version = "0.20.0"
|
|
2644
2648
|
dependencies = [
|
|
2645
2649
|
"base64 0.23.1",
|
|
2646
2650
|
"bytes",
|
|
@@ -3925,7 +3929,7 @@ dependencies = [
|
|
|
3925
3929
|
|
|
3926
3930
|
[[package]]
|
|
3927
3931
|
name = "tensord"
|
|
3928
|
-
version = "0.
|
|
3932
|
+
version = "0.20.0"
|
|
3929
3933
|
dependencies = [
|
|
3930
3934
|
"async-trait",
|
|
3931
3935
|
"aws-lc-rs",
|
|
@@ -3956,6 +3960,7 @@ dependencies = [
|
|
|
3956
3960
|
"serde_json_canonicalizer",
|
|
3957
3961
|
"serde_path_to_error",
|
|
3958
3962
|
"sha2",
|
|
3963
|
+
"socket2",
|
|
3959
3964
|
"str0m",
|
|
3960
3965
|
"tempfile",
|
|
3961
3966
|
"tensorfs",
|
|
@@ -3975,7 +3980,7 @@ dependencies = [
|
|
|
3975
3980
|
|
|
3976
3981
|
[[package]]
|
|
3977
3982
|
name = "tensorfs"
|
|
3978
|
-
version = "0.
|
|
3983
|
+
version = "0.20.0"
|
|
3979
3984
|
dependencies = [
|
|
3980
3985
|
"async-trait",
|
|
3981
3986
|
"backon",
|
|
@@ -4008,7 +4013,7 @@ dependencies = [
|
|
|
4008
4013
|
|
|
4009
4014
|
[[package]]
|
|
4010
4015
|
name = "tensorfs-py"
|
|
4011
|
-
version = "0.
|
|
4016
|
+
version = "0.20.0"
|
|
4012
4017
|
dependencies = [
|
|
4013
4018
|
"async-trait",
|
|
4014
4019
|
"executor-protocol",
|
|
@@ -4443,7 +4448,7 @@ dependencies = [
|
|
|
4443
4448
|
|
|
4444
4449
|
[[package]]
|
|
4445
4450
|
name = "varena"
|
|
4446
|
-
version = "0.
|
|
4451
|
+
version = "0.20.0"
|
|
4447
4452
|
dependencies = [
|
|
4448
4453
|
"libloading 0.9.0",
|
|
4449
4454
|
"thiserror 2.0.21",
|
|
@@ -7,7 +7,7 @@ exclude = ["vendor/faer"]
|
|
|
7
7
|
members = ["crates/executor-protocol", "crates/platform", "crates/tensorfs", "crates/tensorfs-py", "crates/varena"]
|
|
8
8
|
|
|
9
9
|
[workspace.package]
|
|
10
|
-
version = "0.
|
|
10
|
+
version = "0.20.0"
|
|
11
11
|
edition = "2024"
|
|
12
12
|
rust-version = "1.99"
|
|
13
13
|
license = "MIT"
|
|
@@ -17,10 +17,39 @@ pub use disk::{DiskClass, Filesystem, cached, cached_runs, filesystem, open_dire
|
|
|
17
17
|
|
|
18
18
|
static TEMPS: AtomicU64 = AtomicU64::new(0);
|
|
19
19
|
|
|
20
|
+
/// Whether a rename over a file failed because another program holds it open: Windows only.
|
|
21
|
+
pub fn held(error: &io::Error) -> bool {
|
|
22
|
+
const ACCESS_DENIED: i32 = 5;
|
|
23
|
+
const SHARING_VIOLATION: i32 = 32;
|
|
24
|
+
cfg!(windows) && matches!(error.raw_os_error(), Some(ACCESS_DENIED | SHARING_VIOLATION))
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/// Renames `from` over `to`. On Windows, a program holding `to` open with no delete sharing, as a
|
|
28
|
+
/// scanner or an editor does for a moment, refuses it, so it's tried for as long as a moment lasts.
|
|
29
|
+
pub fn rename_over(from: &Path, to: &Path) -> io::Result<()> {
|
|
30
|
+
#[cfg(windows)]
|
|
31
|
+
{
|
|
32
|
+
use std::time::{Duration, Instant};
|
|
33
|
+
const MOMENT: Duration = Duration::from_secs(5);
|
|
34
|
+
let began = Instant::now();
|
|
35
|
+
let mut wait = Duration::from_millis(10);
|
|
36
|
+
loop {
|
|
37
|
+
match fs::rename(from, to) {
|
|
38
|
+
Err(error) if held(&error) && began.elapsed() < MOMENT => {
|
|
39
|
+
std::thread::sleep(wait);
|
|
40
|
+
wait = (wait * 2).min(Duration::from_millis(250));
|
|
41
|
+
}
|
|
42
|
+
done => return done,
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
#[cfg(not(windows))]
|
|
47
|
+
fs::rename(from, to)
|
|
48
|
+
}
|
|
49
|
+
|
|
20
50
|
/// Replaces `path` with `bytes`: a reader sees the old file or the new one, never a part, and after
|
|
21
51
|
/// this returns a crash keeps the new one. `mode` is the Unix permission; Windows keeps the
|
|
22
|
-
/// profile's ACL,
|
|
23
|
-
/// and has no directory to sync: the rename is atomic in NTFS's journal.
|
|
52
|
+
/// profile's ACL, and has no directory to sync: the rename is atomic in NTFS's journal.
|
|
24
53
|
pub fn replace(path: &Path, bytes: &[u8], mode: u32) -> Result<()> {
|
|
25
54
|
renamed(path, bytes, mode, true)?;
|
|
26
55
|
sync_dir(
|
|
@@ -66,7 +95,7 @@ fn renamed(path: &Path, bytes: &[u8], mode: u32, durable: bool) -> Result<()> {
|
|
|
66
95
|
.and_then(|()| if durable { file.sync_all() } else { Ok(()) })
|
|
67
96
|
.map_err(Error::io("write", &temp));
|
|
68
97
|
drop(file);
|
|
69
|
-
let renamed = written.and_then(|()|
|
|
98
|
+
let renamed = written.and_then(|()| rename_over(&temp, path).map_err(Error::io("rename", path)));
|
|
70
99
|
if renamed.is_err() {
|
|
71
100
|
let _ = fs::remove_file(&temp);
|
|
72
101
|
}
|
|
@@ -102,6 +102,11 @@ impl Home {
|
|
|
102
102
|
self.root.join("services")
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
+
/// Thumbnails of projects' files, kept while they are used.
|
|
106
|
+
pub fn thumbs(&self) -> PathBuf {
|
|
107
|
+
self.root.join("cache").join("thumbs")
|
|
108
|
+
}
|
|
109
|
+
|
|
105
110
|
/// Tools cozy fetched for this computer's own use on first need, never bundled.
|
|
106
111
|
pub fn tools(&self) -> PathBuf {
|
|
107
112
|
self.root.join("tools")
|
|
@@ -12,9 +12,9 @@ pub mod probe;
|
|
|
12
12
|
|
|
13
13
|
use std::collections::{BTreeMap, BTreeSet};
|
|
14
14
|
|
|
15
|
-
use serde::Deserialize;
|
|
15
|
+
use serde::{Deserialize, Serialize};
|
|
16
16
|
|
|
17
|
-
use crate::format::{Component, Metadata, Value};
|
|
17
|
+
use crate::format::{Component, Header, Metadata, Value};
|
|
18
18
|
|
|
19
19
|
macro_rules! family {
|
|
20
20
|
($name:literal) => {
|
|
@@ -137,6 +137,88 @@ pub fn of_class(class: &str) -> Option<&'static Family> {
|
|
|
137
137
|
families().iter().find(|f| f.classes.iter().any(|c| c == class))
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
+
/// What a LoRA's tensors end in.
|
|
141
|
+
pub const FACTORS: [&str; 3] = [".lora_A.weight", ".lora_B.weight", ".alpha"];
|
|
142
|
+
|
|
143
|
+
/// A LoRA target's factors' shapes, A and B.
|
|
144
|
+
pub type Factors<'a> = (Option<&'a [u64]>, Option<&'a [u64]>);
|
|
145
|
+
|
|
146
|
+
/// A LoRA's targets, by path, from its tensors' keys and shapes.
|
|
147
|
+
pub fn targets_of<'a>(tensors: impl Iterator<Item = (&'a str, &'a [u64])>) -> BTreeMap<&'a str, Factors<'a>> {
|
|
148
|
+
let mut targets: BTreeMap<&str, Factors> = BTreeMap::new();
|
|
149
|
+
for (key, shape) in tensors {
|
|
150
|
+
if let Some(path) = key.strip_suffix(".lora_A.weight") {
|
|
151
|
+
targets.entry(path).or_default().0 = Some(shape);
|
|
152
|
+
} else if let Some(path) = key.strip_suffix(".lora_B.weight") {
|
|
153
|
+
targets.entry(path).or_default().1 = Some(shape);
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
targets
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/// Every family component all of `targets` fit: an adapter with no record of its family is one when that's a single one.
|
|
160
|
+
pub fn fitting(targets: &BTreeMap<&str, Factors>) -> Vec<(&'static Family, &'static str)> {
|
|
161
|
+
(families().iter())
|
|
162
|
+
.flat_map(|f| f.components.iter().filter(|(_, d)| d.same_as.is_none()).map(move |(c, _)| (f, c.as_str())))
|
|
163
|
+
.filter(|(f, c)| !targets.is_empty() && targets.iter().all(|(path, t)| f.takes(c, path, t)))
|
|
164
|
+
.collect()
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
fn is_lora(component: &Component) -> bool {
|
|
168
|
+
component.tensors.iter().all(|t| FACTORS.iter().any(|f| t.key.ends_with(f)))
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
/// What a checkpoint is, from its header alone.
|
|
172
|
+
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
|
|
173
|
+
pub struct Facts {
|
|
174
|
+
/// It holds only a LoRA's factors, and no weights of its own.
|
|
175
|
+
pub lora: bool,
|
|
176
|
+
/// What its ingest recorded, else what its keys and shapes verify as now. Never guessed: none when neither says.
|
|
177
|
+
pub family: Option<String>,
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
impl Facts {
|
|
181
|
+
/// What `header` is; none when it holds no tensors.
|
|
182
|
+
pub fn of(header: &Header) -> Option<Facts> {
|
|
183
|
+
let (loras, bases): (Vec<&Component>, Vec<&Component>) = header.components().iter().filter(|c| !c.tensors.is_empty()).partition(|c| is_lora(c));
|
|
184
|
+
let lora = bases.is_empty();
|
|
185
|
+
if lora && loras.is_empty() {
|
|
186
|
+
return None;
|
|
187
|
+
}
|
|
188
|
+
let family = match lora {
|
|
189
|
+
true => adapted(&header.metadata, &loras),
|
|
190
|
+
false => based(header, &bases),
|
|
191
|
+
};
|
|
192
|
+
Some(Facts { lora, family })
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
/// The one family every LoRA component of a header adapts.
|
|
197
|
+
fn adapted(metadata: &Metadata, loras: &[&Component]) -> Option<String> {
|
|
198
|
+
let recorded: BTreeSet<String> = Adapter::read_all(metadata).into_values().map(|adapter| adapter.family).collect();
|
|
199
|
+
let fits = |c: &&Component| fitting(&targets_of(c.tensors.iter().map(|t| (t.key.as_str(), t.shape.as_slice())))).into_iter().map(|(family, _)| family.name.clone()).collect::<BTreeSet<_>>();
|
|
200
|
+
let mut found = match recorded.is_empty() {
|
|
201
|
+
true => loras.iter().map(fits).reduce(|held, next| &held & &next).unwrap_or_default().into_iter(),
|
|
202
|
+
false => recorded.into_iter(),
|
|
203
|
+
};
|
|
204
|
+
found.next().filter(|_| found.next().is_none())
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
/// The family a header's classes name, by the keys and shapes of what they name: a lane's text encoder is cut or scaled as it likes, and says nothing of what a
|
|
208
|
+
/// checkpoint is. A class of the pipeline's alone leaves all it has of the family to say.
|
|
209
|
+
fn based(header: &Header, bases: &[&Component]) -> Option<String> {
|
|
210
|
+
if let Some(record) = Record::read(&header.metadata) {
|
|
211
|
+
return Some(record.name);
|
|
212
|
+
}
|
|
213
|
+
let classes = header.pipeline().map(|p| &p.class.name).into_iter().chain(header.components().iter().map(|c| &c.class.name));
|
|
214
|
+
let family = classes.into_iter().find_map(|class| of_class(class))?;
|
|
215
|
+
let (named, rest): (Vec<&Component>, Vec<&Component>) = bases.iter().copied().filter(|c| family.def(&c.name).is_some()).partition(|c| family.classes.contains(&c.class.name));
|
|
216
|
+
let stored: Vec<Stored> = (if named.is_empty() { rest } else { named }.iter())
|
|
217
|
+
.map(|c| Stored { name: &c.name, keys: c.tensors.iter().map(|t| (t.key.as_str(), t.shape.as_slice())).collect() })
|
|
218
|
+
.collect();
|
|
219
|
+
(!stored.is_empty() && family.form_of(&stored).is_ok()).then(|| family.name.clone())
|
|
220
|
+
}
|
|
221
|
+
|
|
140
222
|
/// One stored component: its name and every tensor's key and logical shape.
|
|
141
223
|
pub struct Stored<'a> {
|
|
142
224
|
pub name: &'a str,
|
|
@@ -278,6 +360,15 @@ impl Family {
|
|
|
278
360
|
sites.chain(forms).collect()
|
|
279
361
|
}
|
|
280
362
|
|
|
363
|
+
/// Whether a LoRA target at `path` fits `component`: base `[out, in, kernel…]` as A `[r, in, kernel…]` and B `[out, r, 1…]`.
|
|
364
|
+
pub fn takes(&self, component: &str, path: &str, (a, b): &Factors) -> bool {
|
|
365
|
+
let (Some(a), Some(b)) = (a, b) else { return false };
|
|
366
|
+
let at = |v: &[Option<u64>], i: usize, got: u64| v.get(i).copied().flatten().is_none_or(|w| w == got);
|
|
367
|
+
self.targets(component, path).iter().any(|want| {
|
|
368
|
+
want.len() == a.len() && a.len() == b.len() && a.len() >= 2 && at(want, 0, b[0]) && (1..a.len()).all(|i| at(want, i, a[i]))
|
|
369
|
+
})
|
|
370
|
+
}
|
|
371
|
+
|
|
281
372
|
/// The component a LoRA was trained on, by its producer's declared field: `(component,
|
|
282
373
|
/// "field=value")`. Never inferred from structure.
|
|
283
374
|
pub fn trained_on(&self, metadata: &BTreeMap<String, String>) -> Option<(String, String)> {
|
|
@@ -350,8 +441,7 @@ impl Record {
|
|
|
350
441
|
/// now (a lane its recipe pruned is the pruned form), or no `family` when they are no form of it.
|
|
351
442
|
/// A derived lane carries its base's metadata; this keeps `family` true of what was written.
|
|
352
443
|
pub fn reverify(metadata: &mut Metadata, components: &[Component]) {
|
|
353
|
-
let
|
|
354
|
-
let bases: Vec<&Component> = components.iter().filter(|c| !c.tensors.is_empty() && !lora(c)).collect();
|
|
444
|
+
let bases: Vec<&Component> = components.iter().filter(|c| !c.tensors.is_empty() && !is_lora(c)).collect();
|
|
355
445
|
let Some(mut record) = Record::read(metadata).filter(|_| !bases.is_empty()) else {
|
|
356
446
|
metadata.remove(FAMILY);
|
|
357
447
|
return;
|
|
@@ -25,10 +25,8 @@ pub struct Checked {
|
|
|
25
25
|
pub notes: Vec<String>,
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
const FACTORS: [&str; 3] = [".lora_A.weight", ".lora_B.weight", ".alpha"];
|
|
29
|
-
|
|
30
28
|
fn is_lora(tensors: &[&Planned]) -> bool {
|
|
31
|
-
!tensors.is_empty() && tensors.iter().all(|p| FACTORS.iter().any(|f| p.key.ends_with(f)))
|
|
29
|
+
!tensors.is_empty() && tensors.iter().all(|p| family::FACTORS.iter().any(|f| p.key.ends_with(f)))
|
|
32
30
|
}
|
|
33
31
|
|
|
34
32
|
pub struct Input<'a> {
|
|
@@ -324,22 +322,7 @@ fn values(dtype: &Dtype, bytes: &[u8]) -> Option<Vec<f64>> {
|
|
|
324
322
|
/// converter table's family or, for a PEFT adapter, by the one family component every target
|
|
325
323
|
/// fits; and what it was trained on, when declared.
|
|
326
324
|
fn lora(input: &Input, component: &str, tensors: &[&Planned], notes: &mut Vec<String>) -> Result<Option<Adapter>> {
|
|
327
|
-
let
|
|
328
|
-
for p in tensors {
|
|
329
|
-
if let Some(path) = p.key.strip_suffix(".lora_A.weight") {
|
|
330
|
-
targets.entry(path).or_default().0 = Some(&p.shape);
|
|
331
|
-
} else if let Some(path) = p.key.strip_suffix(".lora_B.weight") {
|
|
332
|
-
targets.entry(path).or_default().1 = Some(&p.shape);
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
// A target fits base `[out, in, kernel…]` as A `[r, in, kernel…]` and B `[out, r, 1…]`.
|
|
336
|
-
let fits = |fam: &Family, base: &str, path: &str, (a, b): &(Option<&[u64]>, Option<&[u64]>)| {
|
|
337
|
-
let (Some(a), Some(b)) = (a, b) else { return false };
|
|
338
|
-
let at = |v: &[Option<u64>], i: usize, got: u64| v.get(i).copied().flatten().is_none_or(|w| w == got);
|
|
339
|
-
fam.targets(base, path).iter().any(|want| {
|
|
340
|
-
want.len() == a.len() && a.len() == b.len() && a.len() >= 2 && at(want, 0, b[0]) && (1..a.len()).all(|i| at(want, i, a[i]))
|
|
341
|
-
})
|
|
342
|
-
};
|
|
325
|
+
let targets = family::targets_of(tensors.iter().map(|p| (p.key.as_str(), p.shape.as_slice())));
|
|
343
326
|
let claimed = (input.recognized.claims.iter())
|
|
344
327
|
.find(|c| c.name == component && input.tables[c.table].lora.is_some())
|
|
345
328
|
.and_then(|c| family::of_table(&input.tables[c.table].name));
|
|
@@ -347,7 +330,7 @@ fn lora(input: &Input, component: &str, tensors: &[&Planned], notes: &mut Vec<St
|
|
|
347
330
|
Some(fam) => {
|
|
348
331
|
let Some((root, _)) = fam.def(component) else { return Ok(None) };
|
|
349
332
|
// A layer the family lacks is left to the run's composition, which skips it and says so.
|
|
350
|
-
let unfit: Vec<&str> = targets.iter().filter(|(path, t)| !
|
|
333
|
+
let unfit: Vec<&str> = targets.iter().filter(|(path, t)| !fam.takes(root, path, t)).map(|(path, _)| *path).collect();
|
|
351
334
|
if unfit.len() == targets.len() {
|
|
352
335
|
return refuse(
|
|
353
336
|
Code::ADAPTER_TARGET_UNSUPPORTED,
|
|
@@ -362,16 +345,10 @@ fn lora(input: &Input, component: &str, tensors: &[&Planned], notes: &mut Vec<St
|
|
|
362
345
|
}
|
|
363
346
|
(fam, root.to_owned())
|
|
364
347
|
}
|
|
365
|
-
None => {
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
.collect();
|
|
370
|
-
match fitting.as_slice() {
|
|
371
|
-
[(fam, base)] => (*fam, base.to_string()),
|
|
372
|
-
_ => return Ok(None),
|
|
373
|
-
}
|
|
374
|
-
}
|
|
348
|
+
None => match family::fitting(&targets).as_slice() {
|
|
349
|
+
[(fam, base)] => (*fam, base.to_string()),
|
|
350
|
+
_ => return Ok(None),
|
|
351
|
+
},
|
|
375
352
|
};
|
|
376
353
|
let trained_on = match input.trained_on {
|
|
377
354
|
Some(asked) => {
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
//! GC: mark what the roots and the uses keep (`retention.rs`), then sweep unmarked objects and
|
|
2
|
-
//! snapshot folders older than the grace. A collection may first drop
|
|
3
|
-
//! least recently used first when they free enough bytes; what only a dropped
|
|
4
|
-
//! that collection.
|
|
2
|
+
//! snapshot folders older than the grace. A collection may first drop lanes: those past a TTL, or
|
|
3
|
+
//! least recently used first when they free enough bytes; what only a dropped lane kept goes in
|
|
4
|
+
//! that collection. A lane is one checkpoint's uses, named by its header and by each commit or
|
|
5
|
+
//! snapshot that keeps it, dropped whole: a model is never listed without its bytes, nor its bytes
|
|
6
|
+
//! kept unlisted. Each drop and each sweep that frees bytes is logged, and a sweep that removed
|
|
7
|
+
//! an object stamps `uses/.evicted` (`Store::evicted_at`).
|
|
5
8
|
//!
|
|
6
9
|
//! A swept object is first renamed into `tmp/gc/`, then deleted only if it is still old: a put
|
|
7
10
|
//! or reuse that raced the sweep made it young, and it goes back. A GC killed in between leaves
|
|
@@ -24,10 +27,85 @@ const MAX_DOCUMENT: u64 = 256 << 20;
|
|
|
24
27
|
pub struct Collected {
|
|
25
28
|
/// The uses dropped, by name.
|
|
26
29
|
pub uses: Vec<String>,
|
|
30
|
+
/// The lanes dropped, for people.
|
|
31
|
+
pub evicted: Vec<Evicted>,
|
|
27
32
|
pub objects: u64,
|
|
28
33
|
pub bytes: u64,
|
|
29
34
|
}
|
|
30
35
|
|
|
36
|
+
impl Collected {
|
|
37
|
+
pub(super) fn add(&mut self, other: Collected) {
|
|
38
|
+
self.uses.extend(other.uses);
|
|
39
|
+
self.evicted.extend(other.evicted);
|
|
40
|
+
(self.objects, self.bytes) = (self.objects + other.objects, self.bytes + other.bytes);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/// One lane a collection dropped: its model as people name it, the bytes only it kept, and how
|
|
45
|
+
/// long it had gone unused.
|
|
46
|
+
#[derive(Clone, Debug, PartialEq, Eq)]
|
|
47
|
+
pub struct Evicted {
|
|
48
|
+
pub name: String,
|
|
49
|
+
pub bytes: u64,
|
|
50
|
+
pub idle: Duration,
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/// One checkpoint's uses together (`lanes`): last used when any of them was, kept by all.
|
|
54
|
+
pub(super) struct Lane<'a> {
|
|
55
|
+
pub uses: Vec<&'a Use>,
|
|
56
|
+
pub used: SystemTime,
|
|
57
|
+
pub digests: BTreeSet<&'a str>,
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
impl Lane<'_> {
|
|
61
|
+
/// Whether a root of `digest` holds this lane: it names the lane, or an object no other lane
|
|
62
|
+
/// keeps (`count`: how many lanes keep each). A reader of another checkpoint holds the objects
|
|
63
|
+
/// the two share, and those stay, but not this lane: H3's renders held what it shares with
|
|
64
|
+
/// Qwen-Image, so neither could go (valentino, 11-05).
|
|
65
|
+
pub fn held_by(&self, digest: &str, count: &HashMap<&str, u32>) -> bool {
|
|
66
|
+
self.uses.iter().any(|u| u.name == digest) || (self.digests.contains(digest) && count.get(digest) == Some(&1))
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/// How many lanes keep each digest.
|
|
71
|
+
pub(super) fn keepers<'a>(lanes: &[Lane<'a>]) -> HashMap<&'a str, u32> {
|
|
72
|
+
let mut count: HashMap<&str, u32> = HashMap::new();
|
|
73
|
+
for digest in lanes.iter().flat_map(|l| l.digests.iter().copied()) {
|
|
74
|
+
*count.entry(digest).or_default() += 1;
|
|
75
|
+
}
|
|
76
|
+
count
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/// `uses` as lanes: a use named by a digest another use keeps (a header its commit keeps, a
|
|
80
|
+
/// commit a snapshot keeps) is that one's lane. Least recently used first.
|
|
81
|
+
pub(super) fn lanes(uses: &[Use]) -> Vec<Lane<'_>> {
|
|
82
|
+
let at: HashMap<&str, usize> = uses.iter().enumerate().map(|(i, u)| (u.name.as_str(), i)).collect();
|
|
83
|
+
let mut parent: Vec<usize> = (0..uses.len()).collect();
|
|
84
|
+
fn root(parent: &mut [usize], mut i: usize) -> usize {
|
|
85
|
+
while parent[i] != i {
|
|
86
|
+
parent[i] = parent[parent[i]];
|
|
87
|
+
i = parent[i];
|
|
88
|
+
}
|
|
89
|
+
i
|
|
90
|
+
}
|
|
91
|
+
for (i, u) in uses.iter().enumerate() {
|
|
92
|
+
for j in u.digests.iter().filter_map(|d| at.get(d.as_str()).copied()) {
|
|
93
|
+
let (a, b) = (root(&mut parent, i), root(&mut parent, j));
|
|
94
|
+
parent[a] = b;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
let mut lanes: HashMap<usize, Lane> = HashMap::new();
|
|
98
|
+
for (i, u) in uses.iter().enumerate() {
|
|
99
|
+
let lane = lanes.entry(root(&mut parent, i)).or_insert_with(|| Lane { uses: vec![], used: u.used, digests: BTreeSet::new() });
|
|
100
|
+
lane.used = lane.used.max(u.used);
|
|
101
|
+
lane.digests.extend(u.digests.iter().map(String::as_str));
|
|
102
|
+
lane.uses.push(u);
|
|
103
|
+
}
|
|
104
|
+
let mut lanes: Vec<Lane> = lanes.into_values().collect();
|
|
105
|
+
lanes.sort_by(|a, b| (a.used, &a.uses[0].name).cmp(&(b.used, &b.uses[0].name)));
|
|
106
|
+
lanes
|
|
107
|
+
}
|
|
108
|
+
|
|
31
109
|
enum Document {
|
|
32
110
|
Tree(Tree),
|
|
33
111
|
Header(Header),
|
|
@@ -107,7 +185,7 @@ impl Store {
|
|
|
107
185
|
}
|
|
108
186
|
|
|
109
187
|
/// Every object under `blobs/`: its length and when it was last written or reused.
|
|
110
|
-
fn objects(&self) -> Result<HashMap<String, (u64, SystemTime)>> {
|
|
188
|
+
pub(super) fn objects(&self) -> Result<HashMap<String, (u64, SystemTime)>> {
|
|
111
189
|
let mut objects = HashMap::new();
|
|
112
190
|
for top in list(&self.root.join("blobs"))? {
|
|
113
191
|
for shard in list(&top)? {
|
|
@@ -152,14 +230,14 @@ impl Store {
|
|
|
152
230
|
let mut marked = self.roots()?;
|
|
153
231
|
let mut uses = self.uses(&marked)?;
|
|
154
232
|
let objects = self.objects()?;
|
|
155
|
-
let (dropped, evicted) = self.drop_uses(&mut uses, &marked, &objects, need, older_than, cutoff)?;
|
|
233
|
+
let (dropped, evicted, lanes) = self.drop_uses(&mut uses, &marked, &objects, need, older_than, cutoff)?;
|
|
156
234
|
for kept in uses {
|
|
157
235
|
marked.extend(kept.digests);
|
|
158
236
|
marked.insert(kept.name);
|
|
159
237
|
}
|
|
160
|
-
// Unreferenced objects past the grace, and what the dropped
|
|
161
|
-
// the grace protects is an object not yet named, never one a dropped
|
|
162
|
-
let mut collected = Collected { uses: dropped.into_iter().collect(), ..Collected::default() };
|
|
238
|
+
// Unreferenced objects past the grace, and what the dropped lanes alone kept, now: what
|
|
239
|
+
// the grace protects is an object not yet named, never one a dropped lane named.
|
|
240
|
+
let mut collected = Collected { uses: dropped.into_iter().collect(), evicted: lanes, ..Collected::default() };
|
|
163
241
|
for (sha256, (_, modified)) in objects.iter().filter(|(sha, _)| !marked.contains(*sha)) {
|
|
164
242
|
let since = if evicted.contains(sha256) { now } else { cutoff };
|
|
165
243
|
if *modified >= since {
|
|
@@ -186,17 +264,21 @@ impl Store {
|
|
|
186
264
|
self.sweep_tmp(cutoff)?;
|
|
187
265
|
// The trash exists only during a collection (it holds what a killed one left).
|
|
188
266
|
let _ = fs::remove_dir(self.root.join("tmp").join("gc"));
|
|
267
|
+
if collected.objects > 0 {
|
|
268
|
+
self.stamp_eviction()?;
|
|
269
|
+
}
|
|
189
270
|
if collected.bytes > 0 {
|
|
190
|
-
let evicted = collected.
|
|
191
|
-
tracing::info!("tensorfs: freed {} in {} objects ({evicted} evicted, the rest unreferenced)", size(collected.bytes), collected.objects);
|
|
271
|
+
let evicted = collected.evicted.len();
|
|
272
|
+
tracing::info!("tensorfs: freed {} in {} objects ({evicted} models evicted, the rest unreferenced)", size(collected.bytes), collected.objects);
|
|
192
273
|
}
|
|
193
274
|
Ok(collected)
|
|
194
275
|
}
|
|
195
276
|
|
|
196
|
-
/// Removes the
|
|
277
|
+
/// Removes the lanes `need` asks for from the store and from `uses`, each logged: their
|
|
197
278
|
/// names, and the objects only they kept, which go now. The least recently used unused for
|
|
198
279
|
/// `older_than` go first, and only when, with the unreferenced objects past the grace, they
|
|
199
|
-
/// free `need` (`u64::MAX`: every one, the TTL's). A
|
|
280
|
+
/// free `need` (`u64::MAX`: every one, the TTL's). A lane a root holds any of stays.
|
|
281
|
+
#[allow(clippy::type_complexity)]
|
|
200
282
|
fn drop_uses(
|
|
201
283
|
&self,
|
|
202
284
|
uses: &mut Vec<Use>,
|
|
@@ -205,58 +287,63 @@ impl Store {
|
|
|
205
287
|
need: u64,
|
|
206
288
|
older_than: Duration,
|
|
207
289
|
cutoff: SystemTime,
|
|
208
|
-
) -> Result<(BTreeSet<String>, BTreeSet<String>)> {
|
|
209
|
-
let none = (BTreeSet::new(), BTreeSet::new());
|
|
290
|
+
) -> Result<(BTreeSet<String>, BTreeSet<String>, Vec<Evicted>)> {
|
|
291
|
+
let none = (BTreeSet::new(), BTreeSet::new(), vec![]);
|
|
210
292
|
let Some(since) = SystemTime::now().checked_sub(older_than).filter(|_| need > 0) else {
|
|
211
293
|
return Ok(none);
|
|
212
294
|
};
|
|
213
|
-
|
|
214
|
-
let mut count
|
|
215
|
-
for digest in uses.iter().flat_map(|u| &u.digests) {
|
|
216
|
-
*count.entry(digest).or_default() += 1;
|
|
217
|
-
}
|
|
295
|
+
let lanes = lanes(uses);
|
|
296
|
+
let mut count = keepers(&lanes);
|
|
218
297
|
let length = |sha: &str| objects.get(sha).map_or(0, |(length, _)| *length);
|
|
219
298
|
let old = |sha: &str| objects.get(sha).is_some_and(|(_, modified)| *modified < cutoff);
|
|
220
299
|
let orphan = |sha: &&String| !count.contains_key(sha.as_str()) && !roots.contains(*sha) && old(sha);
|
|
221
300
|
let mut free: u64 = objects.keys().filter(orphan).map(|sha| length(sha)).sum();
|
|
222
301
|
let (mut plan, mut evicted) = (vec![], BTreeSet::new());
|
|
223
|
-
// A
|
|
224
|
-
|
|
225
|
-
|
|
302
|
+
// A lane a root holds is in use (a running or queued call's): what it shares with one that
|
|
303
|
+
// is held stays either way, as everything a root holds does.
|
|
304
|
+
let in_use: Vec<bool> = lanes.iter().map(|l| {
|
|
305
|
+
l.uses.iter().any(|u| roots.contains(&u.name)) || l.digests.iter().any(|d| count[d] == 1 && roots.contains(*d))
|
|
306
|
+
}).collect();
|
|
307
|
+
for (lane, _) in lanes.iter().zip(&in_use).filter(|(l, held)| l.used <= since && !**held) {
|
|
226
308
|
if free >= need {
|
|
227
309
|
break;
|
|
228
310
|
}
|
|
229
311
|
let mut bytes = 0;
|
|
230
|
-
for digest in &
|
|
231
|
-
let n = count.get_mut(digest
|
|
312
|
+
for digest in &lane.digests {
|
|
313
|
+
let n = count.get_mut(digest).expect("a lane counts what it keeps");
|
|
232
314
|
*n -= 1;
|
|
233
315
|
if *n == 0 && length(digest) > 0 {
|
|
234
316
|
bytes += length(digest);
|
|
235
|
-
evicted.insert(digest.
|
|
317
|
+
evicted.insert(digest.to_string());
|
|
236
318
|
}
|
|
237
319
|
}
|
|
238
320
|
free = free.saturating_add(bytes);
|
|
239
|
-
plan.push((
|
|
321
|
+
plan.push((lane, bytes));
|
|
240
322
|
}
|
|
241
323
|
if free < need && need != u64::MAX {
|
|
242
324
|
return Ok(none);
|
|
243
325
|
}
|
|
244
326
|
let names = if plan.is_empty() { HashMap::new() } else { self.names() };
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
327
|
+
let mut dropped_lanes = vec![];
|
|
328
|
+
for (lane, bytes) in &plan {
|
|
329
|
+
for u in &lane.uses {
|
|
330
|
+
self.remove_record(&self.root.join("uses").join(&u.name))?;
|
|
331
|
+
}
|
|
332
|
+
let name = lane.uses.iter().find_map(|u| names.get(&u.name)).cloned()
|
|
333
|
+
.unwrap_or_else(|| format!("cache entry {}", &lane.uses[0].name[..12]));
|
|
334
|
+
let idle = lane.used.elapsed().unwrap_or_default();
|
|
249
335
|
let why = if need == u64::MAX { "past its TTL".into() } else { format!("the disk {} short", size(need)) };
|
|
250
|
-
tracing::info!("tensorfs: evicted {name}: {}, idle {
|
|
336
|
+
tracing::info!("tensorfs: evicted {name}: {}, idle {} min, {why}", size(*bytes), idle.as_secs() / 60);
|
|
337
|
+
dropped_lanes.push(Evicted { name, bytes: *bytes, idle });
|
|
251
338
|
}
|
|
252
|
-
let dropped: BTreeSet<String> = plan.
|
|
339
|
+
let dropped: BTreeSet<String> = plan.iter().flat_map(|(lane, _)| lane.uses.iter().map(|u| u.name.clone())).collect();
|
|
253
340
|
uses.retain(|u| !dropped.contains(&u.name));
|
|
254
|
-
Ok((dropped, evicted))
|
|
341
|
+
Ok((dropped, evicted, dropped_lanes))
|
|
255
342
|
}
|
|
256
343
|
|
|
257
344
|
/// Each model lane the refs name, `org/name@release lane`, by its commit's digest and its
|
|
258
345
|
/// header's: what a use is, for people.
|
|
259
|
-
fn names(&self) -> HashMap<String, String> {
|
|
346
|
+
pub(super) fn names(&self) -> HashMap<String, String> {
|
|
260
347
|
let mut names = HashMap::new();
|
|
261
348
|
for repo in self.refs().unwrap_or_default() {
|
|
262
349
|
let lanes = repo.releases.iter().flat_map(|r| r.lanes.iter().map(|(lane, tree)| (format!("{}@{} {lane}", repo.name, r.version), tree)));
|