Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore link check for all localhost/0.0.0.0/127.0.0.1 urls #1226

Merged
merged 5 commits into from
Sep 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/linkcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ jobs:
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: 'yes'
config-file: '.github/workflows/mlc_config.json'
13 changes: 13 additions & 0 deletions .github/workflows/mlc_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"ignorePatterns": [
{
"pattern": ".*localhost.*"
},
{
"pattern": ".*127\\.0\\.0\\.1.*"
},
{
"pattern": ".*0\\.0\\.0\\.0.*"
}
]
}
4 changes: 2 additions & 2 deletions docs/use-cases/cv/image-classification.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +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
4 changes: 2 additions & 2 deletions docs/use-cases/nlp/question-answering.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +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
4 changes: 2 additions & 2 deletions docs/use-cases/nlp/token-classification.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +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
4 changes: 2 additions & 2 deletions docs/user-guide/deepsparse-docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ Alternatively, you can run the two commands in a single line:
```bash
docker container run -p 5543:5543 deepsparse_docker deepsparse.server --task sentiment_analysis --model_path "zoo:nlp/sentiment_analysis/distilbert-none/pytorch/huggingface/sst2/pruned90-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:
```python
Expand Down
Loading