You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
********************************************************************************
Please avoid running ``setup.py`` and ``easy_install``.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://github.com/pypa/setuptools/issues/917 for details.
********************************************************************************
!!
easy_install.initialize_options(self)
/opt/py3/lib/python3.10/site-packages/skbuild/setuptools_wrap.py:611: _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(setup_requires)
-- Trying 'Ninja' generator
--
Not searching for unused variables given on the command line.
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument value. Or, use the ... syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.
-- The C compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- The CXX compiler identification is GNU 11.4.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done (0.8s)
-- Generating done (0.0s)
-- Build files have been written to: /workspace/dlinfer/_cmake_test_compile/build
Not searching for unused variables given on the command line.
-- The CXX compiler identification is GNU 11.4.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done (0.2s)
-- Generating done (0.0s)
-- Build files have been written to: /workspace/dlinfer/_skbuild/linux-x86_64-3.10/cmake-build
ninja: no work to do.
ninja: no work to do.
/opt/py3/lib/python3.10/site-packages/setuptools/init.py:81: _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)
The text was updated successfully, but these errors were encountered:
在k8s场景下,计划把dlinfer构建到lmdeploy的docker镜像里面去,这样镜像部署上去就能直接用。我通过docker run跑起来一个lmdeploy容器,进入到里面去执行dlinfer的安装,一直卡住不动,麻烦看一看。操作步骤如下:
1、找一台带有docker的服务器
2、下载dlinfer
git clone https://github.com/DeepLink-org/dlinfer.git
3、docker run跑起来一个lmdeploy,把本地下载下来的dlinfer加载过去
docker run --net host --shm-size 16g -v /root/hjw/dlinfer:/workspace/dlinfer -it openmmlab/lmdeploy:latest /bin/bash
4、进入容器后,执行命令。(寒武纪GPU场景)
DEVICE=camb python3 setup.py develop
此时会报错:ModuleNotFoundError: No module named 'skbuild'
5、先安装skbuild模块
pip3 install scikit-build
6、安装完成后,再次部署dlinfer
DEVICE=camb python3 setup.py develop
到这之后执行了一小段到 dist.fetch_build_eggs(dist.setup_requires) 就卡住了,过1个多小时都没完成
下面是具体的日志(比较长,辅助分析):
root@10-7-31-97:/workspace/dlinfer# DEVICE=camb python3 setup.py develop
/opt/py3/lib/python3.10/site-packages/setuptools/command/develop.py:40: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!
!!
easy_install.initialize_options(self)
/opt/py3/lib/python3.10/site-packages/skbuild/setuptools_wrap.py:611: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!
!!
dist.fetch_build_eggs(setup_requires)
-- Trying 'Ninja' generator
--
Not searching for unused variables given on the command line.
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument value. Or, use the ... syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.
-- The C compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- The CXX compiler identification is GNU 11.4.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done (0.8s)
-- Generating done (0.0s)
-- Build files have been written to: /workspace/dlinfer/_cmake_test_compile/build
-- Trying 'Ninja' generator - success
Configuring Project
Working directory:
/workspace/dlinfer/_skbuild/linux-x86_64-3.10/cmake-build
Command:
/opt/py3/lib/python3.10/site-packages/cmake/data/bin/cmake /workspace/dlinfer -G Ninja --no-warn-unused-cli -DCMAKE_INSTALL_PREFIX:PATH=/workspace/dlinfer/_skbuild/linux-x86_64-3.10/cmake-install -DPYTHON_VERSION_STRING:STRING=3.10.12 -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/opt/py3/lib/python3.10/site-packages/skbuild/resources/cmake -DPYTHON_EXECUTABLE:PATH=/opt/py3/bin/python3 -DPYTHON_INCLUDE_DIR:PATH=/usr/include/python3.10 -DPYTHON_LIBRARY:PATH=/usr/lib/x86_64-linux-gnu/libpython3.10.so -DPython_EXECUTABLE:PATH=/opt/py3/bin/python3 -DPython_ROOT_DIR:PATH=/opt/py3 -DPython_FIND_REGISTRY:STRING=NEVER -DPython_INCLUDE_DIR:PATH=/usr/include/python3.10 -DPython_NumPy_INCLUDE_DIRS:PATH=/opt/py3/lib/python3.10/site-packages/numpy/core/include -DPython3_EXECUTABLE:PATH=/opt/py3/bin/python3 -DPython3_ROOT_DIR:PATH=/opt/py3 -DPython3_FIND_REGISTRY:STRING=NEVER -DPython3_INCLUDE_DIR:PATH=/usr/include/python3.10 -DPython3_NumPy_INCLUDE_DIRS:PATH=/opt/py3/lib/python3.10/site-packages/numpy/core/include -DCMAKE_BUILD_TYPE=Release -DDEVICE=camb
Not searching for unused variables given on the command line.
-- The CXX compiler identification is GNU 11.4.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done (0.2s)
-- Generating done (0.0s)
-- Build files have been written to: /workspace/dlinfer/_skbuild/linux-x86_64-3.10/cmake-build
ninja: no work to do.
ninja: no work to do.
/opt/py3/lib/python3.10/site-packages/setuptools/init.py:81: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!
!!
dist.fetch_build_eggs(dist.setup_requires)
The text was updated successfully, but these errors were encountered: