[PR #897] [MERGED] Add Unit Test for Local Chat #1507

Closed
opened 2026-10-29 14:53:01 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/kvcache-ai/ktransformers/pull/897
Author: @SkqLiao
Created: 3/15/2025
Status: ✅ Merged
Merged: 3/15/2025
Merged by: @SkqLiao

Base: main ← Head: main


📝 Commits (10+)

📊 Changes

2 files changed (+183 additions, -6 deletions)

View changed files

📝 .github/workflows/install.yml (+12 -6)
➕ ktransformers/local_chat_test.py (+171 -0)

📄 Description

  • add "test" option for CI/CD
  • Add two Local Chat Test (for correctness):
    • Model: DeepSeek-R1-Q4_K_M
    • param: max_new_tokens 256, cpu_infer 64
    • prompt_file: book.txt / chinese.txt

🔄 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/kvcache-ai/ktransformers/pull/897 **Author:** [@SkqLiao](https://github.com/SkqLiao) **Created:** 3/15/2025 **Status:** ✅ Merged **Merged:** 3/15/2025 **Merged by:** [@SkqLiao](https://github.com/SkqLiao) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (10+) - [`12949c8`](https://github.com/kvcache-ai/ktransformers/commit/12949c8acd9120a5c9d75a6b53ce667f586a82de) fix default options - [`0f1684c`](https://github.com/kvcache-ai/ktransformers/commit/0f1684c28d306aed40198dcc959fbc63977cef09) local chat for cicd test - [`9812d57`](https://github.com/kvcache-ai/ktransformers/commit/9812d57c1196856f9f6c526d0ad0191cad403f6b) fix typo, logging to file - [`57cf449`](https://github.com/kvcache-ai/ktransformers/commit/57cf449a97097045b560001d1dcb9ce5754be42f) fix command - [`129e013`](https://github.com/kvcache-ai/ktransformers/commit/129e013b41133e9bf236642fa43362e68623716a) rename cicd - [`a31e099`](https://github.com/kvcache-ai/ktransformers/commit/a31e09969f8423fd9cd93130e00a0376eeffe024) fix typo - [`0be19c3`](https://github.com/kvcache-ai/ktransformers/commit/0be19c39e97fc81e3c5113dacfee7ae0832b0833) change cicd option default - [`f21ea70`](https://github.com/kvcache-ai/ktransformers/commit/f21ea700f30979dcd9ffb3150264316e9085a65a) fix term - [`2ed4dff`](https://github.com/kvcache-ai/ktransformers/commit/2ed4dff85d70a357b055446839eaa0ecbfc15c6c) fix command typo - [`336b5dd`](https://github.com/kvcache-ai/ktransformers/commit/336b5dd59024ee5434fe8daabfa0762a68b63e60) fix sed command ### 📊 Changes **2 files changed** (+183 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/install.yml` (+12 -6) ➕ `ktransformers/local_chat_test.py` (+171 -0) </details> ### 📄 Description - add "test" option for CI/CD - Add two Local Chat Test (for correctness): - Model: DeepSeek-R1-Q4_K_M - param: max_new_tokens 256, cpu_infer 64 - prompt_file: book.txt / chinese.txt --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-29 14:53:01 +00: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
kvcache-ai/ktransformers#1507
No description provided.