[PR #180] [CLOSED] Sampler: add llama.cpp-compatible DRY penalties #2493

Closed
opened 2026-11-04 02:00:41 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/180
Author: @bearice
Created: 9/30/2026
Status: ❌ Closed

Base: main ← Head: codex/dry-penalties


📝 Commits (1)

  • 4a724ed Sampler: add llama.cpp-compatible DRY penalties

📊 Changes

6 files changed (+530 additions, -70 deletions)

View changed files

📝 include/strata/core/verify.hpp (+3 -3)
📝 include/strata/kernels/sampler.hpp (+20 -4)
📝 serve/server.py (+60 -2)
📝 src/kernels/cuda/sampler.cu (+275 -50)
📝 src/program/generate.cpp (+113 -11)
📝 tools/strata_tokenizer.py (+59 -0)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/180 **Author:** [@bearice](https://github.com/bearice) **Created:** 9/30/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `codex/dry-penalties` --- ### 📝 Commits (1) - [`4a724ed`](https://github.com/Niko1221/Strata/commit/4a724ed833d913f20f04421eacf2eaef0a9d2b24) Sampler: add llama.cpp-compatible DRY penalties ### 📊 Changes **6 files changed** (+530 additions, -70 deletions) <details> <summary>View changed files</summary> 📝 `include/strata/core/verify.hpp` (+3 -3) 📝 `include/strata/kernels/sampler.hpp` (+20 -4) 📝 `serve/server.py` (+60 -2) 📝 `src/kernels/cuda/sampler.cu` (+275 -50) 📝 `src/program/generate.cpp` (+113 -11) 📝 `tools/strata_tokenizer.py` (+59 -0) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-04 02:00:41 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#2493
No description provided.