[PR #778] [MERGED] [Fix] Shape error in KLinearMarlin #1479

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

📋 Pull Request Information

Original PR: https://github.com/kvcache-ai/ktransformers/pull/778
Author: @Conless
Created: 3/3/2025
Status: ✅ Merged
Merged: 3/3/2025
Merged by: @Atream

Base: main ← Head: fix-shape


📝 Commits (1)

  • 01755a6 fix: wrong shape in KLinearMarlin.

📊 Changes

1 file changed (+0 additions, -1 deletions)

View changed files

📝 ktransformers/operators/linear.py (+0 -1)

📄 Description

This pull request resolves issue #710, which occurred due to a duplicate and incorrect assignment to orig_shape. Specifically, the line 350 should be removed to prevent overwriting the intended value.

github.com/kvcache-ai/ktransformers@4e43e8a4ee/ktransformers/operators/linear.py (L343-L351)


🔄 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/778 **Author:** [@Conless](https://github.com/Conless) **Created:** 3/3/2025 **Status:** ✅ Merged **Merged:** 3/3/2025 **Merged by:** [@Atream](https://github.com/Atream) **Base:** `main` ← **Head:** `fix-shape` --- ### 📝 Commits (1) - [`01755a6`](https://github.com/kvcache-ai/ktransformers/commit/01755a60c055d194c2851a57edc0536bbee44f08) fix: wrong shape in KLinearMarlin. ### 📊 Changes **1 file changed** (+0 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `ktransformers/operators/linear.py` (+0 -1) </details> ### 📄 Description This pull request resolves issue #710, which occurred due to a duplicate and incorrect assignment to `orig_shape`. Specifically, the line 350 should be removed to prevent overwriting the intended value. https://github.com/kvcache-ai/ktransformers/blob/4e43e8a4ee1da87ef1e0e107d68254e9497a1815/ktransformers/operators/linear.py#L343-L351 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-29 14:52:47 +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#1479
No description provided.