Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion optillm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import os

# Version information
__version__ = "0.1.17"
__version__ = "0.1.18"

# Get the path to the root optillm.py
spec = util.spec_from_file_location(
Expand Down
3 changes: 2 additions & 1 deletion optillm/inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,8 @@ def should_use_mlx(model_id: str) -> bool:
# Models that should use MLX
mlx_patterns = [
"mlx-community/",
"mlx-"
"mlx-",
"-mlx-"
]

# Known problematic models that should prefer MLX on Apple Silicon
Expand Down
2 changes: 1 addition & 1 deletion scripts/eval_math500_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ def get_llm_response(problem: str, model: str) -> str:
messages=[
{"role": "user", "content": SYSTEM_PROMPT + "\n" + problem}
],
max_tokens=32768, # for thinking models, we need to use a lot more tokens
max_tokens=8192, # for thinking models, we need to use a lot more tokens
# extra_body = {
# "decoding" : "thinkdeeper",
# }
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

setup(
name="optillm",
version="0.1.17",
version="0.1.18",
packages=find_packages(include=['optillm', 'optillm.*']), # This ensures all subpackages are included
py_modules=['optillm'],
package_data={
Expand Down