Commit 15563bf
SamoraHunter
Fix CatBoost timeout handling: treat KeyboardInterrupt as signal artifact
CatBoost interprets SIGALRM (used for timeouts) as a KeyboardInterrupt. This change catches KeyboardInterrupt specifically for CatBoost models and treats it as a timeout to prevent pipeline crashes.1 parent 1bc3bbb commit 15563bf
1 file changed
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
578 | 578 | | |
579 | 579 | | |
580 | 580 | | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
581 | 593 | | |
582 | 594 | | |
583 | 595 | | |
| |||
919 | 931 | | |
920 | 932 | | |
921 | 933 | | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
| 942 | + | |
| 943 | + | |
| 944 | + | |
| 945 | + | |
922 | 946 | | |
923 | 947 | | |
924 | 948 | | |
| |||
0 commit comments