sliderforthewin/Looped-DeepSeek-V4.1-Flash

This is a loop-depth adapter attached to the frozen DeepSeek-V4.1-Flash-1017: approximately 3540 ten-thousand parameters (about 71 MB in BF16), which causes the 12 intermediate layers from layer 24 to 35 to run one or two additional times before passing output to subsequent layers; when running once, it is bit-for-bit identical to the original model. The author self-tested on 33 medium-to-hard problems in LiveCodeBench v6: full precision improved from 75.8% to 84.8%, and average thinking tokens decreased by 27%; the 1.75-bit quantized version on Apple computers, combined with LoopCD, improved from 57.6% to 75.8%. The author's GitHub repository dsv41-loop-eval provides one-click installation and a complete set of evaluation scripts for Apple computers (sushi) and NVIDIA (vLLM plugin).

This is a loop-depth adapter attached to the frozen DeepSeek-V4.1-Flash-1017: approximately 3540 ten-thousand parameters (about 71 MB in BF16), which causes the 12 intermediate layers from layer 24 to 35 to run one or two additional times before passing output to subsequent layers; when running once, it is bit-for-bit identical to the original model. The author self-tested on 33 medium-to-hard problems in LiveCodeBench v6: full precision improved from 75.8% to 84.8%, and average thinking tokens decreased by 27%; the 1.75-bit quantized version on Apple computers, combined with LoopCD, improved from 57.6% to 75.8%. The author's GitHub repository dsv41-loop-eval provides one-click installation and a complete set of evaluation scripts for Apple computers (sushi) and NVIDIA (vLLM plugin).

Why it matters It does not modify the original model weights, only adding a very small adapter; the author claims that when running the low-bit quantized version on Apple computers, accuracy catches up to cloud-based full precision.

Upvotes 3 · Likes 4 · Downloads 0

Reasons

  • Uploaded on 2 12, MIT license; Hugging Face upvotes 3, likes 4 (only representing attention)
  • The model card lists the suitable hardware and parameters for each of the 4 checkpoints, and publishes a detailed test table

Usage

  • On Apple computers (macOS 26.2 or above, recommended 64 GB memory), use sushi to load beamster's STQ-1.75bpw package, add --loop pointing to the r5a-000250 checkpoint in this repository, --loop-depth 2, and --loopcd-omega 0.3; NVIDIA requires 4 GPUs of 94 GB or more, or 8 GPUs of 80 GB, install the vllm_loop plugin using vLLM nightly, then set DSV41_LOOP_DIR to start

Risks

  • All results are self-tested by the author on 33 problems, with a small sample size; this is a third-party community work, not official DeepSeek
  • One-click installation uses curl to pipe and directly execute remote scripts; read it first before running; the initial download on Apple computers is about 330 GiB, and the initial download of the original model for the CUDA version is about 500 GiB

Open

Hugging Face

Explore the latest AI Radar updates