Missing mandatory parameter --model-store
See original GitHub issue📚 The doc issue
I created a config.properties file
model_store="model_store"
load_models=all
models = {\
"tc": {\
"1.0.0": {\
"defaultVersion": true,\
"marName": "text_classifier.mar",\
"minWorkers": 1,\
"maxWorkers": 4,\
"batchSize": 1,\
"maxBatchDelay": 100,\
"responseTimeout": 120\
}\
}\
}
The documentation for torchserve
states:
Customize TorchServe behaviour by using the following command line arguments when you call torchserve:
--model-store Overrides the model_store property in config.properties file
--models Overrides the load_models property in config.properties
This wording implies to me that --model-store is optional, but running torchserve --start
(from a folder containing config.properties) results in the error Missing mandatory parameter --model-store
It seems to me there should only be an error if the model-store location cannot be inferred at all, i.e. it’s not passed via --model-store
or defined in config.properties (it’s not clear how --model-store
can ‘override’ the value in config.properties if it’s mandatory)
Suggest a potential alternative/fix
No response
Issue Analytics
- State:
- Created 10 months ago
- Comments:8
Top Results From Across the Web
Make --model-store optional · Issue #661 - GitHub
I wanted to start MMS with a single well-defined model. ... MMS started however because of the missing --model-store arguments, I saw in...
Read more >Missing mandatory parameter --model-store - PullAnswer
mandatory model_store and optional load_models -- model_store is a mandatory argument. it is either defined in config.property or overridden by ...
Read more >PVWA - SAML Authentication - "Missing mandatory parameter ...
When using the Original SAML Authentication in PVWA and trying to login you see the error; Missing mandatory parameter [username].
Read more >ts.model_server — PyTorch/Serve master documentation
ModelServer") # model-server.jar command line parameters cmd.append("--python") ... else: print("Missing mandatory parameter --model-store") sys.exit(1) if ...
Read more >Models and packages - Finance & Operations | Dynamics 365
To work with models in the model store, you use tools in Microsoft Visual Studio. You can create new models and change parameters...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@david-waterworth “torchserve --ncs --start” can also work if env TS_CONFIG_FILE is defined.
Ahh I see, looks like for that to work you also need to use
--ts-config config.properties
if you use
torchserve --ncs --start
it complainsMissing mandatory parameter --model-store