nbxtensor 0.1.3__tar.gz → 0.1.4__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 (339) hide show
  1. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/CHANGELOG.md +76 -2
  2. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/CONTRIBUTING.md +15 -0
  3. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/PKG-INFO +16 -1
  4. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/README.md +15 -0
  5. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/pyproject.toml +1 -1
  6. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/__init__.py +1 -1
  7. nbxtensor-0.1.4/src/nbxtensor/backend/frozen_plan.py +750 -0
  8. nbxtensor-0.1.4/src/nbxtensor/inspection.py +86 -0
  9. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/memory/allocator.py +16 -0
  10. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/memory/arena.py +5 -0
  11. nbxtensor-0.1.4/src/nbxtensor/memory/expert_slots.py +450 -0
  12. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/memory/memory_pool.py +23 -0
  13. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/memory/paged_kv.py +26 -0
  14. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/memory/pages.py +27 -0
  15. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/memory/slab.py +9 -0
  16. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/memory/vmm.py +21 -8
  17. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/_configs.py +21 -9
  18. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/autotune_cache.py +64 -28
  19. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/launch_keys.py +2 -2
  20. nbxtensor-0.1.4/src/nbxtensor/ops/moe_multi_device.py +106 -0
  21. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/moe_wrappers.py +91 -0
  22. nbxtensor-0.1.4/src/nbxtensor/ops/oracles/attention_fp64.py +31 -0
  23. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/tensor.py +65 -0
  24. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/.github/PULL_REQUEST_TEMPLATE/certificate.md +0 -0
  25. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/.github/workflows/cla.yml +0 -0
  26. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/.gitignore +0 -0
  27. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/LICENSE +0 -0
  28. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/NOTICE +0 -0
  29. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/THIRD_PARTY_NOTICES.md +0 -0
  30. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/assets/logo.png +0 -0
  31. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/__main__.py +0 -0
  32. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/__init__.py +0 -0
  33. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/capabilities.py +0 -0
  34. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/cpu/__init__.py +0 -0
  35. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/cpu/blas.py +0 -0
  36. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/cpu/pool.py +0 -0
  37. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/cpu_backend.py +0 -0
  38. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/device_facts.py +0 -0
  39. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/device_files.py +0 -0
  40. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/device_names.py +0 -0
  41. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/devices/amd/cdna.yml +0 -0
  42. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/devices/amd/cdna2.yml +0 -0
  43. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/devices/amd/cdna3.yml +0 -0
  44. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/devices/amd/cdna4.yml +0 -0
  45. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/devices/amd/rdna3.yml +0 -0
  46. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/devices/amd/rdna4.yml +0 -0
  47. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/devices/apple/apple_m1.yml +0 -0
  48. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/devices/apple/apple_m1_max.yml +0 -0
  49. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/devices/apple/apple_m1_pro.yml +0 -0
  50. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/devices/apple/apple_m1_ultra.yml +0 -0
  51. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/devices/apple/apple_m2.yml +0 -0
  52. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/devices/apple/apple_m2_max.yml +0 -0
  53. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/devices/apple/apple_m2_pro.yml +0 -0
  54. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/devices/apple/apple_m2_ultra.yml +0 -0
  55. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/devices/apple/apple_m3.yml +0 -0
  56. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/devices/apple/apple_m3_max.yml +0 -0
  57. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/devices/apple/apple_m3_pro.yml +0 -0
  58. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/devices/apple/apple_m3_ultra.yml +0 -0
  59. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/devices/apple/apple_m4.yml +0 -0
  60. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/devices/apple/apple_m4_max.yml +0 -0
  61. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/devices/apple/apple_m4_pro.yml +0 -0
  62. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/devices/apple/apple_m5.yml +0 -0
  63. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/devices/apple/apple_m5_max.yml +0 -0
  64. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/devices/apple/apple_m5_pro.yml +0 -0
  65. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/devices/apple/apple_m5_ultra.yml +0 -0
  66. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/devices/apple/apple_m6.yml +0 -0
  67. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/devices/apple/apple_silicon.yml +0 -0
  68. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/devices/intel/arl_h.yml +0 -0
  69. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/devices/intel/arl_s.yml +0 -0
  70. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/devices/intel/bmg.yml +0 -0
  71. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/devices/intel/dg2.yml +0 -0
  72. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/devices/intel/lnl.yml +0 -0
  73. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/devices/intel/mtl.yml +0 -0
  74. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/devices/intel/ptl_h.yml +0 -0
  75. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/devices/intel/ptl_u.yml +0 -0
  76. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/devices/intel/pvc.yml +0 -0
  77. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/devices/intel/wcl.yml +0 -0
  78. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/devices/intel/xe_lp.yml +0 -0
  79. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/devices/nvidia/ampere.yml +0 -0
  80. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/devices/nvidia/hopper.yml +0 -0
  81. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/devices/nvidia/volta.yml +0 -0
  82. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/faults.py +0 -0
  83. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/host_memory.py +0 -0
  84. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/install_help.py +0 -0
  85. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/install_metal.py +0 -0
  86. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/install_steps.yml +0 -0
  87. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/launcher.py +0 -0
  88. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/launcher_contract.py +0 -0
  89. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/level_zero.py +0 -0
  90. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/level_zero_driver.py +0 -0
  91. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/libnames.py +0 -0
  92. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/metal_backend.py +0 -0
  93. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/metal_device.py +0 -0
  94. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/process_memory.py +0 -0
  95. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/replay_graph.py +0 -0
  96. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/runtime.py +0 -0
  97. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/backend/triton_ext_driver.py +0 -0
  98. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/dtype/__init__.py +0 -0
  99. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/dtype/convert.py +0 -0
  100. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/dtype/dtypes.yml +0 -0
  101. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/dtype/itemsize.py +0 -0
  102. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/dtype/nbx_dtype.py +0 -0
  103. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/dtype/operands.py +0 -0
  104. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/dtype/outputs.py +0 -0
  105. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/dtype/policy.py +0 -0
  106. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/dtype/policy.yml +0 -0
  107. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/dtype/promotion.py +0 -0
  108. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/host.py +0 -0
  109. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/io/__init__.py +0 -0
  110. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/io/read_rate.py +0 -0
  111. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/io/safetensors.py +0 -0
  112. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/memory/__init__.py +0 -0
  113. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/memory/device_memory.py +0 -0
  114. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/memory/device_transfer.py +0 -0
  115. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/memory/host_spill.py +0 -0
  116. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/memory/kv_host_pages.py +0 -0
  117. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/memory/kv_host_tier.py +0 -0
  118. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/memory/kv_session.py +0 -0
  119. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/memory/layout.py +0 -0
  120. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/memory/metal.py +0 -0
  121. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/memory/oom_advice.py +0 -0
  122. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/memory/pointer_tables.py +0 -0
  123. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/memory/pool.py +0 -0
  124. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/memory/shadow.py +0 -0
  125. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/memory/to_device_census.py +0 -0
  126. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/memory/trace_replay.py +0 -0
  127. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/memory/traces/sana-video-2b-720p.16g.2026-11-02.tsv +0 -0
  128. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/__init__.py +0 -0
  129. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/_autotune_policy.py +0 -0
  130. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/_common.py +0 -0
  131. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/_cost.py +0 -0
  132. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/abs.py +0 -0
  133. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/adaptive_avg_pool2d.py +0 -0
  134. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/add.py +0 -0
  135. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/addcdiv.py +0 -0
  136. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/addcmul.py +0 -0
  137. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/addmv_op.py +0 -0
  138. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/addr.py +0 -0
  139. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/all_reduce.py +0 -0
  140. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/amax.py +0 -0
  141. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/any_reduce.py +0 -0
  142. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/arange_op.py +0 -0
  143. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/argmax.py +0 -0
  144. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/argmin.py +0 -0
  145. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/atan2.py +0 -0
  146. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/attention_wrappers.py +0 -0
  147. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/autotune_bucket.py +0 -0
  148. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/autotune_certified.py +0 -0
  149. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/autotune_refusals.py +0 -0
  150. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/autotune_settings.py +0 -0
  151. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/avg_pool2d.py +0 -0
  152. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/baddbmm_op.py +0 -0
  153. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/batch_norm.py +0 -0
  154. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/binary_strided.py +0 -0
  155. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/bitwise_and.py +0 -0
  156. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/bitwise_left_shift.py +0 -0
  157. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/bitwise_not.py +0 -0
  158. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/bitwise_or.py +0 -0
  159. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/bitwise_right_shift.py +0 -0
  160. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/bucketize.py +0 -0
  161. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/cat_op.py +0 -0
  162. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/celu.py +0 -0
  163. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/certified_index.py +0 -0
  164. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/clamp.py +0 -0
  165. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/clamp_min.py +0 -0
  166. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/conv2d.py +0 -0
  167. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/conv2d_m8n8k4.py +0 -0
  168. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/conv_depthwise2d.py +0 -0
  169. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/conv_transpose2d.py +0 -0
  170. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/conv_wrappers.py +0 -0
  171. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/copy.py +0 -0
  172. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/copy_op.py +0 -0
  173. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/cos.py +0 -0
  174. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/count_nonzero.py +0 -0
  175. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/cross_entropy.py +0 -0
  176. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/cummax.py +0 -0
  177. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/cummin.py +0 -0
  178. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/cumsum.py +0 -0
  179. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/decode_attn_vec.py +0 -0
  180. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/depthwise_conv2d.py +0 -0
  181. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/dequant_gemv.py +0 -0
  182. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/dft.py +0 -0
  183. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/dispatch.py +0 -0
  184. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/div.py +0 -0
  185. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/dot_op.py +0 -0
  186. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/dropout.py +0 -0
  187. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/dtype_convert.py +0 -0
  188. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/elementwise_launch.py +0 -0
  189. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/elementwise_wrappers.py +0 -0
  190. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/elu.py +0 -0
  191. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/embedding.py +0 -0
  192. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/embedding_pool.py +0 -0
  193. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/eq.py +0 -0
  194. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/erf.py +0 -0
  195. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/exp.py +0 -0
  196. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/exp2.py +0 -0
  197. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/fft_op.py +0 -0
  198. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/fill_op.py +0 -0
  199. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/flash_attention.py +0 -0
  200. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/flash_attention_m8n8k4.py +0 -0
  201. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/flash_decode.py +0 -0
  202. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/flip_op.py +0 -0
  203. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/floor.py +0 -0
  204. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/full_op.py +0 -0
  205. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/fused_moe.py +0 -0
  206. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/fused_moe_m8n8k4.py +0 -0
  207. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/fused_upsample_conv.py +0 -0
  208. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/gather_op.py +0 -0
  209. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/ge.py +0 -0
  210. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/gelu.py +0 -0
  211. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/gemv_vec.py +0 -0
  212. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/glu.py +0 -0
  213. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/grid_sampler.py +0 -0
  214. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/group_norm_tiled.py +0 -0
  215. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/groupnorm.py +0 -0
  216. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/gt.py +0 -0
  217. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/hardsigmoid.py +0 -0
  218. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/hardswish.py +0 -0
  219. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/host_decode_partial.py +0 -0
  220. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/im2col.py +0 -0
  221. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/index_add.py +0 -0
  222. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/index_put_op.py +0 -0
  223. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/index_select.py +0 -0
  224. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/index_wrappers.py +0 -0
  225. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/isfinite.py +0 -0
  226. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/isinf.py +0 -0
  227. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/isnan.py +0 -0
  228. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/launch_observer.py +0 -0
  229. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/layernorm.py +0 -0
  230. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/le.py +0 -0
  231. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/leaky_relu.py +0 -0
  232. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/lerp.py +0 -0
  233. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/linalg_wrappers.py +0 -0
  234. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/linspace_op.py +0 -0
  235. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/log.py +0 -0
  236. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/log_sigmoid.py +0 -0
  237. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/logical_and.py +0 -0
  238. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/logical_not.py +0 -0
  239. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/logical_or.py +0 -0
  240. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/logical_xor.py +0 -0
  241. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/loss_wrappers.py +0 -0
  242. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/lt.py +0 -0
  243. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/masked_fill.py +0 -0
  244. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/matmul.py +0 -0
  245. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/matmul_m8n8k4.py +0 -0
  246. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/max_pool2d.py +0 -0
  247. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/max_pool3d.py +0 -0
  248. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/max_reduce.py +0 -0
  249. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/maximum.py +0 -0
  250. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/mean.py +0 -0
  251. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/min_reduce.py +0 -0
  252. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/minimum.py +0 -0
  253. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/mish.py +0 -0
  254. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/mma_m8n8k4.py +0 -0
  255. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/moe_align.py +0 -0
  256. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/moe_decode_vec.py +0 -0
  257. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/moe_device_residency.py +0 -0
  258. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/mse_loss.py +0 -0
  259. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/mul.py +0 -0
  260. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/nan_to_num.py +0 -0
  261. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/ne.py +0 -0
  262. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/neg.py +0 -0
  263. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/nllloss.py +0 -0
  264. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/nonzero.py +0 -0
  265. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/nonzero_op.py +0 -0
  266. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/norm_wrappers.py +0 -0
  267. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/ones_op.py +0 -0
  268. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/oracles/__init__.py +0 -0
  269. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/oracles/conv2d_fp64.py +0 -0
  270. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/pad_op.py +0 -0
  271. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/paged_decode_attn.py +0 -0
  272. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/pixel_shuffle.py +0 -0
  273. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/pixel_unshuffle.py +0 -0
  274. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/pow.py +0 -0
  275. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/prod.py +0 -0
  276. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/rand_op.py +0 -0
  277. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/random_wrappers.py +0 -0
  278. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/reciprocal.py +0 -0
  279. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/reduction_wrappers.py +0 -0
  280. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/relu.py +0 -0
  281. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/remainder.py +0 -0
  282. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/repeat_interleave.py +0 -0
  283. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/repeat_op.py +0 -0
  284. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/residual_chain.py +0 -0
  285. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/rmsnorm.py +0 -0
  286. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/rope.py +0 -0
  287. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/rsqrt.py +0 -0
  288. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/scaled_softmax.py +0 -0
  289. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/scatter_op.py +0 -0
  290. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/screen_oracle.py +0 -0
  291. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/selu.py +0 -0
  292. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/shape_wrappers.py +0 -0
  293. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/sigmoid.py +0 -0
  294. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/silu.py +0 -0
  295. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/sin.py +0 -0
  296. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/softmax.py +0 -0
  297. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/softplus.py +0 -0
  298. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/sort_op.py +0 -0
  299. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/spectral_wrappers.py +0 -0
  300. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/sqrt.py +0 -0
  301. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/stack_op.py +0 -0
  302. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/std.py +0 -0
  303. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/strided_copy.py +0 -0
  304. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/sub.py +0 -0
  305. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/sum.py +0 -0
  306. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/tan.py +0 -0
  307. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/tanh.py +0 -0
  308. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/threshold.py +0 -0
  309. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/tiling.yml +0 -0
  310. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/tiling_policy.py +0 -0
  311. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/tiling_sizes.py +0 -0
  312. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/token_bitmask.py +0 -0
  313. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/topk.py +0 -0
  314. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/trace_op.py +0 -0
  315. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/tril.py +0 -0
  316. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/triu.py +0 -0
  317. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/unfold_op.py +0 -0
  318. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/unique_op.py +0 -0
  319. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/upsample_bilinear2d.py +0 -0
  320. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/upsample_nearest2d.py +0 -0
  321. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/upsample_nearest3d.py +0 -0
  322. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/var.py +0 -0
  323. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/vector_norm.py +0 -0
  324. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/weight_norm.py +0 -0
  325. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/where.py +0 -0
  326. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/wrappers.py +0 -0
  327. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/ops/zeros_op.py +0 -0
  328. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/quant/__init__.py +0 -0
  329. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/quant/quantized_tensor.py +0 -0
  330. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/random/__init__.py +0 -0
  331. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/random/mt_randn.py +0 -0
  332. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/random/rng_pin.py +0 -0
  333. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/random/rng_stream.py +0 -0
  334. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/random/seeded_draw.py +0 -0
  335. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/shape/__init__.py +0 -0
  336. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/src/nbxtensor/terminal.py +0 -0
  337. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/tools/device_key_census.py +0 -0
  338. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/tools/device_key_trace.py +0 -0
  339. {nbxtensor-0.1.3 → nbxtensor-0.1.4}/tools/scatter_scan.py +0 -0
