Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New deepseek r1 models fail to run #28

Open
0zguner opened this issue Feb 4, 2025 · 1 comment
Open

New deepseek r1 models fail to run #28

0zguner opened this issue Feb 4, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@0zguner
Copy link

0zguner commented Feb 4, 2025

This is the error message

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

@johnmai-dev johnmai-dev added the bug Something isn't working label Feb 6, 2025
@rudrankriyam
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants