Hi,all. how could I use the FFT functions in unstable version, how could I install this unstable version?pip and conda did not work.Thank you
You mean install from source? I will have a try, thank you for reply .
I’m facing the same problem with you.
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.
I tried
git submodule sync
git submodule update --init --recursive
from the official Doc, but it did not work.
Someone who find an answer to this?
@Leonardo_Ma As @SimonW indicated, you need to install it from source following its guidelines on GitHub .
Thank you. But if I have no root permission, this cant be done.
Is there any other update method by user?
Building source do not need root permission as long as you piont a user-owned path for builder, try to google it.
I got the source code just like it said. But the latest version is not stable. It returned such error, and failed the installation.
[ 38%] Built target libprotoc
make: *** [all] 错误 2
Traceback (most recent call last):
File “setup.py”, line 756, in
build_deps()
File “setup.py”, line 316, in build_deps
build_dir=‘build’)
File “/home/wma/pytorch/tools/build_pytorch_libs.py”, line 312, in build_caffe2
check_call([‘make’, ‘-j’, str(max_jobs), ‘install’], cwd=build_dir, env=my_env)
File “/usr/local/lib/python3.6/subprocess.py”, line 311, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘[‘make’, ‘-j’, ‘56’, ‘install’]’ returned non-zero exit status 2.
Searched for reason, and just got no other advice than change it to latest stable version 1.1.0. Sad…
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.
Maybe you can search the issues or raise a new issue on its GitHub repo.
I saw a lao yin already did, haha. Never mind, I just installed the v1.1.0.