Skip to content

Error installing Nvidia Drivers during spark-rapids.sh initialization on Dataproc 2.1-rocky8 cluster #1358

@SurajAralihalli

Description

@SurajAralihalli
ERROR:
modprobe: FATAL: Module nvidia not found in directory /lib/modules/4.18.0-553.63.1.el8_10.x86_64

ENV: Dataproc 2.1-rocky8

Steps:

export REGION=us-central1
export GCS_BUCKET=<bucket>
export CLUSTER_NAME=<cluster>
export NUM_GPUS=1
export NUM_WORKERS=2

gcloud dataproc clusters create $CLUSTER_NAME \
  --region=$REGION \
  --zone="" \
  --image-version=2.1-rocky8 \
  --master-machine-type=n1-standard-16 \
  --num-workers=$NUM_WORKERS \
  --worker-accelerator=type=nvidia-l4,count=$NUM_GPUS \
  --initialization-actions=gs://goog-dataproc-initialization-actions-${REGION}/spark-rapids/spark-rapids.sh \
  --worker-machine-type=g2-standard-12 \
  --temp-bucket=$GCS_BUCKET \
  --bucket=$GCS_BUCKET \
  --enable-component-gateway \
  --no-shielded-secure-boot \
  --subnet=default

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions