Update README.md
This commit is contained in:
parent
fb45648874
commit
399e87470e
26
README.md
26
README.md
@ -2,6 +2,25 @@
|
|||||||
|
|
||||||
Based on `nvcr.io/nvidia/tritonserver` container, but this add [Miniconda3](https://www.anaconda.com/docs/getting-started/miniconda/main), [Golang](https://go.dev/), [Singularity](https://docs.sylabs.io/guides/4.3/user-guide/)
|
Based on `nvcr.io/nvidia/tritonserver` container, but this add [Miniconda3](https://www.anaconda.com/docs/getting-started/miniconda/main), [Golang](https://go.dev/), [Singularity](https://docs.sylabs.io/guides/4.3/user-guide/)
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
```bash
|
||||||
|
TRITON_RELEASE="25.01"
|
||||||
|
docker run \
|
||||||
|
-d \
|
||||||
|
-it \
|
||||||
|
--restart=always \
|
||||||
|
--net=host \
|
||||||
|
--gpus=all \
|
||||||
|
-v ~/tritonserver-workspace:/workspace \
|
||||||
|
-v ~/.cache/huggingface:/root/.cache/huggingface \
|
||||||
|
--name tritonserver \
|
||||||
|
--privileged \
|
||||||
|
git.athichal.com/tonkaew131/tritonserver:${TRITON_RELEASE}-py3-sdk
|
||||||
|
# Connect into the container
|
||||||
|
docker exec -it tritonserver bash
|
||||||
|
```
|
||||||
|
|
||||||
## Mounting
|
## Mounting
|
||||||
|
|
||||||
| Directory | Uses |
|
| Directory | Uses |
|
||||||
@ -18,3 +37,10 @@ docker build \
|
|||||||
--build-arg TRITON_RELEASE=${TRITON_RELEASE} \
|
--build-arg TRITON_RELEASE=${TRITON_RELEASE} \
|
||||||
.
|
.
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Pushing the image
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker image push \
|
||||||
|
git.athichal.com/tonkaew131/tritonserver:${TRITON_RELEASE}-py3-sdk
|
||||||
|
```
|
||||||
Loading…
x
Reference in New Issue
Block a user