JIT doesn't support 'to' keyword

Hi Everyone,
I have a problem regarding JIT of Pytorch.

This link says that to is implemented in the Pytorch and ready for use but as I try to use it, it doesn’t function, I even have uninstalled and reinstalled the whole thing 3 time and I have made sure that I have latest version of pytorch which is 1.0.1 which is also shown in the picture belowScreenshot%20from%202019-03-05%2018-59-27

The thing is, changes mentioned in the above github link doesn’t appear in the pytroch I install with command conda install pytorch torchvision cudatoolkit=9.0 -c pytorch which are in the file test/test_jit.py and torch/jit/__init__.py.
I also tried to install from source but it gives weird errors and doesn’t install.

Any idea what’s happening here?

Not sure, if it’ll help, but could you try to install the nightly builds and check it again?

Already did that man, doesn’t help.