nbxtensor 0.1.0__tar.gz → 0.1.1__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 (378) hide show
  1. nbxtensor-0.1.1/.gitignore +311 -0
  2. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/CHANGELOG.md +53 -1
  3. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/PKG-INFO +1 -1
  4. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/pyproject.toml +1 -1
  5. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/__init__.py +1 -1
  6. nbxtensor-0.1.1/src/nbxtensor/backend/devices/intel/wcl.yml +205 -0
  7. nbxtensor-0.1.1/src/nbxtensor/backend/devices/intel/xe_lp.yml +211 -0
  8. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/launcher.py +6 -6
  9. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/level_zero.py +99 -3
  10. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/level_zero_driver.py +38 -60
  11. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/memory/allocator.py +18 -8
  12. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/memory/device_memory.py +11 -1
  13. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/memory/device_transfer.py +1 -1
  14. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/memory/host_spill.py +10 -0
  15. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/memory/memory_pool.py +1 -1
  16. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/memory/paged_kv.py +45 -24
  17. nbxtensor-0.1.1/src/nbxtensor/memory/to_device_census.py +73 -0
  18. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/attention_wrappers.py +1 -1
  19. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/moe_device_residency.py +1 -1
  20. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/tensor.py +39 -17
  21. nbxtensor-0.1.0/tests/test_a_kv_page_goes_to_the_host_and_back_bit_exact.py +0 -82
  22. nbxtensor-0.1.0/tests/test_a_sequence_decodes_past_the_card_s_pages.py +0 -122
  23. nbxtensor-0.1.0/tests/test_a_setting_not_served_says_why.py +0 -32
  24. nbxtensor-0.1.0/tests/test_a_small_tensor_never_pins_a_large_block.py +0 -52
  25. nbxtensor-0.1.0/tests/test_a_spilled_sequence_attends_as_one.py +0 -115
  26. nbxtensor-0.1.0/tests/test_a_sweep_refused_everywhere_says_so.py +0 -35
  27. nbxtensor-0.1.0/tests/test_a_table_pin_holder_holds_one_pin_per_set_of_wraps.py +0 -36
  28. nbxtensor-0.1.0/tests/test_a_token_bitmask_leaves_only_the_allowed_logits.py +0 -85
  29. nbxtensor-0.1.0/tests/test_a_triton_kernel_compiles_for_amd_and_launches_through_hip.py +0 -115
  30. nbxtensor-0.1.0/tests/test_allocator_interceptor.py +0 -159
  31. nbxtensor-0.1.0/tests/test_an_attention_returns_its_rows_log_sum_exp.py +0 -91
  32. nbxtensor-0.1.0/tests/test_an_embedding_is_pooled_as_its_model_declares.py +0 -41
  33. nbxtensor-0.1.0/tests/test_array_api_promotion.py +0 -70
  34. nbxtensor-0.1.0/tests/test_blas_on_macos_14_runs_without_thread_control.py +0 -76
  35. nbxtensor-0.1.0/tests/test_cpu_pool.py +0 -85
  36. nbxtensor-0.1.0/tests/test_device_facts.py +0 -55
  37. nbxtensor-0.1.0/tests/test_device_files.py +0 -25
  38. nbxtensor-0.1.0/tests/test_device_memory.py +0 -63
  39. nbxtensor-0.1.0/tests/test_dtype_convert.py +0 -58
  40. nbxtensor-0.1.0/tests/test_dtype_outputs.py +0 -53
  41. nbxtensor-0.1.0/tests/test_dtype_promotion.py +0 -60
  42. nbxtensor-0.1.0/tests/test_gathered_kv_pages_are_the_per_layer_copies_bits.py +0 -118
  43. nbxtensor-0.1.0/tests/test_host.py +0 -50
  44. nbxtensor-0.1.0/tests/test_install_metal_fetches_only_what_it_names.py +0 -186
  45. nbxtensor-0.1.0/tests/test_io_bf16_split.py +0 -20
  46. nbxtensor-0.1.0/tests/test_io_read_rate.py +0 -85
  47. nbxtensor-0.1.0/tests/test_it_installs_on_a_mac.py +0 -23
  48. nbxtensor-0.1.0/tests/test_level_zero_states_an_integrated_gpu.py +0 -126
  49. nbxtensor-0.1.0/tests/test_nbx_dtype.py +0 -37
  50. nbxtensor-0.1.0/tests/test_no_environment_switch_changes_a_kernel.py +0 -24
  51. nbxtensor-0.1.0/tests/test_ops_cost.py +0 -63
  52. nbxtensor-0.1.0/tests/test_policy.py +0 -55
  53. nbxtensor-0.1.0/tests/test_readme.py +0 -39
  54. nbxtensor-0.1.0/tests/test_shape.py +0 -56
  55. nbxtensor-0.1.0/tests/test_the_backend_is_the_card_on_the_machine.py +0 -19
  56. nbxtensor-0.1.0/tests/test_the_compiler_key_is_prewarmed.py +0 -23
  57. nbxtensor-0.1.0/tests/test_the_hip_driver_keeps_the_launch_contract.py +0 -174
  58. nbxtensor-0.1.0/tests/test_the_kv_host_tier_keeps_whole_pages_by_prefix.py +0 -83
  59. nbxtensor-0.1.0/tests/test_the_launcher_refuses_a_backend_it_has_no_driver_for.py +0 -42
  60. nbxtensor-0.1.0/tests/test_the_level_zero_backend_keeps_its_contracts.py +0 -403
  61. nbxtensor-0.1.0/tests/test_the_malloc_trace_names_the_wrapper.py +0 -25
  62. nbxtensor-0.1.0/tests/test_the_metal_dispatch_facts_are_declared_or_refused.py +0 -31
  63. nbxtensor-0.1.0/tests/test_third_party_notices.py +0 -81
  64. nbxtensor-0.1.0/tests/test_version.py +0 -23
  65. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/.github/PULL_REQUEST_TEMPLATE/certificate.md +0 -0
  66. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/.github/workflows/cla.yml +0 -0
  67. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/CONTRIBUTING.md +0 -0
  68. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/LICENSE +0 -0
  69. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/NOTICE +0 -0
  70. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/README.md +0 -0
  71. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/THIRD_PARTY_NOTICES.md +0 -0
  72. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/assets/logo.png +0 -0
  73. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/__main__.py +0 -0
  74. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/__init__.py +0 -0
  75. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/capabilities.py +0 -0
  76. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/cpu/__init__.py +0 -0
  77. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/cpu/blas.py +0 -0
  78. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/cpu/pool.py +0 -0
  79. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/cpu_backend.py +0 -0
  80. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/device_facts.py +0 -0
  81. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/device_files.py +0 -0
  82. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/device_names.py +0 -0
  83. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/devices/amd/cdna.yml +0 -0
  84. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/devices/amd/cdna2.yml +0 -0
  85. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/devices/amd/cdna3.yml +0 -0
  86. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/devices/amd/cdna4.yml +0 -0
  87. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/devices/amd/rdna3.yml +0 -0
  88. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/devices/amd/rdna4.yml +0 -0
  89. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/devices/apple/apple_m1.yml +0 -0
  90. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/devices/apple/apple_m1_max.yml +0 -0
  91. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/devices/apple/apple_m1_pro.yml +0 -0
  92. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/devices/apple/apple_m1_ultra.yml +0 -0
  93. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/devices/apple/apple_m2.yml +0 -0
  94. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/devices/apple/apple_m2_max.yml +0 -0
  95. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/devices/apple/apple_m2_pro.yml +0 -0
  96. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/devices/apple/apple_m2_ultra.yml +0 -0
  97. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/devices/apple/apple_m3.yml +0 -0
  98. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/devices/apple/apple_m3_max.yml +0 -0
  99. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/devices/apple/apple_m3_pro.yml +0 -0
  100. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/devices/apple/apple_m3_ultra.yml +0 -0
  101. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/devices/apple/apple_m4.yml +0 -0
  102. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/devices/apple/apple_m4_max.yml +0 -0
  103. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/devices/apple/apple_m4_pro.yml +0 -0
  104. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/devices/apple/apple_m5.yml +0 -0
  105. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/devices/apple/apple_m5_max.yml +0 -0
  106. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/devices/apple/apple_m5_pro.yml +0 -0
  107. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/devices/apple/apple_m5_ultra.yml +0 -0
  108. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/devices/apple/apple_m6.yml +0 -0
  109. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/devices/apple/apple_silicon.yml +0 -0
  110. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/devices/intel/arl_h.yml +0 -0
  111. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/devices/intel/arl_s.yml +0 -0
  112. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/devices/intel/bmg.yml +0 -0
  113. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/devices/intel/dg2.yml +0 -0
  114. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/devices/intel/lnl.yml +0 -0
  115. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/devices/intel/mtl.yml +0 -0
  116. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/devices/intel/ptl_h.yml +0 -0
  117. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/devices/intel/ptl_u.yml +0 -0
  118. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/devices/intel/pvc.yml +0 -0
  119. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/devices/nvidia/ampere.yml +0 -0
  120. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/devices/nvidia/hopper.yml +0 -0
  121. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/devices/nvidia/volta.yml +0 -0
  122. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/faults.py +0 -0
  123. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/host_memory.py +0 -0
  124. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/install_help.py +0 -0
  125. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/install_metal.py +0 -0
  126. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/install_steps.yml +0 -0
  127. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/launcher_contract.py +0 -0
  128. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/libnames.py +0 -0
  129. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/metal_backend.py +0 -0
  130. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/metal_device.py +0 -0
  131. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/process_memory.py +0 -0
  132. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/replay_graph.py +0 -0
  133. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/runtime.py +0 -0
  134. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/backend/triton_ext_driver.py +0 -0
  135. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/dtype/__init__.py +0 -0
  136. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/dtype/convert.py +0 -0
  137. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/dtype/dtypes.yml +0 -0
  138. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/dtype/itemsize.py +0 -0
  139. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/dtype/nbx_dtype.py +0 -0
  140. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/dtype/operands.py +0 -0
  141. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/dtype/outputs.py +0 -0
  142. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/dtype/policy.py +0 -0
  143. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/dtype/policy.yml +0 -0
  144. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/dtype/promotion.py +0 -0
  145. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/host.py +0 -0
  146. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/io/__init__.py +0 -0
  147. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/io/read_rate.py +0 -0
  148. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/io/safetensors.py +0 -0
  149. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/memory/__init__.py +0 -0
  150. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/memory/arena.py +0 -0
  151. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/memory/kv_host_pages.py +0 -0
  152. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/memory/kv_host_tier.py +0 -0
  153. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/memory/kv_session.py +0 -0
  154. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/memory/layout.py +0 -0
  155. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/memory/metal.py +0 -0
  156. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/memory/oom_advice.py +0 -0
  157. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/memory/pages.py +0 -0
  158. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/memory/pointer_tables.py +0 -0
  159. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/memory/pool.py +0 -0
  160. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/memory/shadow.py +0 -0
  161. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/memory/slab.py +0 -0
  162. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/memory/trace_replay.py +0 -0
  163. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/memory/traces/sana-video-2b-720p.16g.2026-11-02.tsv +0 -0
  164. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/memory/vmm.py +0 -0
  165. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/__init__.py +0 -0
  166. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/_autotune_policy.py +0 -0
  167. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/_common.py +0 -0
  168. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/_configs.py +0 -0
  169. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/_cost.py +0 -0
  170. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/abs.py +0 -0
  171. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/adaptive_avg_pool2d.py +0 -0
  172. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/add.py +0 -0
  173. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/addcdiv.py +0 -0
  174. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/addcmul.py +0 -0
  175. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/addmv_op.py +0 -0
  176. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/addr.py +0 -0
  177. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/all_reduce.py +0 -0
  178. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/amax.py +0 -0
  179. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/any_reduce.py +0 -0
  180. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/arange_op.py +0 -0
  181. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/argmax.py +0 -0
  182. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/argmin.py +0 -0
  183. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/atan2.py +0 -0
  184. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/autotune_bucket.py +0 -0
  185. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/autotune_cache.py +0 -0
  186. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/autotune_certified.py +0 -0
  187. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/autotune_refusals.py +0 -0
  188. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/autotune_settings.py +0 -0
  189. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/avg_pool2d.py +0 -0
  190. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/baddbmm_op.py +0 -0
  191. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/batch_norm.py +0 -0
  192. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/binary_strided.py +0 -0
  193. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/bitwise_and.py +0 -0
  194. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/bitwise_left_shift.py +0 -0
  195. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/bitwise_not.py +0 -0
  196. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/bitwise_or.py +0 -0
  197. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/bitwise_right_shift.py +0 -0
  198. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/bucketize.py +0 -0
  199. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/cat_op.py +0 -0
  200. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/celu.py +0 -0
  201. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/certified_index.py +0 -0
  202. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/clamp.py +0 -0
  203. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/clamp_min.py +0 -0
  204. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/conv2d.py +0 -0
  205. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/conv2d_m8n8k4.py +0 -0
  206. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/conv_depthwise2d.py +0 -0
  207. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/conv_transpose2d.py +0 -0
  208. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/conv_wrappers.py +0 -0
  209. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/copy.py +0 -0
  210. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/copy_op.py +0 -0
  211. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/cos.py +0 -0
  212. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/count_nonzero.py +0 -0
  213. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/cross_entropy.py +0 -0
  214. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/cummax.py +0 -0
  215. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/cummin.py +0 -0
  216. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/cumsum.py +0 -0
  217. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/decode_attn_vec.py +0 -0
  218. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/depthwise_conv2d.py +0 -0
  219. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/dequant_gemv.py +0 -0
  220. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/dft.py +0 -0
  221. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/dispatch.py +0 -0
  222. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/div.py +0 -0
  223. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/dot_op.py +0 -0
  224. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/dropout.py +0 -0
  225. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/dtype_convert.py +0 -0
  226. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/elementwise_launch.py +0 -0
  227. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/elementwise_wrappers.py +0 -0
  228. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/elu.py +0 -0
  229. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/embedding.py +0 -0
  230. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/embedding_pool.py +0 -0
  231. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/eq.py +0 -0
  232. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/erf.py +0 -0
  233. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/exp.py +0 -0
  234. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/exp2.py +0 -0
  235. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/fft_op.py +0 -0
  236. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/fill_op.py +0 -0
  237. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/flash_attention.py +0 -0
  238. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/flash_attention_m8n8k4.py +0 -0
  239. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/flash_decode.py +0 -0
  240. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/flip_op.py +0 -0
  241. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/floor.py +0 -0
  242. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/full_op.py +0 -0
  243. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/fused_moe.py +0 -0
  244. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/fused_moe_m8n8k4.py +0 -0
  245. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/fused_upsample_conv.py +0 -0
  246. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/gather_op.py +0 -0
  247. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/ge.py +0 -0
  248. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/gelu.py +0 -0
  249. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/gemv_vec.py +0 -0
  250. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/glu.py +0 -0
  251. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/grid_sampler.py +0 -0
  252. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/group_norm_tiled.py +0 -0
  253. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/groupnorm.py +0 -0
  254. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/gt.py +0 -0
  255. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/hardsigmoid.py +0 -0
  256. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/hardswish.py +0 -0
  257. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/host_decode_partial.py +0 -0
  258. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/im2col.py +0 -0
  259. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/index_add.py +0 -0
  260. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/index_put_op.py +0 -0
  261. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/index_select.py +0 -0
  262. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/index_wrappers.py +0 -0
  263. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/isfinite.py +0 -0
  264. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/isinf.py +0 -0
  265. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/isnan.py +0 -0
  266. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/launch_keys.py +0 -0
  267. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/launch_observer.py +0 -0
  268. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/layernorm.py +0 -0
  269. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/le.py +0 -0
  270. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/leaky_relu.py +0 -0
  271. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/lerp.py +0 -0
  272. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/linalg_wrappers.py +0 -0
  273. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/linspace_op.py +0 -0
  274. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/log.py +0 -0
  275. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/log_sigmoid.py +0 -0
  276. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/logical_and.py +0 -0
  277. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/logical_not.py +0 -0
  278. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/logical_or.py +0 -0
  279. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/logical_xor.py +0 -0
  280. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/loss_wrappers.py +0 -0
  281. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/lt.py +0 -0
  282. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/masked_fill.py +0 -0
  283. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/matmul.py +0 -0
  284. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/matmul_m8n8k4.py +0 -0
  285. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/max_pool2d.py +0 -0
  286. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/max_pool3d.py +0 -0
  287. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/max_reduce.py +0 -0
  288. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/maximum.py +0 -0
  289. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/mean.py +0 -0
  290. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/min_reduce.py +0 -0
  291. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/minimum.py +0 -0
  292. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/mish.py +0 -0
  293. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/mma_m8n8k4.py +0 -0
  294. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/moe_align.py +0 -0
  295. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/moe_decode_vec.py +0 -0
  296. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/moe_wrappers.py +0 -0
  297. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/mse_loss.py +0 -0
  298. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/mul.py +0 -0
  299. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/nan_to_num.py +0 -0
  300. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/ne.py +0 -0
  301. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/neg.py +0 -0
  302. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/nllloss.py +0 -0
  303. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/nonzero.py +0 -0
  304. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/nonzero_op.py +0 -0
  305. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/norm_wrappers.py +0 -0
  306. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/ones_op.py +0 -0
  307. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/oracles/__init__.py +0 -0
  308. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/oracles/conv2d_fp64.py +0 -0
  309. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/pad_op.py +0 -0
  310. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/paged_decode_attn.py +0 -0
  311. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/pixel_shuffle.py +0 -0
  312. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/pixel_unshuffle.py +0 -0
  313. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/pow.py +0 -0
  314. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/prod.py +0 -0
  315. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/rand_op.py +0 -0
  316. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/random_wrappers.py +0 -0
  317. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/reciprocal.py +0 -0
  318. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/reduction_wrappers.py +0 -0
  319. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/relu.py +0 -0
  320. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/remainder.py +0 -0
  321. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/repeat_interleave.py +0 -0
  322. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/repeat_op.py +0 -0
  323. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/residual_chain.py +0 -0
  324. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/rmsnorm.py +0 -0
  325. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/rope.py +0 -0
  326. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/rsqrt.py +0 -0
  327. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/scaled_softmax.py +0 -0
  328. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/scatter_op.py +0 -0
  329. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/screen_oracle.py +0 -0
  330. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/selu.py +0 -0
  331. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/shape_wrappers.py +0 -0
  332. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/sigmoid.py +0 -0
  333. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/silu.py +0 -0
  334. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/sin.py +0 -0
  335. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/softmax.py +0 -0
  336. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/softplus.py +0 -0
  337. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/sort_op.py +0 -0
  338. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/spectral_wrappers.py +0 -0
  339. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/sqrt.py +0 -0
  340. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/stack_op.py +0 -0
  341. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/std.py +0 -0
  342. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/strided_copy.py +0 -0
  343. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/sub.py +0 -0
  344. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/sum.py +0 -0
  345. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/tan.py +0 -0
  346. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/tanh.py +0 -0
  347. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/threshold.py +0 -0
  348. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/tiling.yml +0 -0
  349. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/tiling_policy.py +0 -0
  350. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/tiling_sizes.py +0 -0
  351. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/token_bitmask.py +0 -0
  352. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/topk.py +0 -0
  353. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/trace_op.py +0 -0
  354. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/tril.py +0 -0
  355. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/triu.py +0 -0
  356. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/unfold_op.py +0 -0
  357. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/unique_op.py +0 -0
  358. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/upsample_bilinear2d.py +0 -0
  359. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/upsample_nearest2d.py +0 -0
  360. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/upsample_nearest3d.py +0 -0
  361. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/var.py +0 -0
  362. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/vector_norm.py +0 -0
  363. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/weight_norm.py +0 -0
  364. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/where.py +0 -0
  365. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/wrappers.py +0 -0
  366. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/ops/zeros_op.py +0 -0
  367. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/quant/__init__.py +0 -0
  368. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/quant/quantized_tensor.py +0 -0
  369. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/random/__init__.py +0 -0
  370. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/random/mt_randn.py +0 -0
  371. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/random/rng_pin.py +0 -0
  372. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/random/rng_stream.py +0 -0
  373. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/random/seeded_draw.py +0 -0
  374. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/shape/__init__.py +0 -0
  375. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/src/nbxtensor/terminal.py +0 -0
  376. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/tools/device_key_census.py +0 -0
  377. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/tools/device_key_trace.py +0 -0
  378. {nbxtensor-0.1.0 → nbxtensor-0.1.1}/tools/scatter_scan.py +0 -0
