jolly-florist-66728
11/10/2024, 10:05 AMResources
parameter in Flytekit. For example, you can request a GPU by setting requests=Resources(gpu="1")
and limits=Resources(gpu="1")
in the task decorator. This ensures that the task is scheduled on a node with an available GPU. It's important to ensure that your Flyte backend has GPU nodes provisioned for this to work effectively (source).
Would you like more detail on how to configure this or any specific aspect of using GPUs with Flyte?
Sources:
- https://github.com/flyteorg/flytesnacks/blob/master/examples/mnist_classifier/README.md
Slack Link
https://.slack.com/archives/CP2HDHKE1/p1731233132.373809 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.