How could use I the FFT in unstable version

guyue_hu: <p>Hi,all. how could I use the <a href="http://pytorch.org/docs/master/torch.html?highlight=fft#torch.fft" rel="nofollow noopener">FFT</a> functions in unstable version, how could I install this unstable version?pip and conda did not work.Thank you</p>

SimonW: <aside class="onebox whitelistedgeneric">
  <header class="source">
      <img src="https://assets-cdn.github.com/favicon.ico" class="site-icon" width="32" height="32">
      <a href="https://github.com/pytorch/pytorch#from-source" target="_blank">GitHub</a>
  </header>
  <article class="onebox-body">
    <img src="https://avatars2.githubusercontent.com/u/21003710?s=400&amp;v=4" class="thumbnail onebox-avatar" width="400" height="400">

<h3><a href="https://github.com/pytorch/pytorch#from-source" target="_blank">pytorch/pytorch</a></h3>

<p>pytorch - Tensors and Dynamic neural networks in Python  with strong GPU acceleration</p>


  </article>
  <div class="onebox-metadata">
    
    
  </div>
  <div style="clear: both"></div>
</aside>


guyue_hu: <p>You mean install from source? I will have a try, thank you for reply .</p>

Leonardo_Ma: <p>I’m facing the same problem with you.<br>
I want to use nn.SyncBatchNorm in version [1.2.0a0+2791a44]. But how can I update the stable version to a unstable developer version.<br>
I tried</p>
<p>git submodule sync<br>
git submodule update --init --recursive</p>
<p>from the official Doc, but it did not work.<br>
Someone who find an answer to this?</p>

guyue_hu: <p><a class="mention" href="/u/leonardo_ma">@Leonardo_Ma</a>  As <a class="mention" href="/u/simonw">@SimonW</a> indicated, you need to install it from source following its guidelines on GitHub .</p>

Leonardo_Ma: <p>Thank you. But if I have no root permission, this cant be done.<br>
Is there any other update method by user?</p>

guyue_hu: <p>Building source do not need  root permission as long as you piont a user-owned path for builder, try to google it.</p>

Leonardo_Ma: <p>I got the source code just like it said. But the latest version is not stable. It returned such error, and failed the installation.</p>
<p>[ 38%] Built target libprotoc<br>
make: *** [all] 错误 2<br>
Traceback (most recent call last):<br>
File “setup.py”, line 756, in <br>
build_deps()<br>
File “setup.py”, line 316, in build_deps<br>
build_dir=‘build’)<br>
File “/home/wma/pytorch/tools/build_pytorch_libs.py”, line 312, in build_caffe2<br>
check_call([‘make’, ‘-j’, str(max_jobs), ‘install’], cwd=build_dir, env=my_env)<br>
File “/usr/local/lib/python3.6/subprocess.py”, line 311, in check_call<br>
raise CalledProcessError(retcode, cmd)<br>
subprocess.CalledProcessError: Command ‘[‘make’, ‘-j’, ‘56’, ‘install’]’ returned non-zero exit status 2.</p>
<p>Searched for reason, and just got no other advice than change it to latest stable version 1.1.0. Sad…<br>
Trying to find what’t wrong with build_pytorch_libs.py in the source code. I guess maybe the CMAKE_PREFIX_PATH was set wrongly, cause there’s no Anaconda on server. Other reasons may be related to make files. Hope the newest version would solve this problem.</p>

guyue_hu: <p>Maybe you can search the issues or raise a new issue on its GitHub repo.</p>

Leonardo_Ma: <p>I saw a lao yin already did, haha. Never mind, I just installed the v1.1.0.</p>