lalamo 0.5.1__py3-none-any.whl → 0.5.2__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.
lalamo/__init__.py CHANGED
@@ -10,7 +10,7 @@ from lalamo.message_processor import (
10
10
  )
11
11
  from lalamo.model_import import ModelSpec, import_model
12
12
 
13
- __version__ = "0.5.1"
13
+ __version__ = "0.5.2"
14
14
 
15
15
  __all__ = [
16
16
  "AssistantMessage",
@@ -1,5 +1,5 @@
1
1
  from collections.abc import Mapping
2
- from dataclasses import dataclass
2
+ from dataclasses import dataclass, field
3
3
  from typing import Literal
4
4
 
5
5
  import jax.numpy as jnp
@@ -159,6 +159,7 @@ class HFGemma3TextConfigRaw:
159
159
  @dataclass(frozen=True)
160
160
  class HFGemma3TextConfig(HFGemma3TextConfigRaw, HuggingFaceConfig):
161
161
  torch_dtype: Literal["bfloat16", "float16", "float32"] = "bfloat16"
162
+ eos_token_id: int | list[int] = field(default_factory=list)
162
163
 
163
164
 
164
165
  @dataclass(frozen=True)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lalamo
3
- Version: 0.5.1
3
+ Version: 0.5.2
4
4
  Summary: JAX library for optimization and export of models for use with the UZU inference engine.
5
5
  Requires-Python: <4,>=3.12
6
6
  Description-Content-Type: text/markdown
@@ -1,4 +1,4 @@
1
- lalamo/__init__.py,sha256=AtCHHyq3yCP2A-NnctlQc-gSTUFOfDqP2PpiJX0ay28,487
1
+ lalamo/__init__.py,sha256=3P0i5yWyx-A6xFJNXobXqcLYXbgpLKPr4tL-x3OAJto,487
2
2
  lalamo/common.py,sha256=5NUFD26yQgOnEEk3LaQnce8n-VwJxILkEpFesHZhtQU,3820
3
3
  lalamo/language_model.py,sha256=ZnNwqxT8yCfIE0TSaF8Vhva8GRHzDzEoUb95VjAfOtM,14510
4
4
  lalamo/main.py,sha256=YNO7s0H04Jg5OYmKEGmdIJLzW1W_-uJj0TxJY_Tsc0M,19028
@@ -21,7 +21,7 @@ lalamo/model_import/decoder_configs/executorch.py,sha256=tyJ-oP8wezOHBGL7Y9Iy3np
21
21
  lalamo/model_import/decoder_configs/huggingface/__init__.py,sha256=m17Pz3pw7lHXrcw3FGE15TNUu-Qk7m9CYQSXfS3CWD0,575
22
22
  lalamo/model_import/decoder_configs/huggingface/common.py,sha256=BJekEs9iStsygVa9QcPItok5AQIq8PvMZf7xAmykl-w,3043
23
23
  lalamo/model_import/decoder_configs/huggingface/gemma2.py,sha256=0pO4IinzqB7hLoEUMlVnJfN3ncerTgZKIrMZPs3soR8,4562
24
- lalamo/model_import/decoder_configs/huggingface/gemma3.py,sha256=e1Vln08e5V74jVuX5ddzDsEU4fnwt2XT-rv0ho1_kWM,7146
24
+ lalamo/model_import/decoder_configs/huggingface/gemma3.py,sha256=r8Nfy-9EPXhIkhJkvx0P-7NFLMaku_LJIEhx3HziShk,7217
25
25
  lalamo/model_import/decoder_configs/huggingface/gpt_oss.py,sha256=8TWptvJzVJtEtyWrkKaJA6LLORSKLolxv3gwLtDC0uA,7248
26
26
  lalamo/model_import/decoder_configs/huggingface/llama.py,sha256=amMhyN_QEscFmOvjmghcBg9VXBDqE-mpp0Y5Gj0tSp0,6735
27
27
  lalamo/model_import/decoder_configs/huggingface/llamba.py,sha256=dJVD_84suhF5sQLRvlsfMDmrrTNhIR6AdMGOm54rC6U,5482
@@ -72,9 +72,9 @@ lalamo/speculator/common.py,sha256=PudF_gkpe5_nQ-57sAC-foE1xCy_H2Axh5KwRoA86lo,5
72
72
  lalamo/speculator/inference.py,sha256=4E7_8jwLwg1bvUUH59cLxjD73-IJ9xv58yCwYMFa1r4,3101
73
73
  lalamo/speculator/ngram.py,sha256=3O9akE2IGN_7Mp6l_zwhUpdNvjZB0rAlQm51EuX_-rY,5869
74
74
  lalamo/speculator/utils.py,sha256=K5qDGEdWYD47C1xLJQ3bamIHAG3-VEuANf-821VeanE,1688
75
- lalamo-0.5.1.dist-info/licenses/LICENSE,sha256=diHRfjSEJHD1nnEeMIfMRCjR3UERf8bT3eseD6b1ayA,1072
76
- lalamo-0.5.1.dist-info/METADATA,sha256=xHWGxP4GYjQkOaQpOxKRJNINprD2YiJXZb2tDVvDMRA,3146
77
- lalamo-0.5.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
78
- lalamo-0.5.1.dist-info/entry_points.txt,sha256=qli7qTfnBk5WP10rOGXXEckHMtt-atJMDWd8jN89Uks,43
79
- lalamo-0.5.1.dist-info/top_level.txt,sha256=VHvWL5JN5XRG36NsN_MieJ7EwRihEOrEjyDaTdFJ-aI,7
80
- lalamo-0.5.1.dist-info/RECORD,,
75
+ lalamo-0.5.2.dist-info/licenses/LICENSE,sha256=diHRfjSEJHD1nnEeMIfMRCjR3UERf8bT3eseD6b1ayA,1072
76
+ lalamo-0.5.2.dist-info/METADATA,sha256=bEhxBxyO5vmbF5KyrEMRSATIzJ55M9HfunCkllcC-VY,3146
77
+ lalamo-0.5.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
78
+ lalamo-0.5.2.dist-info/entry_points.txt,sha256=qli7qTfnBk5WP10rOGXXEckHMtt-atJMDWd8jN89Uks,43
79
+ lalamo-0.5.2.dist-info/top_level.txt,sha256=VHvWL5JN5XRG36NsN_MieJ7EwRihEOrEjyDaTdFJ-aI,7
80
+ lalamo-0.5.2.dist-info/RECORD,,
File without changes