VisualInference commited on
Commit
443e30e
·
verified ·
1 Parent(s): a653623

Card: link the proposed mlx-vlm fix for undecodable tool calls

Browse files
Files changed (1) hide show
  1. README.md +2 -1
README.md CHANGED
@@ -240,7 +240,8 @@ small loss in prompt speed. Use it on a machine near its limit.
240
  the 4bit build in the first runs (a missing quote in the JSON, at a token the model gives 99.96% probability in a
241
  full forward pass), none in 39 each for the 3bit and 2bit builds. mlx-vlm does not return such a call, and as of
242
  commit `0d16abeb` it also loses the rest of the turn: a response that is not streamed carries the raw turn, control tokens included, as `content`, and a streamed response ends with an error event instead of a finish reason. The same happens when `max_tokens` runs out inside a tool call, such as a long `write_file`, so allow enough output tokens for the longest call. An agent harness
243
- should treat either as a failed turn and retry.
 
244
  - The model can loop in its reasoning until the output limit; cap output tokens and agent turns.
245
  - Tested on one machine (M4 Pro, 48 GB). The memory guidance for smaller Macs follows from the measured peaks and
246
  was not run on those machines.
 
240
  the 4bit build in the first runs (a missing quote in the JSON, at a token the model gives 99.96% probability in a
241
  full forward pass), none in 39 each for the 3bit and 2bit builds. mlx-vlm does not return such a call, and as of
242
  commit `0d16abeb` it also loses the rest of the turn: a response that is not streamed carries the raw turn, control tokens included, as `content`, and a streamed response ends with an error event instead of a finish reason. The same happens when `max_tokens` runs out inside a tool call, such as a long `write_file`, so allow enough output tokens for the longest call. An agent harness
243
+ should treat either as a failed turn and retry. A fix is proposed in
244
+ [mlx-vlm pull request 2786](https://github.com/Neywa-Labs/mlx-vlm/pull/2786).
245
  - The model can loop in its reasoning until the output limit; cap output tokens and agent turns.
246
  - Tested on one machine (M4 Pro, 48 GB). The memory guidance for smaller Macs follows from the measured peaks and
247
  was not run on those machines.