Skip to content

Commit

Permalink
Log the number of concurrent gpu tasks allowed on Executor startup (#…
Browse files Browse the repository at this point in the history
…1422)

Signed-off-by: Thomas Graves <tgraves@nvidia.com>
  • Loading branch information
tgravescs authored Dec 17, 2020
1 parent 801ba80 commit 42dd326
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,9 @@ class RapidsExecutorPlugin extends ExecutorPlugin with Logging {
GpuDeviceManager.initializeGpuAndMemory(pluginContext.resources().asScala.toMap)
}

GpuSemaphore.initialize(conf.concurrentGpuTasks)
val concurrentGpuTasks = conf.concurrentGpuTasks
logInfo(s"The number of concurrent GPU tasks allowed is $concurrentGpuTasks")
GpuSemaphore.initialize(concurrentGpuTasks)
} catch {
case e: Throwable =>
// Exceptions in executor plugin can cause a single thread to die but the executor process
Expand Down

0 comments on commit 42dd326

Please sign in to comment.