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/)
|
||||
|
||||
## 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
|
||||
|
||||
| Directory | Uses |
|
||||
@ -17,4 +36,11 @@ docker build \
|
||||
-t git.athichal.com/tonkaew131/tritonserver:${TRITON_RELEASE}-py3-sdk \
|
||||
--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