Re: Tensorflow on Spark CPU

2023-04-30 Thread Sean Owen
com> wrote: > > > You don't want to use CPUs with Tensorflow. > If it's not scaling, you may have a problem that is far too small to > distribute. > > On Sat, Apr 29, 2023 at 7:30 AM second_co...@yahoo.com.INVALID > wrote: > > Anyone successfully run

Re: Tensorflow on Spark CPU

2023-04-29 Thread second_co...@yahoo.com.INVALID
at 7:30 AM second_co...@yahoo.com.INVALID wrote: Anyone successfully run native tensorflow on Spark ? i tested example at https://github.com/tensorflow/ecosystem/tree/master/spark/spark-tensorflow-distributor   on Kubernetes CPU . By running in on multiple workers CPUs. I do not see any speed up i

Re: Tensorflow on Spark CPU

2023-04-29 Thread Sean Owen
You don't want to use CPUs with Tensorflow. If it's not scaling, you may have a problem that is far too small to distribute. On Sat, Apr 29, 2023 at 7:30 AM second_co...@yahoo.com.INVALID wrote: > Anyone successfully run native tensorflow on Spark ? i tested example at > ht

Tensorflow on Spark CPU

2023-04-29 Thread second_co...@yahoo.com.INVALID
Anyone successfully run native tensorflow on Spark ? i tested example at https://github.com/tensorflow/ecosystem/tree/master/spark/spark-tensorflow-distributor   on Kubernetes CPU . By running in on multiple workers CPUs. I do not see any speed up in training time by setting number of slot from1

Re: [E] COMMERCIAL BULK: Re: TensorFlow on Spark

2022-02-24 Thread Gourav Sengupta
Dear Sean, I do agree with you to a certain extent, makes sense. Perhaps I am wrong in asking for native integrations and not depending on over engineered external solutions which have their own performance issues, and bottlenecks in live production environment. But asking and stating ones opinion

Re: [E] COMMERCIAL BULK: Re: TensorFlow on Spark

2022-02-24 Thread Gourav Sengupta
ibraries. I faced >>>> the issue of version dependencies on those and had a hard time fixing the >>>> library compatibilities. Hence a couple of below doubts:- >>>> >>>> >>>> >>>>- Does *Horovod* have any de

Re: [E] COMMERCIAL BULK: Re: TensorFlow on Spark

2022-02-24 Thread Sean Owen
On the contrary, distributed deep learning is not data parallel. It's dominated by the need to share parameters across workers. Gourav, I don't understand what you're looking for. Have you looked at Petastorm and Horovod? they _use Spark_, not another platform like Ray. Why recreate this which has

Re: [E] COMMERCIAL BULK: Re: TensorFlow on Spark

2022-02-24 Thread Bitfox
t;>> - Does *Horovod* have any dependencies? >>>- Any other library which is suitable for my use case.? >>>- Any example code would really be of great help to understand. >>> >>> >>> >>> Thanks, >>> >>> Vijayant &

Re: [E] COMMERCIAL BULK: Re: TensorFlow on Spark

2022-02-24 Thread Gourav Sengupta
e any dependencies? >>- Any other library which is suitable for my use case.? >>- Any example code would really be of great help to understand. >> >> >> >> Thanks, >> >> Vijayant >> >> >> >> *From:* Sean Owen >&

Re: [E] COMMERCIAL BULK: Re: TensorFlow on Spark

2022-02-23 Thread Dennis Suhari
.? >> Any example code would really be of great help to understand. >> >> >> Thanks, >> >> Vijayant >> >> >> >> From: Sean Owen >> Sent: Wednesday, February 23, 2022 8:40 AM >> To: Vijayant Kumar >> Cc: user

Re: [E] COMMERCIAL BULK: Re: TensorFlow on Spark

2022-02-23 Thread Sean Owen
es data >>>>> where I am using LSTM and transformers to forecast. >>>>> >>>>> >>>>> >>>>> I evaluated *SparkFlow* and *spark_tensorflow_distributor *libraries, and >>>>> there has been no major development recent

Re: [E] COMMERCIAL BULK: Re: TensorFlow on Spark

2022-02-23 Thread Gourav Sengupta
t; I evaluated *SparkFlow* and *spark_tensorflow_distributor *libraries, and >>>> there has been no major development recently on those libraries. I faced >>>> the issue of version dependencies on those and had a hard time fixing the >>>> library comp

Re: [E] COMMERCIAL BULK: Re: TensorFlow on Spark

2022-02-23 Thread Sean Owen
gt;> >>>- Does *Horovod* have any dependencies? >>>- Any other library which is suitable for my use case.? >>>- Any example code would really be of great help to understand. >>> >>> >>> >>> Thanks, >>> >>> Vijaya

Re: [E] COMMERCIAL BULK: Re: TensorFlow on Spark

2022-02-23 Thread Gourav Sengupta
Horovod* have any dependencies? >>- Any other library which is suitable for my use case.? >>- Any example code would really be of great help to understand. >> >> >> >> Thanks, >> >> Vijayant >> >> >> >> *From:

Re: [E] COMMERCIAL BULK: Re: TensorFlow on Spark

2022-02-22 Thread Bitfox
is suitable for my use case.? >- Any example code would really be of great help to understand. > > > > Thanks, > > Vijayant > > > > *From:* Sean Owen > *Sent:* Wednesday, February 23, 2022 8:40 AM > *To:* Vijayant Kumar > *Cc:* user @spark > *S

Re: [E] COMMERCIAL BULK: Re: TensorFlow on Spark

2022-02-22 Thread Sean Owen
ve any dependencies? >- Any other library which is suitable for my use case.? >- Any example code would really be of great help to understand. > > > > Thanks, > > Vijayant > > > > *From:* Sean Owen > *Sent:* Wednesday, February 23, 2022 8:40 AM > *T

RE: [E] COMMERCIAL BULK: Re: TensorFlow on Spark

2022-02-22 Thread Vijayant Kumar
is suitable for my use case.? * Any example code would really be of great help to understand. Thanks, Vijayant From: Sean Owen Sent: Wednesday, February 23, 2022 8:40 AM To: Vijayant Kumar Cc: user @spark Subject: [E] COMMERCIAL BULK: Re: TensorFlow on Spark Email is from a Free Mail

Re: TensorFlow on Spark

2022-02-22 Thread Sean Owen
Sure, Horovod is commonly used on Spark for this: https://horovod.readthedocs.io/en/stable/spark_include.html On Tue, Feb 22, 2022 at 8:51 PM Vijayant Kumar wrote: > Hi All, > > > > Anyone using Apache spark with TensorFlow for building models. My > requirement is to use TensorFlow distributed m

TensorFlow on Spark

2022-02-22 Thread Vijayant Kumar
Hi All, Anyone using Apache spark with TensorFlow for building models. My requirement is to use TensorFlow distributed model training across the Spark executors. Please help me with some resources or some sample code. Thanks, Vijayant This e-mail message may cont