Replies: 1 comment 4 replies
-
I am catching a Keyboard Interrupt exception (ctrl + c)... |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am looking to stop a stream that is ongoing for any given reason. I set up a stream with the handler as follows, I have a queue and a thread that manages downstream. I have been trying a few things but so far unsucessful. I figured I could pass a stop signal as a token but unsure how.
The callback class is:
And model loaded:
Anyone has an idea on how to achieve such hard stream stop seamlessly?
PS: Llama.cpp is fantastic!
Beta Was this translation helpful? Give feedback.
All reactions