@@ -0,0 +1,311 @@
1
+
2
+ # Auto-generated hardware profile (machine-specific)
3
+ # Binary / large files
4
+ # Build artifacts
5
+ # Cache
6
+ # Environments
7
+ # IDE
8
+ # Internal / dev files
9
+ # Misc
10
+ # Model data
11
+ # NeuroBrix — Public inference engine package
12
+ # OS
13
+ # Python
14
+ # Test outputs
15
+ # This repo contains ONLY the public runtime (src/neurobrix/)
16
+ *.egg-info/
17
+ *.log
18
+ *.nbx
19
+ *.pyc
20
+ *.safetensors
21
+
22
+ # Audit / validation artefacts — local-only, never committed nor packaged.
23
+ # Canonical verdicts that need durability live under docs/verdicts/.
24
+ validation_outputs/
25
+ .DS_Store
26
+ ._*
27
+ .cache/
28
+ # flight recorder state (machine-local power-loss resume records)
29
+ .flightrec/
30
+
31
+ # ---------------------------------------------------------------------------
32
+ # Assistant configuration — NEVER tracked, in any form (2026-09-22).
33
+ # This repository is public. An assistant's configuration describes how this
34
+ # machine is driven, not what the engine is, and it carries machine facts,
35
+ # private paths and working habits that have no place in a public trunk.
36
+ # The four .claude/agents/*.md files WERE tracked until 2026-09-22; they are
37
+ # untracked here and stay on disk. Rewriting the history that still holds them
38
+ # is a separate decision, the owner's.
39
+ # ---------------------------------------------------------------------------
40
+ .claude/
41
+ **/.claude/
42
+ .claude*/
43
+ CLAUDE.md
44
+ **/CLAUDE.md
45
+ CLAUDE.local.md
46
+ **/CLAUDE.local.md
47
+ AGENTS.md
48
+ **/AGENTS.md
49
+ GEMINI.md
50
+ **/GEMINI.md
51
+ .cursorrules
52
+ .mcp.json
53
+ **/.mcp.json
54
+ .env
55
+ .gemini/
56
+ .idea/
57
+ .nfs*
58
+ .plan/
59
+ .pytest_cache/
60
+ .venv
61
+ .vscode/
62
+ CLAUDE.md
63
+ MODIFICATIONS.md
64
+ ROADMAP_INTERNAL.md
65
+ Saves/
66
+ TRACE_COMPARISON_REPORT.txt
67
+ __pycache__/
68
+ archives/
69
+ benchmark_report.json
70
+ build/
71
+ dist/
72
+ docs/audit_*.md
73
+ docs/audits/
74
+ docs/handover_*.md
75
+ docs/internal/
76
+ docs/lessons/
77
+ docs/roadmap/
78
+ docs/verdicts/
79
+ models/
80
+ native/build/
81
+ output_*.png
82
+ output_*.txt
83
+ results.json
84
+ save/
85
+ save_current/
86
+ site/
87
+ src/neurobrix/CLAUDE.md
88
+ src/neurobrix/config/hardware/default.yml
89
+ src/neurobrix/config/hardware/default-*.yml
90
+ test-*.json
91
+ test-*.png
92
+ test-*.txt
93
+ test_*.py
94
+ # nbxtensor's own tests travel with the library (R-NBXT 10: an export ships with its test)
95
+ !nbxtensor/tests/test_*.py
96
+
97
+ # Stray run/upscale outputs at repo root — the CLI defaults to writing
98
+ # `output_<model>.<ext>` in cwd when `--output` is not provided. The
99
+ # regression harness now passes an explicit --output under /tmp (see
100
+ # tests/regression/test_all_models.py:_run_out_path), but any other
101
+ # invocation that forgets --output must not leak into the repo root.
102
+ output_*.png
103
+ output_*.wav
104
+ output_*.txt
105
+ output_*.mp4
106
+ output_*.jpg
107
+ output_*.jpeg
108
+
109
+ # macOS resource-fork "shadow" files. These appear when the project
110
+ # tree is browsed from macOS (NFS / SMB share) and are never useful
111
+ # in a Linux repo.
112
+ ._*
113
+ .DS_Store
114
+ tests/*
115
+ # The tests package marker itself. Without it a FRESH checkout cannot collect
116
+ # the suite at all: any test importing through the `tests.` package path (e.g.
117
+ # tests/unit/flow/test_decoder_kv_wiring.py) raises
118
+ # "ModuleNotFoundError: No module named 'tests.unit'". The working repo hid this
119
+ # because the file was present-but-untracked; a worktree created from a commit
120
+ # to run a control suite has no such luck (2026-09-10).
121
+ !tests/__init__.py
122
+ # The suite-wide conftest, tracked for the same reason the package marker is: it
123
+ # is part of what makes the suite RUNNABLE, not a local convenience. It converts
124
+ # the one failure that means "this host has no GPU" into a skip, so the unit
125
+ # suite can run beside a timed campaign behind the workshop's device door
126
+ # (2026-09-16: 42 of 56 failures under that door were that single fact). A
127
+ # machine that checks out this repo without it gets those 42 reds back.
128
+ !tests/conftest.py
129
+ # Regression harness — tracked explicitly. Everything else under tests/
130
+ # (scratch, __pycache__, etc.) stays ignored via the `tests/*` rule above,
131
+ # which matches only immediate children of tests/.
132
+ !tests/regression/
133
+ !tests/regression/__init__.py
134
+ !tests/regression/conftest.py
135
+ !tests/regression/test_all_models.py
136
+ !tests/regression/test_serve_warm.py
137
+ !tests/regression/test_a_container_with_an_rng_op_runs_twice_and_matches.py
138
+ !tests/regression/test_a_streamed_component_computes_what_it_computes_whole.py
139
+ !tests/regression/test_a_streamed_lm_cuts_the_graph_prism_cut.py
140
+ !tests/regression/test_a_streamed_stage_serves_the_flow.py
141
+ !tests/regression/test_a_streamed_piece_receives_every_list_member.py
142
+
143
+ # The failure register is TRACKED, and named here rather than force-added for
144
+ # the reason the comment below gives. It is the set of failing node ids, so
145
+ # that "no new failures" after a battery is a diff the machine produces and
146
+ # not a sentence its author writes — unverifiable by the reader and by the
147
+ # author alike. See tools/failure_register.py.
148
+ !tests/failure_register.txt
149
+
150
+ # The unit/integration SUITES are tracked too. The broad `test_*.py`
151
+ # rule far above is meant for stray scratch scripts at the repo root,
152
+ # not for the test tree — but it caught every new test under tests/,
153
+ # so each one had to be `git add -f`ed by hand (66 files accumulated
154
+ # that way). Force-adding an ignored path is exactly the habit that
155
+ # has twice put content in this repo that was ignored BY DESIGN, so
156
+ # the pattern is fixed here rather than worked around each time.
157
+ # `tests/scratch/`, `__pycache__` and every other immediate child of
158
+ # tests/ stay ignored via the `tests/*` rule above.
159
+ !tests/unit/
160
+ !tests/unit/**
161
+ !tests/integration/
162
+ !tests/integration/**
163
+ # nbxtensor's backend conformance suite (docs/nbxtensor/BACKENDS.md), tracked like the unit suites.
164
+ !tests/nbxtensor_backend_conformance/
165
+ !tests/nbxtensor_backend_conformance/**
166
+ # ...but re-ignore the build detritus the broad negation would let back in.
167
+ tests/unit/**/__pycache__/
168
+ tests/integration/**/__pycache__/
169
+ tests/nbxtensor_backend_conformance/**/__pycache__/
170
+ tests/unit/**/*.pyc
171
+ tests/integration/**/*.pyc
172
+ !tests/regression/test_upscale_offtrace.py
173
+ !tests/regression/pytest.ini
174
+ # Unit tests — tracked explicitly (same policy as the regression harness).
175
+ !tests/unit/
176
+ !tests/unit/__init__.py
177
+ !tests/unit/kernels/
178
+ !tests/unit/kernels/__init__.py
179
+ !tests/unit/audio/
180
+ !tests/unit/audio/__init__.py
181
+ !tests/unit/audio/test_kokoro_durations.py
182
+ !tests/unit/audio/test_stt_longform.py
183
+ !tests/unit/audio/test_import_purity.py
184
+ !tests/unit/kernels/test_linspace.py
185
+ !tests/unit/kernels/test_alloc_pool_gate.py
186
+ !tests/unit/kernels/test_index_select_negative.py
187
+ !tests/unit/runtime/
188
+ !tests/unit/runtime/__init__.py
189
+ !tests/unit/runtime/test_promotion_exact_sizes.py
190
+ !tests/unit/kernels/test_index_put.py
191
+ !tests/unit/kernels/test_bmm_batched.py
192
+ !tests/unit/dtype/
193
+ !tests/unit/dtype/__init__.py
194
+ !tests/unit/dtype/test_engine_doctrine.py
195
+ !tests/unit/dtype/test_auto_fp32_family_aware.py
196
+ !tests/unit/runtime/
197
+ !tests/unit/runtime/__init__.py
198
+ !tests/unit/runtime/test_seq_promotion_sum_offset.py
199
+ !tests/unit/runtime/test_registry_flags_zero_fallback.py
200
+ !tests/unit/runtime/test_next_token_diffusion_require_default.py
201
+ !tests/unit/runtime/test_loop_state_finite_gate.py
202
+ !tests/unit/runtime/test_check_nan_inf_guard.py
203
+ !tests/unit/runtime/test_cfg_optional_port.py
204
+ !tests/unit/runtime/test_flow_memory_and_dtype_resolver.py
205
+ !tests/unit/dtype/test_force_fp32_zero_fallback.py
206
+ !tests/unit/tiling/
207
+ !tests/unit/tiling/__init__.py
208
+ !tests/unit/tiling/test_chain_merge_failure_raises.py
209
+ !tests/unit/triton/
210
+ !tests/unit/triton/__init__.py
211
+ !tests/unit/triton/test_device_parse_and_flow_memory.py
212
+ !tests/unit/agent/
213
+ !tests/unit/agent/__init__.py
214
+ !tests/unit/agent/test_loop.py
215
+ !tests/unit/agent/test_parsers.py
216
+ !tests/unit/agent/test_purity.py
217
+ !tests/unit/agent/test_sandbox.py
218
+ !tests/regression/README.md
219
+ !tests/regression/golden/
220
+ !tests/regression/golden/*.txt
221
+ tmp/
222
+ todos/
223
+ vendors/
224
+ # Track the runtime data-driven hardware configs (R10) — same status
225
+ # as the already-tracked config/families/*.yml. Any OTHER vendors/
226
+ # tree (per-model build vendoring, R25) stays ignored by the line
227
+ # above.
228
+ !src/neurobrix/config/vendors/
229
+ !src/neurobrix/config/vendors/**
230
+ venv/
231
+ wandb/
232
+
233
+ # Internal-only Makefile (regression harness targets).
234
+ Makefile
235
+
236
+ # Test artefacts generated locally — never committed.
237
+ output_*.wav
238
+ output_*.png
239
+ output_*.mp4
240
+ test_speech_ref.*
241
+ test_upscale_input.*
242
+ .zo_cleanroom/
243
+
244
+ # Root-level development reports / diagnostics — never committed (archive or
245
+ # delete locally; they are not part of the public engine).
246
+ /audit_*.md
247
+ /*_signature.md
248
+ /*_diagnostic*.md
249
+ /*_chain_signature.md
250
+
251
+ # Confidential — internal doctrine / debt registry, never in the public repo (2026-07-21)
252
+ CLAUDE.md
253
+ /DETTE.md
254
+
255
+ # dev registry pointer (see registry_flags._find_registry_yaml)
256
+ .nbx_registry
257
+ # S2 long-clip fixture: derived locally (recipe in S2_STT_PREREG.md), too large for the repo
258
+ benchmarks/assets/librivox_aow0506_600s.wav
259
+ benchmarks/micro/_noassert/
260
+ # Benchmark result sets keep their measurements (the per-cell JSONs and the index); the run logs
261
+ # beside them are not part of the record — none is tracked anywhere under benchmarks/results/.
262
+ benchmarks/results/**/*.log
263
+
264
+ # --- Secrets: nothing that carries a credential enters this repository ------
265
+ # Added 2026-09-05 when the Mac took the Dell's own git identity. The key and
266
+ # the GitLab credentials live OUTSIDE the work tree (~/.ssh and
267
+ # ~/.config/neurobrix), which is the real protection; this list is the second
268
+ # line, so a copy made inside the tree by accident is refused rather than
269
+ # committed. Deliberately broad: a false positive costs one `git add -f`, a
270
+ # false negative costs a rotated credential and a rewritten history.
271
+ .env
272
+ .env.*
273
+ *.env
274
+ !.env.example
275
+ *credential*
276
+ *credentials*
277
+ .git-credentials
278
+ .netrc
279
+ _netrc
280
+ id_rsa
281
+ id_dsa
282
+ id_ecdsa
283
+ id_ed25519
284
+ id_*_neurobrix
285
+ *.pem
286
+ *.p12
287
+ *.pfx
288
+ *.keystore
289
+ *_rsa
290
+ *_ed25519
291
+ *.key
292
+ !**/*.pub
293
+ secrets.*
294
+ *.secret
295
+
296
+ # The certifier's per-file fcntl lock (kernels/autotune_certify.py::_write_file), transient.
297
+ src/neurobrix/config/autotune/**/*.json.lock
298
+
299
+ # the machine workshop root inside the repo holds run logs only — never tracked.
300
+ # ANCHORED: a bare `nbx/` matches at every depth, so it also swallowed the engine's own
301
+ # `src/neurobrix/nbx/` package and `tests/unit/nbx/`. The tracked sources there predate the
302
+ # rule and survived (ignore rules do not apply to tracked files), but every NEW file under
303
+ # either path was untracked in silence — measured 2026-09-22, when the gate for the cache
304
+ # door was left out of its own commit and the commit message described a test that was not
305
+ # in it. `/nbx/` is the workshop and nothing else.
306
+ /nbx/
307
+
308
+ # the census table writers' lock files (tools/census_table.py, certified_census.py)
309
+ src/neurobrix/config/census/**/*.jsonl.lock
310
+
311
+ # the grammar crate's build output
@@ -7,6 +7,57 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.1.1] - 2026-11-11
11
+
12
+ ### Added
13
+ - **`NBXTensor.from_numpy(arr, dtype=None, device=None)`**: with `device` (an index or `"cuda:N"`) the device is
14
+ selected, then the array placed; a device that names no index (`"cuda"`, `"cpu"`, a negative number) is refused by
15
+ name, never read as device 0.
16
+ - **Device files for Intel Gen12 graphics (`xe_lp`) and Wildcat Lake (`wcl`)**, experimental, not yet validated on
17
+ hardware by the NeuroBrix lab — reports welcome: the Level Zero driver tries these chips; their extension facts are
18
+ read from the chip's OpenCL ICD, never assumed. Intel's Triton compiler emits the same SPIR-V whatever architecture
19
+ name it is handed (measured off-card with triton-xpu 3.8.0, torch never imported), so a chip it names no
20
+ architecture for can be compiled for; the chip's own driver accepts or refuses.
21
+ - **A measure of the `.to(<device>)` calls that move nothing** (`memory/to_device_census.py`, off by default):
22
+ `NBXTensor.to("cuda:N")` answers "already on device" whatever N. With `NBX_TO_DEVICE_CENSUS=<file>` a process
23
+ appends one JSON line at exit — every device-naming call it saw and, by caller, those naming another device than
24
+ the tensor's. No behaviour changes; the count decides whether that contract can refuse or move.
25
+
26
+ ### Changed
27
+ - **A prefill chunk reads the positions spilled to host memory through the card**: `memory/paged_kv`'s spilled chunk
28
+ attention hands the spilled K / V back to the card in blocks (`HostSpill.blocks`, at most the card part's own key
29
+ count each, so a block's scores never exceed the chunk's) and runs the same attention with its log-sum-exp on each,
30
+ merged in a fixed order. The host partial (`HostSpill.partial`) stays the decode step's one row: for a chunk's
31
+ 32 x 128 query rows over 14 336 positions it cost 85-122 ms a layer on a Xeon Gold 6230 (40 threads), about half of
32
+ each spilled chunk of a 79 931-token turn (2026-11-10).
33
+ - **A Level Zero failure is a typed refusal**: `backend.level_zero.IntelDeviceError` (a RuntimeError) carries the
34
+ call, the `ze_result_t` by name and the module's build log, raised by the runtime, the launch driver and a SPIR-V
35
+ module that does not build. The Intel backend is experimental — not yet validated on hardware by the NeuroBrix lab —
36
+ and an application decides on this type what a refusal means.
37
+ - **The Intel launch driver goes through its runtime's contract** (no behaviour change; the backend stays
38
+ experimental, not yet validated on hardware): `backend/level_zero.py` is the only module that knows a Level Zero
39
+ struct, constant or entry point of a module's life — `LevelZeroRuntime.build_module` (answers `ModuleBuilt`: the
40
+ result, the module, the build log; a failure is answered, the retry is the driver's decision), `create_kernel`,
41
+ `kernel_properties`, `destroy_kernel`, `destroy_module`, `set_argument`, `set_group_size`, `append_launch`,
42
+ `current_device`. `backend/level_zero_driver.py` imported 14 private names and issued 12 raw `ze*` calls; it now
43
+ imports none and issues none, and holds the one decision that is a driver's (the 256-register rebuild, its two
44
+ constants beside it). `backend/launcher.py` names publicly what a driver in another file uses: `ModuleDriver`,
45
+ `ctypes_slot`. Proven without a card: the exact ze calls of ten load and launch paths, recorded before the move,
46
+ reproduced by it.
47
+ - **The library's uploads name their device in the call** (the spilled prefill chunk's blocks, masks and merged
48
+ result, the paged decode's host partial, the MoE residency probe): they were written
49
+ `NBXTensor.from_numpy(x).to(device=...)`; `from_numpy` lands on the CURRENT device and `.to("cuda:N")` moves
50
+ nothing, so that idiom was right only when the call before it had left the wanted device current. No wrong placement
51
+ was observed; on a cache whose layers live on two cards it was one reordering away.
52
+ - `NBXTensor.to` reads its positional argument in a named function (`_positional_target`); the method is 40 code
53
+ lines (49), same answers.
54
+
55
+ ### Fixed
56
+ - **Reading a device's memory leaves no context on another device**: `DeviceAllocator.free_memory_mb`,
57
+ `mem_get_info`, `device_total_bytes` and the other probes "restored the previous device" after reading; in a process
58
+ that had selected none, that selected device 0 and made the runtime create a context there. A previous device is
59
+ restored only when the process had selected it (`DeviceAllocator.restore_device`).
60
+
10
61
  ## [0.1.0] - 2026-11-10
