{{ message }}
Repository navigation
[staging CI] unslothai/unsloth#14510 - #508
Closed
danielhanchen wants to merge 2 commits into
Closed
danielhanchen wants to merge 2 commits into
danielhanchen wants to merge 2 commits into
Conversation
An fp8 or fp8_scaled ComfyUI Krea 2 file (13 GB) on a GPU with no fp8 runtime is widened to bf16 in host RAM (about 26 GB) before the denoiser is placed. With too little free memory the process was killed (Linux OOM killer, Windows commit limit), taking the whole app down instead of failing the load. Price the new host memory from the safetensors header (tensors already at the compute dtype stay memory-mapped and cost nothing) and refuse with a readable message before any widening, in both the original-layout loader and the ComfyUI-quantized loader. UNSLOTH_DIFFUSION_HOST_RAM_CHECK=0 skips the check.
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.

Disposable CI run for unslothai#14510. Do not merge; closed after CI.