News for hackers. Stuff that matters.
Re:Tensorflow 2.0 by jlebar on Monday September 30, 2019 @02:32PM (#21118312)
> If you need to transition from TF1 to TF2, consider doing the TF1 to pytorch transition instead.

Or consider https://github.com/google/jax !

Re:Tensorflow 2.0 by applecrazy on Monday September 30, 2019 @02:38PM (#21118373)
Just looked at Jax. At first glance, it seems to be a GPU/TPU based NumPy?

The thing is, TF has more than tensor ops. It has pre-defined NN layers, data loading/serialization, distributed training, metrics, and model serving.

It seems like a bit of a step backwards, that's all.

Edit: "matrix ops" -> "tensor ops"

Re:Tensorflow 2.0 by nmca on Monday September 30, 2019 @06:38PM (#21120332)
Have you ever used any of those features of tensorflow though? They're all, er, idiosyncratic. If you're a decent software engineer and are following the mafs well from a book, I couldn't reccomend Jax highly enough. (I work on big tf RL projects every day).
Re:Tensorflow 2.0 by applecrazy on Monday September 30, 2019 @07:07PM (#21120508)
That’s true. I’m still a student and haven’t really shipped a large ML project. Most of my ETL is done using scrapers, manual Pandas transformations, and storage in flat files. But yeah, I see your point, and frankly I don’t think there’s too big of a user base around these specialized features. Not to mention that some can be, erm, difficult to use. A friend tried using the YouTube-8M dataset in TFRecords format for a project and was extremely annoyed at the complexity.
Re:Tensorflow 2.0 by jlebar on Monday September 30, 2019 @05:29PM (#21119834)
> At first glance, it seems to be a GPU/TPU based NumPy?

Yes, with a compiler to make this fast.

> The thing is, TF has more than tensor ops. It has pre-defined NN layers, data loading/serialization, distributed training, metrics, and model serving.

Yes, it is a simpler and smaller API.

For things like data loading, you can use the tool of your choice -- TF, pytorch, whatever. For pre-defined NN layers, there are libraries that build this as a very thin wrapper around JAX's low-level API, see e.g. lax, which is include in JAX.

Re:Tensorflow 2.0 by shoyer on Monday September 30, 2019 @06:00PM (#21120084)
> see e.g. lax, which is include in JAX.

I think jleber means stax here, for pre-defined NN layers.

Re:Tensorflow 2.0 by jlebar on Monday September 30, 2019 @08:57PM (#21121063)
Yes, mb!
Re:Tensorflow 2.0 by 317070 on Monday September 30, 2019 @02:40PM (#21118388)
I know. I don't want to go as far, but if I had to choose, I would also go for Jax, and help make it feature complete. However, it is not very feature-complete yet, and thus probably not as useful for everyone yet.