Open amirhmk opened 1 year ago
Always a good idea to separate issues @amirhmk, Thanks!
np_to_triton_dtype actually comes from triton itself.
Would you like to offer them a fix? It should be something like
elif np_dtype == str:
return "STRING"
Have been working on model ensemble, continuing conversations from https://github.com/allegroai/clearml-serving/issues/53, just thought it may be a better idea to create new issues for different things that I find along the way. Essentially we want the output of the model be a S3 path where all the results are saved to as a JSON.
However it doesn't seem like clearml-serving is mapping
object
datatype properly? Triton does support strings..The issue lies here I believe: np_to_triton_dtype. This currently maps an object to
TYPE_BYTES
to be written to theconfig.pbtxt
file (which is not a valid type as per link above), whereas it should beTYPE_STRING
.