tensorfs 0.18.2__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.
Files changed (536) hide show
  1. {tensorfs-0.18.2 → tensorfs-0.20.0}/Cargo.lock +30 -16
  2. {tensorfs-0.18.2 → tensorfs-0.20.0}/Cargo.toml +3 -1
  3. {tensorfs-0.18.2 → tensorfs-0.20.0}/PKG-INFO +1 -1
  4. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/durable.rs +32 -3
  5. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/paths.rs +5 -0
  6. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/Cargo.toml +7 -10
  7. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/README.md +2 -2
  8. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/family/mod.rs +94 -4
  9. tensorfs-0.20.0/crates/tensorfs/src/fetch/ask.rs +125 -0
  10. tensorfs-0.20.0/crates/tensorfs/src/fetch/download.rs +1147 -0
  11. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/fetch/endpoint.rs +69 -65
  12. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/fetch/mod.rs +45 -41
  13. tensorfs-0.20.0/crates/tensorfs/src/fetch/net.rs +327 -0
  14. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/fetch/origin.rs +4 -14
  15. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/fetch/policy.rs +26 -42
  16. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/fetch/token.rs +5 -5
  17. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/mod.rs +2 -2
  18. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/import/mod.rs +1 -1
  19. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/import/remote.rs +3 -4
  20. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/import/verify.rs +7 -30
  21. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/store/gc.rs +137 -36
  22. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/store/mod.rs +211 -20
  23. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/store/retention.rs +133 -12
  24. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs-py/Cargo.toml +1 -1
  25. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/varena/Cargo.toml +1 -1
  26. {tensorfs-0.18.2 → tensorfs-0.20.0}/pyproject.toml +1 -1
  27. tensorfs-0.18.2/crates/tensorfs/src/fetch/ask.rs +0 -198
  28. tensorfs-0.18.2/crates/tensorfs/src/fetch/download.rs +0 -1687
  29. tensorfs-0.18.2/crates/tensorfs/src/fetch/net.rs +0 -544
  30. {tensorfs-0.18.2 → tensorfs-0.20.0}/LICENSE +0 -0
  31. {tensorfs-0.18.2 → tensorfs-0.20.0}/README.md +0 -0
  32. {tensorfs-0.18.2 → tensorfs-0.20.0}/backend/tensorfs_build.py +0 -0
  33. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/executor-protocol/Cargo.toml +0 -0
  34. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/executor-protocol/src/lib.rs +0 -0
  35. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/Cargo.toml +0 -0
  36. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/contain/host_memory.rs +0 -0
  37. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/contain/host_memory_linux.rs +0 -0
  38. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/contain/host_memory_macos.rs +0 -0
  39. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/contain/host_memory_windows.rs +0 -0
  40. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/contain/host_pressure.rs +0 -0
  41. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/contain/host_pressure_linux.rs +0 -0
  42. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/contain/host_pressure_unsupported.rs +0 -0
  43. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/contain/mod.rs +0 -0
  44. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/contain/scope.rs +0 -0
  45. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/contain/scope_unsupported.rs +0 -0
  46. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/contain/scope_windows.rs +0 -0
  47. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/durable/disk.rs +0 -0
  48. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/gpu/apple.rs +0 -0
  49. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/gpu/budget.rs +0 -0
  50. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/gpu/cuda.rs +0 -0
  51. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/gpu/faults.rs +0 -0
  52. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/gpu/mod.rs +0 -0
  53. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/handles/mod.rs +0 -0
  54. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/handles/unix.rs +0 -0
  55. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/handles/windows.rs +0 -0
  56. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/ipc/mod.rs +0 -0
  57. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/ipc/unix.rs +0 -0
  58. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/ipc/windows.rs +0 -0
  59. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/lib.rs +0 -0
  60. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/lock.rs +0 -0
  61. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/memory/mod.rs +0 -0
  62. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/memory/unix.rs +0 -0
  63. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/memory/windows.rs +0 -0
  64. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/net.rs +0 -0
  65. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/process/linux.rs +0 -0
  66. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/process/macos.rs +0 -0
  67. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/process/mod.rs +0 -0
  68. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/process/unix.rs +0 -0
  69. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/process/windows.rs +0 -0
  70. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/release.rs +0 -0
  71. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/service/launchd.rs +0 -0
  72. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/service/mod.rs +0 -0
  73. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/service/systemd.rs +0 -0
  74. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/service/windows.rs +0 -0
  75. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/tail.rs +0 -0
  76. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/tools.rs +0 -0
  77. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/watch/linux.rs +0 -0
  78. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/watch/macos.rs +0 -0
  79. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/watch/mod.rs +0 -0
  80. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/platform/src/watch/windows.rs +0 -0
  81. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/.gitattributes +0 -0
  82. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/build.rs +0 -0
  83. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/converters/anima.single_file.json +0 -0
  84. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/converters/h3.comfy.json +0 -0
  85. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/converters/h3.latent_upscaler.json +0 -0
  86. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/converters/h3.lora.json +0 -0
  87. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/converters/h3.native.json +0 -0
  88. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/converters/ideogram4.fp8.json +0 -0
  89. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/converters/krea2.lora.json +0 -0
  90. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/converters/qwen3.6-35b-a3b.experts.json +0 -0
  91. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/converters/sdxl.lora.json +0 -0
  92. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/converters/sdxl.single_file.json +0 -0
  93. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/converters/seedvr2.json +0 -0
  94. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/docs/quantization-metadata-history.md +0 -0
  95. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/docs/rust-api-types.md +0 -0
  96. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/docs/rust-api.md +0 -0
  97. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/docs/why-cozytensors.md +0 -0
  98. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/families/anima.json +0 -0
  99. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/families/ideogram-4.json +0 -0
  100. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/families/krea-2.json +0 -0
  101. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/families/minimax-h3.json +0 -0
  102. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/families/moss.json +0 -0
  103. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/families/qwen-image-2.json +0 -0
  104. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/families/qwen-image.json +0 -0
  105. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/families/sdxl.json +0 -0
  106. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/families/seedvr2.json +0 -0
  107. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/orders/AnimaTextConditioner.json +0 -0
  108. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/orders/AutoencoderKL.json +0 -0
  109. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/orders/AutoencoderKLFlux2.json +0 -0
  110. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/orders/AutoencoderKLQwenImage.json +0 -0
  111. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/orders/AutoencoderKLQwenImage21.json +0 -0
  112. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/orders/CLIPTextModel.json +0 -0
  113. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/orders/CLIPTextModelWithProjection.json +0 -0
  114. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/orders/CosmosTransformer3DModel.json +0 -0
  115. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/orders/Flux3Transformer2DModel.json +0 -0
  116. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/orders/MiniMaxH3Transformer3DModel.json +0 -0
  117. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/orders/Qwen2_5_VLForConditionalGeneration.json +0 -0
  118. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/orders/Qwen3Model.json +0 -0
  119. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/orders/Qwen3VLForConditionalGeneration.json +0 -0
  120. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/orders/Qwen3_5ForConditionalGeneration.json +0 -0
  121. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/orders/QwenImage21Transformer2DModel.json +0 -0
  122. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/orders/QwenImageTransformer2DModel.json +0 -0
  123. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/orders/UNet2DConditionModel.json +0 -0
  124. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/orders/inputs/flux-3-klein-0.1.0-bf16.transformer.json +0 -0
  125. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/orders/inputs/flux-3-klein-0.1.0-bf16.vae.json +0 -0
  126. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/orders/inputs/flux-3-klein-base-0.1.0-bf16.transformer.json +0 -0
  127. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/spec/cozytensors.md +0 -0
  128. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/spec/distribution.md +0 -0
  129. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/spec/examples/README.md +0 -0
  130. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/spec/examples/header-basic.json +0 -0
  131. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/spec/examples/header-configs.json +0 -0
  132. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/spec/examples/repo-basic.json +0 -0
  133. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/spec/examples/tree-basic.json +0 -0
  134. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/spec/schema/header.cddl +0 -0
  135. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/spec/schema/repo.schema.json +0 -0
  136. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/spec/schema/tree.schema.json +0 -0
  137. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/spec/selection.json +0 -0
  138. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/bin/tfs/dev.rs +0 -0
  139. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/bin/tfs/main.rs +0 -0
  140. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/descriptors.rs +0 -0
  141. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/err.rs +0 -0
  142. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/export/gguf.rs +0 -0
  143. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/export.rs +0 -0
  144. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/failure.rs +0 -0
  145. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/family/probe.rs +0 -0
  146. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/fetch/conform.rs +0 -0
  147. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/fetch/volume.rs +0 -0
  148. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/cbor.rs +0 -0
  149. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/compose.rs +0 -0
  150. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/decode/affine.rs +0 -0
  151. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/decode/awq.rs +0 -0
  152. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/decode/blocks.rs +0 -0
  153. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/decode/bnb.rs +0 -0
  154. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/decode/comfy.rs +0 -0
  155. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/decode/ct.rs +0 -0
  156. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/decode/elem.rs +0 -0
  157. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/decode/fp8.rs +0 -0
  158. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/decode/fp8_blockwise.rs +0 -0
  159. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/decode/gguf.rs +0 -0
  160. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/decode/gptq.rs +0 -0
  161. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/decode/grid.rs +0 -0
  162. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/decode/int8.rs +0 -0
  163. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/decode/mod.rs +0 -0
  164. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/decode/mxfp4.rs +0 -0
  165. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/decode/mxfp8.rs +0 -0
  166. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/decode/nvfp4.rs +0 -0
  167. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/decode/plan.rs +0 -0
  168. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/decode/svdq.rs +0 -0
  169. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/doc.rs +0 -0
  170. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/dtype.rs +0 -0
  171. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/encode/affine.rs +0 -0
  172. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/encode/awq.rs +0 -0
  173. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/encode/bnb.rs +0 -0
  174. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/encode/comfy.rs +0 -0
  175. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/encode/ct.rs +0 -0
  176. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/encode/elem.rs +0 -0
  177. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/encode/fp8.rs +0 -0
  178. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/encode/fp8_blockwise.rs +0 -0
  179. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/encode/gguf.rs +0 -0
  180. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/encode/gptq.rs +0 -0
  181. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/encode/int8.rs +0 -0
  182. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/encode/mod.rs +0 -0
  183. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/encode/mxfp4.rs +0 -0
  184. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/encode/mxfp8.rs +0 -0
  185. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/encode/nvfp4.rs +0 -0
  186. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/encode/svdq.rs +0 -0
  187. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/encode/svdq_fit.rs +0 -0
  188. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/encode/w4a8.rs +0 -0
  189. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/json.rs +0 -0
  190. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/layout.rs +0 -0
  191. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/repo.rs +0 -0
  192. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/format/value.rs +0 -0
  193. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/home.rs +0 -0
  194. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/import/base.rs +0 -0
  195. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/import/carriers/bnb.rs +0 -0
  196. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/import/carriers/nunchaku.rs +0 -0
  197. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/import/carriers.json +0 -0
  198. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/import/carriers.rs +0 -0
  199. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/import/engine.rs +0 -0
  200. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/import/gguf.rs +0 -0
  201. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/import/gguf_names.json +0 -0
  202. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/import/lora.rs +0 -0
  203. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/import/order.rs +0 -0
  204. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/import/source.rs +0 -0
  205. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/io/cuda.rs +0 -0
  206. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/io/decode.rs +0 -0
  207. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/io/device.rs +0 -0
  208. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/io/host.rs +0 -0
  209. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/io/metrics.rs +0 -0
  210. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/io/mod.rs +0 -0
  211. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/io/pins.rs +0 -0
  212. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/io/plan.rs +0 -0
  213. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/io/probe.rs +0 -0
  214. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/io/source.rs +0 -0
  215. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/io/view.rs +0 -0
  216. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/kernels.rs +0 -0
  217. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/lib.rs +0 -0
  218. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/precision.rs +0 -0
  219. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/raw.rs +0 -0
  220. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/session/checkpoint.rs +0 -0
  221. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/session/convert.rs +0 -0
  222. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/session/endpoint.rs +0 -0
  223. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/session/file.rs +0 -0
  224. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/session/provider.rs +0 -0
  225. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/session/quantize.rs +0 -0
  226. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/session/quantize_bf16.rs +0 -0
  227. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/session/quantize_fit.rs +0 -0
  228. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/session/remote.rs +0 -0
  229. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/session/selection.rs +0 -0
  230. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/session/writer.rs +0 -0
  231. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/session.rs +0 -0
  232. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/sha256.rs +0 -0
  233. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/store/checkpoint.rs +0 -0
  234. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/store/folder.rs +0 -0
  235. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/store/records.rs +0 -0
  236. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/verification.rs +0 -0
  237. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/src/writer.rs +0 -0
  238. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/README.md +0 -0
  239. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/anima-civitai-headers/2945208-2004692.safetensors.header +0 -0
  240. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/anima-civitai-headers/2945208-2824387.safetensors.header +0 -0
  241. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/anima-civitai-headers/2945208-2824391.safetensors.header +0 -0
  242. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/anima-civitai-headers/LICENSE.md +0 -0
  243. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/anima-civitai-headers/MANIFEST.json +0 -0
  244. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/anima-hf-headers/LICENSE.md +0 -0
  245. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/anima-hf-headers/MANIFEST.json +0 -0
  246. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/anima-hf-headers/construction_order.json +0 -0
  247. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/anima-hf-headers/text_conditioner/diffusion_pytorch_model.safetensors.header +0 -0
  248. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/anima-hf-headers/text_encoder/model.safetensors.header +0 -0
  249. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/anima-hf-headers/transformer/diffusion_pytorch_model.safetensors.header +0 -0
  250. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/anima-hf-headers/vae/diffusion_pytorch_model.safetensors.header +0 -0
  251. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/civitai-sdxl-headers/128078-92696.safetensors.header +0 -0
  252. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/civitai-sdxl-headers/MANIFEST.json +0 -0
  253. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/FL2VA__transformer__model-00001-of-00013.safetensors +0 -0
  254. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/FL2VA__transformer__model-00002-of-00013.safetensors +0 -0
  255. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/FL2VA__transformer__model-00003-of-00013.safetensors +0 -0
  256. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/FL2VA__transformer__model-00004-of-00013.safetensors +0 -0
  257. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/FL2VA__transformer__model-00005-of-00013.safetensors +0 -0
  258. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/FL2VA__transformer__model-00006-of-00013.safetensors +0 -0
  259. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/FL2VA__transformer__model-00007-of-00013.safetensors +0 -0
  260. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/FL2VA__transformer__model-00008-of-00013.safetensors +0 -0
  261. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/FL2VA__transformer__model-00009-of-00013.safetensors +0 -0
  262. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/FL2VA__transformer__model-00010-of-00013.safetensors +0 -0
  263. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/FL2VA__transformer__model-00011-of-00013.safetensors +0 -0
  264. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/FL2VA__transformer__model-00012-of-00013.safetensors +0 -0
  265. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/FL2VA__transformer__model-00013-of-00013.safetensors +0 -0
  266. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/FL2VA__transformer__model.safetensors.index.json +0 -0
  267. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/MANIFEST.json +0 -0
  268. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/Ref2VA__transformer__model-00001-of-00013.safetensors +0 -0
  269. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/Ref2VA__transformer__model-00002-of-00013.safetensors +0 -0
  270. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/Ref2VA__transformer__model-00003-of-00013.safetensors +0 -0
  271. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/Ref2VA__transformer__model-00004-of-00013.safetensors +0 -0
  272. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/Ref2VA__transformer__model-00005-of-00013.safetensors +0 -0
  273. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/Ref2VA__transformer__model-00006-of-00013.safetensors +0 -0
  274. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/Ref2VA__transformer__model-00007-of-00013.safetensors +0 -0
  275. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/Ref2VA__transformer__model-00008-of-00013.safetensors +0 -0
  276. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/Ref2VA__transformer__model-00009-of-00013.safetensors +0 -0
  277. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/Ref2VA__transformer__model-00010-of-00013.safetensors +0 -0
  278. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/Ref2VA__transformer__model-00011-of-00013.safetensors +0 -0
  279. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/Ref2VA__transformer__model-00012-of-00013.safetensors +0 -0
  280. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/Ref2VA__transformer__model-00013-of-00013.safetensors +0 -0
  281. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/Ref2VA__transformer__model.safetensors.index.json +0 -0
  282. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/audio_vae__diffusion_pytorch_model.safetensors +0 -0
  283. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/text_encoder__model-00001-of-00014.safetensors +0 -0
  284. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/text_encoder__model-00002-of-00014.safetensors +0 -0
  285. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/text_encoder__model-00003-of-00014.safetensors +0 -0
  286. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/text_encoder__model-00004-of-00014.safetensors +0 -0
  287. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/text_encoder__model-00005-of-00014.safetensors +0 -0
  288. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/text_encoder__model-00006-of-00014.safetensors +0 -0
  289. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/text_encoder__model-00007-of-00014.safetensors +0 -0
  290. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/text_encoder__model-00008-of-00014.safetensors +0 -0
  291. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/text_encoder__model-00009-of-00014.safetensors +0 -0
  292. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/text_encoder__model-00010-of-00014.safetensors +0 -0
  293. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/text_encoder__model-00011-of-00014.safetensors +0 -0
  294. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/text_encoder__model-00012-of-00014.safetensors +0 -0
  295. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/text_encoder__model-00013-of-00014.safetensors +0 -0
  296. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/text_encoder__model-00014-of-00014.safetensors +0 -0
  297. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/text_encoder__model.safetensors.index.json +0 -0
  298. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/vae__diffusion_pytorch_model-00001-of-00003.safetensors +0 -0
  299. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/vae__diffusion_pytorch_model-00002-of-00003.safetensors +0 -0
  300. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/vae__diffusion_pytorch_model-00003-of-00003.safetensors +0 -0
  301. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-headers/vae__diffusion_pytorch_model.safetensors.index.json +0 -0
  302. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/h3-latent-upscaler-headers/minimax_h3_latent_upscaler_3d_conv_v1_bf16.safetensors.header +0 -0
  303. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/ideogram4-headers/MANIFEST.json +0 -0
  304. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/ideogram4-headers/transformer__diffusion_pytorch_model.safetensors +0 -0
  305. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/krea2-headers/LICENSE.md +0 -0
  306. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/krea2-headers/MANIFEST.json +0 -0
  307. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/krea2-headers/darkbrush.safetensors.header +0 -0
  308. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/krea2-headers/krea2_raw_bf16.safetensors.header +0 -0
  309. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/krea2-headers/krea2_style_reference.safetensors.header +0 -0
  310. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/sdxl-headers/MANIFEST.json +0 -0
  311. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/sdxl-headers/text_encoder_2__model.fp16.safetensors.header +0 -0
  312. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/sdxl-headers/text_encoder__model.fp16.safetensors.header +0 -0
  313. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/sdxl-headers/unet__diffusion_pytorch_model.fp16.safetensors.header +0 -0
  314. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/sdxl-headers/vae__diffusion_pytorch_model.fp16.safetensors.header +0 -0
  315. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/seedvr2-headers/ema_vae_fp16.safetensors.header +0 -0
  316. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs/vectors/seedvr2-headers/seedvr2_ema_7b_fp16.safetensors.header +0 -0
  317. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs-py/.dockerignore +0 -0
  318. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs-py/.gitattributes +0 -0
  319. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs-py/.gitignore +0 -0
  320. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs-py/.python-version +0 -0
  321. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs-py/API-TYPES.md +0 -0
  322. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs-py/API.md +0 -0
  323. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs-py/LICENSE +0 -0
  324. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs-py/README.md +0 -0
  325. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs-py/Taskfile.yaml +0 -0
  326. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs-py/backend/tensorfs_build.py +0 -0
  327. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs-py/kernels/abi.py +0 -0
  328. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs-py/kernels/build.py +0 -0
  329. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs-py/kernels/kernels.py +0 -0
  330. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs-py/scripts/build-wheel.sh +0 -0
  331. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs-py/scripts/converters.py +0 -0
  332. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs-py/scripts/dev-version.sh +0 -0
  333. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs-py/scripts/families.py +0 -0
  334. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs-py/scripts/orders.py +0 -0
  335. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs-py/src/ceiling.rs +0 -0
  336. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs-py/src/classref.rs +0 -0
  337. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs-py/src/cleanup.rs +0 -0
  338. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs-py/src/credentials.rs +0 -0
  339. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs-py/src/dlpack_source.rs +0 -0
  340. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs-py/src/errors.rs +0 -0
  341. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs-py/src/executor.rs +0 -0
  342. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs-py/src/file.rs +0 -0
  343. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs-py/src/lib.rs +0 -0
  344. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs-py/src/quantize.rs +0 -0
  345. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs-py/src/resident_decode.rs +0 -0
  346. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs-py/src/store.rs +0 -0
  347. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs-py/src/tensors.rs +0 -0
  348. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs-py/src/varena/allocator.rs +0 -0
  349. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs-py/src/varena/continuation.rs +0 -0
  350. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs-py/src/varena/elf.rs +0 -0
  351. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs-py/src/varena/iat.rs +0 -0
  352. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs-py/src/varena/load.rs +0 -0
  353. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs-py/src/varena/mod.rs +0 -0
  354. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs-py/src/varena/phase.rs +0 -0
  355. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs-py/src/varena/refill.rs +0 -0
  356. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs-py/src/varena/stage_continuation.rs +0 -0
  357. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs-py/src/verification.rs +0 -0
  358. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/tensorfs-py/wheel-data/scripts/.gitkeep +0 -0
  359. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/varena/README.md +0 -0
  360. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/varena/src/cuda.rs +0 -0
  361. {tensorfs-0.18.2 → tensorfs-0.20.0}/crates/varena/src/lib.rs +0 -0
  362. {tensorfs-0.18.2 → tensorfs-0.20.0}/python/tensorfs/__init__.py +0 -0
  363. {tensorfs-0.18.2 → tensorfs-0.20.0}/python/tensorfs/_ext.pyi +0 -0
  364. {tensorfs-0.18.2 → tensorfs-0.20.0}/python/tensorfs/api.py +0 -0
  365. {tensorfs-0.18.2 → tensorfs-0.20.0}/python/tensorfs/api.pyi +0 -0
  366. {tensorfs-0.18.2 → tensorfs-0.20.0}/python/tensorfs/executor.py +0 -0
  367. {tensorfs-0.18.2 → tensorfs-0.20.0}/python/tensorfs/executor.pyi +0 -0
  368. {tensorfs-0.18.2 → tensorfs-0.20.0}/python/tensorfs/py.typed +0 -0
  369. {tensorfs-0.18.2 → tensorfs-0.20.0}/python/tensorfs/raw.py +0 -0
  370. {tensorfs-0.18.2 → tensorfs-0.20.0}/python/tensorfs/raw.pyi +0 -0
  371. {tensorfs-0.18.2 → tensorfs-0.20.0}/python/tensorfs/varena/README.md +0 -0
  372. {tensorfs-0.18.2 → tensorfs-0.20.0}/python/tensorfs/varena/__init__.py +0 -0
  373. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/COPYING.EIGEN.MPL2 +0 -0
  374. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/COPYING.LAPACK.BSD +0 -0
  375. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/COPYING.SUITE_SPARSE.AMD.BSD +0 -0
  376. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/COPYING.SUITE_SPARSE.COLAMD.BSD +0 -0
  377. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/Cargo.toml +0 -0
  378. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/LICENSE +0 -0
  379. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/README.md +0 -0
  380. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/TENSORFS-PATCH.json +0 -0
  381. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/TENSORFS-PATCH.md +0 -0
  382. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/TENSORFS.patch +0 -0
  383. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/examples/bench.rs +0 -0
  384. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/examples/bench.toml +0 -0
  385. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/examples/bench_iterative.rs +0 -0
  386. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/examples/bench_sparse.rs +0 -0
  387. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/examples/dynstack.rs +0 -0
  388. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/examples/lblt.rs +0 -0
  389. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/examples/linop.rs +0 -0
  390. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/katex-header.html +0 -0
  391. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/col/col_index.rs +0 -0
  392. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/col/colmut.rs +0 -0
  393. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/col/colown.rs +0 -0
  394. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/col/colref.rs +0 -0
  395. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/col/mod.rs +0 -0
  396. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/diag/diagmut.rs +0 -0
  397. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/diag/diagown.rs +0 -0
  398. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/diag/diagref.rs +0 -0
  399. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/diag/mod.rs +0 -0
  400. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/hacks.rs +0 -0
  401. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/io.rs +0 -0
  402. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/lib.rs +0 -0
  403. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/bunch_kaufman/factor.rs +0 -0
  404. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/bunch_kaufman/inverse.rs +0 -0
  405. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/bunch_kaufman/mod.rs +0 -0
  406. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/bunch_kaufman/reconstruct.rs +0 -0
  407. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/bunch_kaufman/solve.rs +0 -0
  408. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/ldlt/factor.rs +0 -0
  409. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/ldlt/inverse.rs +0 -0
  410. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/ldlt/mod.rs +0 -0
  411. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/ldlt/reconstruct.rs +0 -0
  412. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/ldlt/solve.rs +0 -0
  413. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/ldlt/update.rs +0 -0
  414. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/llt/factor.rs +0 -0
  415. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/llt/inverse.rs +0 -0
  416. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/llt/mod.rs +0 -0
  417. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/llt/reconstruct.rs +0 -0
  418. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/llt/solve.rs +0 -0
  419. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/llt/update.rs +0 -0
  420. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/llt_pivoting/factor.rs +0 -0
  421. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/llt_pivoting/inverse.rs +0 -0
  422. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/llt_pivoting/mod.rs +0 -0
  423. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/llt_pivoting/reconstruct.rs +0 -0
  424. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/llt_pivoting/solve.rs +0 -0
  425. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/cholesky/mod.rs +0 -0
  426. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/evd/hessenberg.rs +0 -0
  427. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/evd/mod.rs +0 -0
  428. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/evd/schur/complex_schur.rs +0 -0
  429. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/evd/schur/mod.rs +0 -0
  430. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/evd/schur/real_schur.rs +0 -0
  431. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/evd/tridiag.rs +0 -0
  432. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/evd/tridiag_evd.rs +0 -0
  433. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/gevd/gen_hessenberg/mod.rs +0 -0
  434. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/gevd/mod.rs +0 -0
  435. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/gevd/qz_cplx/mod.rs +0 -0
  436. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/gevd/qz_real/mod.rs +0 -0
  437. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/householder.rs +0 -0
  438. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/jacobi.rs +0 -0
  439. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/kron.rs +0 -0
  440. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/lu/full_pivoting/factor.rs +0 -0
  441. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/lu/full_pivoting/inverse.rs +0 -0
  442. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/lu/full_pivoting/mod.rs +0 -0
  443. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/lu/full_pivoting/reconstruct.rs +0 -0
  444. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/lu/full_pivoting/solve.rs +0 -0
  445. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/lu/mod.rs +0 -0
  446. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/lu/partial_pivoting/factor.rs +0 -0
  447. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/lu/partial_pivoting/inverse.rs +0 -0
  448. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/lu/partial_pivoting/mod.rs +0 -0
  449. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/lu/partial_pivoting/reconstruct.rs +0 -0
  450. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/lu/partial_pivoting/solve.rs +0 -0
  451. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/mat_ops.rs +0 -0
  452. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/matmul/internal/mod.rs +0 -0
  453. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/matmul/mod.rs +0 -0
  454. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/matmul/triangular.rs +0 -0
  455. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/mod.rs +0 -0
  456. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/qr/col_pivoting/factor.rs +0 -0
  457. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/qr/col_pivoting/inverse.rs +0 -0
  458. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/qr/col_pivoting/mod.rs +0 -0
  459. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/qr/col_pivoting/reconstruct.rs +0 -0
  460. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/qr/col_pivoting/solve.rs +0 -0
  461. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/qr/mod.rs +0 -0
  462. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/qr/no_pivoting/factor.rs +0 -0
  463. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/qr/no_pivoting/inverse.rs +0 -0
  464. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/qr/no_pivoting/mod.rs +0 -0
  465. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/qr/no_pivoting/reconstruct.rs +0 -0
  466. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/qr/no_pivoting/solve.rs +0 -0
  467. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/reductions/determinant.rs +0 -0
  468. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/reductions/mod.rs +0 -0
  469. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/reductions/norm_l1.rs +0 -0
  470. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/reductions/norm_l2.rs +0 -0
  471. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/reductions/norm_l2_sqr.rs +0 -0
  472. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/reductions/norm_max.rs +0 -0
  473. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/reductions/sum.rs +0 -0
  474. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/solvers.rs +0 -0
  475. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/svd/bidiag.rs +0 -0
  476. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/svd/bidiag_svd.rs +0 -0
  477. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/svd/mod.rs +0 -0
  478. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/triangular_inverse.rs +0 -0
  479. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/triangular_solve.rs +0 -0
  480. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/linalg/zip.rs +0 -0
  481. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/mat/mat_index.rs +0 -0
  482. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/mat/matmut.rs +0 -0
  483. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/mat/matown.rs +0 -0
  484. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/mat/matref.rs +0 -0
  485. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/mat/mod.rs +0 -0
  486. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/operator/bicgstab.rs +0 -0
  487. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/operator/conjugate_gradient.rs +0 -0
  488. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/operator/eigen/mod.rs +0 -0
  489. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/operator/lsmr.rs +0 -0
  490. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/operator/mod.rs +0 -0
  491. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/operator/operator_impl/csc_matmut.rs +0 -0
  492. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/operator/operator_impl/csc_matown.rs +0 -0
  493. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/operator/operator_impl/csc_matref.rs +0 -0
  494. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/operator/operator_impl/csr_matmut.rs +0 -0
  495. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/operator/operator_impl/csr_matown.rs +0 -0
  496. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/operator/operator_impl/csr_matref.rs +0 -0
  497. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/operator/operator_impl/diagmut.rs +0 -0
  498. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/operator/operator_impl/diagown.rs +0 -0
  499. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/operator/operator_impl/diagref.rs +0 -0
  500. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/operator/operator_impl/matmut.rs +0 -0
  501. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/operator/operator_impl/matown.rs +0 -0
  502. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/operator/operator_impl/matref.rs +0 -0
  503. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/operator/operator_impl/mod.rs +0 -0
  504. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/operator/self_adjoint_eigen/mod.rs +0 -0
  505. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/operator/svd/mod.rs +0 -0
  506. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/perm/mod.rs +0 -0
  507. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/perm/permown.rs +0 -0
  508. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/perm/permref.rs +0 -0
  509. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/row/mod.rs +0 -0
  510. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/row/row_index.rs +0 -0
  511. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/row/rowmut.rs +0 -0
  512. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/row/rowown.rs +0 -0
  513. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/row/rowref.rs +0 -0
  514. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/sort.rs +0 -0
  515. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/sparse/csc/mod.rs +0 -0
  516. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/sparse/csr/mod.rs +0 -0
  517. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/sparse/linalg/amd.rs +0 -0
  518. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/sparse/linalg/cholesky.rs +0 -0
  519. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/sparse/linalg/colamd.rs +0 -0
  520. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/sparse/linalg/lu.rs +0 -0
  521. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/sparse/linalg/matmul.rs +0 -0
  522. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/sparse/linalg/mod.rs +0 -0
  523. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/sparse/linalg/qr.rs +0 -0
  524. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/sparse/linalg/triangular_solve.rs +0 -0
  525. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/sparse/mod.rs +0 -0
  526. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/sparse/ops.rs +0 -0
  527. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/sparse/solvers.rs +0 -0
  528. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/sparse/utils.rs +0 -0
  529. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/stats/meanvar.rs +0 -0
  530. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/stats/mod.rs +0 -0
  531. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/utils/approx.rs +0 -0
  532. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/utils/bound.rs +0 -0
  533. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/utils/mod.rs +0 -0
  534. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/utils/simd.rs +0 -0
  535. {tensorfs-0.18.2 → tensorfs-0.20.0}/vendor/faer/src/utils/slice.rs +0 -0
  536. {tensorfs-0.18.2 → tensorfs-0.20.0}/wheel-data/scripts/.gitkeep +0 -0
