Skip to content

Commit

Permalink
added parallelism to inference
Browse files Browse the repository at this point in the history
  • Loading branch information
yk committed Feb 19, 2023
1 parent a89d9b7 commit 7f8163b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,10 @@ services:
context: .
image: oasst-inference-worker:dev
environment:
- API_KEY=0000
- "MODEL_ID=distilgpt2"
- "BACKEND_URL=ws://inference-server:8000"
API_KEY: "0000"
MODEL_ID: distilgpt2
BACKEND_URL: "ws://inference-server:8000"
PARALLELISM: 2
volumes:
- "./oasst-shared:/opt/inference/lib/oasst-shared"
- "./inference/worker:/opt/inference/worker"
Expand Down

0 comments on commit 7f8163b

Please sign in to comment.