[PR #2917] [CLOSED] Fix Qwen3.6 hybrid staging allocation on small GPUs #4335

Closed
opened 2026-11-07 15:34:59 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/2917
Author: @CC-David-CC
Created: 10/17/2026
Status: ❌ Closed

Base: main ← Head: fix/qwen36-hybrid-vram-minimal


📝 Commits (1)

  • c7855c2 fix(qwen36): reclaim optional Q8 copies for hybrid staging

📊 Changes

1 file changed (+11 additions, -2 deletions)

View changed files

📝 src/qwen35/q36_engine.cu (+11 -2)

📄 Description

Release optional packed Q8 copies when hybrid staging and CPU-output scratch cannot fit within the VRAM reserve. This fixes Qwen3.6 Q4 startup on the tested Tesla P4. Explicit expert budgets, slots and KEEP_PACKED remain respected.

One source file only. Validated on CUDA 12.0 with the separate compiler fix in #2913: startup and generation passed; seven responses matched the manual workaround. HIP was not compiled.


🔄 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/2917 **Author:** [@CC-David-CC](https://github.com/CC-David-CC) **Created:** 10/17/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/qwen36-hybrid-vram-minimal` --- ### 📝 Commits (1) - [`c7855c2`](https://github.com/Niko1221/Strata/commit/c7855c24ce1611570346db3f14cefa37b40e91f6) fix(qwen36): reclaim optional Q8 copies for hybrid staging ### 📊 Changes **1 file changed** (+11 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/qwen35/q36_engine.cu` (+11 -2) </details> ### 📄 Description Release optional packed Q8 copies when hybrid staging and CPU-output scratch cannot fit within the VRAM reserve. This fixes Qwen3.6 Q4 startup on the tested Tesla P4. Explicit expert budgets, slots and KEEP_PACKED remain respected. One source file only. Validated on CUDA 12.0 with the separate compiler fix in #2913: startup and generation passed; seven responses matched the manual workaround. HIP was not compiled. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 15:34:59 +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#4335
No description provided.