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