Comments (6)
Can you try curl http://127.0.0.1:8080/ping
? It will return Status equals Healthy if your service run smoothly, else return Unhealthy
from serve.
This is my config.properties
file, you can refer to it:
inference_address=http://0.0.0.0:8080
management_address=http://0.0.0.0:8081
metrics_address=http://0.0.0.0:8082
load_models=all
install_py_dep_per_model=true
model_store=model-store
models={\
"FaceDetection": {\
"1.0": {\
"defaultVersion": true,\
"marName": "FaceDetection.mar",\
"minWorkers": 1,\
"maxWorkers": 1,\
"batchSize": 256,\
"maxBatchDelay": 100,\
"responseTimeout": 120\
}\
},\
"FaceExpression": {\
"1.0": {\
"defaultVersion": true,\
"marName": "FaceExpression.mar",\
"minWorkers": 1,\
"maxWorkers": 4,\
"batchSize": 256,\
"maxBatchDelay": 100,\
"responseTimeout": 120\
}\
},\
"FaceRecognition": {\
"1.0": {\
"defaultVersion": true,\
"marName": "FaceRecognition.mar",\
"minWorkers": 1,\
"maxWorkers": 4,\
"batchSize": 256,\
"maxBatchDelay": 100,\
"responseTimeout": 120\
}\
},\
"HumanPose": {\
"1.0": {\
"defaultVersion": true,\
"marName": "HumanPose.mar",\
"minWorkers": 1,\
"maxWorkers": 4,\
"batchSize": 256,\
"maxBatchDelay": 100,\
"responseTimeout": 120\
}\
},\
"ActionRecognition": {\
"1.0": {\
"defaultVersion": true,\
"marName": "ActionRecognition.mar",\
"minWorkers": 1,\
"maxWorkers": 4,\
"batchSize": 256,\
"maxBatchDelay": 100,\
"responseTimeout": 120\
}\
}\
}
from serve.
@danial880 Once you've started torchserve and loaded the model could you please try the following API to check that the model has been successfully loaded and the workers have started successfully:
curl http://127.0.0.1:8081/models/facex
Also, when you run curl -X POST http://127.0.0.1:8080/predictions/facex -T 0294.png
what happens?
Does curl hang or show any error?
from serve.
Status
Model Info
Upon posting image: curl command get executed with no error
from serve.
Related Issues (20)
- Model with name <name> is not ready. HOT 22
- Improve configuration handling with KServe
- Broken Link to the debug-torchserve-backend page HOT 1
- Setup custom metric with Kubernetes dimensions HOT 1
- Configuration of gRPC MAX_CONNECTION_AGE and MAX_CONNECTION_AGE_GRACE HOT 1
- Clean up metrics documentation
- How to 'Create model archive pod and run model archive file generation script' in the ‘User Guide’ HOT 3
- [RFC]: Deprecation notice for TorchServe macOS x86 builds, binaries & testing
- very high QueueTime
- Add support for MPS in the basehandler HOT 1
- torchserve output customization HOT 3
- Exception when using torchserve to deploy hugging face model: java.lang.InterruptedException: null HOT 4
- Real-time Object Detection HOT 7
- PyTorch serve with custom translators returning Unknown exception HOT 4
- Newer Base Image KServe Container fails with exec /usr/local/bin/dockerd-entrypoint.sh: exec format error HOT 7
- Reduce or remove worker retries for specific failures HOT 6
- Update describe model management API to show all model configuration options
- support install cpp dependency in auto-benchmark
- Custom class handler missing BaseHandler
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from serve.