@@ -244,6 +244,16 @@ dependencies = [
244
244
  "tracing",
245
245
  ]
246
246
 
247
+ [[package]]
248
+ name = "backon"
249
+ version = "1.6.0"
250
+ source = "registry+https://github.com/rust-lang/crates.io-index"
251
+ checksum = "cffb0e931875b666fc4fcb20fee52e9bbd1ef836fd9e9e04ec21555f9f85f7ef"
252
+ dependencies = [
253
+ "fastrand",
254
+ "tokio",
255
+ ]
256
+
247
257
  [[package]]
248
258
  name = "base16ct"
249
259
  version = "0.2.0"
@@ -344,12 +354,13 @@ checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04"
344
354
 
345
355
  [[package]]
346
356
  name = "calcifer"
347
- version = "0.18.3"
357
+ version = "0.20.0"
348
358
  dependencies = [
349
359
  "async-trait",
350
360
  "axum",
351
361
  "base64 0.23.1",
352
362
  "ed25519-dalek",
363
+ "eventsource-stream",
353
364
  "futures-util",
354
365
  "getrandom 0.3.4",
355
366
  "hex",
@@ -364,6 +375,7 @@ dependencies = [
364
375
  "serde_json",
365
376
  "serde_path_to_error",
366
377
  "sha2",
378
+ "tar",
367
379
  "tempfile",
368
380
  "tensorfs",
369
381
  "thiserror 2.0.21",
@@ -374,6 +386,8 @@ dependencies = [
374
386
  "toml_edit",
375
387
  "tracing",
376
388
  "tracing-subscriber",
389
+ "url",
390
+ "zip",
377
391
  ]
378
392
 
379
393
  [[package]]
@@ -496,7 +510,7 @@ checksum = "1c133bc6a41be0d194c306b5506d15e6feeea7b1d6604bd3f8310dfb2ca96486"
496
510
 
497
511
  [[package]]
498
512
  name = "cli"
499
- version = "0.18.3"
513
+ version = "0.20.0"
500
514
  dependencies = [
501
515
  "anstream",
502
516
  "anstyle",
@@ -636,7 +650,7 @@ checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
636
650
 
637
651
  [[package]]
638
652
  name = "cozy"
639
- version = "0.18.3"
653
+ version = "0.20.0"
640
654
  dependencies = [
641
655
  "calcifer",
642
656
  "cli",
@@ -1167,7 +1181,7 @@ dependencies = [
1167
1181
 
1168
1182
  [[package]]
1169
1183
  name = "executor-protocol"
1170
- version = "0.18.3"
1184
+ version = "0.20.0"
1171
1185
  dependencies = [
1172
1186
  "base64 0.23.1",
1173
1187
  "pyo3",
@@ -1691,7 +1705,7 @@ checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9"
1691
1705
 
1692
1706
  [[package]]
1693
1707
  name = "hub-client"
1694
- version = "0.18.3"
1708
+ version = "0.20.0"
1695
1709
  dependencies = [
1696
1710
  "aws-lc-rs",
1697
1711
  "base64 0.23.1",
@@ -2557,7 +2571,7 @@ checksum = "f6b464fbc74e149a392436b17d523f769e057cb6877f6a5c4618bc6f11800548"
2557
2571
 
2558
2572
  [[package]]
2559
2573
  name = "platform"
2560
- version = "0.18.3"
2574
+ version = "0.20.0"
2561
2575
  dependencies = [
2562
2576
  "flate2",
2563
2577
  "getrandom 0.3.4",
@@ -2630,7 +2644,7 @@ dependencies = [
2630
2644
 
2631
2645
  [[package]]
2632
2646
  name = "protocol"
2633
- version = "0.18.3"
2647
+ version = "0.20.0"
2634
2648
  dependencies = [
2635
2649
  "base64 0.23.1",
2636
2650
  "bytes",
@@ -2644,6 +2658,7 @@ dependencies = [
2644
2658
  "reqwest",
2645
2659
  "rustls",
2646
2660
  "saphyr",
2661
+ "saphyr-parser",
2647
2662
  "serde",
2648
2663
  "serde_ignored",
2649
2664
  "serde_json",
@@ -3914,7 +3929,7 @@ dependencies = [
3914
3929
 
3915
3930
  [[package]]
3916
3931
  name = "tensord"
3917
- version = "0.18.3"
3932
+ version = "0.20.0"
3918
3933
  dependencies = [
3919
3934
  "async-trait",
3920
3935
  "aws-lc-rs",
@@ -3931,6 +3946,7 @@ dependencies = [
3931
3946
  "hyper",
3932
3947
  "hyper-util",
3933
3948
  "libc",
3949
+ "pep440_rs",
3934
3950
  "platform",
3935
3951
  "protocol",
3936
3952
  "rcgen",
@@ -3944,6 +3960,7 @@ dependencies = [
3944
3960
  "serde_json_canonicalizer",
3945
3961
  "serde_path_to_error",
3946
3962
  "sha2",
3963
+ "socket2",
3947
3964
  "str0m",
3948
3965
  "tempfile",
3949
3966
  "tensorfs",
@@ -3963,17 +3980,15 @@ dependencies = [
3963
3980
 
3964
3981
  [[package]]
3965
3982
  name = "tensorfs"
3966
- version = "0.18.2"
3983
+ version = "0.20.0"
3967
3984
  dependencies = [
3968
3985
  "async-trait",
3986
+ "backon",
3969
3987
  "base64 0.23.1",
3970
3988
  "bytes",
3971
3989
  "faer",
3972
3990
  "futures",
3973
3991
  "hmac",
3974
- "http-body-util",
3975
- "hyper",
3976
- "hyper-util",
3977
3992
  "libc",
3978
3993
  "libloading 0.9.0",
3979
3994
  "pep440_rs",
@@ -3983,6 +3998,7 @@ dependencies = [
3983
3998
  "rand_chacha",
3984
3999
  "rand_distr",
3985
4000
  "rayon",
4001
+ "reqwest",
3986
4002
  "rustix",
3987
4003
  "rustls",
3988
4004
  "serde",
@@ -3990,8 +4006,6 @@ dependencies = [
3990
4006
  "sha2",
3991
4007
  "thiserror 2.0.21",
3992
4008
  "tokio",
3993
- "tokio-rustls",
3994
- "tower-service",
3995
4009
  "tracing",
3996
4010
  "tracing-subscriber",
3997
4011
  "webpki-roots",
@@ -3999,7 +4013,7 @@ dependencies = [
3999
4013
 
4000
4014
  [[package]]
4001
4015
  name = "tensorfs-py"
4002
- version = "0.18.2"
4016
+ version = "0.20.0"
4003
4017
  dependencies = [
4004
4018
  "async-trait",
4005
4019
  "executor-protocol",
@@ -4434,7 +4448,7 @@ dependencies = [
4434
4448
 
4435
4449
  [[package]]
4436
4450
  name = "varena"
4437
- version = "0.18.2"
4451
+ version = "0.20.0"
4438
4452
  dependencies = [
4439
4453
  "libloading 0.9.0",
4440
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.18.3"
10
+ version = "0.20.0"
11
11
  edition = "2024"
12
12
  rust-version = "1.99"
13
13
  license = "MIT"
@@ -16,6 +16,7 @@ homepage = "https://github.com/cozy-creator/cozy-creator"
16
16
  publish = false
17
17
 
18
18
  [workspace.dependencies]
19
+ backon = { version = "1.6", default-features = false, features = ["std", "tokio-sleep"] }
19
20
  calcifer = { path = "crates/calcifer" }
20
21
  cli = { path = "crates/cli" }
21
22
  executor-protocol = { path = "crates/executor-protocol" }
@@ -66,6 +67,7 @@ rusqlite = { version = "0.40", features = ["bundled"] }
66
67
  rustix = { version = "1.1.4", default-features = false, features = ["std"] }
67
68
  rustls = { version = "0.23.46", default-features = false, features = ["aws_lc_rs", "std", "tls12"] }
68
69
  saphyr = { version = "0.2.2", default-features = false }
70
+ saphyr-parser = { version = "0.2.2", default-features = false }
69
71
  self-replace = "1.5"
70
72
  semver = "1"
71
73
  serde = { version = "1", features = ["derive"] }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tensorfs
3
- Version: 0.18.2
3
+ Version: 0.20.0
4
4
  Classifier: Development Status :: 4 - Beta
5
5
  Classifier: Intended Audience :: Developers
6
6
  Classifier: Intended Audience :: Science/Research
@@ -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, renames with POSIX semantics (a reader holding the old file does not block it),
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(|()| fs::rename(&temp, path).map_err(Error::io("rename", path)));
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")
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "tensorfs"
3
- version = "0.18.2"
3
+ version = "0.20.0"
4
4
  edition = "2021"
5
5
  license.workspace = true
6
6
  publish.workspace = true
@@ -17,7 +17,7 @@ required-features = ["store"]
17
17
  default = ["store"]
18
18
  # `Writer::quantize` and its SVDQ fit: faer and its tree. The wheel's; `cozy` never quantizes.
19
19
  quantize = ["store", "dep:faer", "dep:rayon", "dep:pulp", "dep:rand", "dep:rand_chacha", "dep:rand_distr"]
20
- store = ["dep:hmac", "dep:rustix", "dep:rustls", "dep:webpki-roots", "dep:tokio", "dep:tokio-rustls", "dep:hyper", "dep:hyper-util", "dep:tower-service", "dep:async-trait", "dep:http-body-util", "dep:bytes", "dep:futures", "dep:tracing-subscriber"]
20
+ store = ["dep:hmac", "dep:rustix", "dep:rustls", "dep:webpki-roots", "dep:tokio", "dep:reqwest", "dep:backon", "dep:async-trait", "dep:bytes", "dep:futures", "dep:tracing-subscriber"]
21
21
 
22
22
  [dependencies]
23
23
  # SVDQ producer revision pins its factorization and random-sketch implementation.
@@ -39,18 +39,15 @@ serde_json = { workspace = true, features = ["float_roundtrip"] }
39
39
  sha2.workspace = true
40
40
  thiserror.workspace = true
41
41
  rustix = { workspace = true, features = ["net", "event"], optional = true }
42
- # The one HTTP client (src/fetch/net.rs). rustls is the one TLS stack, used only there.
42
+ # The one HTTP client (src/fetch/net.rs): reqwest, over rustls with the webpki roots.
43
+ reqwest = { workspace = true, optional = true }
43
44
  rustls = { workspace = true, optional = true }
44
45
  webpki-roots = { workspace = true, optional = true }
45
- # Requests in flight are tasks, never a thread each: hyper's pooled HTTP/1.1 client over our
46
- # connector (egress policy, TLS).
46
+ # Requests in flight are tasks, never a thread each.
47
47
  tokio = { workspace = true, optional = true }
48
- tokio-rustls = { workspace = true, optional = true }
49
- hyper = { workspace = true, features = ["client", "http1"], optional = true }
50
- hyper-util = { workspace = true, features = ["client-legacy", "http1"], optional = true }
51
- tower-service = { workspace = true, optional = true }
48
+ # Exponential backoff with jitter between attempts (src/fetch/ask.rs).
49
+ backon = { workspace = true, optional = true }
52
50
  async-trait = { workspace = true, optional = true }
53
- http-body-util = { workspace = true, optional = true }
54
51
  bytes = { workspace = true, optional = true }
55
52
  futures = { version = "0.3.31", default-features = false, features = ["std", "executor"], optional = true }
56
53
  tracing.workspace = true
@@ -384,8 +384,8 @@ Public data needs no account. [Distribution](spec/distribution.md) defines endpo
384
384
  ## Storage and ownership
385
385
 
386
386
  The shared local store is internal. Its default root is `~/.cache/tensorfs`; `cache_dir=` and `TENSORFS_HOME` override it. Processes
387
- share immutable objects and coordinated records. Admission hashes bytes before installing them by rename; ordinary
388
- opens check lengths. Saved local roots are retained separately from evictable download-cache entries; deleting a header file only removes that handle. Explicit verification rehashes on demand. TensorFS is a library and has no daemon.
387
+ share immutable objects and coordinated records. Admission hashes bytes before installing them by rename; a download
388
+ cut or killed resumes from the bytes it left, which the object's digest still judges; ordinary opens check lengths. Saved local roots are retained separately from evictable download-cache entries; deleting a header file only removes that handle. Explicit verification rehashes on demand. TensorFS is a library and has no daemon.
389
389
 
390
390
  Runtime and TensorD use this same public API. Callers read and write the shared store and upload with a supplied
391
391
  credential. TensorFS owns I/O and decoding; Runtime manages residency of framework-owned buffers. Installing the wheel does
@@ -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 lora = |c: &&Component| c.tensors.iter().all(|t| [".lora_A.weight", ".lora_B.weight", ".alpha"].iter().any(|f| t.key.ends_with(f)));
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;
@@ -0,0 +1,125 @@
1
+ //! The one retry rule, for every request (object_store's and the AWS SDKs'): a transport failure (no
2
+ //! connection, 30 s with no bytes, a body cut off) or a "not now" answer is asked again after
3
+ //! backon's exponential backoff, 100 ms doubling to 15 s with jitter, or the wait the answer states.
4
+ //! An attempt that moved bytes starts the count over; [`ATTEMPTS`] in a row that moved nothing end it.
5
+
6
+ use std::time::Duration;
7
+
8
+ use backon::{BackoffBuilder, ExponentialBackoff, ExponentialBuilder};
9
+
10
+ use super::net::{shown, Client, GetError, HeaderMap};
11
+ use super::token::TokenProvider;
12
+ use crate::err::{Code, Refusal};
13
+
14
+ /// Attempts in a row that moved nothing before a request fails (object_store's `max_retries`).
15
+ pub const ATTEMPTS: usize = 10;
16
+
17
+ /// An answer that means "not now": 499 is a proxy's own dropped exchange (the Hub's blobs, run
18
+ /// 15391). 501 and 505 say the ask can never be answered.
19
+ pub(crate) fn weather(status: u16) -> bool {
20
+ matches!(status, 408 | 425 | 429 | 499 | 500..=599) && !matches!(status, 501 | 505)
21
+ }
22
+
23
+ /// A failure the next attempt may not have.
24
+ pub(crate) fn transient(refusal: &Refusal) -> bool {
25
+ matches!(refusal.code, Code::TRANSFER_FAILED | Code::HUB_UNREACHABLE | Code::FD_HEADROOM)
26
+ }
27
+
28
+ /// The pauses between one request's attempts.
29
+ pub(crate) struct Backoff(ExponentialBackoff);
30
+
31
+ impl Backoff {
32
+ pub(crate) fn new() -> Backoff {
33
+ let builder = ExponentialBuilder::default()
34
+ .with_min_delay(Duration::from_millis(100))
35
+ .with_factor(2.0)
36
+ .with_max_delay(Duration::from_secs(15))
37
+ .with_max_times(ATTEMPTS - 1)
38
+ .with_jitter();
39
+ Backoff(builder.build())
40
+ }
41
+
42
+ /// The pause after a failed attempt (`moved`: it gained bytes; `stated`: the answer's
43
+ /// Retry-After), or None once [`ATTEMPTS`] in a row moved nothing.
44
+ pub(crate) fn after(&mut self, moved: bool, stated: Option<Duration>) -> Option<Duration> {
45
+ if moved {
46
+ *self = Backoff::new();
47
+ }
48
+ let pause = self.0.next()?;
49
+ Some(stated.unwrap_or(pause))
50
+ }
51
+ }
52
+
53
+ /// Where [`get`] puts a body: each frame with the byte it starts at.
54
+ pub(crate) type Sink<'a> = dyn FnMut(u64, &[u8]) -> Result<(), Refusal> + Send + 'a;
55
+
56
+ /// GET `url` (`range`: from, and through) into `sink`, asked again by the rule from the byte reached;
57
+ /// a 200 to an open-ended ask starts the body over. The answer's headers, or the status of an answer
58
+ /// neither data nor weather.
59
+ pub(crate) async fn get(
60
+ client: &Client,
61
+ url: &str,
62
+ headers: &[(String, String)],
63
+ provider: Option<&dyn TokenProvider>,
64
+ range: Option<(u64, Option<u64>)>,
65
+ sink: &mut Sink<'_>,
66
+ ) -> Result<Result<HeaderMap, u16>, GetError> {
67
+ let (mut at, through) = range.unwrap_or((0, None));
68
+ let mut backoff = Backoff::new();
69
+ loop {
70
+ let from = at;
71
+ let (why, wait) = match attempt(client, url, headers, provider, &mut at, through, sink).await {
72
+ Ok(Ok(done)) => return Ok(done),
73
+ Ok(Err((why, wait))) => (why, wait),
74
+ Err(GetError::Exchange(refusal)) if transient(&refusal) => (refusal.detail, None),
75
+ Err(error) => return Err(error),
76
+ };
77
+ tracing::info!(url = %shown(url), at, %why, "asked again");
78
+ match backoff.after(at > from, wait) {
79
+ Some(pause) => tokio::time::sleep(pause).await,
80
+ None => {
81
+ let detail = format!("{why}; {ATTEMPTS} attempts in a row moved nothing");
82
+ return Err(GetError::Exchange(Refusal { code: Code::HUB_UNREACHABLE, detail }));
83
+ }
84
+ }
85
+ }
86
+ }
87
+
88
+ type Tried = Result<Result<HeaderMap, u16>, (String, Option<Duration>)>;
89
+
90
+ async fn attempt(
91
+ client: &Client,
92
+ url: &str,
93
+ headers: &[(String, String)],
94
+ provider: Option<&dyn TokenProvider>,
95
+ at: &mut u64,
96
+ through: Option<u64>,
97
+ sink: &mut Sink<'_>,
98
+ ) -> Result<Tried, GetError> {
99
+ let mut headers = headers.to_vec();
100
+ if *at > 0 || through.is_some() {
101
+ let through = through.map_or(String::new(), |t| t.to_string());
102
+ headers.push(("range".into(), format!("bytes={at}-{through}")));
103
+ }
104
+ let mut answer = client.get_authorized(url, &headers, provider).await?;
105
+ let status = answer.status();
106
+ match status {
107
+ _ if weather(status) => {
108
+ let wait = answer.stated_wait();
109
+ return Ok(Err((format!("GET {}: {status} {}", shown(url), answer.said().await), wait)));
110
+ }
111
+ 200 if through.is_none() => *at = 0,
112
+ 206 if answer.content_range().is_some_and(|(first, _)| first == *at) => {}
113
+ _ => return Ok(Ok(Err(status))),
114
+ }
115
+ loop {
116
+ match answer.frame().await {
117
+ Ok(Some(frame)) => {
118
+ sink(*at, &frame).map_err(GetError::Caller)?;
119
+ *at += frame.len() as u64;
120
+ }
121
+ Ok(None) => return Ok(Ok(Ok(answer.response.headers().clone()))),
122
+ Err(refusal) => return Ok(Err((format!("GET {}: {}", shown(url), refusal.detail), None))),
123
+ }
124
+ }
125
+ }