nbxtensor 0.1.4__tar.gz → 0.1.5__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 (372) hide show
  1. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/.gitignore +1 -1
  2. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/CHANGELOG.md +115 -0
  3. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/PKG-INFO +6 -6
  4. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/README.md +5 -5
  5. nbxtensor-0.1.5/docs/API.md +3692 -0
  6. nbxtensor-0.1.5/docs/BACKENDS.md +167 -0
  7. nbxtensor-0.1.5/docs/api_undocumented.txt +2 -0
  8. nbxtensor-0.1.5/docs/certified-autotune-method.md +36 -0
  9. nbxtensor-0.1.5/docs/design/ALLOCATOR.md +60 -0
  10. nbxtensor-0.1.5/docs/design/COST.md +106 -0
  11. nbxtensor-0.1.5/docs/design/DESIGN.md +176 -0
  12. nbxtensor-0.1.5/docs/device_file_template.yml +106 -0
  13. nbxtensor-0.1.5/docs/device_keys.txt +61 -0
  14. nbxtensor-0.1.5/docs/history/INVENTORY.md +42 -0
  15. nbxtensor-0.1.5/docs/history/MIGRATION.md +81 -0
  16. nbxtensor-0.1.5/docs/history/migration_list.tsv +2 -0
  17. nbxtensor-0.1.5/docs/replay-recording-in-a-one-shot-request.md +52 -0
  18. nbxtensor-0.1.5/docs/tensor-cores-through-linear-layouts.md +86 -0
  19. nbxtensor-0.1.5/docs/triton_cpu_install.md +108 -0
  20. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/pyproject.toml +1 -1
  21. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/__init__.py +2 -2
  22. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/cpu_backend.py +2 -2
  23. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/device_files.py +1 -1
  24. nbxtensor-0.1.5/src/nbxtensor/backend/device_measure.py +85 -0
  25. nbxtensor-0.1.5/src/nbxtensor/backend/device_names.py +61 -0
  26. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/devices/amd/cdna.yml +1 -1
  27. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/devices/amd/cdna2.yml +1 -1
  28. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/devices/amd/cdna3.yml +1 -1
  29. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/devices/amd/cdna4.yml +1 -1
  30. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/devices/amd/rdna3.yml +1 -1
  31. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/devices/amd/rdna4.yml +1 -1
  32. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/devices/apple/apple_m1.yml +1 -1
  33. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/devices/apple/apple_m1_max.yml +1 -1
  34. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/devices/apple/apple_m1_pro.yml +1 -1
  35. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/devices/apple/apple_m1_ultra.yml +1 -1
  36. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/devices/apple/apple_m2.yml +1 -1
  37. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/devices/apple/apple_m2_max.yml +1 -1
  38. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/devices/apple/apple_m2_pro.yml +1 -1
  39. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/devices/apple/apple_m2_ultra.yml +1 -1
  40. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/devices/apple/apple_m3.yml +1 -1
  41. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/devices/apple/apple_m3_max.yml +1 -1
  42. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/devices/apple/apple_m3_pro.yml +1 -1
  43. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/devices/apple/apple_m3_ultra.yml +1 -1
  44. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/devices/apple/apple_m4.yml +1 -1
  45. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/devices/apple/apple_m4_max.yml +1 -1
  46. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/devices/apple/apple_m4_pro.yml +1 -1
  47. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/devices/apple/apple_m5.yml +1 -1
  48. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/devices/apple/apple_m5_max.yml +1 -1
  49. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/devices/apple/apple_m5_pro.yml +1 -1
  50. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/devices/apple/apple_m5_ultra.yml +1 -1
  51. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/devices/apple/apple_m6.yml +1 -1
  52. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/devices/apple/apple_silicon.yml +1 -1
  53. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/devices/intel/arl_h.yml +1 -1
  54. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/devices/intel/arl_s.yml +1 -1
  55. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/devices/intel/bmg.yml +1 -1
  56. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/devices/intel/dg2.yml +1 -1
  57. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/devices/intel/lnl.yml +1 -1
  58. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/devices/intel/mtl.yml +1 -1
  59. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/devices/intel/ptl_h.yml +1 -1
  60. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/devices/intel/ptl_u.yml +1 -1
  61. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/devices/intel/pvc.yml +1 -1
  62. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/devices/intel/wcl.yml +1 -1
  63. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/devices/intel/xe_lp.yml +1 -1
  64. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/devices/nvidia/ampere.yml +1 -1
  65. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/devices/nvidia/hopper.yml +1 -1
  66. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/devices/nvidia/volta.yml +2 -2
  67. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/launcher.py +23 -6
  68. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/metal_device.py +41 -1
  69. nbxtensor-0.1.5/src/nbxtensor/backend/metal_dispatch.py +218 -0
  70. nbxtensor-0.1.5/src/nbxtensor/backend/triton_ext_driver.py +393 -0
  71. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/host.py +1 -1
  72. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/inspection.py +22 -2
  73. nbxtensor-0.1.5/src/nbxtensor/interop/__init__.py +5 -0
  74. nbxtensor-0.1.5/src/nbxtensor/interop/dlpack.py +157 -0
  75. nbxtensor-0.1.5/src/nbxtensor/io/constants.py +54 -0
  76. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/io/read_rate.py +23 -1
  77. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/io/safetensors.py +15 -2
  78. nbxtensor-0.1.5/src/nbxtensor/memory/__init__.py +41 -0
  79. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/memory/allocator.py +32 -2
  80. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/memory/arena.py +42 -0
  81. nbxtensor-0.1.5/src/nbxtensor/memory/block_upload.py +66 -0
  82. nbxtensor-0.1.5/src/nbxtensor/memory/deferred_frees.py +108 -0
  83. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/memory/expert_slots.py +13 -0
  84. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/memory/layout.py +1 -1
  85. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/memory/memory_pool.py +41 -0
  86. nbxtensor-0.1.5/src/nbxtensor/memory/oom_advice.py +187 -0
  87. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/memory/pages.py +2 -2
  88. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/memory/pointer_tables.py +5 -5
  89. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/memory/pool.py +24 -1
  90. nbxtensor-0.1.5/src/nbxtensor/memory/shadow.py +215 -0
  91. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/_configs.py +3 -3
  92. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/_cost.py +1 -1
  93. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/attention_wrappers.py +18 -1
  94. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/autotune_cache.py +6 -4
  95. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/autotune_certified.py +5 -5
  96. nbxtensor-0.1.5/src/nbxtensor/ops/autotune_harness.py +1028 -0
  97. nbxtensor-0.1.5/src/nbxtensor/ops/axis_slices.py +94 -0
  98. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/conv_wrappers.py +1 -1
  99. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/fused_upsample_conv.py +8 -0
  100. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/launch_keys.py +2 -2
  101. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/mma_m8n8k4.py +1 -1
  102. nbxtensor-0.1.5/src/nbxtensor/ops/moe_fused.py +507 -0
  103. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/moe_wrappers.py +74 -0
  104. nbxtensor-0.1.5/src/nbxtensor/ops/oracles/fp64.py +394 -0
  105. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/residual_chain.py +4 -0
  106. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/screen_oracle.py +1 -1
  107. nbxtensor-0.1.5/src/nbxtensor/ops/tiles.py +98 -0
  108. nbxtensor-0.1.5/src/nbxtensor/ops/token_filters.py +43 -0
  109. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/quant/quantized_tensor.py +4 -0
  110. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/random/seeded_draw.py +52 -1
  111. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/tensor.py +30 -0
  112. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/tools/device_key_census.py +1 -1
  113. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/tools/scatter_scan.py +2 -2
  114. nbxtensor-0.1.4/src/nbxtensor/backend/device_names.py +0 -18
  115. nbxtensor-0.1.4/src/nbxtensor/backend/triton_ext_driver.py +0 -751
  116. nbxtensor-0.1.4/src/nbxtensor/memory/__init__.py +0 -9
  117. nbxtensor-0.1.4/src/nbxtensor/memory/oom_advice.py +0 -91
  118. nbxtensor-0.1.4/src/nbxtensor/memory/shadow.py +0 -43
  119. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/.github/PULL_REQUEST_TEMPLATE/certificate.md +0 -0
  120. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/.github/workflows/cla.yml +0 -0
  121. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/CONTRIBUTING.md +0 -0
  122. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/LICENSE +0 -0
  123. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/NOTICE +0 -0
  124. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/THIRD_PARTY_NOTICES.md +0 -0
  125. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/assets/logo.png +0 -0
  126. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/__main__.py +0 -0
  127. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/__init__.py +0 -0
  128. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/capabilities.py +0 -0
  129. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/cpu/__init__.py +0 -0
  130. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/cpu/blas.py +0 -0
  131. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/cpu/pool.py +0 -0
  132. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/device_facts.py +0 -0
  133. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/faults.py +0 -0
  134. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/frozen_plan.py +0 -0
  135. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/host_memory.py +0 -0
  136. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/install_help.py +0 -0
  137. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/install_metal.py +0 -0
  138. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/install_steps.yml +0 -0
  139. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/launcher_contract.py +0 -0
  140. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/level_zero.py +0 -0
  141. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/level_zero_driver.py +0 -0
  142. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/libnames.py +0 -0
  143. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/metal_backend.py +0 -0
  144. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/process_memory.py +0 -0
  145. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/replay_graph.py +0 -0
  146. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/backend/runtime.py +0 -0
  147. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/dtype/__init__.py +0 -0
  148. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/dtype/convert.py +0 -0
  149. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/dtype/dtypes.yml +0 -0
  150. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/dtype/itemsize.py +0 -0
  151. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/dtype/nbx_dtype.py +0 -0
  152. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/dtype/operands.py +0 -0
  153. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/dtype/outputs.py +0 -0
  154. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/dtype/policy.py +0 -0
  155. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/dtype/policy.yml +0 -0
  156. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/dtype/promotion.py +0 -0
  157. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/io/__init__.py +0 -0
  158. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/memory/device_memory.py +0 -0
  159. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/memory/device_transfer.py +0 -0
  160. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/memory/host_spill.py +0 -0
  161. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/memory/kv_host_pages.py +0 -0
  162. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/memory/kv_host_tier.py +0 -0
  163. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/memory/kv_session.py +0 -0
  164. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/memory/metal.py +0 -0
  165. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/memory/paged_kv.py +0 -0
  166. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/memory/slab.py +0 -0
  167. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/memory/to_device_census.py +0 -0
  168. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/memory/trace_replay.py +0 -0
  169. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/memory/traces/sana-video-2b-720p.16g.2026-11-02.tsv +0 -0
  170. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/memory/vmm.py +0 -0
  171. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/__init__.py +0 -0
  172. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/_autotune_policy.py +0 -0
  173. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/_common.py +0 -0
  174. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/abs.py +0 -0
  175. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/adaptive_avg_pool2d.py +0 -0
  176. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/add.py +0 -0
  177. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/addcdiv.py +0 -0
  178. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/addcmul.py +0 -0
  179. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/addmv_op.py +0 -0
  180. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/addr.py +0 -0
  181. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/all_reduce.py +0 -0
  182. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/amax.py +0 -0
  183. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/any_reduce.py +0 -0
  184. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/arange_op.py +0 -0
  185. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/argmax.py +0 -0
  186. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/argmin.py +0 -0
  187. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/atan2.py +0 -0
  188. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/autotune_bucket.py +0 -0
  189. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/autotune_refusals.py +0 -0
  190. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/autotune_settings.py +0 -0
  191. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/avg_pool2d.py +0 -0
  192. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/baddbmm_op.py +0 -0
  193. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/batch_norm.py +0 -0
  194. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/binary_strided.py +0 -0
  195. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/bitwise_and.py +0 -0
  196. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/bitwise_left_shift.py +0 -0
  197. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/bitwise_not.py +0 -0
  198. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/bitwise_or.py +0 -0
  199. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/bitwise_right_shift.py +0 -0
  200. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/bucketize.py +0 -0
  201. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/cat_op.py +0 -0
  202. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/celu.py +0 -0
  203. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/certified_index.py +0 -0
  204. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/clamp.py +0 -0
  205. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/clamp_min.py +0 -0
  206. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/conv2d.py +0 -0
  207. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/conv2d_m8n8k4.py +0 -0
  208. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/conv_depthwise2d.py +0 -0
  209. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/conv_transpose2d.py +0 -0
  210. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/copy.py +0 -0
  211. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/copy_op.py +0 -0
  212. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/cos.py +0 -0
  213. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/count_nonzero.py +0 -0
  214. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/cross_entropy.py +0 -0
  215. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/cummax.py +0 -0
  216. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/cummin.py +0 -0
  217. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/cumsum.py +0 -0
  218. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/decode_attn_vec.py +0 -0
  219. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/depthwise_conv2d.py +0 -0
  220. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/dequant_gemv.py +0 -0
  221. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/dft.py +0 -0
  222. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/dispatch.py +0 -0
  223. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/div.py +0 -0
  224. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/dot_op.py +0 -0
  225. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/dropout.py +0 -0
  226. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/dtype_convert.py +0 -0
  227. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/elementwise_launch.py +0 -0
  228. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/elementwise_wrappers.py +0 -0
  229. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/elu.py +0 -0
  230. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/embedding.py +0 -0
  231. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/embedding_pool.py +0 -0
  232. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/eq.py +0 -0
  233. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/erf.py +0 -0
  234. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/exp.py +0 -0
  235. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/exp2.py +0 -0
  236. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/fft_op.py +0 -0
  237. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/fill_op.py +0 -0
  238. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/flash_attention.py +0 -0
  239. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/flash_attention_m8n8k4.py +0 -0
  240. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/flash_decode.py +0 -0
  241. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/flip_op.py +0 -0
  242. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/floor.py +0 -0
  243. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/full_op.py +0 -0
  244. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/fused_moe.py +0 -0
  245. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/fused_moe_m8n8k4.py +0 -0
  246. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/gather_op.py +0 -0
  247. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/ge.py +0 -0
  248. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/gelu.py +0 -0
  249. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/gemv_vec.py +0 -0
  250. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/glu.py +0 -0
  251. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/grid_sampler.py +0 -0
  252. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/group_norm_tiled.py +0 -0
  253. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/groupnorm.py +0 -0
  254. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/gt.py +0 -0
  255. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/hardsigmoid.py +0 -0
  256. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/hardswish.py +0 -0
  257. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/host_decode_partial.py +0 -0
  258. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/im2col.py +0 -0
  259. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/index_add.py +0 -0
  260. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/index_put_op.py +0 -0
  261. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/index_select.py +0 -0
  262. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/index_wrappers.py +0 -0
  263. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/isfinite.py +0 -0
  264. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/isinf.py +0 -0
  265. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/isnan.py +0 -0
  266. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/launch_observer.py +0 -0
  267. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/layernorm.py +0 -0
  268. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/le.py +0 -0
  269. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/leaky_relu.py +0 -0
  270. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/lerp.py +0 -0
  271. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/linalg_wrappers.py +0 -0
  272. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/linspace_op.py +0 -0
  273. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/log.py +0 -0
  274. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/log_sigmoid.py +0 -0
  275. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/logical_and.py +0 -0
  276. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/logical_not.py +0 -0
  277. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/logical_or.py +0 -0
  278. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/logical_xor.py +0 -0
  279. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/loss_wrappers.py +0 -0
  280. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/lt.py +0 -0
  281. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/masked_fill.py +0 -0
  282. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/matmul.py +0 -0
  283. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/matmul_m8n8k4.py +0 -0
  284. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/max_pool2d.py +0 -0
  285. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/max_pool3d.py +0 -0
  286. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/max_reduce.py +0 -0
  287. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/maximum.py +0 -0
  288. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/mean.py +0 -0
  289. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/min_reduce.py +0 -0
  290. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/minimum.py +0 -0
  291. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/mish.py +0 -0
  292. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/moe_align.py +0 -0
  293. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/moe_decode_vec.py +0 -0
  294. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/moe_device_residency.py +0 -0
  295. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/moe_multi_device.py +0 -0
  296. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/mse_loss.py +0 -0
  297. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/mul.py +0 -0
  298. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/nan_to_num.py +0 -0
  299. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/ne.py +0 -0
  300. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/neg.py +0 -0
  301. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/nllloss.py +0 -0
  302. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/nonzero.py +0 -0
  303. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/nonzero_op.py +0 -0
  304. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/norm_wrappers.py +0 -0
  305. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/ones_op.py +0 -0
  306. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/oracles/__init__.py +0 -0
  307. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/oracles/attention_fp64.py +0 -0
  308. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/oracles/conv2d_fp64.py +0 -0
  309. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/pad_op.py +0 -0
  310. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/paged_decode_attn.py +0 -0
  311. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/pixel_shuffle.py +0 -0
  312. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/pixel_unshuffle.py +0 -0
  313. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/pow.py +0 -0
  314. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/prod.py +0 -0
  315. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/rand_op.py +0 -0
  316. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/random_wrappers.py +0 -0
  317. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/reciprocal.py +0 -0
  318. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/reduction_wrappers.py +0 -0
  319. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/relu.py +0 -0
  320. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/remainder.py +0 -0
  321. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/repeat_interleave.py +0 -0
  322. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/repeat_op.py +0 -0
  323. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/rmsnorm.py +0 -0
  324. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/rope.py +0 -0
  325. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/rsqrt.py +0 -0
  326. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/scaled_softmax.py +0 -0
  327. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/scatter_op.py +0 -0
  328. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/selu.py +0 -0
  329. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/shape_wrappers.py +0 -0
  330. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/sigmoid.py +0 -0
  331. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/silu.py +0 -0
  332. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/sin.py +0 -0
  333. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/softmax.py +0 -0
  334. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/softplus.py +0 -0
  335. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/sort_op.py +0 -0
  336. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/spectral_wrappers.py +0 -0
  337. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/sqrt.py +0 -0
  338. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/stack_op.py +0 -0
  339. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/std.py +0 -0
  340. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/strided_copy.py +0 -0
  341. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/sub.py +0 -0
  342. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/sum.py +0 -0
  343. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/tan.py +0 -0
  344. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/tanh.py +0 -0
  345. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/threshold.py +0 -0
  346. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/tiling.yml +0 -0
  347. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/tiling_policy.py +0 -0
  348. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/tiling_sizes.py +0 -0
  349. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/token_bitmask.py +0 -0
  350. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/topk.py +0 -0
  351. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/trace_op.py +0 -0
  352. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/tril.py +0 -0
  353. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/triu.py +0 -0
  354. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/unfold_op.py +0 -0
  355. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/unique_op.py +0 -0
  356. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/upsample_bilinear2d.py +0 -0
  357. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/upsample_nearest2d.py +0 -0
  358. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/upsample_nearest3d.py +0 -0
  359. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/var.py +0 -0
  360. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/vector_norm.py +0 -0
  361. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/weight_norm.py +0 -0
  362. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/where.py +0 -0
  363. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/wrappers.py +0 -0
  364. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/ops/zeros_op.py +0 -0
  365. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/quant/__init__.py +0 -0
  366. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/random/__init__.py +0 -0
  367. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/random/mt_randn.py +0 -0
  368. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/random/rng_pin.py +0 -0
  369. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/random/rng_stream.py +0 -0
  370. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/shape/__init__.py +0 -0
  371. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/src/nbxtensor/terminal.py +0 -0
  372. {nbxtensor-0.1.4 → nbxtensor-0.1.5}/tools/device_key_trace.py +0 -0
