-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
paddle-bfloat影响pip install安装paddle nightlybuild #40559
Comments
您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看官网API文档、常见问题、历史Issue、AI社区来寻求解答。祝您生活愉快~ Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the API,FAQ,Github Issue and AI community to get the answer.Have a nice day! |
请 @pangyoki 帮忙分析一下,thanks~ |
HI. @Meiyim 可以尝试先直接pip安装paddle-bfloat |
pip install paddle-bfloat
Collecting paddle-bfloat
Using cached paddle_bfloat-0.1.2.tar.gz (553 kB)
Building wheels for collected packages: paddle-bfloat
Building wheel for paddle-bfloat (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /da2/miniconda3/envs/SWHL/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-tdm2doi4/paddle-bfloat_2c124a9020e4427e8200b6bc4d226716/setup.py'"'"'; __file__='"'"'/tmp/pip-install-tdm2doi4/paddle-bfloat_2c124a9020e4427e8200b6bc4d226716/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-cuklhg0m
cwd: /tmp/pip-install-tdm2doi4/paddle-bfloat_2c124a9020e4427e8200b6bc4d226716/
Complete output (13 lines):
running bdist_wheel
running build
running build_ext
building 'paddle_bfloat' extension
creating build
creating build/temp.linux-x86_64-3.7
gcc -pthread -B /da2/miniconda3/envs/SWHL/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/da2/miniconda3/envs/SWHL/include/python3.7m -I/da2/miniconda3/envs/SWHL/lib/python3.7/site-packages/numpy/core/include -c bfloat16.cc -o build/temp.linux-x86_64-3.7/bfloat16.o -std=c++11
creating build/lib.linux-x86_64-3.7
g++ -pthread -shared -B /da2/miniconda3/envs/SWHL/compiler_compat -L/da2/miniconda3/envs/SWHL/lib -Wl,-rpath=/da2/miniconda3/envs/SWHL/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.7/bfloat16.o -o build/lib.linux-x86_64-3.7/paddle_bfloat.cpython-37m-x86_64-linux-gnu.so
/da2/miniconda3/envs/SWHL/compiler_compat/ld: cannot find /usr/lib64/libmvec_nonshared.a
/da2/miniconda3/envs/SWHL/compiler_compat/ld: cannot find /lib64/libmvec.so.1
collect2: error: ld returned 1 exit status
error: command 'g++' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for paddle-bfloat
Running setup.py clean for paddle-bfloat
Failed to build paddle-bfloat
Installing collected packages: paddle-bfloat
Running setup.py install for paddle-bfloat ... error
ERROR: Command errored out with exit status 1:
command: /da2/miniconda3/envs/SWHL/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-tdm2doi4/paddle-bfloat_2c124a9020e4427e8200b6bc4d226716/setup.py'"'"'; __file__='"'"'/tmp/pip-install-tdm2doi4/paddle-bfloat_2c124a9020e4427e8200b6bc4d226716/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-wb2fwi08/install-record.txt --single-version-externally-managed --compile --install-headers /da2/miniconda3/envs/SWHL/include/python3.7m/paddle-bfloat
cwd: /tmp/pip-install-tdm2doi4/paddle-bfloat_2c124a9020e4427e8200b6bc4d226716/
Complete output (13 lines):
running install
running build
running build_ext
building 'paddle_bfloat' extension
creating build
creating build/temp.linux-x86_64-3.7
gcc -pthread -B /da2/miniconda3/envs/SWHL/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/da2/miniconda3/envs/SWHL/include/python3.7m -I/da2/miniconda3/envs/SWHL/lib/python3.7/site-packages/numpy/core/include -c bfloat16.cc -o build/temp.linux-x86_64-3.7/bfloat16.o -std=c++11
creating build/lib.linux-x86_64-3.7
g++ -pthread -shared -B /da2/miniconda3/envs/SWHL/compiler_compat -L/da2/miniconda3/envs/SWHL/lib -Wl,-rpath=/da2/miniconda3/envs/SWHL/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.7/bfloat16.o -o build/lib.linux-x86_64-3.7/paddle_bfloat.cpython-37m-x86_64-linux-gnu.so
/da2/miniconda3/envs/SWHL/compiler_compat/ld: cannot find /usr/lib64/libmvec_nonshared.a
/da2/miniconda3/envs/SWHL/compiler_compat/ld: cannot find /lib64/libmvec.so.1
collect2: error: ld returned 1 exit status
error: command 'g++' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /da2/miniconda3/envs/SWHL/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-tdm2doi4/paddle-bfloat_2c124a9020e4427e8200b6bc4d226716/setup.py'"'"'; __file__='"'"'/tmp/pip-install-tdm2doi4/paddle-bfloat_2c124a9020e4427e8200b6bc4d226716/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-wb2fwi08/install-record.txt --single-version-externally-managed --compile --install-headers /da2/miniconda3/envs/SWHL/include/python3.7m/paddle-bfloat Check the logs for full command output.
|
@Meiyim @SWHL hi, 请尝试这个页面是否有对应环境的预编译whl包可用?https://pypi.org/project/paddle-bfloat/0.1.2/#files |
@lidanqing-intel @jakpiase hi, it seems local compiling is still needed in some environment, would you please help check? |
|
@Meiyim @SWHL 可以尝试直接使用pip安装了,已经联系包作者上传了更多的预编译包 https://pypi.org/project/paddle-bfloat/0.1.2/#files |
感谢感谢 |
@Meiyim hi,我先close这个issue了,有问题欢迎随时reopen再联系我,谢谢! |
尝试在centos 7机器上 通过pip install 安装 paddle nightly build: https://paddle-wheel.bj.bcebos.com/develop/linux/gpu-cuda10.1-cudnn7-mkl_gcc5.4/paddlepaddle_gpu-0.0.0.post101-cp37-cp37m-linux_x86_64.whl
系统版本:
CentOS Linux release 7.5.1804 (Core)
Python 3.7.10 (default, Feb 26 2021, 18:47:35)
[GCC 7.3.0] :: Anaconda, Inc. on linux
遇到paddle-bfloat 安装报错,信息如下:
The text was updated successfully, but these errors were encountered: