-
What is the recommended way to enable/disable Gluten in a Spark session if we want the default as disabled and explicit config setting to enable? Is it alright to set |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
@acvictor, I think so. We have to always configure BTW, you can set a thread local property if you would like to control using Gluten for a single thread. |
Beta Was this translation helpful? Give feedback.
@acvictor, I think so. We have to always configure
spark.plugins=org.apache.gluten.GlutenPlugin
to let initialization be done at driver/executor start time. And user can setspark.gluten.enabled
to dynamically enable/disable Gluten for a session.BTW, you can set a thread local property if you would like to control using Gluten for a single thread.
https://github.com/apache/incubator-gluten/blob/main/docs/Configuration.md?plain=1#L106