ml-explore / ml-explore/mlx-examples

mlx_lm.fuse can not work

Open
#1,436 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
9k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

mlx_lm.generate --model mlx-community/Qwen2.5-7B-Instruct-4bit --adapter-path ./weclone_adapters --prompt "你是谁"
mlx_lm.generate --model ./weclone_model --prompt "你是谁"
has different answer。it seem that weclone_model cat not work

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the two mlx_lm.generate commands from the issue and compare their outputs with the adapter and fused model. Then trace the mlx_lm.fuse and mlx_lm.generate entry points to determine why ./weclone_model differs from the adapter-backed run. Done means the fusion behavior is explained and the reported command produces the expected answer.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.