The model in quantum UD-Q4_K_M cycles at a distance

#10
by Salormatik999 - opened

the model went into a loop after 10 minutes of reasoning

Fixed in newest release. Unsloth doesn't yet include the fix.
Wait for re-upload or use official

They didn't fix anything, the problem remains.

Just wanted to add here, my setup was missing config, and I saw this post, https://www.reddit.com/r/LocalLLaMA/comments/1v3wyre/comment/oz9ypep/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

they suggested --rope-scaling yarn --rope-scale 32 --yarn-orig-ctx 8192

After adding that it thinks perfectly.

Can confirm the solution above works, thanks @H-J-D .

It works for me using llama.cpp (version: 10106 (1425386fd)), and the following entry in models.ini:

[Laguna-S-2.1-MXFP4-coding-256k]
model = /XXXXX/Laguna-S-2.1-MXFP4_MOE-00001-of-00003.gguf
flash-attn = true
jinja = true
ctx-size = 256000

# YaRN RoPE Scaling fixes for thinking loops
rope-scaling = yarn
yarn-orig-ctx = 8192
rope-scale = 32

# Reasoning & sampling
temp = 0.6
top-p = 0.95
top-k = 20

cache-type-k = bf16
cache-type-v = bf16

I am not sure if the settings shown above are optimal, but they work well for me.

maybe use repeat penalty

Sign up or log in to comment