mirror of
https://github.com/clearml/clearml-serving
synced 2025-06-26 18:16:00 +00:00
not tested - exit on cuda oom
This commit is contained in:
@@ -917,6 +917,7 @@ class ModelRequestProcessor(object):
|
||||
if k not in self._endpoints:
|
||||
# atomic
|
||||
self._engine_processor_lookup[k]._model = None
|
||||
print("clearml-serving --id c1a4ebd2586040ad906cf338d16bcb87 model remove --endpoint test_model_sklearn")
|
||||
gc.collect()
|
||||
if hasattr(self._engine_processor_lookup[k]._preprocess, "unload"):
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user