Live data from Hacker News

PyTorch 1.0 is out

github.com

1–10 of 72 posts

Re: PyTorch 1.0 is out

#3
> The JIT is a set of compiler tools for bridging the gap between research in PyTorch and production. It allows for the creation of models that can run without a dependency on the Python interpreter and which can be optimized more aggressively. Using program annotations existing models can be transformed into Torch Script, a subset of Python that PyTorch can run directly.

Isn't python bytecode simple enough that it can be run anywhere?

Re: PyTorch 1.0 is out

#5
post #2

Is there some sort of pytorch 1.0 migration guide or does anyone know if there is any breaking from .41 to 1.0 ?

in the release notes, there's a section called "Breaking Changes". There are no major breaking changes from 0.4.1, and all your code should largely work as-is.

Re: PyTorch 1.0 is out

#8
post #3

> The JIT is a set of compiler tools for bridging the gap between research in PyTorch and production. It allows for the creation of models that can run without a dependency on the Python interpreter and which can be optimized more aggressively. Using program annotations existing models can be transformed into Torch Script, a subset of Python that PyTorch can run directly. Isn't python bytecode simple enough that it c…

Alternative implementations of Python don't seem very easy to write, so I'm guessing the answer is no.

Re: PyTorch 1.0 is out

#9
post #3

> The JIT is a set of compiler tools for bridging the gap between research in PyTorch and production. It allows for the creation of models that can run without a dependency on the Python interpreter and which can be optimized more aggressively. Using program annotations existing models can be transformed into Torch Script, a subset of Python that PyTorch can run directly. Isn't python bytecode simple enough that it c…

Python bytecode is a pre-processed form of instructions to a Python interpreter, such as getting the function with a specified name out of a Python library and calling it with certain Python objects as arguments.

The point here is to run PyTorch code without having a Python interpreter, and without having to run slow Python code.

Post reply on HN