question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Snapshot branch: Starting model server fails

See original GitHub issue

Now that the model server installs, it’s failing to start. This command:

torchserve --start --model-store modelstore

…gets this result:

Traceback (most recent call last):
  File "/home/ubuntu/anaconda3/envs/ts/bin/torchserve", line 11, in <module>
    sys.exit(start())
  File "/home/ubuntu/anaconda3/envs/ts/lib/python3.6/site-packages/ts/model_server.py", line 30, in start
    if args.version or args.v:
AttributeError: 'Namespace' object has no attribute 'v'

Attempting to work around by adding -v or --version responds with the usage info and a different error message:

torchserve: error: argument -v/--version: not allowed with argument --start

I’m going to see if I can code around this so I can actually test.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mycpuorgcommented, Mar 25, 2020

@harshbafna To help further can we please share the output of results from UTs and startup scripts with the latest commits on this branch here? Clearly stating what was tested?

0reactions
mycpuorgcommented, Apr 9, 2020

PR #171 merged to master

Read more comments on GitHub >

github_iconTop Results From Across the Web

Deploying a snapshot for IBM Business Process Manager ...
When you deploy a snapshot for IBM Business Process Manager, it fails to install. When you check the SystemOut.log file for the target...
Read more >
Model store property on starting TorchServe · Issue #86 - GitHub
Confirmed in snapshot branch: TorchServe now throws an error on start when the specified model store folder does not exist.
Read more >
Windows Server 2012 VM created from Snapshot fails to Boot ...
Step 1: Create Recovery VM Instance and Start it. This instance is temporary instance and you may delete it after you recover your...
Read more >
Troubleshoot Content Distribution issues - Microsoft Learn
Original product version: Configuration Manager current branch, ... Failure count = 1, Restart time = 12/4/2014 6:14:27 AM Eastern Standard ...
Read more >
<value> does not support creating a snapshot—ArcGIS Pro
Error 00377 : <value> does not support creating a snapshot. ... Save a service definition ... Publish to a stand-alone server.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found