Skip to content

Commit

Permalink
Ignore server urls
Browse files Browse the repository at this point in the history
  • Loading branch information
mgoin committed Apr 25, 2023
1 parent c86e65f commit 66a770b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/use-cases/cv/image-classification.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,9 @@ deepsparse.server \
--task image_classification \
--model_path zoo:cv/classification/resnet_v1-50/pytorch/sparseml/imagenet/pruned95_quant-none
```
<!-- markdown-link-check-disable -->
You should see Uvicorn report that it is running on http://0.0.0.0:5543. Once launched, a /docs path is created with full endpoint descriptions and support for making sample requests.
<!-- markdown-link-check-enable -->

Here is an example client request, using the Python requests library for formatting the HTTP:

Expand Down
2 changes: 2 additions & 0 deletions docs/use-cases/nlp/question-answering.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,9 @@ deepsparse.server \
--task question-answering \
--model_path zoo:nlp/question_answering/obert-base/pytorch/huggingface/squad/pruned90_quant-none # or path/to/onnx
```
<!-- markdown-link-check-disable -->
You should see Uvicorn report that it is running on http://0.0.0.0:5543. Once launched, a /docs path is created with full endpoint descriptions and support for making sample requests.
<!-- markdown-link-check-enable -->

Here is an example client request, using the Python requests library for formatting the HTTP:
```python
Expand Down
2 changes: 2 additions & 0 deletions docs/use-cases/nlp/token-classification.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,9 @@ deepsparse.server \
--task token_classification \
--model_path "zoo:nlp/token_classification/obert-base/pytorch/huggingface/conll2003/pruned90_quant-none" # or path/to/onnx
```
<!-- markdown-link-check-disable -->
You should see Uvicorn report that it is running on http://0.0.0.0:5543. Once launched, a /docs path is created with full endpoint descriptions and support for making sample requests.
<!-- markdown-link-check-enable -->

Here is an example client request, using the Python requests library for formatting the HTTP:
```python
Expand Down

0 comments on commit 66a770b

Please sign in to comment.