Derive InterruptProcessingException from BaseException (#13523)

This commit is contained in:
blepping 2026-04-22 16:08:19 -06:00 committed by GitHub
parent cc6f9500a1
commit 9949c19c63
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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()