Derive InterruptProcessingException from BaseException (#13523)
parent
cc6f9500a1
commit
9949c19c63
|
|
@ -1801,7 +1801,7 @@ def debug_memory_summary():
|
|||
return torch.cuda.memory.memory_summary()
|
||||
return ""
|
||||
|
||||
class InterruptProcessingException(Exception):
|
||||
class InterruptProcessingException(BaseException):
|
||||
pass
|
||||
|
||||
interrupt_processing_mutex = threading.RLock()
|
||||
|
|
|
|||
Loading…
Reference in New Issue