mirror of
https://github.com/corca-ai/EVAL
synced 2024-10-30 09:20:44 +00:00
feat: don't use gpu when execute cpu mode (#43)
This commit is contained in:
parent
979b9d611e
commit
04c3ec5d3b
@ -14,10 +14,11 @@ services:
|
|||||||
- "4500:4500"
|
- "4500:4500"
|
||||||
- "6500:6500"
|
- "6500:6500"
|
||||||
- "8000:8000" # eval port
|
- "8000:8000" # eval port
|
||||||
|
environment:
|
||||||
|
- USE_GPU=False
|
||||||
|
- CELERY_BROKER_URL=redis://redis:6379
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
environment:
|
|
||||||
- CELERY_BROKER_URL=redis://redis:6379
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
|
|
||||||
@ -35,6 +36,9 @@ services:
|
|||||||
- "4500:4500"
|
- "4500:4500"
|
||||||
- "6500:6500"
|
- "6500:6500"
|
||||||
- "8000:8000" # eval port
|
- "8000:8000" # eval port
|
||||||
|
environment:
|
||||||
|
- USE_GPU=True
|
||||||
|
- CELERY_BROKER_URL=redis://redis:6379
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
deploy:
|
deploy:
|
||||||
|
Loading…
Reference in New Issue
Block a user