Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hello, About Clearml-Serving: I Uploaded A Model, A Pre-Processing And Create An Endpoint. I Now Want To Remove These Artifacts. Based On

Hello, about clearml-serving: I uploaded a model, a pre-processing and create an endpoint. I now want to remove these artifacts. Based on None , for the endpoint I can use request_processor.remove_endpoint(endpoint_name)
. How to remove the uploaded model (uploded using None ) and the associated preprocessing.py? Thanks in advance for your help

  
  
Posted one month ago
Votes Newest

Answers 5


@<1683648242530652160:profile|ApprehensiveSeaturtle9> when removing the endpoint, the function also internally removes the registered input model

  
  
Posted one month ago

Yes, I think you're correct - care to add a PR? 🙂

  
  
Posted one month ago

It does but not the OutputModel and the preprocess artifact. I managed to do it by adding:

if _task.artifacts.get(model_endpoint.preprocess_artifact):
    _task.delete_artifacts([model_endpoint.preprocess_artifact])
Model.remove(model_endpoint.model_id)

Maybe this should be add to the func_model_remove method?

  
  
Posted one month ago

Hi thank you for your answer, this command call the method func_model_remove which remove the endpoint , model_monitoring and canary_endpoint but it does not remove the OutputModel and the py_code_mymodel.py (preprocessing) from the serving service

  
  
Posted one month ago

Hi @<1683648242530652160:profile|ApprehensiveSeaturtle9> , using the clearml-serving model remove ... CLI command you can remove the model endpoint and all associated monitoring. This should also remove the model registered in the system.

  
  
Posted one month ago
122 Views
5 Answers
one month ago
one month ago
Tags