[PR #1499] [CLOSED] core: write reduced helper rows directly to mapped output #3493

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

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/1499
Author: @W1nge
Created: 10/8/2026
Status: ❌ Closed

Base: main ← Head: codex/remote-reduced-mapped-output


📝 Commits (2)

  • 2edbb05 core: write reduced helper output directly to mapped host memory
  • 37133e4 Merge remote-tracking branch 'upstream/main' into codex/remote-reduced-mapped-output

📊 Changes

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

View changed files

📝 src/core/remote_expert_opt.cu (+5 -1)

📄 Description

Summary

Reduced helper output takes an extra device-to-host copy even when mapped output exists. Write the reduced rows directly to that mapping; finish() synchronizes the same stream before host accumulation.

What changed

One file, +5/-1. Reuse the existing capability check and retain the device-buffer/copy fallback. Reduction arithmetic, allocations and settings stay the same.

Validation

Updated to main 61b3fb5d; full MSVC/CUDA integration build passes for sm60;sm75. Earlier isolated Windows comparisons matched response text with mapping enabled and disabled. Coding decode improved 1.13%; general decode did not improve, so no universal speed claim.

Draft pending the affected HIP build. Current-main model inference was not repeated. Retained measurements.


🔄 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/1499 **Author:** [@W1nge](https://github.com/W1nge) **Created:** 10/8/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `codex/remote-reduced-mapped-output` --- ### 📝 Commits (2) - [`2edbb05`](https://github.com/Niko1221/Strata/commit/2edbb0535633bd9a78f899286b57b831e2381bf1) core: write reduced helper output directly to mapped host memory - [`37133e4`](https://github.com/Niko1221/Strata/commit/37133e42ccb12f30ddbadbadc31699adf2354274) Merge remote-tracking branch 'upstream/main' into codex/remote-reduced-mapped-output ### 📊 Changes **1 file changed** (+5 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/core/remote_expert_opt.cu` (+5 -1) </details> ### 📄 Description ## Summary Reduced helper output takes an extra device-to-host copy even when mapped output exists. Write the reduced rows directly to that mapping; `finish()` synchronizes the same stream before host accumulation. ## What changed One file, +5/-1. Reuse the existing capability check and retain the device-buffer/copy fallback. Reduction arithmetic, allocations and settings stay the same. ## Validation Updated to main `61b3fb5d`; full MSVC/CUDA integration build passes for `sm60;sm75`. Earlier isolated Windows comparisons matched response text with mapping enabled and disabled. Coding decode improved 1.13%; general decode did not improve, so no universal speed claim. Draft pending the affected HIP build. Current-main model inference was not repeated. [Retained measurements](https://github.com/W1nge/Strata/blob/57e6cbf90e1b76abec51e38c16bfc390dfd72664/docs/performance/PART2-MAPPED-OUTPUT-2026-10-08.md). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 14:41:51 +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#3493
No description provided.