Add exit-on-error option for tritonserver (#76)

This fixes #60 
Co-authored-by: = <s.bertl@iaea.org>
This commit is contained in:
stephanbertl 2024-07-07 14:51:23 +02:00 committed by GitHub
parent 7ba356efc9
commit 666ce26ab2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -540,6 +540,12 @@ def main():
parser.add_argument(
'--t-log-verbose', type=str,
help='<integer> Triton server logging verbosity (default disabled)')
parser.add_argument(
'--t-exit-on-error', type=bool, default=True,
help='Exits the inference server if any error occurs during initialization.'
'Recommended to set to True to catch any unanticipated errors.'
'False prevents single models breaking the whole tritonserver.'
)
args = parser.parse_args()