triton-inference-server / fil_backend

FIL backend for the Triton Inference Server
Apache License 2.0
72 stars 36 forks source link

Check for nullptr when unloading model #29

Closed wphicks closed 3 years ago

wphicks commented 3 years ago

Ensure that model state pointer is not null when unloading model to prevent segfault on failed load

wphicks commented 3 years ago

@divyegala Could I trouble you for a quick look at this one? It's a very small change which ensures a graceful exit for model load failure at a specific point.