11
62
  ### Changed
12
63
  - **Contributions are made under the NeuroBrix Contributor Assignment Agreement** (docs/legal/ of the neurobrix repository, an individual and an entity version): signed once by a comment on the first pull request, for every NeuroBrix project; the `NeuroBrix CLA` check on every pull request says who has yet to sign. CONTRIBUTING.md explains it.
@@ -303,7 +354,8 @@ memory; the fix is in test).
303
354
  - **`flash_decode_split_kernel` and its route**: armed only by an environment switch (`NBX_FLASH_DECODE`, with `NBX_FD_BLOCK_N` and `NBX_FD_SEG`) and measured slower than the vector decode kernels; `flash_decode.py` keeps the fixed-order reduce they share.
304
355
  - **`conv1d_forward_kernel`**: launched by no route (a 1-D convolution runs through `conv2d`).
305
356
 
306
- [Unreleased]: https://github.com/NeuroBrix/nbxtensor/compare/v0.1.0...HEAD
357
+ [Unreleased]: https://github.com/NeuroBrix/nbxtensor/compare/v0.1.1...HEAD
358
+ [0.1.1]: https://github.com/NeuroBrix/nbxtensor/compare/v0.1.0...v0.1.1
307
359
  [0.1.0]: https://github.com/NeuroBrix/nbxtensor/compare/v0.0.9...v0.1.0
