Skip to content

How do I set the rapids parameter so that all GPUs are used? #11177

Closed Answered by revans2
onefanwu asked this question in Q&A
Discussion options

You must be logged in to vote
    .config("spark.executor.resource.gpu.amount", 4) \

Should be 1 instead. We only support running with 1 GPU per executor. You also have not configured spark.task.resource.gpu.amount

https://docs.nvidia.com/spark-rapids/user-guide/latest/getting-started/overview.html#spark-gpu-scheduling-overview

Also just to be clear. We do not support using multiple GPUs in local mode. This is because we only support a single GPU per process right now and in local mode everything runs in a single process.

Replies: 6 comments 1 reply

Comment options

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

Answer selected by onefanwu
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants