nexaai 1.0.21rc15__cp310-cp310-macosx_13_0_x86_64.whl → 1.0.22__cp310-cp310-macosx_13_0_x86_64.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/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 +17 -17
- {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
|
|
@@ -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=qy37o7vuVZJxmKIciz2Ra-5B1NYec6XNoczBQD6GV38,49832
|
|
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=QmxLTY6qmHtbkdZlSyvdh7pVh0KP9j1ARtIWJDi_QMs,217096
|
|
22
22
|
nexaai/binds/common_bind.cpython-310-darwin.so,sha256=BoXByRlNGDaNS1YyZyCF-s7h0vXP9NLPlJMQQ5pqusU,235488
|
|
23
23
|
nexaai/binds/embedder_bind.cpython-310-darwin.so,sha256=ZOJLzVvTUkbDdBBak1ylOmKx_bwHVzaPvha6RkoLpGo,202032
|
|
24
|
-
nexaai/binds/libnexa_bridge.dylib,sha256=
|
|
25
|
-
nexaai/binds/llm_bind.cpython-310-darwin.so,sha256
|
|
24
|
+
nexaai/binds/libnexa_bridge.dylib,sha256=n-MQrXhWtYBzePWog4s56P2oknntApaMv8C00U7FmZY,290352
|
|
25
|
+
nexaai/binds/llm_bind.cpython-310-darwin.so,sha256=-EJUa4rf6nEZUSqKwmB2brSuIdc5OFYOjvqs999ug5E,183096
|
|
26
26
|
nexaai/binds/rerank_bind.cpython-310-darwin.so,sha256=seJQ1ZpYVR_RCMmBvPSHnLj5LCHX33k5VUFadUkQsvI,200384
|
|
27
27
|
nexaai/binds/vlm_bind.cpython-310-darwin.so,sha256=IXM3RTJx-rii3DNZCAVY6eKxn9C8TtAMP9i5bi8qA6s,199392
|
|
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=YDclLDlP7XlDpXiKfTOTt6mW7jgXlmwSoT_VuRrGrmM,629528
|
|
29
|
+
nexaai/binds/cpu_gpu/libggml-cpu.so,sha256=cnLUQ7WdX-5iiDaH8v45u1kX1NUmK8DanpzSMGCpXPE,1039800
|
|
30
|
+
nexaai/binds/cpu_gpu/libggml-metal.so,sha256=Xhhl_tLg1xmCIQVrKjqPFaLHAlx_2wUFiwDyUk0wJ-E,713680
|
|
31
|
+
nexaai/binds/cpu_gpu/libggml.dylib,sha256=12Q1Z98oM81hxzT_GMQsW5rlhC8DOMsX6luWVCFQHcI,58336
|
|
32
|
+
nexaai/binds/cpu_gpu/libmtmd.dylib,sha256=4-KGS82gxwwIJBNHuZ88mzzTbNZ12tqsDD46-ey6sQ4,701504
|
|
33
|
+
nexaai/binds/cpu_gpu/libnexa_cpu_gpu.dylib,sha256=9qrrMOlGWM9cWUORg64GfkE_p9aQ1rjIp_z-QVfIFH8,1982280
|
|
34
|
+
nexaai/binds/cpu_gpu/libnexa_plugin.dylib,sha256=GiXEXNYePuJRaCtnJw1jrS2dtPcp90qr-IvnrL95dmU,2064152
|
|
35
35
|
nexaai/cv_impl/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
36
36
|
nexaai/cv_impl/mlx_cv_impl.py,sha256=gKECQOv8iaWwG3bl7xeqVy2NN_9K7tYerIFzfn4eLo4,3228
|
|
37
37
|
nexaai/cv_impl/pybind_cv_impl.py,sha256=uSmwBste4cT7c8DQmXzRLmzwDf773PAbXNYWW1UzVls,1064
|
|
@@ -43,7 +43,7 @@ nexaai/image_gen_impl/mlx_image_gen_impl.py,sha256=BuDkksvXyb4J02GsdnbGAmYckfUU0
|
|
|
43
43
|
nexaai/image_gen_impl/pybind_image_gen_impl.py,sha256=ms34VYoD5AxZFG6cIG0QAJDjCtfphaZ1bHzKzey1xF8,3692
|
|
44
44
|
nexaai/llm_impl/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
45
45
|
nexaai/llm_impl/mlx_llm_impl.py,sha256=dPtaEribluHZZY_f9M114glcQhtDEckukw4Sfd5zJos,11296
|
|
46
|
-
nexaai/llm_impl/pybind_llm_impl.py,sha256
|
|
46
|
+
nexaai/llm_impl/pybind_llm_impl.py,sha256=-OFruPYQlAQvy0py6JoBQapBLbRCSgwuZ84WymHtLT0,8163
|
|
47
47
|
nexaai/mlx_backend/ml.py,sha256=DKXVOAfh8cg7KTKljh7jpcPwfQFNigc6uv_ZXF6lse8,23977
|
|
48
48
|
nexaai/mlx_backend/profiling.py,sha256=Dc-mybFwBdCIKFWL7CbSHjkOJGAoYHG7r_e_XPhzwBU,9361
|
|
49
49
|
nexaai/mlx_backend/asr/__init__.py,sha256=fuT_9_xpYJ28m4yjly5L2jChUrzlSQz-b_S7nujxkSM,451
|
|
@@ -394,14 +394,14 @@ nexaai/tts_impl/mlx_tts_impl.py,sha256=i_uNPdvlXYtL3e01oKjDlP9jgkWCRt1bBHsExaaiJ
|
|
|
394
394
|
nexaai/tts_impl/pybind_tts_impl.py,sha256=mpn44r6pfYLIl-NrEy2dXHjGtWtNCmM7HRyxiANxUI4,1444
|
|
395
395
|
nexaai/utils/decode.py,sha256=61n4Zf6c5QLyqGoctEitlI9BX3tPlP2a5aaKNHbw3T4,404
|
|
396
396
|
nexaai/utils/manifest_utils.py,sha256=OOp_BmFWH1ZHMYkS2VGAby5Rpm4f4GLCRBJEBYm-kys,21489
|
|
397
|
-
nexaai/utils/model_manager.py,sha256=
|
|
397
|
+
nexaai/utils/model_manager.py,sha256=8mEESGneQy6RNQ2L_y0cYh7F8cerDE8BGbCgzZwp5Dg,66224
|
|
398
398
|
nexaai/utils/model_types.py,sha256=ONWjjo8CFPdhxki6qo7MXnSZaEzjBcxa_Kkf_y5NXus,1483
|
|
399
399
|
nexaai/utils/progress_tracker.py,sha256=jdUqtmPqyhwC9uSKvQcJEYETwSt-OhP4oitdJ94614o,15394
|
|
400
400
|
nexaai/utils/quantization_utils.py,sha256=FYcNSAKGlBqFDUTx3jSKOr2lnq4nyiyC0ZG8oSxFwiU,7825
|
|
401
401
|
nexaai/vlm_impl/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
402
402
|
nexaai/vlm_impl/mlx_vlm_impl.py,sha256=sgHqnX5OCSGLccCnTuRiktIbqThNn3AAIvYE2_Dy4TI,10833
|
|
403
403
|
nexaai/vlm_impl/pybind_vlm_impl.py,sha256=stJKHdhYhBuWUQkky-nHgCv625qDB_1geI3v5BLNGpM,9765
|
|
404
|
-
nexaai-1.0.
|
|
405
|
-
nexaai-1.0.
|
|
406
|
-
nexaai-1.0.
|
|
407
|
-
nexaai-1.0.
|
|
404
|
+
nexaai-1.0.22.dist-info/METADATA,sha256=dgjz8lyw-1DssxtFV5wnxMO5P5iPnLVbOElwYtgrzic,1184
|
|
405
|
+
nexaai-1.0.22.dist-info/WHEEL,sha256=0KYp5feZ1CMUhsfFXKpSQTbSmQbXy4mv6yPPVBXg2EM,110
|
|
406
|
+
nexaai-1.0.22.dist-info/top_level.txt,sha256=LRE2YERlrZk2vfuygnSzsEeqSknnZbz3Z1MHyNmBU4w,7
|
|
407
|
+
nexaai-1.0.22.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|