feat: don't use gpu when execute cpu mode (#43)

This commit is contained in:
Taeho 2023-04-11 11:00:06 +09:00 committed by GitHub
parent 979b9d611e
commit 04c3ec5d3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: