There will be an infinite output of tokens

#1
by sqh11 - opened
MLX Community org

There may be an infinite output of tokens, and I have observed a similar situation with the publisher. Can this issue be fixed?
link:https://huggingface.co/poolside/Laguna-S-2.1/discussions/12

MLX Community org

Before uploading, when I was running some tests, I did find this behavior in specific scenarios for the lower quants (oQ2e-fast, oQ2e and oQ3e), but I managed to solve it with a repetition penalty of 1.05, which is set in the configuration file.

Did you experience the issue with the oQ2e as well? I'm not able to reproduce it anymore.

MLX Community org

Before uploading, when I was running some tests, I did find this behavior in specific scenarios for the lower quants (oQ2e-fast, oQ2e and oQ3e), but I managed to solve it with a repetition penalty of 1.05, which is set in the configuration file.

Did you experience the issue with the oQ2e as well? I'm not able to reproduce it anymore.
Yes, I am using omlx 0.5.3 and running oQ2e version on a device with m1 max 64GB. When solving practical problems, I have encountered multiple issues with unlimited token output, and I cannot confirm whether it is an omlx or quantization problem.

MLX Community org

can you check if you're using a repetition penalty of 1.05?

MLX Community org

can you check if you're using a repetition penalty of 1.05?
The repetition penalty has always been 1.05. Yesterday, I replaced an SDD cache hard drive, and the model is still functioning normally until now.

Sign up or log in to comment