@@ -160,7 +160,7 @@ tests/*
160
160
  !tests/unit/**
161
161
  !tests/integration/
162
162
  !tests/integration/**
163
- # nbxtensor's backend conformance suite (docs/nbxtensor/BACKENDS.md), tracked like the unit suites.
163
+ # nbxtensor's backend conformance suite (nbxtensor/docs/BACKENDS.md), tracked like the unit suites.
164
164
  !tests/nbxtensor_backend_conformance/
165
165
  !tests/nbxtensor_backend_conformance/**
166
166
  # ...but re-ignore the build detritus the broad negation would let back in.
@@ -7,6 +7,121 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.1.5] - 2026-11-12
11
+
12
+ ### Changed
13
+ - Triton models on Apple GPUs run several times faster: nbxtensor now runs each compiled kernel on its own Metal stream,
14
+ in order, and waits for the GPU only where a result is read, instead of after every kernel. Measured on an M4 Pro,
15
+ outputs byte-identical: TinyLlama 1.1B, 256 tokens, 46.2 s -> 8.1 s; granite-3.1-1b-a400m (mixture of experts),
16
+ 128 tokens, 22.5 s -> 4.7 s.
17
+ - A failed device assert in a kernel now raises at the next read of a result (or the next launch), not at its own
18
+ launch.
19
+ - `NBX_SYNC_TIMING=1` on Apple now counts launches and the time spent issuing them, per kernel; there is no per-launch
20
+ wait left to time.
21
+ - The library's documentation lives in its own `docs/` (the API reference, the backends' contract, the device keys;
22
+ `docs/design/` the allocator, cost and design notes; `docs/history/` the inventory and the migration record) and
23
+ the three tensor reference pages (tensor cores through linear layouts, the certified-autotune method, recording a
24
+ replay in a one-shot request) with the Triton CPU install page. The README links them in this repository.
25
+ - The int4 MoE decode band's tiles, warps and stages no longer change with an environment variable (NBX_MOEV_BN, _BK,
26
+ _WARPS, _BND, _WARPS_D, _STAGES, read by the engine until now): they are the defaults those variables had.
27
+ - `memory.deferred_frees`: `DeferredFrees`, `Drain`, `sync_devices_of` — the tensors a run drops, released in batches
28
+ at a bytes cliff, a count or (pool off) a free-memory reserve, every owning device synchronised first, and the
29
+ allocator's out-of-memory reclaimer while the batch lives. The engine's two hot loops held this queue themselves.
30
+
31
+ ### Added
32
+ - `memory.block_upload` (`open_copy_stream`, `upload_block`, `wait_for_upload`, `drop_upload_events`,
33
+ `close_copy_stream`, `wait_device`): a block of host weights uploaded to one device on a copy stream with an
34
+ ordering-only readiness event the compute stream waits on (synchronous, with no event, given no stream), and the
35
+ stream's and events' release. Moved from the NeuroBrix engine's zero3 strategy, which keeps which block moves, when,
36
+ and how much stays resident.
37
+ - `memory.shadow.install_shadow(devices)`, `shadow_launch`, `shadow_device`, `DevicesVisible`: the whole shadow device — the
38
+ allocator's direct operations, streams, events and device queries answered without a driver, every launch skipped,
39
+ a value read answering a host-born value or a benign one — refused while a device is visible. Moved from the
40
+ NeuroBrix engine's census, which keeps which keys are recorded and its own seams; `from_numpy`'s stand-in now takes
41
+ every argument `from_numpy` takes.
42
+ - `nbxtensor.interop.from_dlpack(obj, device=None)`: take in another library's array through DLPack (a torch tensor,
43
+ a numpy array): host memory is copied in the order it shows, strided views and bfloat16 included; this backend's own
44
+ device memory is used in place (a strided one is first made contiguous on the device); another vendor's device
45
+ memory is refused with its name.
46
+ - `backend.triton_ext_driver.kernel_name(kernel)`: the name a Metal kernel was loaded under. The sync counter
47
+ (`NBX_SYNC_TIMING=1`) now ranks Metal kernels by their own names; every launch was counted as `MetalKernel`.
48
+ - `ops.moe_fused.fused_moe(gate_scores, hidden_states, gate_weights, up_weights, down_weights, top_k, num_experts,
49
+ ...)`: a whole mixture-of-experts layer in one call — the routing (top-k and renormalisation, or a blended routing
50
+ taken as given), host experts promoted for the call, the experts' pointer tables, and the path the call's shape and
51
+ placement take (the one-token SIMT bands, the grouped GEMMs, an expert store's slots in runs of experts, the layer
52
+ split over devices); it refuses by name, before any device, a backend that cannot read through a loaded pointer.
53
+ `StackedSlabPromotion` brings a host-resident stacked expert slab to the device once and whole. The NeuroBrix engine
54
+ carried both; it now keeps only its switches and what its diagnostics print.
55
+ - `ops.moe_wrappers.moe_decode_vec_int4_pass(...)` and `MOE_INT4_GROUP`: one decode token through a routed layer of
56
+ int4-g128 experts (the `ops.moe_decode_vec` int4 kernels), its launch settings named constants of the module.
57
+ - `memory.pointer_tables.tables_for_call(...)`: the pointer tables of one call — fresh for weights that live for the
58
+ call alone, cached otherwise (public; it was private).
59
+ - `ExpertSlotStore.decodes_on_card(layer)`, `on_routed(layer, routed, host)`, `on_enqueued(layer, routed)`: what the
60
+ fused op asks and tells a store, answered by default; a subclass decides more.
61
+ - `ops.autotune_harness`: the kernel-level harness of a certification — a key's operands drawn at the kernel's width
62
+ (`draw`, `Synth`, `upload`, `NP_DTYPES`), the size a key is drawn at (`Room`, `shortest_row`, `gemm_rows`), the
63
+ operands it draws (`key_operands`), the wrapper run on them with its lazy float64 reference (`synthesize`, every
64
+ autotuned kernel family), the reference of the launch the autotuner sees (`launch_oracle`), every candidate launched
65
+ on a poisoned output, measured and timed (`LaunchUnderTest`, `launch_and_measure`), the matrix unit's candidates
66
+ (`unit_runs`, `fused_moe_unit_runs`), the regime witness (`witness_ms`, `time_launch`) and the configurations
67
+ (`candidate_configs`, `stored_config`, `config_dict`). Moved from the NeuroBrix engine's certifier, which keeps which
68
+ keys, the tolerance, the timing protocol, the memory budget and the certified files.
69
+ - `ops.oracles.fp64`: the kernel families' float64 references for a certification (products, MoE, attention, softmax,
70
+ GEMV, row and group norms, row reductions, convolutions), whole under `ORACLE_MAX_MACS` and on windows of the output
71
+ above it (`row_windows`, `conv_windows`, `RowWindowedOracle`, `WindowedOracle`, `HostWindows`), and a kernel's output
72
+ measured against one (`deviation_against`, `oracle_deviation`, `host_values`). Moved from the engine's certifier.
73
+ - `ops.attention_wrappers.flash_route_heads`: the fewest heads with which the attention wrapper's route takes the flash.
74
+ - `ops.autotune_cache.config_to_dict`, `config_from_dict`: a Triton config as the sweep store and a certified directory
75
+ record it, and back (formerly private).
76
+ - `NBXTensor.from_numpy_as(arr, dtype, device)` and `NBXTensor.new_tensor(data)`: a host array's values placed at a
77
+ dtype (a float64 array narrowed to float32 on the host first, since a backend without float64 misreads it), and
78
+ torch's `new_tensor` (a tensor's own dtype and card). Moved from the NeuroBrix engine's computed-buffer placement.
79
+ - `io.constants.archived_storage`, `io.constants.constant_array`: a graph constant's stored bytes (the archive
80
+ `torch.save` writes) read and decoded to the dtype it is bound in, without a tensor library. Moved from the engine's
81
+ constant loader.
82
+ - `ops.tiles` (`crossfade_ramp`, `tile_window`, `TileBlend`): a tensor computed tile by tile — a tile read as a
83
+ contiguous edge-replicated window, results crossfaded across their overlaps and divided once. Moved from the
84
+ NeuroBrix engine's TilingEngine, which keeps where the tiles sit.
85
+ - `ops.axis_slices` (`take_slice`, `take_slice_cyclic`, `put_slice`, `whole_shape`, `own`, `accumulate`, `store`): an
86
+ axis read and written a slice at a time as views, and a contraction's partials summed in an accumulator dtype — the
87
+ stitch of a computation run in slices. Moved from the NeuroBrix engine's chunked region.
88
+ - `io.safetensors.bf16_abs_maxima`: the largest magnitude of every bfloat16 tensor of a safetensors file, from its
89
+ stored bytes. Moved from the engine's float16-safety scan.
90
+ - `DeviceAllocator.pool_cached_bytes`, `pool_enabled`, `pool_stats`, `blocks_in_use` and `Arena.bytes_on`: the
91
+ allocator's and an arena's figures for an application's memory lines, forensic dumps and per-key states. The engine
92
+ read the allocator's private tables (`_cuda_live_bytes`, `_POOL`, `_cuda_ptr_size`, `_pool_enabled`) in a dozen places.
93
+ - `memory.oom_advice.held_memory_report(named, big, bucket)` and `Arena.census(large)`: after a refused allocation,
94
+ who holds the device's memory (blocks in use by size, the tensors alive on the large ones named or ORPHAN with their
95
+ referrers, autotuners still holding tensors) and what an arena holds by region. The engine's NBX_LIVE_DUMP_ON_OOM
96
+ dump walked the allocator's tables and the garbage collector itself.
97
+ - `memory.memory_pool.release_weights`, `join_weights` and `Arena.release`: a loaded weight set released after
98
+ every device holding it synchronised (the library's bias and pointer-table caches dropped, the pool emptied), a
99
+ second load's arenas joined to the first's, an arena cleared after its devices drain. The engine did each itself
100
+ (its arena clears synchronised only the current device).
101
+ - `nbxtensor.memory.release_weights`, `join_weights`, `pool_enabled`, `pool_parked_cap_bytes`, `pool_fit_slack`: the
102
+ application's door to the release and the pool's rules, beside `set_limit`.
103
+ - `memory.pool.parks_freed_blocks`, `parked_cap_bytes`, `fit_slack`: the pool's rules for a device, from its file — the
104
+ allocator's own switch, and what a planner prices the pool by. Prism read the same keys and switch again itself.
105
+ - `nbxtensor.backend.device_measure`: `matmul_tflops`, `gemv_gbps` and `copies` — a device's GEMM, decode-step GEMV
106
+ and copy speeds (device to device, page-locked and pageable host to device, device to host), timed through the
107
+ library's own kernels and copies. `io.read_rate.evict(paths)` and `cold_read_gbps(path)`: files out of the page
108
+ cache, and one cold sequential read. The engine's planner measured them with its own raw allocations and copies.
109
+ - `inspection.values_at(t, positions)`: a few values of a tensor at row-major positions, each element read alone after
110
+ a device synchronisation (a view read in its logical order, never its storage's). The engine's sequential value
111
+ sampler walked the strides and copied each element itself.
112
+ - `backend.device_names.ACCELERATOR_PREFIXES`, `accelerator_index(device)`, `to_named_device(tensor, device)` and
113
+ `synchronize_named(device)`: a device name ("cuda:1", "hip:0", "mps:0", "cpu") read once for every backend, a tensor
114
+ moved to the device it names, the named device waited for with the current device restored. The engine's Triton
115
+ strategies and its parked values each read device names themselves.
116
+ - `random.seeded_draw.draw_from_probabilities` and `draw_from_masked_logits`: one token drawn on the host from a logits
117
+ row in its own dtype (repetition penalty, greedy at temperature 0, top-p on the probabilities; or min-p and top-p
118
+ written on the logits), and `ops.token_filters.penalize_repeats` / `outside_nucleus` on a device row. The engine
119
+ held the same arithmetic six times (its Triton sampler, the encoder-decoder, dual-AR and TTS flows, and the
120
+ compiled twins of the last two); every copy draws the same tokens through these.
121
+
122
+ ### Fixed
123
+ - `NBXTensor.item()` on a bfloat16 element returns its value (the high half of a float32); it returned 0.0.
124
+
10
125
  ## [0.1.4] - 2026-11-12
11
126
 
12
127
  ### Added
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: nbxtensor
3
- Version: 0.1.4
3
+ Version: 0.1.5
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
@@ -129,17 +129,17 @@ the keys (`pip install neurobrix`), with these commands (run as written on a cle
129
129
  every class certified is a class nobody autotunes again.
130
130
 
131
131
 
132
- **Links:** [API reference](https://github.com/NeuroBrix/neurobrix/blob/main/docs/nbxtensor/API.md) ·
132
+ **Links:** [API reference](https://github.com/NeuroBrix/nbxtensor/blob/main/docs/API.md) ·
133
133
  [release notes](https://github.com/NeuroBrix/nbxtensor/blob/main/CHANGELOG.md) ·
134
134
  [NeuroBrix](https://github.com/NeuroBrix/neurobrix), the inference engine whose Triton engine is nbxtensor's first
135
135
  client; nbxtensor's source lives in its `nbxtensor/` directory and is exported here.
136
136
 
137
137
  ## Status
138
138
 
139
- Every area below is in the library, and every public name is documented in [`docs/nbxtensor/API.md`](https://github.com/NeuroBrix/neurobrix/blob/main/docs/nbxtensor/API.md) (the list of
139
+ Every area below is in the library, and every public name is documented in [`docs/API.md`](https://github.com/NeuroBrix/nbxtensor/blob/main/docs/API.md) (the list of
140
140
  undocumented names is empty and a test keeps it so). This README documents what is in the library TODAY; every example below is executed by
141
141
  `nbxtensor/tests/test_readme.py`, so an example that stops working fails a test. The target API is
142
- `docs/nbxtensor/API.md`.
142
+ `docs/API.md`.
143
143
 
144
144
  | area | in the library | what it holds |
145
145
  |---|---|---|
@@ -445,7 +445,7 @@ memory.set_limit(None) # the physical card again
445
445
 
446
446
  Some services are still passed through `nbxtensor.host` while the boundary is cleaned before 0.0.1 (the device
447
447
  description, the operand decisions of the matrix unit and attention, and where a backend build may live).
448
- `docs/nbxtensor/API.md` section 11 lists each one, its fate (generic in the library, or back in the application) and
448
+ `docs/API.md` section 11 lists each one, its fate (generic in the library, or back in the application) and
449
449
  its state.
450
450
 
451
451
  An application may also watch every kernel launch without running it — a dry run, to list the kernel keys a model
@@ -498,7 +498,7 @@ tuning screens, every value with its source.
498
498
 
499
499
  ## Backends
500
500
 
501
- CUDA (NVIDIA), HIP (AMD), Level Zero (Intel) and Apple Metal through triton-ext; what a new backend provides is [`docs/nbxtensor/BACKENDS.md`](https://github.com/NeuroBrix/neurobrix/blob/main/docs/nbxtensor/BACKENDS.md), and
501
+ CUDA (NVIDIA), HIP (AMD), Level Zero (Intel) and Apple Metal through triton-ext; what a new backend provides is [`docs/BACKENDS.md`](https://github.com/NeuroBrix/nbxtensor/blob/main/docs/BACKENDS.md), and
502
502
  `tests/nbxtensor_backend_conformance` is what it must pass. The backend in force is public API:
503
503
  `nbxtensor.backend.runtime.gpu_backend()` names it ("cuda", "hip", "xpu", "metal"), `gpu_runtime()` is its runtime,
504
504
  `backend_table()` its entry points, `device_memory()` its memory primitives, and `set_device(tensor)` binds the
@@ -106,17 +106,17 @@ the keys (`pip install neurobrix`), with these commands (run as written on a cle
106
106
  every class certified is a class nobody autotunes again.
107
107
 
108
108
 
109
- **Links:** [API reference](https://github.com/NeuroBrix/neurobrix/blob/main/docs/nbxtensor/API.md) ·
109
+ **Links:** [API reference](https://github.com/NeuroBrix/nbxtensor/blob/main/docs/API.md) ·
110
110
  [release notes](https://github.com/NeuroBrix/nbxtensor/blob/main/CHANGELOG.md) ·
111
111
  [NeuroBrix](https://github.com/NeuroBrix/neurobrix), the inference engine whose Triton engine is nbxtensor's first
112
112
  client; nbxtensor's source lives in its `nbxtensor/` directory and is exported here.
113
113
 
114
114
  ## Status
115
115
 
116
- Every area below is in the library, and every public name is documented in [`docs/nbxtensor/API.md`](https://github.com/NeuroBrix/neurobrix/blob/main/docs/nbxtensor/API.md) (the list of
116
+ Every area below is in the library, and every public name is documented in [`docs/API.md`](https://github.com/NeuroBrix/nbxtensor/blob/main/docs/API.md) (the list of
117
117
  undocumented names is empty and a test keeps it so). This README documents what is in the library TODAY; every example below is executed by
118
118
  `nbxtensor/tests/test_readme.py`, so an example that stops working fails a test. The target API is
119
- `docs/nbxtensor/API.md`.
119
+ `docs/API.md`.
120
120
 
121
121
  | area | in the library | what it holds |
122
122
  |---|---|---|
@@ -422,7 +422,7 @@ memory.set_limit(None) # the physical card again
422
422
 
423
423
  Some services are still passed through `nbxtensor.host` while the boundary is cleaned before 0.0.1 (the device
424
424
  description, the operand decisions of the matrix unit and attention, and where a backend build may live).
425
- `docs/nbxtensor/API.md` section 11 lists each one, its fate (generic in the library, or back in the application) and
425
+ `docs/API.md` section 11 lists each one, its fate (generic in the library, or back in the application) and
426
426
  its state.
427
427
 
428
428
  An application may also watch every kernel launch without running it — a dry run, to list the kernel keys a model
@@ -475,7 +475,7 @@ tuning screens, every value with its source.
475
475
 
476
476
  ## Backends
477
477
 
478
- CUDA (NVIDIA), HIP (AMD), Level Zero (Intel) and Apple Metal through triton-ext; what a new backend provides is [`docs/nbxtensor/BACKENDS.md`](https://github.com/NeuroBrix/neurobrix/blob/main/docs/nbxtensor/BACKENDS.md), and
478
+ CUDA (NVIDIA), HIP (AMD), Level Zero (Intel) and Apple Metal through triton-ext; what a new backend provides is [`docs/BACKENDS.md`](https://github.com/NeuroBrix/nbxtensor/blob/main/docs/BACKENDS.md), and
479
479
  `tests/nbxtensor_backend_conformance` is what it must pass. The backend in force is public API:
480
480
  `nbxtensor.backend.runtime.gpu_backend()` names it ("cuda", "hip", "xpu", "metal"), `gpu_runtime()` is its runtime,
481
481
  `backend_table()` its entry points, `device_memory()` its memory primitives, and `set_device(tensor)` binds the