ChatMLX icon indicating copy to clipboard operation
ChatMLX copied to clipboard

New deepseek r1 models fail to run

Open 0zguner opened this issue 11 months ago • 1 comments

This is the error message

Parser error: Parser Error: Expected closing statement token. openSquareBracket != closeStatement.

0zguner avatar Feb 04 '25 23:02 0zguner

Make sure you are on the latest version of mlx-libraries. At the time of writing this comment, it is 20701c0 commit. I forked the repo and for some reason Swift PM is picking up an older commit from the main branch, subsequently an older version of swift-transformers and Jinja. This issue of DeepSeek R1 has already been resolved in the latest version of both the packages.

You can try the following commands in terminal and then Xcode -> File -> Packages -> Update to Latest Package Versions

rm -rf ~/Library/Caches/org.swift.swiftpm

With this, the swift-transformers version should be at least 0.1.17 and Jinja 1.1.1

rudrankriyam avatar Feb 16 '25 00:02 rudrankriyam