@@ -7,6 +7,80 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.1.4] - 2026-11-12
11
+
12
+ ### Added
13
+ - `ops.oracles.attention_fp64`: the attention family's float64 reference on query-row windows (moved from the
14
+ engine's certifier): K and V widened once, its products through BLAS — 10x faster on a long key range, same values.
15
+ - `nbxtensor.backend.frozen_plan`: the frozen-plan replay — a device step recorded once (the allocator's copies, sets
16
+ and synchronisations and the launcher's launches, as actions) and replayed as direct launches or captured device
17
+ graphs: `STATE` (the recording interceptor; `site_of`, the caller's predicate naming where a recording broke),
18
+ `FrozenPlan`, `install_seams`, `arm_launch_recorder`, the action tags. Moved from the NeuroBrix engine, which
19
+ keeps only when a step is recorded, verified and replayed.
20
+ - `frozen_plan.measure`, `room_for`, `slabs`, `record`, `retire`, `head_values`, `FrozenPlan.hand_out_outputs`,
21
+ `STATE.open_measurement`, `values_sha256`, `carved_from`: a step's slab measured, made room for, allocated and recorded into, a rejected plan
22
+ released — the mechanism of the replay's state machine, whose decisions stay the caller's.
23
+ - `DeviceAllocator.give_back_cached(dev)`: a card's cached free memory (the expandable range's chunks, the pool's
24
+ blocks) back to the driver after its work ends.
25
+ - `StepSlab.for_carved`, `DeviceAllocator.register_idle_reclaimer`: a decode step's slab sized in the library; an
26
+ application's idle-memory reclaimer registered through a public call. A recording that cannot read the current
27
+ device now breaks its plan by name instead of recording an action without its card.
28
+ - `Arena.slots`: the slot list itself, for a reader pairing it with a snapshot.
29
+ - `NBXTensor.device_idx`: the card a tensor's memory is on.
30
+ - `NBXTensor.bits()`, `same_bits(other)`, `storage_root()`, `storage_address()` and `shares_storage(other)`: a
31
+ tensor read as the integers of its element width, a bit-for-bit comparison on the device (+0.0 and -0.0 differ, a
32
+ NaN equals itself), the allocation a view reads and whether two tensors view one allocation. The engine's invariant
33
+ state asks them before reusing or keeping a result; they lived in the engine until now.
34
+ - `nbxtensor.inspection`: `host_values`, `non_finite`, `value_stats`, `last_position_row` and `digest` — a tensor's
35
+ values read on the host for a diagnostic (a non-finite scan, the record a per-op value dump keeps, the last
36
+ position's row, a digest of the bytes in row-major order). The engine's NaN scan, value dumps and op fingerprints
37
+ call them instead of their own device-to-host copies.
38
+ - `memory.memory_pool.break_aliases(tensors, freed)`: before the tensors at `freed` (keys of a list or a dict) are
39
+ freed, every other entry viewing one of their allocations is replaced by its `contiguous()`. The engine's weight
40
+ eviction called its own two copies of it. Known limit, kept from them: a view that is already contiguous is its own
41
+ `contiguous()` and still reads the freed memory.
42
+ - `NBXTensor.saturated(dtype)`: a one-element float32 or float64 tensor holding a finite value beyond a half dtype's
43
+ range comes back as a new tensor (same dtype, shape and card) holding the clamped value (`saturate_scalar`);
44
+ anything else is itself. The engine's `where` wrap called its own copy, which uploaded to the current card.
45
+ - `memory.paged_kv.keys_seq_major(q, k, pre_transposed=None)` and `one_head_per_group(t, kv_heads, group)`: the keys
46
+ an attention reads put in the queries' order (the recorded layout first, the shape only without one, the square
47
+ case refused by name), and keys or values repeated for grouped-query attention read back as their own heads. The
48
+ engine's KV interceptor held both.
49
+ - `memory.pages.MetalStateFence`: the release fence of the Triton kernels' queue on Metal (`record`, `completed`,
50
+ `drain(pool)`), for the day launches stop waiting for their kernel; not in use today. It was the engine's
51
+ `triton/state_fence.py`, which nothing called.
52
+ - `memory.expert_slots.ExpertSlotStore(residency, device_idx, like, in_place=False)`: the device slots of a
53
+ mixture-of-experts component whose experts stay on the host — one arena carved into aligned views, the misses copied
54
+ into their slots on the store's own stream (`acquire`, `prefetch`), the experts of a unified device bound in place,
55
+ and for one decode token the residency kept on the card (`enable_device_decode`, `decode_on_card`: its slot map,
56
+ stamps and clock, the assign and miss-copy kernels' launches). Which expert sits in which slot stays the caller's: a
57
+ `residency` object answering a small written protocol. The engine carried all of this in its own store.
58
+ - `memory.expert_slots.HeldExperts(device_idx, layers)`: every expert of whole layers copied once into one arena on
59
+ another device.
60
+ - `ops.moe_wrappers.moe_align_block_size(topk_ids_flat, block_size, num_experts, device_idx, pairs=None)`: a routed
61
+ layer's (token, expert) pairs sorted by expert and padded to the kernel's row block, on the device — the launcher of
62
+ the three `ops.moe_align` stages, which the engine carried. `MOE_BLOCK_M` names the block to align by.
63
+ - `ops.moe_wrappers.moe_decode_vec_half_pass(...)`: one decode token through a routed layer of half-precision experts
64
+ (the `ops.moe_decode_vec` half kernels' three launches), which the engine carried.
65
+ - `ops.moe_multi_device.fused_moe_across_devices(hidden_states, flat_indices, flat_scores, tables, top_k,
66
+ num_experts, n_gate, block_m, act_dev)`: a routed layer whose experts sit on several devices, computed where its
67
+ weights are — one share per device of the layer's pointer tables, summed on the activations' device. The engine
68
+ carried this op, with its device-to-host and card-to-card copies; it now hands over the tables its placement built.
69
+
70
+ ### Changed
71
+ - The multi-device routed layer no longer reads the routing scores back to the host (a copy per layer nothing read).
72
+ - The slot store reads the card's clock at the size of the word it reads into, no byte count written in the code.
73
+
74
+ ### Fixed
75
+ - `autotune_cache.seed_late(tuner)`, called at a tuner's first launch: a kernel module imported after the process's
76
+ first autotuned launch gets the machine's stored settings too (the certified directory first), once — they were
77
+ seeded only into the modules already imported, so every new process measured the late ones again.
78
+ - **A driver error while a card's expandable pool asks which cards reach it is refused by name.** `memory.vmm.Vmm`
79
+ builds the access grant of its chunks from the driver's answers (`cuDeviceGetCount`, `cuDeviceGet`,
80
+ `cuDeviceCanAccessPeer`); a call that failed was read as "no peer" and the grant silently named the owning card
81
+ alone, so a later card-to-card copy failed far from its cause. The failing call, its device and its status are now
82
+ the error. A driver that answers "not a peer" is unchanged.
83
+
10
84
  ## [0.1.3] - 2026-11-11
11
85
 
12
86
  ### Added
@@ -293,7 +367,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
293
367
  ### Fixed
294
368
  - **CDNA3's shared memory per block is 64 KB**, not 160 KB (the device file had CDNA4's figure; Triton 3.8's AMD target features state 64 KB for gfx942): an autotune config needing more is no longer kept for an MI300.
295
369
 
296
-
297
370
  ## [0.0.1] - 2026-11-05
298
371
 
299
372
  The first release of nbxtensor: an inference-first tensor library whose kernels are written in Triton and which never
@@ -403,7 +476,8 @@ memory; the fix is in test).
403
476
  - **`flash_decode_split_kernel` and its route**: armed only by an environment switch (`NBX_FLASH_DECODE`, with `NBX_FD_BLOCK_N` and `NBX_FD_SEG`) and measured slower than the vector decode kernels; `flash_decode.py` keeps the fixed-order reduce they share.
