News for hackers. Stuff that matters.
Re:PyTorch 1.0 is out by l3robot on Friday December 07, 2018 @04:34PM (#18631896)
TL;DR

- New JIT feature that lets you run your model without python. It now seems trivial to load a pytorch model in C++

- New distributed computation package. Major redesign.

- C++ frontend

- New torch hub feature to load models from github easily

Re:PyTorch 1.0 is out by make3 on Friday December 07, 2018 @06:30PM (#18632638)
I love PyTorch, but my experience with jits embedded in Python (eg. Numba) has been everything but simple, nevermind trivial. I'll really have to try it to believe it.
Re:PyTorch 1.0 is out by mlthoughts2018 on Saturday December 08, 2018 @10:01AM (#18635510)
I’ve had the opposite experience with numba in production. It works almost flawlessly, very easy to reason about the generated code and inspect annotations, easy to debug.
Re:PyTorch 1.0 is out by make3 on Monday December 10, 2018 @04:48PM (#18651437)
Do you interact with numpy or other compiled numerical packages? this is where it usually breaks for me. The thing is that I use numpy, scipy, keras, tensorflow, etc. in literally every project, making numba not too useful
Re:PyTorch 1.0 is out by alexbw on Saturday December 08, 2018 @12:13PM (#18636228)
Check out github.com/google/jax, it’s NumPy on the GPU with automatic differentiation, JIT and autobatching.
Re:PyTorch 1.0 is out by mlthoughts2018 on Saturday December 08, 2018 @04:05PM (#18637532)
That’s very cool. Numba and Cython work extremely well with virtually no overhead or extra effort on my part, so jax doesn’t seem like it would buy me much for most of my work. But I can imagine a lot of projects where jax woukd be useful, and I plan to keep current on best practices for it.