microsoft / microsoft/Graphormer
install.sh Issue, no access to sudo, using pip21.1
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.5k
- Forks
- 374
- PR merge metrics
- No merged PRs in 30d
Description
/nas1-nfs1/home/rxa200026/miniconda3/envs/graphormer/lib/python3.9/site-packages/setuptools/init.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!
********************************************************************************
Requirements should be satisfied by a PEP 517 installer.
If you are using pip, you can try `pip install --use-pep517`.
********************************************************************************
!!
dist.fetch_build_eggs(dist.setup_requires)
running build_ext
/nas1-nfs1/home/rxa200026/miniconda3/envs/graphormer/lib/python3.9/site-packages/torch/utils/cpp_extension.py:370: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend.
warnings.warn(msg.format('we could not find ninja.'))
/nas1-nfs1/home/rxa200026/miniconda3/envs/graphormer/lib/python3.9/site-packages/torch/utils/cpp_extension.py:312: UserWarning:
!! WARNING !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Your compiler (g++ 4.8.5) may be ABI-incompatible with PyTorch!
Please use a compiler that is ABI-compatible with GCC 5.0 and above.
See https://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html.
See https://gist.github.com/goldsborough/d466f43e8ffc948ff92de7486c5216d6
for instructions on how to install GCC 5 or higher.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! WARNING !!
warnings.warn(ABI_INCOMPATIBILITY_WARNING.format(compiler))
skipping 'fairseq/data/data_utils_fast.cpp' Cython extension (up-to-date)
skipping 'fairseq/data/token_block_utils_fast.cpp' Cython extension (up-to-date)
building 'fairseq.libbase' extension
gcc -pthread -B /nas1-nfs1/home/rxa200026/miniconda3/envs/graphormer/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /nas1-nfs1/home/rxa200026/miniconda3/envs/graphormer/include -I/nas1-nfs1/home/rxa200026/miniconda3/envs/graphormer/include -fPIC -O2 -isystem /nas1-nfs1/home/rxa200026/miniconda3/envs/graphormer/include -fPIC -I/nas1-nfs1/home/rxa200026/miniconda3/envs/graphormer/lib/python3.9/site-packages/torch/include -I/nas1-nfs1/home/rxa200026/miniconda3/envs/graphormer/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/nas1-nfs1/home/rxa200026/miniconda3/envs/graphormer/lib/python3.9/site-packages/torch/include/TH -I/nas1-nfs1/home/rxa200026/miniconda3/envs/graphormer/lib/python3.9/site-packages/torch/include/THC -I/nas1-nfs1/home/rxa200026/miniconda3/envs/graphormer/include/python3.9 -c fairseq/clib/libbase/balanced_assignment.cpp -o build/temp.linux-x86_64-cpython-39/fairseq/clib/libbase/balanced_assignment.o -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="_gcc" -DPYBIND11_STDLIB="_libstdcpp" -DPYBIND11_BUILD_ABI="_cxxabi1011" -DTORCH_EXTENSION_NAME=libbase -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
gcc: error: unrecognized command line option ‘-std=c++14’
error: command '/usr/bin/gcc' failed with exit code 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with install.sh and the fairseq/clib/libbase/balanced_assignment.cpp build step, then inspect the reported Python, PyTorch, pip, and GCC versions in the environment. Compare the installation requirements with the no-sudo setup described in the issue; done means the installation path completes without the compiler failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, python, pytorch
- Domain
- build-system, machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100