nexaai 1.0.19rc17__cp310-cp310-macosx_14_0_universal2.whl → 1.0.19rc19__cp310-cp310-macosx_14_0_universal2.whl
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.
Potentially problematic release.
This version of nexaai might be problematic. Click here for more details.
- nexaai/_stub.cpython-310-darwin.so +0 -0
- nexaai/_version.py +1 -1
- nexaai/binds/cpu_gpu/libggml-base.dylib +0 -0
- nexaai/binds/cpu_gpu/libggml-cpu.so +0 -0
- nexaai/binds/cpu_gpu/libggml-metal.so +0 -0
- nexaai/binds/cpu_gpu/libggml.dylib +0 -0
- nexaai/binds/cpu_gpu/libmtmd.dylib +0 -0
- nexaai/binds/cpu_gpu/libnexa_cpu_gpu.dylib +0 -0
- nexaai/binds/cpu_gpu/libnexa_plugin.dylib +0 -0
- nexaai/binds/libnexa_bridge.dylib +0 -0
- nexaai/binds/nexaml/libggml-base.dylib +0 -0
- nexaai/binds/nexaml/libggml-cpu.so +0 -0
- nexaai/binds/nexaml/libggml-metal.so +0 -0
- nexaai/binds/nexaml/libggml.dylib +0 -0
- nexaai/mlx_backend/vlm/modeling/models/qwen3_vl/qwen3vl.py +15 -1
- nexaai/mlx_backend/vlm/modeling/models/qwen3vl_moe/qwen3vl_moe.py +15 -1
- {nexaai-1.0.19rc17.dist-info → nexaai-1.0.19rc19.dist-info}/METADATA +1 -1
- {nexaai-1.0.19rc17.dist-info → nexaai-1.0.19rc19.dist-info}/RECORD +20 -20
- {nexaai-1.0.19rc17.dist-info → nexaai-1.0.19rc19.dist-info}/WHEEL +0 -0
- {nexaai-1.0.19rc17.dist-info → nexaai-1.0.19rc19.dist-info}/top_level.txt +0 -0
|
Binary file
|
nexaai/_version.py
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -578,7 +578,21 @@ class TextAttention(nn.Module):
|
|
|
578
578
|
keys, values = cache.update_and_fetch(keys, values)
|
|
579
579
|
else:
|
|
580
580
|
if cache is not None:
|
|
581
|
-
|
|
581
|
+
# Handle different types of rope_deltas: scalar, array, or None
|
|
582
|
+
if rope_deltas is None:
|
|
583
|
+
offset_delta = 0
|
|
584
|
+
elif isinstance(rope_deltas, (int, float)):
|
|
585
|
+
# rope_deltas is a scalar
|
|
586
|
+
offset_delta = rope_deltas
|
|
587
|
+
elif hasattr(rope_deltas, 'size') and rope_deltas.size == 1:
|
|
588
|
+
# rope_deltas is an array with single element
|
|
589
|
+
offset_delta = rope_deltas.item()
|
|
590
|
+
elif hasattr(rope_deltas, 'shape') and rope_deltas.shape:
|
|
591
|
+
# rope_deltas is an array with multiple elements, take first
|
|
592
|
+
offset_delta = rope_deltas.reshape(-1)[0].item()
|
|
593
|
+
else:
|
|
594
|
+
offset_delta = 0
|
|
595
|
+
|
|
582
596
|
queries = self.rope(queries, offset=cache.offset + offset_delta)
|
|
583
597
|
keys = self.rope(keys, offset=cache.offset + offset_delta)
|
|
584
598
|
keys, values = cache.update_and_fetch(keys, values)
|
|
@@ -594,7 +594,21 @@ class TextAttention(nn.Module):
|
|
|
594
594
|
keys, values = cache.update_and_fetch(keys, values)
|
|
595
595
|
else:
|
|
596
596
|
if cache is not None:
|
|
597
|
-
|
|
597
|
+
# Handle different types of rope_deltas: scalar, array, or None
|
|
598
|
+
if rope_deltas is None:
|
|
599
|
+
offset_delta = 0
|
|
600
|
+
elif isinstance(rope_deltas, (int, float)):
|
|
601
|
+
# rope_deltas is a scalar
|
|
602
|
+
offset_delta = rope_deltas
|
|
603
|
+
elif hasattr(rope_deltas, 'size') and rope_deltas.size == 1:
|
|
604
|
+
# rope_deltas is an array with single element
|
|
605
|
+
offset_delta = rope_deltas.item()
|
|
606
|
+
elif hasattr(rope_deltas, 'shape') and rope_deltas.shape:
|
|
607
|
+
# rope_deltas is an array with multiple elements, take first
|
|
608
|
+
offset_delta = rope_deltas.reshape(-1)[0].item()
|
|
609
|
+
else:
|
|
610
|
+
offset_delta = 0
|
|
611
|
+
|
|
598
612
|
queries = self.rope(queries, offset=cache.offset+offset_delta)
|
|
599
613
|
keys = self.rope(keys, offset=cache.offset+offset_delta)
|
|
600
614
|
keys, values = cache.update_and_fetch(keys, values)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
nexaai/__init__.py,sha256=L8oB7GFZZMGnUpCg0PecDbI_ycKuQak-ZEJ4Y12_QIw,2184
|
|
2
|
-
nexaai/_stub.cpython-310-darwin.so,sha256=
|
|
3
|
-
nexaai/_version.py,sha256=
|
|
2
|
+
nexaai/_stub.cpython-310-darwin.so,sha256=fhGvLrWdd7Lb4h9i_s3x3cud95dAqxuHrSteZIR-UVc,66768
|
|
3
|
+
nexaai/_version.py,sha256=HOqTOpd7Lb8gdF93CQYr-x-Z_1O0X0vCrAAHaWQlI4I,144
|
|
4
4
|
nexaai/asr.py,sha256=NljMXDErwPNMOPaRkJZMEDka9Nk8xyur7L8i924TStY,2054
|
|
5
5
|
nexaai/base.py,sha256=N8PRgDFA-XPku2vWnQIofQ7ipz3pPlO6f8YZGnuhquE,982
|
|
6
6
|
nexaai/common.py,sha256=Y0NJNLTi4Nq4x1WL6PQsSvGUto0eGmWhjpsC6jcekfA,3444
|
|
@@ -19,16 +19,16 @@ nexaai/asr_impl/pybind_asr_impl.py,sha256=pE9Hb_hMi5yAc4MF83bLVOb8zDtreCkB3_u7XE
|
|
|
19
19
|
nexaai/binds/__init__.py,sha256=eYuay_8DDXeOUWz2_R9HFSabohxs6hvZn391t2L0Po0,104
|
|
20
20
|
nexaai/binds/common_bind.cpython-310-darwin.so,sha256=zxJuD0nSV--VZKxBfWZUavU7_bHj_JTi0FhkjvG4VJw,235264
|
|
21
21
|
nexaai/binds/embedder_bind.cpython-310-darwin.so,sha256=tPa0c0Dv_GiW66fgmAGWGCHXRGNApznqoQS0eQx9GFM,202064
|
|
22
|
-
nexaai/binds/libnexa_bridge.dylib,sha256=
|
|
22
|
+
nexaai/binds/libnexa_bridge.dylib,sha256=8oYPIjtIf6VBG30Id9x6K9D9irfYZBFHxvW-8iZ5rbQ,272648
|
|
23
23
|
nexaai/binds/llm_bind.cpython-310-darwin.so,sha256=TAWfa1Hzq00TjtC1xVsiAeLp6hv2LrL5afDz4omUghc,182784
|
|
24
24
|
nexaai/binds/vlm_bind.cpython-310-darwin.so,sha256=nd6eG_m2EiPthzkSZ97hlXWUOZQir4cQfFJZ4p6eR2U,182704
|
|
25
|
-
nexaai/binds/cpu_gpu/libggml-base.dylib,sha256=
|
|
26
|
-
nexaai/binds/cpu_gpu/libggml-cpu.so,sha256=
|
|
27
|
-
nexaai/binds/cpu_gpu/libggml-metal.so,sha256=
|
|
28
|
-
nexaai/binds/cpu_gpu/libggml.dylib,sha256=
|
|
29
|
-
nexaai/binds/cpu_gpu/libmtmd.dylib,sha256=
|
|
30
|
-
nexaai/binds/cpu_gpu/libnexa_cpu_gpu.dylib,sha256=
|
|
31
|
-
nexaai/binds/cpu_gpu/libnexa_plugin.dylib,sha256=
|
|
25
|
+
nexaai/binds/cpu_gpu/libggml-base.dylib,sha256=9urbatWTB4QJ6uariOYlB_ZN1FFci5GaD8OfGZ9oPSQ,650736
|
|
26
|
+
nexaai/binds/cpu_gpu/libggml-cpu.so,sha256=qiYxbTe4Nt7n36zJVvq3zovgSZEmrN2is6gzTern7UI,677728
|
|
27
|
+
nexaai/binds/cpu_gpu/libggml-metal.so,sha256=zfaX7rIBYQazH2lf-vza007BMhPTK1ASd2T0HLLIA4E,673104
|
|
28
|
+
nexaai/binds/cpu_gpu/libggml.dylib,sha256=aOTj_6RrAMkfDO0ZI28_3nfcC-l4Y3dRCiS3C0d0_eI,58592
|
|
29
|
+
nexaai/binds/cpu_gpu/libmtmd.dylib,sha256=yfdSBV5McPAwGs9bRFHs9xSItFLEqc1NAnXBGBjumRU,605248
|
|
30
|
+
nexaai/binds/cpu_gpu/libnexa_cpu_gpu.dylib,sha256=IF4xdOSZJG83mjgVBD42M4IswXzT-6K7VenPvaxb3vs,1786136
|
|
31
|
+
nexaai/binds/cpu_gpu/libnexa_plugin.dylib,sha256=uSP4GgEZipQO-ll_5LDC0z1aCHvlVgPgW-C1MFw3IFU,1863304
|
|
32
32
|
nexaai/binds/metal/libnexa_plugin.dylib,sha256=F2v8SOCpgEa8MlUGensvLAeC-SWhLFLRw5RqfIl-QWA,659256
|
|
33
33
|
nexaai/binds/metal/py-lib/ml.py,sha256=DKXVOAfh8cg7KTKljh7jpcPwfQFNigc6uv_ZXF6lse8,23977
|
|
34
34
|
nexaai/binds/metal/py-lib/profiling.py,sha256=Dc-mybFwBdCIKFWL7CbSHjkOJGAoYHG7r_e_XPhzwBU,9361
|
|
@@ -184,10 +184,10 @@ nexaai/binds/metal/py-lib/mlx_audio/tts/tests/test_interpolate.py,sha256=9dNmH03
|
|
|
184
184
|
nexaai/binds/metal/py-lib/mlx_audio/tts/tests/test_models.py,sha256=12RiOfPtSZQj5g5JM-yCJk3uGQfM3OdmRiPt5uUDE4E,35096
|
|
185
185
|
nexaai/binds/nexaml/libfftw3.3.dylib,sha256=Ul6NlZv0UhmXnnqAyFxCRCw-8pOsV5e4rc_9-wxrRJg,693424
|
|
186
186
|
nexaai/binds/nexaml/libfftw3f.3.dylib,sha256=SKZE35Ly9R_nbMt7oWpObydvpK3HIo9-UhUA2KkeQyk,693920
|
|
187
|
-
nexaai/binds/nexaml/libggml-base.dylib,sha256=
|
|
188
|
-
nexaai/binds/nexaml/libggml-cpu.so,sha256=
|
|
189
|
-
nexaai/binds/nexaml/libggml-metal.so,sha256=
|
|
190
|
-
nexaai/binds/nexaml/libggml.dylib,sha256=
|
|
187
|
+
nexaai/binds/nexaml/libggml-base.dylib,sha256=9urbatWTB4QJ6uariOYlB_ZN1FFci5GaD8OfGZ9oPSQ,650736
|
|
188
|
+
nexaai/binds/nexaml/libggml-cpu.so,sha256=qiYxbTe4Nt7n36zJVvq3zovgSZEmrN2is6gzTern7UI,677728
|
|
189
|
+
nexaai/binds/nexaml/libggml-metal.so,sha256=zfaX7rIBYQazH2lf-vza007BMhPTK1ASd2T0HLLIA4E,673104
|
|
190
|
+
nexaai/binds/nexaml/libggml.dylib,sha256=aOTj_6RrAMkfDO0ZI28_3nfcC-l4Y3dRCiS3C0d0_eI,58592
|
|
191
191
|
nexaai/binds/nexaml/libmp3lame.0.dylib,sha256=G-21u3MAZ2hiv1fbPEpOUGdToZfLtz2XI6BwW9xIqIA,305136
|
|
192
192
|
nexaai/binds/nexaml/libmpg123.0.dylib,sha256=L4AgLcdcjGOQkEovUGDCNlH959500i0GkKBhqiHxBY4,306464
|
|
193
193
|
nexaai/binds/nexaml/libnexa-mm-process.dylib,sha256=-tNsX7gmHbgGDVOo9WEMyppWb1u4ldRCyTl3VIRkeHc,10222440
|
|
@@ -527,7 +527,7 @@ nexaai/mlx_backend/vlm/modeling/models/qwen2_vl/language.py,sha256=OeUoAfIg7dNB4
|
|
|
527
527
|
nexaai/mlx_backend/vlm/modeling/models/qwen2_vl/qwen2_vl.py,sha256=YysRg1PszpZdsH7hywqN2pIMZAbU1P636KZoSJCNri8,5740
|
|
528
528
|
nexaai/mlx_backend/vlm/modeling/models/qwen2_vl/vision.py,sha256=rcneYZYwP5fx3p8xxXEDGvnWAMIn8DXenqBPLBjmVcI,10555
|
|
529
529
|
nexaai/mlx_backend/vlm/modeling/models/qwen3_vl/processor.py,sha256=_WZK8uv0LAGHO8V5LwCojyS4UYk0tfICsZ9GM4_Pfxo,19156
|
|
530
|
-
nexaai/mlx_backend/vlm/modeling/models/qwen3_vl/qwen3vl.py,sha256=
|
|
530
|
+
nexaai/mlx_backend/vlm/modeling/models/qwen3_vl/qwen3vl.py,sha256=KXpmmNKGJn6-tmZ9xQY8UiecBThPc1xPosfI4Ns6lK4,50189
|
|
531
531
|
nexaai/mlx_backend/vlm/modeling/models/qwen3_vl/llm_common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
532
532
|
nexaai/mlx_backend/vlm/modeling/models/qwen3_vl/llm_common/base.py,sha256=4RlZwgz8YX2ngmJNaymxFFpw9hJu-0EMw9xwXpngW9o,3496
|
|
533
533
|
nexaai/mlx_backend/vlm/modeling/models/qwen3_vl/llm_common/cache.py,sha256=NMOB6x-RT6svF4H-Ymo5WqnP7ptAal3aaKjWZXWGMsM,17671
|
|
@@ -536,7 +536,7 @@ nexaai/mlx_backend/vlm/modeling/models/qwen3_vl/llm_common/rope_utils.py,sha256=
|
|
|
536
536
|
nexaai/mlx_backend/vlm/modeling/models/qwen3_vl/llm_common/sample_utils.py,sha256=8SEeVwgjuvaYy-4ALAU0RHQMuRr2k7EkXba_csxk498,10673
|
|
537
537
|
nexaai/mlx_backend/vlm/modeling/models/qwen3_vl/llm_common/tokenizer_utils.py,sha256=Gqanx4hBDcon_k5ClhUsS4YpMbZNiee8jvImGS9h43s,13229
|
|
538
538
|
nexaai/mlx_backend/vlm/modeling/models/qwen3vl_moe/processor.py,sha256=_WZK8uv0LAGHO8V5LwCojyS4UYk0tfICsZ9GM4_Pfxo,19156
|
|
539
|
-
nexaai/mlx_backend/vlm/modeling/models/qwen3vl_moe/qwen3vl_moe.py,sha256=
|
|
539
|
+
nexaai/mlx_backend/vlm/modeling/models/qwen3vl_moe/qwen3vl_moe.py,sha256=ALt0NRu1ia0Nm0AdlAy0l3rJUGBz06zrNC2UBtWD_Zs,54185
|
|
540
540
|
nexaai/mlx_backend/vlm/modeling/models/qwen3vl_moe/switch_layers.py,sha256=6hjFCvIH8J1UBEPYaIg9HqSakyZgEEiQoJQ9E0WmZoM,5960
|
|
541
541
|
nexaai/mlx_backend/vlm/modeling/models/qwen3vl_moe/llm_common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
542
542
|
nexaai/mlx_backend/vlm/modeling/models/qwen3vl_moe/llm_common/base.py,sha256=4RlZwgz8YX2ngmJNaymxFFpw9hJu-0EMw9xwXpngW9o,3496
|
|
@@ -566,7 +566,7 @@ nexaai/utils/quantization_utils.py,sha256=FYcNSAKGlBqFDUTx3jSKOr2lnq4nyiyC0ZG8oS
|
|
|
566
566
|
nexaai/vlm_impl/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
567
567
|
nexaai/vlm_impl/mlx_vlm_impl.py,sha256=pLtWm_ckz8a0U-AtAOMVseFDO4OVPvHyYO2KlfBaGYk,10833
|
|
568
568
|
nexaai/vlm_impl/pybind_vlm_impl.py,sha256=FAbhpRJzHgI78r0mUvKybO97R1szvNhH0aTn_I52oT4,8597
|
|
569
|
-
nexaai-1.0.
|
|
570
|
-
nexaai-1.0.
|
|
571
|
-
nexaai-1.0.
|
|
572
|
-
nexaai-1.0.
|
|
569
|
+
nexaai-1.0.19rc19.dist-info/METADATA,sha256=V_rgXCiklp4A99jP4b_rAOsNBpscrNaLGd4Pp7aLGDo,1202
|
|
570
|
+
nexaai-1.0.19rc19.dist-info/WHEEL,sha256=T2p57lol9__xkoU6aJTyN1Pm43ZpRU3q6km7mIbrAMs,114
|
|
571
|
+
nexaai-1.0.19rc19.dist-info/top_level.txt,sha256=LRE2YERlrZk2vfuygnSzsEeqSknnZbz3Z1MHyNmBU4w,7
|
|
572
|
+
nexaai-1.0.19rc19.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|