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

create_chat_completion is stuck in versions 0.2.84 and 0.2.85 for Mac Silicon #1648

Open
mobeetle opened this issue Aug 1, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@mobeetle
Copy link

mobeetle commented Aug 1, 2024

Prerequisites

Version 0.2.84 or 0.2.85 and using create_chat_completion method.
Tried different GGUF models.

Please answer the following questions for yourself before submitting an issue.

  • [ X ] I am running the latest code. Development is very rapid so there are no tagged versions as of now.
  • [ X ] I carefully followed the README.md.
  • [ X ] I searched using keywords relevant to my issue to make sure that I am creating a new issue that is not already open (or closed).
  • [ X ] I reviewed the Discussions, and have a new bug or useful enhancement to share.

Expected Behavior

Provide a result as described in the documentation.

Current Behavior

Inference is stuck (I let it run for 5 minutes).
After downgrading to version 0.2.83 everything runs without a single change in the code.

Environment and Context

Mac M1 MAX, 32GB RAM, MacOS 14.5, Python 3.12, llama-cpp-python 0.2.84/5.

@shamitv
Copy link
Contributor

shamitv commented Aug 3, 2024

Can't recreate this issue with :

M1 , Python 3.12 , 0.2.85 , Phi-3 and Llama 3.1

image

image

@mobeetle
Copy link
Author

mobeetle commented Aug 4, 2024 via email

@shamitv
Copy link
Contributor

shamitv commented Aug 5, 2024

Don't see the attachment somehow.

@mobeetle
Copy link
Author

mobeetle commented Aug 5, 2024 via email

@handshape
Copy link

Yup - willing to bet this is fixed in #1649 - there's a whole cluster of issues that will get cleared with this change.

@abetlen abetlen added the bug Something isn't working label Aug 7, 2024
@shamitv
Copy link
Contributor

shamitv commented Aug 11, 2024

Version 0.2.87 does not have this issue

image

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

4 participants