New deepseek r1 models fail to run
This is the error message
Parser error: Parser Error: Expected closing statement token. openSquareBracket != closeStatement.
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