Derive InterruptProcessingException from BaseException

This commit is contained in:
blepping 2026-04-22 15:12:22 -06:00
parent c514890325
commit b8615263b9

View File

@ -1801,7 +1801,7 @@ def debug_memory_summary():
return torch.cuda.memory.memory_summary() return torch.cuda.memory.memory_summary()
return "" return ""
class InterruptProcessingException(Exception): class InterruptProcessingException(BaseException):
pass pass
interrupt_processing_mutex = threading.RLock() interrupt_processing_mutex = threading.RLock()