Skip to content

Add GPU support to run only DAG's #722

Discussion options

You must be logged in to vote

@antikilahdjs I actually have a solution for this coming up, with the task-aware auto-scaler feature, which will allow automatically scaling up/down the celery workers (with some clever logic to prevent scaling down workers which are actively doing stuff, unless you label the task as "safe to interrupt").

We will support having multiple "queues" of celery workers, for example, you might have a "default" queue with CPUs only, and a "gpu" queue with GPUs. The auto-scaler will then allow you to scale up the "gpu" queue only when tasks are waiting in that queue, and scale it down when it's no longer needed.


Before the new auto-scaler is finished, you can actually achieve GPU support in a les…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@antikilahdjs
Comment options

Answer selected by antikilahdjs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants