nexaai 1.0.21rc15__cp310-cp310-macosx_14_0_universal2.whl → 1.0.22__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/llm_bind.cpython-310-darwin.so +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/llm_impl/pybind_llm_impl.py +1 -1
- nexaai/utils/model_manager.py +2 -0
- {nexaai-1.0.21rc15.dist-info → nexaai-1.0.22.dist-info}/METADATA +1 -1
- {nexaai-1.0.21rc15.dist-info → nexaai-1.0.22.dist-info}/RECORD +21 -21
- {nexaai-1.0.21rc15.dist-info → nexaai-1.0.22.dist-info}/WHEEL +0 -0
- {nexaai-1.0.21rc15.dist-info → nexaai-1.0.22.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
|
|
Binary file
|
|
@@ -77,7 +77,7 @@ class PyBindLLMImpl(LLM):
|
|
|
77
77
|
{"role": m["role"], "content": m["content"]}
|
|
78
78
|
for m in messages
|
|
79
79
|
]
|
|
80
|
-
return llm_bind.ml_llm_apply_chat_template(self._handle, message_dicts)
|
|
80
|
+
return llm_bind.ml_llm_apply_chat_template(self._handle, message_dicts, tools, enable_thinking)
|
|
81
81
|
|
|
82
82
|
def generate_stream(self, prompt: str, g_cfg: GenerationConfig = GenerationConfig()) -> Generator[str, None, None]:
|
|
83
83
|
"""Generate text with streaming."""
|
nexaai/utils/model_manager.py
CHANGED
|
@@ -1495,6 +1495,8 @@ def auto_download_model(func: Callable) -> Callable:
|
|
|
1495
1495
|
token = None
|
|
1496
1496
|
if 'token' in kwargs:
|
|
1497
1497
|
token = kwargs.pop('token') # Remove from kwargs to avoid passing to original func
|
|
1498
|
+
if token is None or token == '':
|
|
1499
|
+
token = os.getenv('HF_TOKEN') or os.getenv('NEXA_HFTOKEN')
|
|
1498
1500
|
|
|
1499
1501
|
# Handle name_or_path parameter
|
|
1500
1502
|
name_or_path = None
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
nexaai/__init__.py,sha256=gOd7sNsqEESopw_24xgnOSkIRENrk4Fa-RMtmVv62eA,2421
|
|
2
|
-
nexaai/_stub.cpython-310-darwin.so,sha256=
|
|
3
|
-
nexaai/_version.py,sha256=
|
|
2
|
+
nexaai/_stub.cpython-310-darwin.so,sha256=OZuKXZRiNGMjNupMnGLv14pYMIoOzTxHGHflS4zUk2I,66768
|
|
3
|
+
nexaai/_version.py,sha256=fWzVuSja_lnFQfiXurvM3Nq0-fbC2d6ueAZkQQ-1E6Q,139
|
|
4
4
|
nexaai/asr.py,sha256=wqtq71cxIMGE4KvOIYZebHdWik8dy4LyKrDI98PDvzQ,2294
|
|
5
5
|
nexaai/base.py,sha256=N8PRgDFA-XPku2vWnQIofQ7ipz3pPlO6f8YZGnuhquE,982
|
|
6
6
|
nexaai/common.py,sha256=MRWZ6a7pnci_OUHxZRm3YqgKLAtZFD7b88STYDfeIF8,3460
|
|
@@ -21,17 +21,17 @@ nexaai/binds/__init__.py,sha256=2-Rr0NwyWygqwS8Xlxq0BJ2ltyID-WbGuzEYNlSanCI,155
|
|
|
21
21
|
nexaai/binds/asr_bind.cpython-310-darwin.so,sha256=nr1BqGYRCooj2k5khaIvGG06_GrzudMXa9xa15UQ-88,200768
|
|
22
22
|
nexaai/binds/common_bind.cpython-310-darwin.so,sha256=zxJuD0nSV--VZKxBfWZUavU7_bHj_JTi0FhkjvG4VJw,235264
|
|
23
23
|
nexaai/binds/embedder_bind.cpython-310-darwin.so,sha256=nn3kINQUNyXIzmcU1olLg8RlkZYyIs_RtIlCk6OH1ds,202064
|
|
24
|
-
nexaai/binds/libnexa_bridge.dylib,sha256=
|
|
25
|
-
nexaai/binds/llm_bind.cpython-310-darwin.so,sha256=
|
|
24
|
+
nexaai/binds/libnexa_bridge.dylib,sha256=SOnKb1axm7bJtwLEqV3DAIN9z0KCZWzABC3X-IQis48,291224
|
|
25
|
+
nexaai/binds/llm_bind.cpython-310-darwin.so,sha256=YP_GzIPBb4OMNmI-VMYgorx5g31oorcdBI3XQpi3jKI,182784
|
|
26
26
|
nexaai/binds/rerank_bind.cpython-310-darwin.so,sha256=GJmffOLo9A48S_pMG2CtHyhbamtt97QikSSCXk3LqiM,183920
|
|
27
27
|
nexaai/binds/vlm_bind.cpython-310-darwin.so,sha256=JEoQbyOkMXVK4WyBCqKBHbyXHtTiTWT18UkZMFvMh4k,182704
|
|
28
|
-
nexaai/binds/cpu_gpu/libggml-base.dylib,sha256=
|
|
29
|
-
nexaai/binds/cpu_gpu/libggml-cpu.so,sha256=
|
|
30
|
-
nexaai/binds/cpu_gpu/libggml-metal.so,sha256=
|
|
31
|
-
nexaai/binds/cpu_gpu/libggml.dylib,sha256=
|
|
32
|
-
nexaai/binds/cpu_gpu/libmtmd.dylib,sha256=
|
|
33
|
-
nexaai/binds/cpu_gpu/libnexa_cpu_gpu.dylib,sha256=
|
|
34
|
-
nexaai/binds/cpu_gpu/libnexa_plugin.dylib,sha256=
|
|
28
|
+
nexaai/binds/cpu_gpu/libggml-base.dylib,sha256=9urbatWTB4QJ6uariOYlB_ZN1FFci5GaD8OfGZ9oPSQ,650736
|
|
29
|
+
nexaai/binds/cpu_gpu/libggml-cpu.so,sha256=qiYxbTe4Nt7n36zJVvq3zovgSZEmrN2is6gzTern7UI,677728
|
|
30
|
+
nexaai/binds/cpu_gpu/libggml-metal.so,sha256=zfaX7rIBYQazH2lf-vza007BMhPTK1ASd2T0HLLIA4E,673104
|
|
31
|
+
nexaai/binds/cpu_gpu/libggml.dylib,sha256=aOTj_6RrAMkfDO0ZI28_3nfcC-l4Y3dRCiS3C0d0_eI,58592
|
|
32
|
+
nexaai/binds/cpu_gpu/libmtmd.dylib,sha256=yfdSBV5McPAwGs9bRFHs9xSItFLEqc1NAnXBGBjumRU,605248
|
|
33
|
+
nexaai/binds/cpu_gpu/libnexa_cpu_gpu.dylib,sha256=IF4xdOSZJG83mjgVBD42M4IswXzT-6K7VenPvaxb3vs,1786136
|
|
34
|
+
nexaai/binds/cpu_gpu/libnexa_plugin.dylib,sha256=DVIggxoopUs_ipgCh3-wD5KR0zRles_QU7t18BE5lLA,1884184
|
|
35
35
|
nexaai/binds/metal/libnexa_plugin.dylib,sha256=1qIA7R9FBOwg4JrJe84PpQJdKhIng2QZQYbthkF84hM,659304
|
|
36
36
|
nexaai/binds/metal/py-lib/ml.py,sha256=DKXVOAfh8cg7KTKljh7jpcPwfQFNigc6uv_ZXF6lse8,23977
|
|
37
37
|
nexaai/binds/metal/py-lib/profiling.py,sha256=Dc-mybFwBdCIKFWL7CbSHjkOJGAoYHG7r_e_XPhzwBU,9361
|
|
@@ -187,10 +187,10 @@ nexaai/binds/metal/py-lib/mlx_audio/tts/tests/test_interpolate.py,sha256=9dNmH03
|
|
|
187
187
|
nexaai/binds/metal/py-lib/mlx_audio/tts/tests/test_models.py,sha256=12RiOfPtSZQj5g5JM-yCJk3uGQfM3OdmRiPt5uUDE4E,35096
|
|
188
188
|
nexaai/binds/nexaml/libfftw3.3.dylib,sha256=Ul6NlZv0UhmXnnqAyFxCRCw-8pOsV5e4rc_9-wxrRJg,693424
|
|
189
189
|
nexaai/binds/nexaml/libfftw3f.3.dylib,sha256=SKZE35Ly9R_nbMt7oWpObydvpK3HIo9-UhUA2KkeQyk,693920
|
|
190
|
-
nexaai/binds/nexaml/libggml-base.dylib,sha256=
|
|
191
|
-
nexaai/binds/nexaml/libggml-cpu.so,sha256=
|
|
192
|
-
nexaai/binds/nexaml/libggml-metal.so,sha256=
|
|
193
|
-
nexaai/binds/nexaml/libggml.dylib,sha256=
|
|
190
|
+
nexaai/binds/nexaml/libggml-base.dylib,sha256=9urbatWTB4QJ6uariOYlB_ZN1FFci5GaD8OfGZ9oPSQ,650736
|
|
191
|
+
nexaai/binds/nexaml/libggml-cpu.so,sha256=qiYxbTe4Nt7n36zJVvq3zovgSZEmrN2is6gzTern7UI,677728
|
|
192
|
+
nexaai/binds/nexaml/libggml-metal.so,sha256=zfaX7rIBYQazH2lf-vza007BMhPTK1ASd2T0HLLIA4E,673104
|
|
193
|
+
nexaai/binds/nexaml/libggml.dylib,sha256=aOTj_6RrAMkfDO0ZI28_3nfcC-l4Y3dRCiS3C0d0_eI,58592
|
|
194
194
|
nexaai/binds/nexaml/libmp3lame.0.dylib,sha256=G-21u3MAZ2hiv1fbPEpOUGdToZfLtz2XI6BwW9xIqIA,305136
|
|
195
195
|
nexaai/binds/nexaml/libmpg123.0.dylib,sha256=L4AgLcdcjGOQkEovUGDCNlH959500i0GkKBhqiHxBY4,306464
|
|
196
196
|
nexaai/binds/nexaml/libnexa-mm-process.dylib,sha256=WCEgYK13YBfg-DiaGXXJ00-QYo0ucEP-QUS1jVEUR_k,10222392
|
|
@@ -211,7 +211,7 @@ nexaai/image_gen_impl/mlx_image_gen_impl.py,sha256=BuDkksvXyb4J02GsdnbGAmYckfUU0
|
|
|
211
211
|
nexaai/image_gen_impl/pybind_image_gen_impl.py,sha256=ms34VYoD5AxZFG6cIG0QAJDjCtfphaZ1bHzKzey1xF8,3692
|
|
212
212
|
nexaai/llm_impl/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
213
213
|
nexaai/llm_impl/mlx_llm_impl.py,sha256=dPtaEribluHZZY_f9M114glcQhtDEckukw4Sfd5zJos,11296
|
|
214
|
-
nexaai/llm_impl/pybind_llm_impl.py,sha256
|
|
214
|
+
nexaai/llm_impl/pybind_llm_impl.py,sha256=-OFruPYQlAQvy0py6JoBQapBLbRCSgwuZ84WymHtLT0,8163
|
|
215
215
|
nexaai/mlx_backend/ml.py,sha256=DKXVOAfh8cg7KTKljh7jpcPwfQFNigc6uv_ZXF6lse8,23977
|
|
216
216
|
nexaai/mlx_backend/profiling.py,sha256=Dc-mybFwBdCIKFWL7CbSHjkOJGAoYHG7r_e_XPhzwBU,9361
|
|
217
217
|
nexaai/mlx_backend/asr/__init__.py,sha256=fuT_9_xpYJ28m4yjly5L2jChUrzlSQz-b_S7nujxkSM,451
|
|
@@ -562,14 +562,14 @@ nexaai/tts_impl/mlx_tts_impl.py,sha256=i_uNPdvlXYtL3e01oKjDlP9jgkWCRt1bBHsExaaiJ
|
|
|
562
562
|
nexaai/tts_impl/pybind_tts_impl.py,sha256=mpn44r6pfYLIl-NrEy2dXHjGtWtNCmM7HRyxiANxUI4,1444
|
|
563
563
|
nexaai/utils/decode.py,sha256=61n4Zf6c5QLyqGoctEitlI9BX3tPlP2a5aaKNHbw3T4,404
|
|
564
564
|
nexaai/utils/manifest_utils.py,sha256=OOp_BmFWH1ZHMYkS2VGAby5Rpm4f4GLCRBJEBYm-kys,21489
|
|
565
|
-
nexaai/utils/model_manager.py,sha256=
|
|
565
|
+
nexaai/utils/model_manager.py,sha256=8mEESGneQy6RNQ2L_y0cYh7F8cerDE8BGbCgzZwp5Dg,66224
|
|
566
566
|
nexaai/utils/model_types.py,sha256=ONWjjo8CFPdhxki6qo7MXnSZaEzjBcxa_Kkf_y5NXus,1483
|
|
567
567
|
nexaai/utils/progress_tracker.py,sha256=jdUqtmPqyhwC9uSKvQcJEYETwSt-OhP4oitdJ94614o,15394
|
|
568
568
|
nexaai/utils/quantization_utils.py,sha256=FYcNSAKGlBqFDUTx3jSKOr2lnq4nyiyC0ZG8oSxFwiU,7825
|
|
569
569
|
nexaai/vlm_impl/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
570
570
|
nexaai/vlm_impl/mlx_vlm_impl.py,sha256=sgHqnX5OCSGLccCnTuRiktIbqThNn3AAIvYE2_Dy4TI,10833
|
|
571
571
|
nexaai/vlm_impl/pybind_vlm_impl.py,sha256=stJKHdhYhBuWUQkky-nHgCv625qDB_1geI3v5BLNGpM,9765
|
|
572
|
-
nexaai-1.0.
|
|
573
|
-
nexaai-1.0.
|
|
574
|
-
nexaai-1.0.
|
|
575
|
-
nexaai-1.0.
|
|
572
|
+
nexaai-1.0.22.dist-info/METADATA,sha256=dgjz8lyw-1DssxtFV5wnxMO5P5iPnLVbOElwYtgrzic,1184
|
|
573
|
+
nexaai-1.0.22.dist-info/WHEEL,sha256=T2p57lol9__xkoU6aJTyN1Pm43ZpRU3q6km7mIbrAMs,114
|
|
574
|
+
nexaai-1.0.22.dist-info/top_level.txt,sha256=LRE2YERlrZk2vfuygnSzsEeqSknnZbz3Z1MHyNmBU4w,7
|
|
575
|
+
nexaai-1.0.22.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|