Open Kanupriyagoyal opened 6 months ago
Hi @Kanupriyagoyal, thanks for raising this issue!
-1
isn't meant to be used for the actual version folder name, this folder should be a positive unsigned integer version, like 1,2,3.
On the client/API side, using -1
refers to the latest version and the server will look for the highest version number in the model repository.
Hopefully this should resolve your issue. In parallel, I filed a ticket (DLIS-6399) to more gracefully handle some edge cases around this.
@rmccorm4 Another scenario model.py isn't present in the version folder r23.04
| model_test | 1 | UNAVAILABLE: Internal: model.py does not exist in the model repository path:/models/model_test/1/model.py |
r23.12 Server is getting freeze, need to stop the triton container
I0403 11:36:04.965052 17 pb_stub.cc:1926] Failed to preinitialize Python stub: Python model file not found in '/models/model_xgb_rgs_15num/1/model.py'
Expected behavior It should gracefully exit with the message "Failed to load all the models"
Description A clear and concise description of what the bug is.
r23.04
r23.12
Server is going on freezing state. Killing the container only solution to come out
Triton Information What version of Triton are you using? r23.12
Are you using the Triton container or did you build it yourself? Triton container
To Reproduce Steps to reproduce the behavior.
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_1 | |-- -1 | | |-- model.py | |
-- model.txt |
-- config.pbtxtExpected behavior It should gracefully exit with the message "Failed to load all the models"