Problem with thinking-loops

Open
#39 8 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
zig

Research direction

The issue does not name files, tests, or an entry point. Start by reading the StrixFold inference and generation code, then check whether the reported repetition can be reproduced with the listed DeepSeek-V4.1-Flash models using the unchanged sampling parameters. Done means identifying a reproducible cause or a useful workaround for the thinking loops.

Written by the indexing model from the issue text.

Description

I tried these three models on my StrixFold setup over the past 2-3 weeks:

  • LibertAIDAI/DeepSeek-V4.1-Flash-1017-EXL3-2.9bpw
  • Mia-AiLab/DeepSeek-V4.1-Flash-1017-EXL3-EAQ-v1-2.9-bpw
  • dealignai/DeepSeek-V4.1-Flash-1017-EXL3-2.9bpw-UNCENSORED

All of them start up and seem to work fine at first. But I also saw in all of the three that they sometimes get stuck in an endless thinking-loop where they repeat the last one or two paragraphs over and over.

When this happens, I have to stop them by hand. After prompting to continue they usually leave the loop and continue normally. I did not alter any sampling parameters.

I was wondering if I am the only one who saw this and maybe what I can do about it.

Dominant language
Zig
Stars
76
Forks
9
Avg merge
21h 59m
Merged PRs (30d)
34

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Shoestring-dev/StrixFold

All issues in Shoestring-dev/StrixFold

Similar issues

More Machine Learning issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.