ComfyUI
ComfyUI copied to clipboard
mm: discard async errors from pinning failures
trafficstars
Pretty much every error cudaHostRegister can throw also queues the same error on the async GPU queue. This was fixed for repinning error case, but there is the bad mmap and just enomem cases that are harder to detect.
Do some dummy GPU work to clean the error state.