Route GPU queue to CPU workers when no GPU node available
Add -Q celery,gpu to l1-worker so it picks up GPU-queued tasks while no GPU node is in the swarm. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -106,7 +106,7 @@ services:
|
||||
|
||||
l1-worker:
|
||||
image: registry.rose-ash.com:5000/celery-l1-server:latest
|
||||
command: sh -c "find /app -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null; celery -A celery_app worker --loglevel=info -E"
|
||||
command: sh -c "find /app -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null; celery -A celery_app worker --loglevel=info -E -Q celery,gpu"
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
|
||||
Reference in New Issue
Block a user