308
360
  [0.0.8]: https://github.com/NeuroBrix/nbxtensor/compare/v0.0.5...v0.0.8
309
361
  [0.0.5]: https://github.com/NeuroBrix/nbxtensor/compare/v0.0.4...v0.0.5
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: nbxtensor
3
- Version: 0.1.0
3
+ Version: 0.1.1
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
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "nbxtensor"
7
- version = "0.1.0"
7
+ version = "0.1.1"
8
8
  description = "Run AI models without PyTorch: tensors, Triton kernels, planned memory and certified tuning, wherever Triton runs — NVIDIA, AMD, Intel and Apple GPUs."
9
9
  readme = "README.md"
10
10
  license = { text = "Apache-2.0" }
@@ -13,5 +13,5 @@ first publication is 0.0.1, each fix after it increments, the Rust rewrite is
13
13
  """
14
14
 
15
15
  #: the one version number; `pyproject.toml` states the same (tests/test_version.py)
16
- __version__ = "0.1.0"
16
+ __version__ = "0.1.1"
17
17
  __all__: list = []
@@ -0,0 +1,205 @@
1
+ # The library's half of the Intel Wildcat Lake device (Xe3-LPG, integrated) — the keys nbxtensor reads
2
+ # (docs/nbxtensor/device_keys.txt). EXPERIMENTAL, not yet validated on hardware by the NeuroBrix lab (the owner,
3
+ # 2026-11-10 13:09: tried when its Level Zero driver is present). Written 2026-11-10 from ptl_u.yml; no Intel device
4
+ # has run it.
5
+ #
6
+ # compute_capability: Intel's Triton maps no Wildcat Lake architecture (arch_parser.c v3.8.0); Panther Lake-U's name is
7
+ # handed instead — the name reaches only the compiler's native-code path, never taken here (measured 2026-11-10: the
8
+ # SPIR-V is byte-identical under any name, tools/intel_spirv_census.py); Linux's xe driver reads Wildcat Lake with
9
+ # Panther Lake's descriptor (drivers/gpu/drm/xe/xe_pci.c).
10
+ # pci_device_ids: Linux include/drm/intel/pciids.h, INTEL_WCL_IDS.
11
+
12
+ architecture: xe3_lpg
13
+ compute_capability: "ptl_u"
14
+ validation_status: experimental
15
+ pci_device_ids: [0xFD80, 0xFD81]
16
+
17
+ block_sizes:
18
+ # Default block size for simple kernels
19
+ default: 1024
20
+
21
+ # Batched Matrix Multiply configuration
22
+ bmm:
23
+ block_m: 64
24
+ block_n: 64
25
+ block_k: 16
26
+ num_warps: 4
27
+
28
+ # Convolution configuration
29
+ conv2d:
30
+ block_h: 16
31
+ block_w: 16
32
+ num_warps: 4
33
+
34
+ # Generic reduction block size
35
+ reduction: 1024
36
+ # dequant_gemv.min_programs: absent (no width adaptation) until a card measures its Xe-core waves
37
+
38
+ # Scaled Dot-Product Attention block size thresholds.
39
+ # Schema documented in volta.yml. Decode entries first.
40
+ # Values: CDNA3's conservative rows (analytical; owed at first light, docs/reference/owed-proofs.md 2026-11-06).
41
+ sdpa_thresholds:
42
+ # Decode path (seqlen_q ≤ 16)
43
+ - seqlen_q_le: 16
44
+ head_dim_ge: 256
45
+ block_m: 16
46
+ block_n: 16
47
+ num_warps: 4
48
+ - seqlen_q_le: 16
49
+ block_m: 16
50
+ block_n: 32
51
+ num_warps: 4
52
+ # Prefill path (seqlen_q > 16)
53
+ - head_dim_ge: 256
54
+ block_m: 16
55
+ block_n: 16
56
+ num_warps: 4
57
+ - head_dim_ge: 128
58
+ block_m: 32
59
+ block_n: 32
60
+ num_warps: 4
61
+ - head_dim_lt: 128
62
+ block_m: 64
63
+ block_n: 64
64
+ num_warps: 4
65
+
66
+ memory:
67
+ # Shared local memory per work-group. Intel's oneAPI GPU optimization guide (2025-2, "Thread mapping and GPU
68
+ # occupancy"): 128 KB of SLM per Xe-core; a work-group's ceiling is 128 KB on this family. The driver states the
69
+ # exact ceiling (zeDeviceGetComputeProperties maxSharedLocalMemory) and the launch refuses past it.
70
+ max_shared_memory_per_block: 131072
71
+ # fp32 registers one work-group may hold (analytical, owed at first light): 128 GRFs of 64 bytes per hardware
72
+ # thread (Intel oneAPI GPU optimization guide, "Intel Xe GPU architecture": 64-byte GRFs on this family) over its
73
+ # 16 lanes, times the 1024-lane work-group ceiling.
74
+ max_registers_per_block: 131072
75
+ # Triton's Intel target is built with warp_size 32 (driver.py `_construct_target`); a kernel's own subgroup size is
76
+ # its compile metadata's `threads_per_warp`.
77
+ warp_size: 32
78
+ sdpa_math_max_scores_bytes: 0
79
+ sdpa_math_min_chunk_rows: 128
80
+ alloc_pool_parked_cap_fraction: 0.50
81
+
82
+ precision:
83
+ # Attention operands that disagree in dtype (an fp16 GEMM stored fp32 feeding V) all take the
84
+ # narrowest of the three, the compiled engine's alignment: the half attention stays on the matrix
85
+ # unit (V100, 2026-10-08: 1.16 s/op aligned narrowest vs 22.0 s/op on the scalar flash aligned widest).
86
+ attention_operands: narrowest
87
+ # Whether each engine branch's OWN kernels compute float64 / complex128 elements, read with
88
+ # supports_fp64 (both must hold) -- a CAPABILITY: `compiled` is ATen's, which carries both wherever
89
+ # the device does; `triton` is the NeuroBrix Triton kernels' (Intel lowers double where the
90
+ # device has fp64 hardware; Metal's lowering narrows it in silence, measured 2026-09-28). Read
91
+ # by the DtypeEngine (`config.device_supports_fp64`) and by the Triton wrappers' binding
92
+ # (`triton.dtype.triton_has_fp64` -> `nbx_tensor.set_backend_has_fp64`).
93
+ kernels_carry_fp64: # no fp64 hardware stated for this family (Intel Xe architecture guide)
94
+ compiled: false
95
+ triton: false
96
+ # Software-pipelining budget — see nvidia/volta.yml for the schema.
97
+ #
98
+ # validation_status: conservative_pending_first_light — the cap is 2 until an Intel card measures deeper
99
+ # pipelining (clamping costs throughput, unvalidated pipelining could cost correctness).
100
+ pipelining:
101
+ max_num_stages: 2
102
+
103
+ # Autotune correctness screen. The engine runs every candidate config once and
104
+ # compares its result against a reference config's before timing any of them,
105
+ # because an autotuner that ranks on speed alone selects whichever WRONG
106
+ # kernel is fastest — a kernel that writes half its output does half the
107
+ # stores and wins. Measured on Apple 2026-09-07: fp16 mm [64,32]@[32,64] chose
108
+ # a config that left half the columns zero.
109
+ #
110
+ # These are the tolerances that separate "a different but valid summation
111
+ # order" from "a different answer". Two configs with different block sizes
112
+ # reduce in a different order, so their results differ in the last bits; a
113
+ # config that drops output differs by the scale of the output itself. The
114
+ # gap between those two is several orders of magnitude, and these sit in it.
115
+ #
116
+ # Relative to the reference's own magnitude: max|a - b| / max|b|. Integer
117
+ # and boolean results are compared BIT-IDENTICALLY and ignore this table —
118
+ # there is no valid reordering that changes an integer.
119
+ autotune_screen_rtol:
120
+ float16: 2.0e-2
121
+ bfloat16: 4.0e-2
122
+ float32: 1.0e-4
123
+ float64: 1.0e-8
124
+ int64: 0.0 # an integer result (the MoE alignment's routing tables) is met exactly
125
+
126
+ # Above this many bytes of buffer, the autotune correctness screen does not
127
+ # run. Screening copies every argument out and back once per candidate, so a
128
+ # very large tensor turns a tuning step into hundreds of megabytes of traffic
129
+ # — and on unified memory that pressure is the machine's, not a card's.
130
+ # MEASURED 2026-09-07: unbounded screening of a 151936-wide softmax perturbed
131
+ # six unrelated tests in the same process. A skipped screen is announced, not
132
+ # silent.
133
+ autotune_screen_max_bytes: 33554432
134
+
135
+ autotune:
136
+ buckets:
137
+ # elements — an element-wise launch's element count (`kernels/ops/elementwise_launch.py`), NEVER the `default`
138
+ # dimension ladder (`autotune_bucket.ladder_for` refuses it). NOT measured on this architecture (no such device on
139
+ # either machine): the four classes measured on V100-SXM2 2026-10-23 (nvidia/volta.yml, launch-bound under 65 536
140
+ # elements, bandwidth classes above) and confirmed on apple_m4_pro 2026-10-24 — the measurement on this
141
+ # architecture is owed (docs/reference/owed-proofs.md, "element-wise ladder per architecture").
142
+ elements:
143
+ - {up_to: 65536, step: 65536}
144
+ - {up_to: 1048576, step: 1048576}
145
+ - {up_to: 16777216, step: 16777216}
146
+ - {up_to: null, step: 68719476736}
147
+ default:
148
+ - {up_to: 64, step: 1}
149
+ - {up_to: 256, step: 16}
150
+ - {up_to: 1024, step: 32}
151
+ - {up_to: 8192, step: 128}
152
+ # Above 8 192 a QUARTER-OCTAVE, not a 512-step. The 512 tail was decided by a sweep
153
+ # that ran to about 4 096 and never met a request-scale dimension: a vocoder's batched
154
+ # GEMM keys on the WAVEFORM and reaches 1 963 520, which a 512-step cuts into some four
155
+ # thousand buckets — 1 400 of one model's 1 522 distinct M values sat above 8 192.
156
+ # Measured 2026-09-22 on both classes, two shapes (the vocoder's B=1,N=1,K=9 and a
157
+ # GEMM at N=K=512), each octave bucket carrying three or four measured values with its
158
+ # TOP as representative: 0.0 % median loss, 0.2 % max at ONE octave bucket. The rows
159
+ # below are finer than the octave that was measured, so they cost no more than it did.
160
+ # The first three octaves above the knee keep a NARROW step. Measured directly on the
161
+ # rows as shipped (the upscalers' N=360, K=180; three sizes inside each bucket with
162
+ # its TOP among them, 2026-09-22): a quarter-octave there cost 0.0 % median but
163
+ # **5.2 %** at the 10 240 bucket and 1.2 % at 16 384 — the loss lives just above the
164
+ # knee, where a quarter of an OCTAVE is still a quarter of the VALUE. Beyond 65 536
165
+ # the same sweep measured 0.0 % median and at most 0.6 %, so the quarter-octave stands.
166
+ # The convolution-width ladder below keeps its quarter-octave: its own sweep measured
167
+ # 0.0 % median AND max there, on both classes and two channel counts.
168
+ - {up_to: 16384, step: 512}
169
+ - {up_to: 32768, step: 1024}
170
+ - {up_to: 65536, step: 2048}
171
+ - {up_to: 131072, step: 16384}
172
+ - {up_to: 262144, step: 32768}
173
+ - {up_to: 524288, step: 65536}
174
+ - {up_to: 1048576, step: 131072}
175
+ - {up_to: 2097152, step: 262144}
176
+ - {up_to: null, step: 524288}
177
+ # The width of a ONE-ROW convolution (a 1-D convolution over a sequence: a vocoder's
178
+ # samples, a mel spectrogram's frames) is the request's length, unbounded by any
179
+ # resolution — chatterbox's vocoder reaches 444 721 samples for 18 s of speech. Above the
180
+ # GEMM ladder it steps by a quarter-octave (≤ 25 % of the value), so a census meets every
181
+ # class of a speech length in ~100 runs instead of ~1 000; the loss of that step is owed a
182
+ # measurement on both classes (bucket_loss.py) before the ladder is called final.
183
+ W:
184
+ - {up_to: 64, step: 1}
185
+ - {up_to: 256, step: 16}
186
+ - {up_to: 1024, step: 32}
187
+ - {up_to: 8192, step: 128}
188
+ - {up_to: 16384, step: 2048}
189
+ - {up_to: 32768, step: 4096}
190
+ - {up_to: 65536, step: 8192}
191
+ - {up_to: 131072, step: 16384}
192
+ - {up_to: 262144, step: 32768}
193
+ - {up_to: 524288, step: 65536}
194
+ - {up_to: null, step: 131072}
195
+
196
+ # The flash kernel at a power-of-two head dim >= 128 is NOT measured on this architecture: the zero-pad
197
+ # detour stays (launch_keys.flash_headdim_detour). Declared, never left absent: true only where the
198
+ # correctness oracle was run with the detour off on this arch and stack (Volta, Triton 3.8, 2026-10-03).
199
+ flash:
200
+ pow2_head_dim_correct: false
201
+
202
+ # Convolution weight storage order (launch_keys.conv_weight_layout): KCRS, the container's own,
203
+ # until this arch measures KRSC (the M4 Pro measured +46-63 % on its 3x3 keys, 2026-10-07).
204
+ conv:
205
+ weight_layout: KCRS