Skip to content

Commit

Permalink
docs: correct pipeline run command instructions
Browse files Browse the repository at this point in the history
This commit rectifies an error in the pipeline run commands
documentation. Previously, the instructions incorrectly suggested naming
the Docker container as 'runner'. This has now been corrected.
  • Loading branch information
rickstaa authored and yondonfu committed Mar 12, 2024
1 parent 26f5fc1 commit eda8d6c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions runner/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ docker run livepeer/ai-runner:latest python bench.py -h
Run container:

```
docker run --name text-to-image -e PIPELINE=text-to-image -e MODEL_ID=<MODEL_ID> --gpus <GPU_IDS> -p 8000:8000 -v ./models:/models runner
docker run --name text-to-image -e PIPELINE=text-to-image -e MODEL_ID=<MODEL_ID> --gpus <GPU_IDS> -p 8000:8000 -v ./models:/models livepeer/ai-runner:latest
```

Query API:
Expand All @@ -92,7 +92,7 @@ curl -X POST -H "Content-Type: application/json" localhost:8000/text-to-image -d
Run container:

```
docker run --name image-to-image -e PIPELINE=image-to-image -e MODEL_ID=<MODEL_ID> --gpus <GPU_IDS> -p 8000:8000 -v ./models:/models runner
docker run --name image-to-image -e PIPELINE=image-to-image -e MODEL_ID=<MODEL_ID> --gpus <GPU_IDS> -p 8000:8000 -v ./models:/models livepeer/ai-runner:latest
```

Query API:
Expand All @@ -106,7 +106,7 @@ curl -X POST localhost:8000/image-to-image -F prompt="a mountain lion" -F image=
Run container

```
docker run --name image-to-video -e PIPELINE=image-to-video -e MODEL_ID=<MODEL_ID> --gpus <GPU_IDS> -p 8000:8000 -v ./models:/models runner
docker run --name image-to-video -e PIPELINE=image-to-video -e MODEL_ID=<MODEL_ID> --gpus <GPU_IDS> -p 8000:8000 -v ./models:/models livepeer/ai-runner:latest
```

Query API:
Expand Down

0 comments on commit eda8d6c

Please sign in to comment.