404
477
  - **`conv1d_forward_kernel`**: launched by no route (a 1-D convolution runs through `conv2d`).
405
478
 
406
- [Unreleased]: https://github.com/NeuroBrix/nbxtensor/compare/v0.1.3...HEAD
479
+ [Unreleased]: https://github.com/NeuroBrix/nbxtensor/compare/v0.1.4...HEAD
480
+ [0.1.4]: https://github.com/NeuroBrix/nbxtensor/compare/v0.1.3...v0.1.4
407
481
  [0.1.3]: https://github.com/NeuroBrix/nbxtensor/compare/v0.1.2...v0.1.3
408
482
  [0.1.2]: https://github.com/NeuroBrix/nbxtensor/compare/v0.1.1...v0.1.2
409
483
  [0.1.1]: https://github.com/NeuroBrix/nbxtensor/compare/v0.1.0...v0.1.1
@@ -22,6 +22,21 @@ Found a bug on your hardware? [Open an issue](https://github.com/NeuroBrix/nbxte
22
22
  The library's source lives in `nbxtensor/` of the [NeuroBrix repository](https://github.com/NeuroBrix/neurobrix) and is
23
23
  exported here; a pull request on either repository is fine — we carry it across.
24
24
 
25
+ ## The home of every tensor mechanism
26
+
27
+ **nbxtensor is the ecosystem's torch** (owner rule, 2026-11-12). Everything that touches tensors or follows torch's
28
+ logic (tensors, devices, memory, arenas, copies, compute kernels, replay, the tensor side of the experts store) lives in
29
+ nbxtensor, never in the engine. nbxtensor is a library with its own role: it replaces torch, and the engine is one of
30
+ its users, like any other. The engine keeps policy: Prism, model families, flows, the CLI, serving, which expert sits in
31
+ which slot and how many slots Prism grants. Every project of the ecosystem is separate (the engine, nbxtensor,
32
+ NBXGrammar, NBX Code, the container builder, the hub), and a function is filed in the project it belongs to. Engine code
33
+ that does tensor work is a defect as severe as a wrong answer: its fix ships at once, never held back to be grouped into
34
+ a release. The PyTorch engine computes with torch, its own library; that is not a breach.
35
+
36
+ For a contributor: a tensor helper is never added to the engine "for now"; the library is improved instead. A tensor
37
+ operation, a copy, a memory fact or a kernel the engine needs and nbxtensor lacks is added to nbxtensor, with its test,
38
+ and the engine calls it.
39
+
25
40
  ## Style
26
41
 
27
42
  - **No torch.** nbxtensor never imports torch, not even optionally or inside a `try`.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: nbxtensor
3
- Version: 0.1.3
3
+ Version: 0.1.4
4
4
  Summary: Run AI models without PyTorch: tensors, Triton kernels, planned memory and certified tuning, wherever Triton runs — NVIDIA, AMD, Intel and Apple GPUs.
5
5
  Project-URL: Homepage, https://github.com/NeuroBrix/nbxtensor
6
6
  Project-URL: Source, https://github.com/NeuroBrix/nbxtensor
@@ -77,6 +77,21 @@ assert c.shape == (256, 128) and np.allclose(c.numpy().astype(np.float32), ref,
77
77
  buffer before the first run, and every kernel declares its cost (outputs, workspace, scratch, bytes moved, flops) so a
78
78
  planner prices a model before running it. Capture and replay of a repeated sequence of launches, verified byte-equal.
79
79
 
80
+ ## The home of every tensor mechanism
81
+
82
+ **nbxtensor is the ecosystem's torch** (owner rule, 2026-11-12). Everything that touches tensors or follows torch's
83
+ logic (tensors, devices, memory, arenas, copies, compute kernels, replay, the tensor side of the experts store) lives in
84
+ nbxtensor, never in the engine. nbxtensor is a library with its own role: it replaces torch, and the engine is one of
85
+ its users, like any other. The engine keeps policy: Prism, model families, flows, the CLI, serving, which expert sits in
86
+ which slot and how many slots Prism grants. Every project of the ecosystem is separate (the engine, nbxtensor,
87
+ NBXGrammar, NBX Code, the container builder, the hub), and a function is filed in the project it belongs to. Engine code
88
+ that does tensor work is a defect as severe as a wrong answer: its fix ships at once, never held back to be grouped into
89
+ a release. The PyTorch engine computes with torch, its own library; that is not a breach.
90
+
91
+ For a contributor: a tensor helper is never added to the engine "for now"; the library is improved instead. A tensor
92
+ operation, a copy, a memory fact or a kernel the engine needs and nbxtensor lacks is added to nbxtensor, with its test,
93
+ and the engine calls it. See [CONTRIBUTING.md](CONTRIBUTING.md).
94
+
80
95
  ## Certify your own hardware
81
96
 
82
97
  A kernel setting is certified per launch key (the kernel, its shape class and dtypes) and per GPU class. The keys a GPU
@@ -54,6 +54,21 @@ assert c.shape == (256, 128) and np.allclose(c.numpy().astype(np.float32), ref,
54
54
  buffer before the first run, and every kernel declares its cost (outputs, workspace, scratch, bytes moved, flops) so a
55
55
  planner prices a model before running it. Capture and replay of a repeated sequence of launches, verified byte-equal.
56
56
 
57
+ ## The home of every tensor mechanism
58
+
59
+ **nbxtensor is the ecosystem's torch** (owner rule, 2026-11-12). Everything that touches tensors or follows torch's
60
+ logic (tensors, devices, memory, arenas, copies, compute kernels, replay, the tensor side of the experts store) lives in
61
+ nbxtensor, never in the engine. nbxtensor is a library with its own role: it replaces torch, and the engine is one of
62
+ its users, like any other. The engine keeps policy: Prism, model families, flows, the CLI, serving, which expert sits in
63
+ which slot and how many slots Prism grants. Every project of the ecosystem is separate (the engine, nbxtensor,
64
+ NBXGrammar, NBX Code, the container builder, the hub), and a function is filed in the project it belongs to. Engine code
65
+ that does tensor work is a defect as severe as a wrong answer: its fix ships at once, never held back to be grouped into
66
+ a release. The PyTorch engine computes with torch, its own library; that is not a breach.
67
+
68
+ For a contributor: a tensor helper is never added to the engine "for now"; the library is improved instead. A tensor
69
+ operation, a copy, a memory fact or a kernel the engine needs and nbxtensor lacks is added to nbxtensor, with its test,
70
+ and the engine calls it. See [CONTRIBUTING.md](CONTRIBUTING.md).
71
+
57
72
  ## Certify your own hardware
58
73
 
59
74
  A kernel setting is certified per launch key (the kernel, its shape class and dtypes) and per GPU class. The keys a GPU
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "nbxtensor"
7
- version = "0.1.3"
7
+ version = "0.1.4"
8
8
  description = "Run AI models without PyTorch: tensors, Triton kernels, planned memory and certified tuning, wherever Triton runs — NVIDIA, AMD, Intel and Apple GPUs."
9
9
  readme = "README.md"
10
10
  license = { text = "Apache-2.0" }
@@ -13,5 +13,5 @@ first publication is 0.0.1, each fix after it increments, the Rust rewrite is
13
13
  """
14
14
 
15
15
  #: the one version number; `pyproject.toml` states the same (tests/test_version.py)
16
- __version__ = "0.1.3"
16
+ __version__ = "0.1.4"
17
17
  __all__: list = []