ommlds 0.0.0.dev439__py3-none-any.whl → 0.0.0.dev441__py3-none-any.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.
ommlds/__about__.py CHANGED
@@ -18,8 +18,8 @@ class Project(ProjectBase):
18
18
 
19
19
  'llama-cpp-python ~= 0.3',
20
20
 
21
- 'mlx ~= 0.28',
22
- 'mlx-lm ~= 0.26; sys_platform == "darwin"',
21
+ 'mlx ~= 0.29',
22
+ 'mlx-lm ~= 0.27; sys_platform == "darwin"',
23
23
 
24
24
  # 'sentencepiece ~= 0.2', # FIXME: https://github.com/google/sentencepiece/issues/1121
25
25
 
@@ -37,8 +37,8 @@ class Project(ProjectBase):
37
37
  ],
38
38
 
39
39
  'huggingface': [
40
- 'huggingface-hub ~= 0.34',
41
- 'datasets ~= 4.0',
40
+ 'huggingface-hub ~= 0.35',
41
+ 'datasets ~= 4.1',
42
42
  ],
43
43
 
44
44
  'numpy': [
@@ -254,7 +254,7 @@ def stream_generate(
254
254
  add_special_tokens=add_special_tokens,
255
255
  )
256
256
 
257
- prompt = mx.array(prompt)
257
+ prompt = mx.array(prompt) # type: ignore[arg-type]
258
258
 
259
259
  detokenizer = tokenization.detokenizer
260
260
  detokenizer.reset()
@@ -27,7 +27,7 @@ from ...chat.messages import UserMessage
27
27
  # )
28
28
  @static_check_is_chat_choices_service
29
29
  class MistralChatChoicesService:
30
- model: ta.ClassVar[str] = 'mistral-large-latest'
30
+ model: ta.ClassVar[str] = 'mistral-medium-2508'
31
31
 
32
32
  ROLES_MAP: ta.ClassVar[ta.Mapping[type[Message], str]] = {
33
33
  SystemMessage: 'system',
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ommlds
3
- Version: 0.0.0.dev439
3
+ Version: 0.0.0.dev441
4
4
  Summary: ommlds
5
5
  Author: wrmsr
6
6
  License-Expression: BSD-3-Clause
@@ -14,20 +14,20 @@ Classifier: Programming Language :: Python :: 3.13
14
14
  Requires-Python: >=3.13
15
15
  Description-Content-Type: text/markdown
16
16
  License-File: LICENSE
17
- Requires-Dist: omdev==0.0.0.dev439
18
- Requires-Dist: omlish==0.0.0.dev439
17
+ Requires-Dist: omdev==0.0.0.dev441
18
+ Requires-Dist: omlish==0.0.0.dev441
19
19
  Provides-Extra: all
20
20
  Requires-Dist: llama-cpp-python~=0.3; extra == "all"
21
- Requires-Dist: mlx~=0.28; extra == "all"
22
- Requires-Dist: mlx-lm~=0.26; sys_platform == "darwin" and extra == "all"
21
+ Requires-Dist: mlx~=0.29; extra == "all"
22
+ Requires-Dist: mlx-lm~=0.27; sys_platform == "darwin" and extra == "all"
23
23
  Requires-Dist: tiktoken~=0.11; extra == "all"
24
24
  Requires-Dist: tinygrad~=0.11; extra == "all"
25
25
  Requires-Dist: tokenizers~=0.22; extra == "all"
26
26
  Requires-Dist: torch~=2.8; extra == "all"
27
27
  Requires-Dist: transformers~=4.56; extra == "all"
28
28
  Requires-Dist: sentence-transformers~=5.1; extra == "all"
29
- Requires-Dist: huggingface-hub~=0.34; extra == "all"
30
- Requires-Dist: datasets~=4.0; extra == "all"
29
+ Requires-Dist: huggingface-hub~=0.35; extra == "all"
30
+ Requires-Dist: datasets~=4.1; extra == "all"
31
31
  Requires-Dist: numpy>=1.26; extra == "all"
32
32
  Requires-Dist: pytesseract~=0.3; extra == "all"
33
33
  Requires-Dist: rapidocr-onnxruntime~=1.4; extra == "all"
@@ -38,8 +38,8 @@ Requires-Dist: wikitextparser~=0.56; extra == "all"
38
38
  Requires-Dist: lxml>=5.3; python_version < "3.13" and extra == "all"
39
39
  Provides-Extra: backends
40
40
  Requires-Dist: llama-cpp-python~=0.3; extra == "backends"
41
- Requires-Dist: mlx~=0.28; extra == "backends"
42
- Requires-Dist: mlx-lm~=0.26; sys_platform == "darwin" and extra == "backends"
41
+ Requires-Dist: mlx~=0.29; extra == "backends"
42
+ Requires-Dist: mlx-lm~=0.27; sys_platform == "darwin" and extra == "backends"
43
43
  Requires-Dist: tiktoken~=0.11; extra == "backends"
44
44
  Requires-Dist: tinygrad~=0.11; extra == "backends"
45
45
  Requires-Dist: tokenizers~=0.22; extra == "backends"
@@ -47,8 +47,8 @@ Requires-Dist: torch~=2.8; extra == "backends"
47
47
  Requires-Dist: transformers~=4.56; extra == "backends"
48
48
  Requires-Dist: sentence-transformers~=5.1; extra == "backends"
49
49
  Provides-Extra: huggingface
50
- Requires-Dist: huggingface-hub~=0.34; extra == "huggingface"
51
- Requires-Dist: datasets~=4.0; extra == "huggingface"
50
+ Requires-Dist: huggingface-hub~=0.35; extra == "huggingface"
51
+ Requires-Dist: datasets~=4.1; extra == "huggingface"
52
52
  Provides-Extra: numpy
53
53
  Requires-Dist: numpy>=1.26; extra == "numpy"
54
54
  Provides-Extra: ocr
@@ -1,5 +1,5 @@
1
1
  ommlds/.omlish-manifests.json,sha256=S6CQgU4P_cE4IDsQGF6jp0iE0cL1dZTHhRC7KP_Qy9o,17481
2
- ommlds/__about__.py,sha256=VQXOTulXn5dqFRNuOzBfLIF-bbUFmvu3PyCAsk8Vv2Q,1759
2
+ ommlds/__about__.py,sha256=Mjfu4xgZIZnQB4AdwQ3A78N8ESx97qqroeB4dZzgf0c,1759
3
3
  ommlds/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  ommlds/huggingface.py,sha256=JfEyfKOxU3-SY_ojtXBJFNeD-NIuKjvMe3GL3e93wNA,1175
5
5
  ommlds/_hacks/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -20,7 +20,7 @@ ommlds/backends/mlx/__init__.py,sha256=caiXip6b1pc5EyA-icH44Zs7taC5bLitJQySR7mBu
20
20
  ommlds/backends/mlx/__main__.py,sha256=gFhR9DikwDZk0LqgdR3qq_aXQHThUOPllDmHDOfnFAU,67
21
21
  ommlds/backends/mlx/caching.py,sha256=jPhVclrm8RckXiJLY-iokCSGjMfVMr_VH8fTFYA3FBA,1912
22
22
  ommlds/backends/mlx/cli.py,sha256=In4gGBqvFApLE-vNMi6bqba7Xa-SZfCmSSGuRCDCjlU,10685
23
- ommlds/backends/mlx/generation.py,sha256=B6FRe1pNrSnTliMiILEhRqc3X_we54NylC7STTsxcuk,9768
23
+ ommlds/backends/mlx/generation.py,sha256=O1w_iZSbgF5jSrzgPaNMbTRO0xn0-xmzXp1G2WNNVes,9794
24
24
  ommlds/backends/mlx/limits.py,sha256=GZfad6q14fvFHoPfovdnH3jnM1qGvdprfQk_pMWqI5g,2780
25
25
  ommlds/backends/mlx/loading.py,sha256=v8k--OD1qG6ivrD2sQv_DhIwBAxJe47vKfhkD_KmuOQ,2031
26
26
  ommlds/backends/mlx/tokenization/LICENSE,sha256=0T9KDFIRDAqANM8DZgpgrzPq3WwnBKsw5EkrkeR3xqM,1066
@@ -117,7 +117,7 @@ ommlds/minichain/backends/catalogs/base.py,sha256=Yw9K2A1zSFzQqZjqW5s0IV6h9DnbyT
117
117
  ommlds/minichain/backends/catalogs/simple.py,sha256=KJLKEOYqzsekchxEjqIL0yWqlGvUu97PsRvQUIoXXc4,1472
118
118
  ommlds/minichain/backends/catalogs/strings.py,sha256=G7oQPaPfwBQ1CUNVvptW8M-ipesYXwAtS88UbOK2ZHw,1714
119
119
  ommlds/minichain/backends/impls/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
120
- ommlds/minichain/backends/impls/mistral.py,sha256=EH4JOiTerEyPLGbRF6r5WjU5plCNgnH8EqIsBpesOgk,2484
120
+ ommlds/minichain/backends/impls/mistral.py,sha256=U_cDsBmKNHExEVKe2T7PMGagFf9jqMDmJR3ecFh7pn0,2483
121
121
  ommlds/minichain/backends/impls/sqlite.py,sha256=NOFm_fgr-OZ8mo7etj0zwvxsDnidRwKzhdDom58e6ks,2157
122
122
  ommlds/minichain/backends/impls/anthropic/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
123
123
  ommlds/minichain/backends/impls/anthropic/chat.py,sha256=ivc_VrfvLF4256ud1yvQLILulCmoT5je8-PZincIKH8,3706
@@ -295,9 +295,9 @@ ommlds/wiki/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU
295
295
  ommlds/wiki/utils/io.py,sha256=UKgDJGtmpnWvIqVd2mJc2QNPOqlToEY1GEveNp6_pMo,7088
296
296
  ommlds/wiki/utils/progress.py,sha256=EhvKcMFYtsarCQhIahlO6f0SboyAKP3UwUyrnVnP-Vk,3222
297
297
  ommlds/wiki/utils/xml.py,sha256=vVV8Ctn13aaRM9eYfs9Wd6rHn5WOCEUzQ44fIhOvJdg,3754
298
- ommlds-0.0.0.dev439.dist-info/licenses/LICENSE,sha256=B_hVtavaA8zCYDW99DYdcpDLKz1n3BBRjZrcbv8uG8c,1451
299
- ommlds-0.0.0.dev439.dist-info/METADATA,sha256=GE6fXdTQGieg-ZIU2XidoMxzBw8bMJeDaVIDu2ZPdfo,3224
300
- ommlds-0.0.0.dev439.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
301
- ommlds-0.0.0.dev439.dist-info/entry_points.txt,sha256=Z5YWtX7ClfiCKdW-dd_CSVvM0h4yQpJPi-2G3q6gNFo,35
302
- ommlds-0.0.0.dev439.dist-info/top_level.txt,sha256=Rbnk5d5wi58vnAXx13WFZqdQ4VX8hBCS2hEL3WeXOhY,7
303
- ommlds-0.0.0.dev439.dist-info/RECORD,,
298
+ ommlds-0.0.0.dev441.dist-info/licenses/LICENSE,sha256=B_hVtavaA8zCYDW99DYdcpDLKz1n3BBRjZrcbv8uG8c,1451
299
+ ommlds-0.0.0.dev441.dist-info/METADATA,sha256=RYI2oo0yuLoQoSvmIZp5hcZSmLvf6u03DIuKgXPQCSg,3224
300
+ ommlds-0.0.0.dev441.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
301
+ ommlds-0.0.0.dev441.dist-info/entry_points.txt,sha256=Z5YWtX7ClfiCKdW-dd_CSVvM0h4yQpJPi-2G3q6gNFo,35
302
+ ommlds-0.0.0.dev441.dist-info/top_level.txt,sha256=Rbnk5d5wi58vnAXx13WFZqdQ4VX8hBCS2hEL3WeXOhY,7
303
+ ommlds-0.0.0.dev441.dist-info/RECORD,,