th#1043: forced group-fit fp8 survives the bf16-resident upcast (0.48.1)#375
Merged
Merged
Conversation
Live 0.48.0 pod showed the joint fp8 forcing being silently un-done by load_from_pretrained's single-lane resident-upcast check (gw#534 rung 2): the first lane fit current free VRAM alone, upgraded back to bf16, and re-starved its sibling into the refused offload placement. A forced storage dtype now disables the local upgrade — the headroom belongs to the group, not the first lane to load.
PaulFidika
added a commit
that referenced
this pull request
Jul 23, 2026
….1) (#375) Live 0.48.0 pod showed the joint fp8 forcing being silently un-done by load_from_pretrained's single-lane resident-upcast check (gw#534 rung 2): the first lane fit current free VRAM alone, upgraded back to bf16, and re-starved its sibling into the refused offload placement. A forced storage dtype now disables the local upgrade — the headroom belongs to the group, not the first lane to load.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
load_from_pretrained's gw#534 bf16-resident upcast check evaluates a SINGLE lane against current free VRAM, saw the first lane fit alone, and upgraded it back to full bf16 residency (in_vram 43.2GB) — re-starving the sibling lane into the offload placement the shared-component invariant refuses.force_storage_dtype(the joint group decision) now passesallow_bf16_resident_upgrade=False— a forced fp8 lane never locally upgrades; the headroom belongs to the group.Test plan
bf16_resident_fitsreturning True, an unforced fp8 load still upgrades (gw#534 preserved) while a forced one keeps fp8 hooks armed (real tiny diffusers pipeline, CPU)