-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
enhancementNew feature or requestNew feature or requestinvestigatingThe developement team is investigating this issueThe developement team is investigating this issue
Description
Description
I've loaded a model via v2/repository/models/simple/load
endpoint.
But when querying v2/repository/index
endpoint I get a []
as a responce.
Triton Information
What version of Triton are you using?
2.42.0
Are you using the Triton container or did you build it yourself?
Triton container, version nvcr.io/nvidia/tritonserver:24.01-py3
To Reproduce
- I've took this model: https://github.com/triton-inference-server/server/tree/main/docs/examples/model_repository/simple
- Loaded it with with python script using
tritonclient
model_name = "simple"
config_path = models_repository[model_name]["config"]
model_path = models_repository[model_name]["model"]
with open(model_path, "rb") as f:
model_bytes = f.read()
json_obj = _pbtxt_to_json(config_path)
triton_client.load_model(
model_name=model_name,
config=json_obj,
files={
"file:1/model.graphdef": model_bytes,
},
)
- Then
triton_client.get_model_repository_index()
# returns: []
Describe the models (framework, inputs, outputs), ideally include the model configuration file (if using an ensemble include the model configuration file for that as well).
Model mentioned above
Expected behavior
I expect than this code:
triton_client.get_model_repository_index()
will return responce according to this specification
$repository_index_response =
[
{
"name" : $string,
"version" : $string #optional,
"state" : $string,
"reason" : $string
},
…
]
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestinvestigatingThe developement team is investigating this issueThe developement team is investigating this issue