Exporting compiled pytorch exec

I following the steps in te Readme to compile pytorch from source with:

python setup.py install

The problem is that this command installs pytorch in the current env. What I’d like to have is a binary that I can export and install on other machines, pretty much like in Tensorflow where a .whl is created once the project is compiled.
Is there anything similar in Pytorch? Thanks!

You could try to build the wheels via python setup.pt bdist_wheel.

Awesome, thanks a lot @ptrblck :slight_smile: