-
Notifications
You must be signed in to change notification settings - Fork 484
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
安装报错 #433
Comments
@llplay
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
安装报错,是什么依赖安装的不对吗,辛苦看下
python 3.7.5
tensorflow 2.5.0
` x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DEIGEN_MPL2_ONLY=1 -I3rdparty/ps-lite/include -I/usr/local/nccl/include -I/usr/include/python3.7m -c byteps/common/compressor/impl/dithering.cc -o build/temp.linux-x86_64-3.7/byteps/common/compressor/impl/dithering.o -std=c++11 -fPIC -Ofast -Wall -fopenmp -march=native -mno-avx512f -D_GLIBCXX_USE_CXX11_ABI=0 -DBYTEPS_BUILDING_SERVER
In file included from byteps/common/compressor/impl/../compressor.h:23:0,
from byteps/common/compressor/impl/../compressor_registry.h:19,
from byteps/common/compressor/impl/dithering.cc:19:
byteps/common/compressor/impl/dithering.cc: In member function ‘virtual byteps::common::compressor::tensor_t byteps::common::compressor::DitheringCompressor::Compress(byteps::common::compressor::tensor_t)’:
byteps/common/compressor/impl/../common.h:48:42: error: ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive]
reinterpret_cast<const half_t*>(src),
^
byteps/common/compressor/impl/dithering.cc:119:3: note: in expansion of macro ‘COMPRESS_IMPL_SWITCH’
COMPRESS_IMPL_SWITCH(grad.dtype, CompressImpl, _buf.get(), grad.data,
^~~~~~~~~~~~~~~~~~~~
byteps/common/compressor/impl/../common.h:48:42: error: expected ‘>’ before ‘half_t’
reinterpret_cast<const half_t*>(src),
^
byteps/common/compressor/impl/dithering.cc:119:3: note: in expansion of macro ‘COMPRESS_IMPL_SWITCH’
COMPRESS_IMPL_SWITCH(grad.dtype, CompressImpl, _buf.get(), grad.data,
^~~~~~~~~~~~~~~~~~~~
byteps/common/compressor/impl/../common.h:48:42: error: expected ‘(’ before ‘half_t’
reinterpret_cast<const half_t*>(src),
^
byteps/common/compressor/impl/dithering.cc:119:3: note: in expansion of macro ‘COMPRESS_IMPL_SWITCH’
COMPRESS_IMPL_SWITCH(grad.dtype, CompressImpl, _buf.get(), grad.data,
^~~~~~~~~~~~~~~~~~~~
byteps/common/compressor/impl/../common.h:48:42: error: ‘half_t’ was not declared in this scope
reinterpret_cast<const half_t*>(src),
^
byteps/common/compressor/impl/dithering.cc:119:3: note: in expansion of macro ‘COMPRESS_IMPL_SWITCH’
COMPRESS_IMPL_SWITCH(grad.dtype, CompressImpl, _buf.get(), grad.data,
^~~~~~~~~~~~~~~~~~~~
byteps/common/compressor/impl/../common.h:48:42: note: suggested alternative: ‘off_t’
reinterpret_cast<const half_t*>(src),
^
byteps/common/compressor/impl/dithering.cc:119:3: note: in expansion of macro ‘COMPRESS_IMPL_SWITCH’
COMPRESS_IMPL_SWITCH(grad.dtype, CompressImpl, _buf.get(), grad.data,
^~~~~~~~~~~~~~~~~~~~
byteps/common/compressor/impl/../common.h:48:49: error: expected primary-expression before ‘>’ token
reinterpret_cast<const half_t*>(src),
^
byteps/common/compressor/impl/dithering.cc:119:3: note: in expansion of macro ‘COMPRESS_IMPL_SWITCH’
COMPRESS_IMPL_SWITCH(grad.dtype, CompressImpl, _buf.get(), grad.data,
^~~~~~~~~~~~~~~~~~~~
byteps/common/compressor/impl/dithering.cc: In member function ‘virtual byteps::common::compressor::tensor_t byteps::common::compressor::DitheringCompressor::Decompress(byteps::common::compressor::tensor_t)’:
byteps/common/compressor/impl/../common.h:64:36: error: ‘half_t’ does not name a type; did you mean ‘off_t’?
return func(reinterpret_cast<half_t*>(dst),
^
byteps/common/compressor/impl/dithering.cc:170:3: note: in expansion of macro ‘DECOMPRESS_IMPL_SWITCH’
DECOMPRESS_IMPL_SWITCH(_dtype, DecompressImpl, dst, compressed.data,
^~~~~~~~~~~~~~~~~~~~~~
byteps/common/compressor/impl/../common.h:64:42: error: expected ‘>’ before ‘’ token
return func(reinterpret_cast<half_t>(dst),
^
byteps/common/compressor/impl/dithering.cc:170:3: note: in expansion of macro ‘DECOMPRESS_IMPL_SWITCH’
DECOMPRESS_IMPL_SWITCH(_dtype, DecompressImpl, dst, compressed.data,
^~~~~~~~~~~~~~~~~~~~~~
byteps/common/compressor/impl/../common.h:64:42: error: expected ‘(’ before ‘’ token
return func(reinterpret_cast<half_t>(dst),
^
byteps/common/compressor/impl/dithering.cc:170:3: note: in expansion of macro ‘DECOMPRESS_IMPL_SWITCH’
DECOMPRESS_IMPL_SWITCH(_dtype, DecompressImpl, dst, compressed.data,
^~~~~~~~~~~~~~~~~~~~~~
byteps/common/compressor/impl/../common.h:64:43: error: expected primary-expression before ‘>’ token
return func(reinterpret_cast<half_t*>(dst),
^
byteps/common/compressor/impl/dithering.cc:170:3: note: in expansion of macro ‘DECOMPRESS_IMPL_SWITCH’
DECOMPRESS_IMPL_SWITCH(_dtype, DecompressImpl, dst, compressed.data,
^~~~~~~~~~~~~~~~~~~~~~
byteps/common/compressor/impl/dithering.cc: In member function ‘virtual void byteps::common::compressor::DitheringCompressor::FastUpdateError(byteps::common::compressor::tensor_t, byteps::common::compressor::tensor_t, byteps::common::compressor::tensor_t)’:
byteps/common/compressor/impl/../common.h:80:36: error: ‘half_t’ does not name a type; did you mean ‘off_t’?
return func(reinterpret_cast<half_t*>(dst),
^
byteps/common/compressor/impl/dithering.cc:212:3: note: in expansion of macro ‘FAST_UPDATE_ERROR_IMPL_SWITCH’
FAST_UPDATE_ERROR_IMPL_SWITCH(_dtype, FastUpdateErrorImpl, error.data,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
byteps/common/compressor/impl/../common.h:80:42: error: expected ‘>’ before ‘’ token
return func(reinterpret_cast<half_t>(dst),
^
byteps/common/compressor/impl/dithering.cc:212:3: note: in expansion of macro ‘FAST_UPDATE_ERROR_IMPL_SWITCH’
FAST_UPDATE_ERROR_IMPL_SWITCH(_dtype, FastUpdateErrorImpl, error.data,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
byteps/common/compressor/impl/../common.h:80:42: error: expected ‘(’ before ‘’ token
return func(reinterpret_cast<half_t>(dst),
^
byteps/common/compressor/impl/dithering.cc:212:3: note: in expansion of macro ‘FAST_UPDATE_ERROR_IMPL_SWITCH’
FAST_UPDATE_ERROR_IMPL_SWITCH(_dtype, FastUpdateErrorImpl, error.data,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
byteps/common/compressor/impl/../common.h:80:43: error: expected primary-expression before ‘>’ token
return func(reinterpret_cast<half_t*>(dst),
^
byteps/common/compressor/impl/dithering.cc:212:3: note: in expansion of macro ‘FAST_UPDATE_ERROR_IMPL_SWITCH’
FAST_UPDATE_ERROR_IMPL_SWITCH(_dtype, FastUpdateErrorImpl, error.data,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
byteps/common/compressor/impl/../common.h:81:36: error: ‘half_t’ does not name a type; did you mean ‘off_t’?
reinterpret_cast<half_t*>(src1),
^
byteps/common/compressor/impl/dithering.cc:212:3: note: in expansion of macro ‘FAST_UPDATE_ERROR_IMPL_SWITCH’
FAST_UPDATE_ERROR_IMPL_SWITCH(_dtype, FastUpdateErrorImpl, error.data,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
byteps/common/compressor/impl/../common.h:81:42: error: expected ‘>’ before ‘’ token
reinterpret_cast<half_t>(src1),
^
byteps/common/compressor/impl/dithering.cc:212:3: note: in expansion of macro ‘FAST_UPDATE_ERROR_IMPL_SWITCH’
FAST_UPDATE_ERROR_IMPL_SWITCH(_dtype, FastUpdateErrorImpl, error.data,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
byteps/common/compressor/impl/../common.h:81:42: error: expected ‘(’ before ‘’ token
reinterpret_cast<half_t>(src1),
^
byteps/common/compressor/impl/dithering.cc:212:3: note: in expansion of macro ‘FAST_UPDATE_ERROR_IMPL_SWITCH’
FAST_UPDATE_ERROR_IMPL_SWITCH(_dtype, FastUpdateErrorImpl, error.data,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
byteps/common/compressor/impl/../common.h:81:43: error: expected primary-expression before ‘>’ token
reinterpret_cast<half_t*>(src1),
^
byteps/common/compressor/impl/dithering.cc:212:3: note: in expansion of macro ‘FAST_UPDATE_ERROR_IMPL_SWITCH’
FAST_UPDATE_ERROR_IMPL_SWITCH(_dtype, FastUpdateErrorImpl, error.data,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
byteps/common/compressor/impl/../common.h:82:76: error: expected ‘)’ before ‘;’ token
reinterpret_cast<const uint16_t*>(src2), compressed_size);
^
byteps/common/compressor/impl/dithering.cc:212:3: note: in expansion of macro ‘FAST_UPDATE_ERROR_IMPL_SWITCH’
FAST_UPDATE_ERROR_IMPL_SWITCH(_dtype, FastUpdateErrorImpl, error.data,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
byteps/common/compressor/impl/../common.h:82:76: error: return-statement with a value, in function returning 'void' [-fpermissive]
reinterpret_cast<const uint16_t*>(src2), compressed_size);
^
byteps/common/compressor/impl/dithering.cc:212:3: note: in expansion of macro ‘FAST_UPDATE_ERROR_IMPL_SWITCH’
FAST_UPDATE_ERROR_IMPL_SWITCH(_dtype, FastUpdateErrorImpl, error.data,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: An ERROR occured while building the server module.
ERROR: Command errored out with exit status 1: /usr/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-gg9uk_gv/byteps_d2daed5e88db4e3dbcc5a12776b83bdf/setup.py'"'"'; file='"'"'/tmp/pip-install-gg9uk_gv/byteps_d2daed5e88db4e3dbcc5a12776b83bdf/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-6671etx_/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.7/byteps Check the logs for full command output.
`
The text was updated successfully, but these errors were encountered: