Skip to content

fix: guard GPU memory capacity and propagate encoding failures - #1958

Open
leejet wants to merge 1 commit into
masterfrom
fix/gpu-memory-failure-handling
Open

fix: guard GPU memory capacity and propagate encoding failures#1958
leejet wants to merge 1 commit into
masterfrom
fix/gpu-memory-failure-handling

Conversation

@leejet

@leejet leejet commented Sep 10, 2026

Copy link
Copy Markdown
Owner

Summary

  • Reserve 512 MiB for backend scratch buffers and pipelines, reject invalid free-memory reports, and bound availability by tracked residency.
  • Return failures from Flux CLIP/T5 encoding and stop image generation before sampling. Log exceptions escaping graph execution with backend context.

Related Issue / Discussion

Try to fix #1946.

Additional Information

N/A

Checklist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant