Pipeline library: a save the host has no memory for waits for a later one instead of aborting the process #1678

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

@⁠101Leafy on GitHub · 2026-11-28 23:21 UTC · original
101Leafy:nv/library-save-nomem → main · +37 −18 · 11 files · 4 commits · merged 2026-11-29 08:16 UTC

A library save asks for one buffer the size of the whole library, about 1.7 GB on NVIDIA. When the host could not give it, the allocation aborted the process ("memory allocation of ... bytes failed"). Now the buffer is reserved with try_reserve_exact; if that fails the save returns an out-of-memory error, the pipelines stay added, and a later save writes them.

No switch: with enough memory nothing changes. A refused save shows as the usual failed-save warning in the log instead of a crash. Test: a_save_buffer_the_host_cannot_give_is_refused.

**@⁠101Leafy** on GitHub · 2026-11-28 23:21 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1678) `101Leafy:nv/library-save-nomem` → `main` · +37 −18 · 11 files · 4 commits · merged 2026-11-29 08:16 UTC A library save asks for one buffer the size of the whole library, about 1.7 GB on NVIDIA. When the host could not give it, the allocation aborted the process ("memory allocation of ... bytes failed"). Now the buffer is reserved with `try_reserve_exact`; if that fails the save returns an out-of-memory error, the pipelines stay added, and a later save writes them. No switch: with enough memory nothing changes. A refused save shows as the usual failed-save warning in the log instead of a crash. Test: `a_save_buffer_the_host_cannot_give_is_refused`.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 23:24:42 +00:00
github-bot force-pushed github-bot/gh-1678 from 5d93fdea28 to 63be24fbfb 2026-11-29 01:46:22 +00:00 Compare
github manually merged commit 7b24c5804d into main 2026-11-29 08:21:43 +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!1678
No description provided.