This repository was archived by the owner on Jun 3, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/content/use-cases/deploying-deepsparse Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ This image is based off the latest official Ubuntu image.
16
16
You can access the already built image detailed at https://github.com/orgs/neuralmagic/packages/container/package/deepsparse :
17
17
18
18
``` bash
19
- $ docker pull ghcr.io/neuralmagic/deepsparse:1.0.2-debian11
20
- $ docker tag ghcr.io/neuralmagic/deepsparse:1.0.2-debian11 deepsparse_docker
19
+ docker pull ghcr.io/neuralmagic/deepsparse:1.0.2-debian11
20
+ docker tag ghcr.io/neuralmagic/deepsparse:1.0.2-debian11 deepsparse_docker
21
21
```
22
22
23
23
## Extend
@@ -32,19 +32,19 @@ from ghcr.io/neuralmagic/deepsparse:1.0.2-debian11
32
32
33
33
## Build
34
34
35
- In order to build and launch this image, run from the root directory under the DeepSparse Repo:
35
+ In order to build and launch this image, run from the ` docker/ ` directory under the DeepSparse Repo:
36
36
``` bash
37
37
$ docker build -t deepsparse_docker . && docker run -it deepsparse_docker ${python_command}
38
38
```
39
39
40
40
For example:
41
41
42
42
``` bash
43
- $ docker build -t deepsparse_docker . && docker run -it deepsparse_docker deepsparse.server --task question_answering --model_path " zoo:nlp/question_answering/bert-base/pytorch/huggingface/squad/12layer_pruned80_quant-none-vnni"
43
+ docker build -t deepsparse_docker . && docker run -it deepsparse_docker deepsparse.server --task question_answering --model_path " zoo:nlp/question_answering/bert-base/pytorch/huggingface/squad/12layer_pruned80_quant-none-vnni"
44
44
````
45
45
46
46
If you want to use a specific branch from deepsparse you can use the ` GIT_CHECKOUT` build arg:
47
47
48
48
` ` ` bash
49
- $ docker build --build-arg GIT_CHECKOUT=main -t deepsparse_docker .
49
+ docker build --build-arg GIT_CHECKOUT=main -t deepsparse_docker .
50
50
` ` `
You can’t perform that action at this time.
0 commit comments