Added enviornment variable is_gpu to handle build for gpu. Now to build spark-nlp for gpu just pass -Dis_gpu=true with sbt command for example:
Added enviornment variable is_gpu to handle build for gpu.
Now to build spark-nlp for gpu just pass -Dis_gpu=true with sbt command for example:

sbt -Dis_gpu=true assembly

JohnSnowLabs/spark-nlp,JohnSnowLabs/spark-nlp,JohnSnowLabs/spark-nlp,JohnSnowLabs/spark-nlp