Closed rom1504 closed 2 years ago
https://spark.apache.org/docs/3.2.0/spark-standalone.html#resource-allocation-and-configuration-overview https://www.nvidia.com/en-us/ai-data-science/spark-ebook/getting-started-spark-3/
trying to use resource concept of spark 3 to handle the gpu resource
https://developer.nvidia.com/blog/accelerating-deep-learing-with-apache-spark-and-gpus-on-aws/
val context = TaskContext.get()
val gpu = context.resources()("gpu").addresses(0)
done
follow up on https://github.com/rom1504/clip-retrieval/pull/107
missing: