Constant views: VICTORY_CBV_ONCE=1 gives the views of the same bytes in a list one copy until it next writes title memory #1848

Manually merged
github merged 4 commits from github-bot/gh-1848 into main 2026-11-29 08:21:34 +00:00 AGit
Owner

@⁠101Leafy on GitHub · 2026-11-29 00:45 UTC · original
101Leafy:nv/cbv-once → main · +77 −21 · 12 files · 4 commits · merged 2026-11-29 08:16 UTC

Every constant view in a list gets its own scratch copy of the bytes it shows, even when many views in the same list point at the same title memory.

With VICTORY_CBV_ONCE=1, views of the same bytes share one copy until the list next writes title memory. After that write a view gets a fresh copy, so it still sees the bytes as of the submission. A shared copy is filled on the CPU, not by the card, and the log counts the views that found a copy already made.

Off by default; without the switch nothing changes.

**@⁠101Leafy** on GitHub · 2026-11-29 00:45 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1848) `101Leafy:nv/cbv-once` → `main` · +77 −21 · 12 files · 4 commits · merged 2026-11-29 08:16 UTC Every constant view in a list gets its own scratch copy of the bytes it shows, even when many views in the same list point at the same title memory. With VICTORY_CBV_ONCE=1, views of the same bytes share one copy until the list next writes title memory. After that write a view gets a fresh copy, so it still sees the bytes as of the submission. A shared copy is filled on the CPU, not by the card, and the log counts the views that found a copy already made. Off by default; without the switch nothing changes.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 00:50:42 +00:00
github-bot force-pushed github-bot/gh-1848 from e57f8260c1 to 311cbba7ef 2026-11-29 01:54:39 +00:00 Compare
github manually merged commit e8a5ead294 into main 2026-11-29 08:21:34 +00:00
This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
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
github/trustno1-coder--VIctory-NVIDIA!1848
No description provided.