-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
ARM架构机器上安装DLSlime遇到的问题
环境信息
- 架构:arm架构
- 硬件:没有GPU和NPU的机器
- 镜像:deeplink:megatron0.12.1_qwen3_moe_torch26
预期行为
成功安装DLSlime包
实际行为
遇到两个安装问题:
- 直接pip安装时提示需要CUDA toolkit
- 启用编译失败
下面贴上了日志信息,劳烦查看
问题1 运行 pip install dlslime 报错,显示需要CUDA toolkit
root@0cba4220b961:/home/DLSlime-main# pip install dlslime
Looking in indexes: http://mirrors.aliyun.com/pypi/simple
Collecting dlslime
Using cached http://mirrors.aliyun.com/pypi/packages/d2/31/ee132e04babdde2905d688bda797aec5d41e9fbcd31270ca162fe67ef0b4/dlslime-0.0.1.post7.tar.gz (169 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: dlslime
Building wheel for dlslime (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for dlslime (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [28 lines of output]
*** scikit-build-core 0.11.6 using CMake 3.31.1 (wheel)
*** Configuring CMake...
loading initial cache file /tmp/tmpwylvaqat/build/CMakeInit.txt
-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at /usr/local/python3.10.5/lib/python3.10/site-packages/cmake/data/share/cmake-3.31/Modules/Internal/CMakeCUDAFindToolkit.cmake:104 (message):
Failed to find nvcc.
Compiler requires the CUDA toolkit. Please set the CUDAToolkit_ROOT
variable.
Call Stack (most recent call first):
/usr/local/python3.10.5/lib/python3.10/site-packages/cmake/data/share/cmake-3.31/Modules/CMakeDetermineCUDACompiler.cmake:85 (cmake_cuda_find_toolkit)
CMakeLists.txt:20 (enable_language)
-- Configuring incomplete, errors occurred!
*** CMake configuration failed
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for dlslime
Failed to build dlslime
[notice] A new release of pip is available: 25.0.1 -> 26.0
[notice] To update, run: pip install --upgrade pip
ERROR: Failed to build installable wheels for some pyproject.toml based projects (dlslime)
问题2 运行 pip install -v --no-build-isolation -e .
显示如下问题
pip install -v --no-build-isolation -e .
Using pip 25.0.1 from /opt/conda/lib/python3.10/site-packages/pip (python 3.10)
Looking in indexes: http://mirrors.aliyun.com/pypi/simple
Obtaining file:///home/DLSlime-main
Running command Checking if build backend supports build_editable
Checking if build backend supports build_editable ... done
Running command Preparing editable metadata (pyproject.toml)
2026-02-05 02:49:29,499 - scikit_build_core - WARNING - ninja should not be in build-system.requires - scikit-build-core will inject it as needed
*** scikit-build-core 0.11.6 using CMake 3.31.1 (metadata_editable)
Preparing editable metadata (pyproject.toml) ... done
Requirement already satisfied: xxhash in /opt/conda/lib/python3.10/site-packages (from dlslime==0.0.2.post1) (3.5.0)
Requirement already satisfied: pydantic>=2.0 in /opt/conda/lib/python3.10/site-packages (from dlslime==0.0.2.post1) (2.11.7)
Requirement already satisfied: scikit-build-core>=0.10 in /opt/conda/lib/python3.10/site-packages (from dlslime==0.0.2.post1) (0.11.6)
Requirement already satisfied: pybind11>=2.12 in /opt/conda/lib/python3.10/site-packages (from dlslime==0.0.2.post1) (3.0.0)
Requirement already satisfied: annotated-types>=0.6.0 in /opt/conda/lib/python3.10/site-packages (from pydantic>=2.0->dlslime==0.0.2.post1) (0.7.0)
Requirement already satisfied: pydantic-core==2.33.2 in /opt/conda/lib/python3.10/site-packages (from pydantic>=2.0->dlslime==0.0.2.post1) (2.33.2)
Requirement already satisfied: typing-extensions>=4.12.2 in /opt/conda/lib/python3.10/site-packages (from pydantic>=2.0->dlslime==0.0.2.post1) (4.12.2)
Requirement already satisfied: typing-inspection>=0.4.0 in /opt/conda/lib/python3.10/site-packages (from pydantic>=2.0->dlslime==0.0.2.post1) (0.4.1)
Requirement already satisfied: exceptiongroup>=1.0 in /opt/conda/lib/python3.10/site-packages (from scikit-build-core>=0.10->dlslime==0.0.2.post1) (1.2.2)
Requirement already satisfied: packaging>=23.2 in /opt/conda/lib/python3.10/site-packages (from scikit-build-core>=0.10->dlslime==0.0.2.post1) (24.2)
Requirement already satisfied: pathspec>=0.10.1 in /opt/conda/lib/python3.10/site-packages (from scikit-build-core>=0.10->dlslime==0.0.2.post1) (1.0.4)
Requirement already satisfied: tomli>=1.2.2 in /opt/conda/lib/python3.10/site-packages (from scikit-build-core>=0.10->dlslime==0.0.2.post1) (2.2.1)
Building wheels for collected packages: dlslime
Running command Building editable for dlslime (pyproject.toml)
2026-02-05 02:49:30,130 - scikit_build_core - WARNING - ninja should not be in build-system.requires - scikit-build-core will inject it as needed
*** scikit-build-core 0.11.6 using CMake 3.31.1 (editable)
*** Configuring CMake...
loading initial cache file build/CMakeInit.txt
-- slime option: BUILD_RDMA=ON (default: ON)
-- slime option: USE_CUDA=OFF (default: OFF)
-- slime option: USE_MACA=OFF (default: OFF)
-- slime option: BUILD_NVLINK=OFF (default: OFF)
-- slime option: BUILD_NVSHMEM=OFF (default: OFF)
-- slime option: BUILD_ASCEND_DIRECT=OFF (default: OFF)
-- slime option: BUILD_INTRA_OPS=OFF (default: OFF)
-- slime option: BUILD_INTER_OPS=OFF (default: OFF)
-- slime option: BUILD_PYTHON=ON (default: OFF)
-- slime option: USE_GLOO_BACKEND=OFF (default: OFF)
-- slime option: BUILD_TORCH_PLUGIN=OFF (default: OFF)
-- slime option: BUILD_BENCH=OFF (default: OFF)
-- slime option: BUILD_TEST=OFF (default: OFF)
-- Building DLSlime with CPU Backend
-- Found numa library: /usr/lib/aarch64-linux-gnu/libnuma.so.1.0.0
-- Will install numa to: dlslime
-- Found pybind11: /opt/conda/lib/python3.10/site-packages/pybind11/include (found version "3.0.0")
-- Configuring done (0.3s)
-- Generating done (0.0s)
-- Build files have been written to: /home/DLSlime-main/build
*** Building project with Ninja...
[1/15] Building CXX object csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/rdma_assignment.cpp.o
FAILED: csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/rdma_assignment.cpp.o
/usr/bin/g++ -D_slime_rdma_EXPORTS -I/home/DLSlime-main/csrc -I/home/DLSlime-main/csrc/dlslime/engine/rdma/../../.. -I/home/DLSlime-main/csrc/dlslime/device/.. -I/home/DLSlime-main/csrc/dlslime/engine/.. -O3 -DNDEBUG -std=gnu++17 -fPIC -MD -MT csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/rdma_assignment.cpp.o -MF csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/rdma_assignment.cpp.o.d -o csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/rdma_assignment.cpp.o -c /home/DLSlime-main/csrc/dlslime/engine/rdma/rdma_assignment.cpp
In file included from /home/DLSlime-main/csrc/dlslime/engine/rdma/rdma_assignment.cpp:1:
/home/DLSlime-main/csrc/dlslime/engine/rdma/rdma_assignment.h:3:10: fatal error: emmintrin.h: No such file or directory
3 | #include <emmintrin.h>
| ^~~~~~~~~~~~~
compilation terminated.
[2/15] Building CXX object csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/memory_pool.cpp.o
FAILED: csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/memory_pool.cpp.o
/usr/bin/g++ -D_slime_rdma_EXPORTS -I/home/DLSlime-main/csrc -I/home/DLSlime-main/csrc/dlslime/engine/rdma/../../.. -I/home/DLSlime-main/csrc/dlslime/device/.. -I/home/DLSlime-main/csrc/dlslime/engine/.. -O3 -DNDEBUG -std=gnu++17 -fPIC -MD -MT csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/memory_pool.cpp.o -MF csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/memory_pool.cpp.o.d -o csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/memory_pool.cpp.o -c /home/DLSlime-main/csrc/dlslime/engine/rdma/memory_pool.cpp
In file included from /home/DLSlime-main/csrc/dlslime/engine/rdma/memory_pool.cpp:1:
/home/DLSlime-main/csrc/dlslime/engine/rdma/memory_pool.h:3:10: fatal error: infiniband/verbs.h: No such file or directory
3 | #include <infiniband/verbs.h>
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
[3/15] Building CXX object csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/rdma_channel.cpp.o
FAILED: csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/rdma_channel.cpp.o
/usr/bin/g++ -D_slime_rdma_EXPORTS -I/home/DLSlime-main/csrc -I/home/DLSlime-main/csrc/dlslime/engine/rdma/../../.. -I/home/DLSlime-main/csrc/dlslime/device/.. -I/home/DLSlime-main/csrc/dlslime/engine/.. -O3 -DNDEBUG -std=gnu++17 -fPIC -MD -MT csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/rdma_channel.cpp.o -MF csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/rdma_channel.cpp.o.d -o csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/rdma_channel.cpp.o -c /home/DLSlime-main/csrc/dlslime/engine/rdma/rdma_channel.cpp
In file included from /home/DLSlime-main/csrc/dlslime/engine/rdma/rdma_channel.h:3,
from /home/DLSlime-main/csrc/dlslime/engine/rdma/rdma_channel.cpp:1:
/home/DLSlime-main/csrc/dlslime/engine/rdma/memory_pool.h:3:10: fatal error: infiniband/verbs.h: No such file or directory
3 | #include <infiniband/verbs.h>
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
[4/15] Building CXX object csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/rdma_context.cpp.o
FAILED: csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/rdma_context.cpp.o
/usr/bin/g++ -D_slime_rdma_EXPORTS -I/home/DLSlime-main/csrc -I/home/DLSlime-main/csrc/dlslime/engine/rdma/../../.. -I/home/DLSlime-main/csrc/dlslime/device/.. -I/home/DLSlime-main/csrc/dlslime/engine/.. -O3 -DNDEBUG -std=gnu++17 -fPIC -MD -MT csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/rdma_context.cpp.o -MF csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/rdma_context.cpp.o.d -o csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/rdma_context.cpp.o -c /home/DLSlime-main/csrc/dlslime/engine/rdma/rdma_context.cpp
In file included from /home/DLSlime-main/csrc/dlslime/engine/rdma/rdma_context.cpp:1:
/home/DLSlime-main/csrc/dlslime/engine/rdma/rdma_context.h:3:10: fatal error: infiniband/verbs.h: No such file or directory
3 | #include <infiniband/verbs.h>
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
[5/15] Building CXX object csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/ibv_helper.cpp.o
FAILED: csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/ibv_helper.cpp.o
/usr/bin/g++ -D_slime_rdma_EXPORTS -I/home/DLSlime-main/csrc -I/home/DLSlime-main/csrc/dlslime/engine/rdma/../../.. -I/home/DLSlime-main/csrc/dlslime/device/.. -I/home/DLSlime-main/csrc/dlslime/engine/.. -O3 -DNDEBUG -std=gnu++17 -fPIC -MD -MT csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/ibv_helper.cpp.o -MF csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/ibv_helper.cpp.o.d -o csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/ibv_helper.cpp.o -c /home/DLSlime-main/csrc/dlslime/engine/rdma/ibv_helper.cpp
In file included from /home/DLSlime-main/csrc/dlslime/engine/rdma/ibv_helper.cpp:1:
/home/DLSlime-main/csrc/dlslime/engine/rdma/ibv_helper.h:37:10: fatal error: infiniband/verbs.h: No such file or directory
37 | #include <infiniband/verbs.h>
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
[6/15] Building CXX object csrc/dlslime/device/CMakeFiles/_slime_device.dir/host/host_only.cpp.o
FAILED: csrc/dlslime/device/CMakeFiles/_slime_device.dir/host/host_only.cpp.o
/usr/bin/g++ -D_slime_device_EXPORTS -I/home/DLSlime-main/csrc -I/home/DLSlime-main/csrc/dlslime/device/.. -O3 -DNDEBUG -std=gnu++17 -fPIC -MD -MT csrc/dlslime/device/CMakeFiles/_slime_device.dir/host/host_only.cpp.o -MF csrc/dlslime/device/CMakeFiles/_slime_device.dir/host/host_only.cpp.o.d -o csrc/dlslime/device/CMakeFiles/_slime_device.dir/host/host_only.cpp.o -c /home/DLSlime-main/csrc/dlslime/device/host/host_only.cpp
In file included from /home/DLSlime-main/csrc/dlslime/device/host/host_only.cpp:4:
/home/DLSlime-main/csrc/dlslime/device/host/host_signal.h:2:10: fatal error: immintrin.h: No such file or directory
2 | #include <immintrin.h>
| ^~~~~~~~~~~~~
compilation terminated.
[7/15] Building CXX object csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/rdma_worker.cpp.o
FAILED: csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/rdma_worker.cpp.o
/usr/bin/g++ -D_slime_rdma_EXPORTS -I/home/DLSlime-main/csrc -I/home/DLSlime-main/csrc/dlslime/engine/rdma/../../.. -I/home/DLSlime-main/csrc/dlslime/device/.. -I/home/DLSlime-main/csrc/dlslime/engine/.. -O3 -DNDEBUG -std=gnu++17 -fPIC -MD -MT csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/rdma_worker.cpp.o -MF csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/rdma_worker.cpp.o.d -o csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/rdma_worker.cpp.o -c /home/DLSlime-main/csrc/dlslime/engine/rdma/rdma_worker.cpp
/home/DLSlime-main/csrc/dlslime/engine/rdma/rdma_worker.cpp:4:10: fatal error: emmintrin.h: No such file or directory
4 | #include <emmintrin.h> // for _mm_pause
| ^~~~~~~~~~~~~
compilation terminated.
[8/15] Building CXX object csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/rdma_msg_endpoint.cpp.o
FAILED: csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/rdma_msg_endpoint.cpp.o
/usr/bin/g++ -D_slime_rdma_EXPORTS -I/home/DLSlime-main/csrc -I/home/DLSlime-main/csrc/dlslime/engine/rdma/../../.. -I/home/DLSlime-main/csrc/dlslime/device/.. -I/home/DLSlime-main/csrc/dlslime/engine/.. -O3 -DNDEBUG -std=gnu++17 -fPIC -MD -MT csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/rdma_msg_endpoint.cpp.o -MF csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/rdma_msg_endpoint.cpp.o.d -o csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/rdma_msg_endpoint.cpp.o -c /home/DLSlime-main/csrc/dlslime/engine/rdma/rdma_msg_endpoint.cpp
In file included from /home/DLSlime-main/csrc/dlslime/engine/rdma/rdma_msg_endpoint.h:12,
from /home/DLSlime-main/csrc/dlslime/engine/rdma/rdma_msg_endpoint.cpp:1:
/home/DLSlime-main/csrc/dlslime/device/host/host_signal.h:2:10: fatal error: immintrin.h: No such file or directory
2 | #include <immintrin.h>
| ^~~~~~~~~~~~~
compilation terminated.
[9/15] Building CXX object csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/rdma_endpoint.cpp.o
FAILED: csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/rdma_endpoint.cpp.o
/usr/bin/g++ -D_slime_rdma_EXPORTS -I/home/DLSlime-main/csrc -I/home/DLSlime-main/csrc/dlslime/engine/rdma/../../.. -I/home/DLSlime-main/csrc/dlslime/device/.. -I/home/DLSlime-main/csrc/dlslime/engine/.. -O3 -DNDEBUG -std=gnu++17 -fPIC -MD -MT csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/rdma_endpoint.cpp.o -MF csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/rdma_endpoint.cpp.o.d -o csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/rdma_endpoint.cpp.o -c /home/DLSlime-main/csrc/dlslime/engine/rdma/rdma_endpoint.cpp
In file included from /home/DLSlime-main/csrc/dlslime/engine/rdma/rdma_endpoint.h:7,
from /home/DLSlime-main/csrc/dlslime/engine/rdma/rdma_endpoint.cpp:1:
/home/DLSlime-main/csrc/dlslime/engine/rdma/memory_pool.h:3:10: fatal error: infiniband/verbs.h: No such file or directory
3 | #include <infiniband/verbs.h>
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
[10/15] Building CXX object csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/rdma_io_endpoint.cpp.o
FAILED: csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/rdma_io_endpoint.cpp.o
/usr/bin/g++ -D_slime_rdma_EXPORTS -I/home/DLSlime-main/csrc -I/home/DLSlime-main/csrc/dlslime/engine/rdma/../../.. -I/home/DLSlime-main/csrc/dlslime/device/.. -I/home/DLSlime-main/csrc/dlslime/engine/.. -O3 -DNDEBUG -std=gnu++17 -fPIC -MD -MT csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/rdma_io_endpoint.cpp.o -MF csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/rdma_io_endpoint.cpp.o.d -o csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/rdma_io_endpoint.cpp.o -c /home/DLSlime-main/csrc/dlslime/engine/rdma/rdma_io_endpoint.cpp
In file included from /home/DLSlime-main/csrc/dlslime/engine/rdma/rdma_io_endpoint.h:14,
from /home/DLSlime-main/csrc/dlslime/engine/rdma/rdma_io_endpoint.cpp:1:
/home/DLSlime-main/csrc/dlslime/engine/rdma/memory_pool.h:3:10: fatal error: infiniband/verbs.h: No such file or directory
3 | #include <infiniband/verbs.h>
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
[11/15] Building CXX object csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/rdma_future.cpp.o
FAILED: csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/rdma_future.cpp.o
/usr/bin/g++ -D_slime_rdma_EXPORTS -I/home/DLSlime-main/csrc -I/home/DLSlime-main/csrc/dlslime/engine/rdma/../../.. -I/home/DLSlime-main/csrc/dlslime/device/.. -I/home/DLSlime-main/csrc/dlslime/engine/.. -O3 -DNDEBUG -std=gnu++17 -fPIC -MD -MT csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/rdma_future.cpp.o -MF csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/rdma_future.cpp.o.d -o csrc/dlslime/engine/rdma/CMakeFiles/_slime_rdma.dir/rdma_future.cpp.o -c /home/DLSlime-main/csrc/dlslime/engine/rdma/rdma_future.cpp
In file included from /home/DLSlime-main/csrc/dlslime/engine/rdma/rdma_io_endpoint.h:14,
from /home/DLSlime-main/csrc/dlslime/engine/rdma/rdma_future.cpp:6:
/home/DLSlime-main/csrc/dlslime/engine/rdma/memory_pool.h:3:10: fatal error: infiniband/verbs.h: No such file or directory
3 | #include <infiniband/verbs.h>
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
[12/15] Building CXX object csrc/python/CMakeFiles/_slime_c.dir/bind.cpp.o
FAILED: csrc/python/CMakeFiles/_slime_c.dir/bind.cpp.o
/usr/bin/g++ -DBUILD_RDMA -D_slime_c_EXPORTS -I/home/DLSlime-main/csrc -I/home/DLSlime-main/csrc/dlslime/engine/rdma/../../.. -I/home/DLSlime-main/csrc/dlslime/device/.. -I/home/DLSlime-main/csrc/dlslime/engine/.. -isystem /opt/conda/include/python3.10 -isystem /opt/conda/lib/python3.10/site-packages/pybind11/include -O3 -DNDEBUG -std=gnu++17 -fPIC -fvisibility=hidden -flto -fno-fat-lto-objects -MD -MT csrc/python/CMakeFiles/_slime_c.dir/bind.cpp.o -MF csrc/python/CMakeFiles/_slime_c.dir/bind.cpp.o.d -o csrc/python/CMakeFiles/_slime_c.dir/bind.cpp.o -c /home/DLSlime-main/csrc/python/bind.cpp
In file included from /home/DLSlime-main/csrc/python/bind.cpp:31:
/home/DLSlime-main/csrc/dlslime/engine/rdma/rdma_assignment.h:3:10: fatal error: emmintrin.h: No such file or directory
3 | #include <emmintrin.h>
| ^~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
*** CMake build failed
error: subprocess-exited-with-error
× Building editable for dlslime (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
full command: /opt/conda/bin/python /opt/conda/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_editable /tmp/tmp6t0531bt
cwd: /home/DLSlime-main
Building editable for dlslime (pyproject.toml) ... error
ERROR: Failed building editable for dlslime
Failed to build dlslime
[notice] A new release of pip is available: 25.0.1 -> 26.0
[notice] To update, run: pip install --upgrade pip
ERROR: Failed to build installable wheels for some pyproject.toml based projects (dlslime)
如果需要pip list信息,可以参考如下
Package Version
----------------------------- -----------
absl-py 2.1.0
addict 2.4.0
aiohappyeyeballs 2.4.4
aiohttp 3.11.11
aiosignal 1.3.2
anaconda-anon-usage 0.4.4
annotated-types 0.7.0
apex 0.1+ascend
APScheduler 3.11.0
archspec 0.2.3
astor 0.8.1
async-timeout 5.0.1
attrs 24.3.0
auto_tune 0.1.0
blosc2 2.7.1
boltons 24.0.0
boto3 1.35.86
botocore 1.35.86
Brotli 1.1.0
certifi 2024.12.14
cffi 1.17.1
cfgv 3.4.0
charset-normalizer 3.4.0
click 8.2.1
cloudpickle 3.1.0
colorama 0.4.6
conda 24.11.2
conda-content-trust 0.2.0
conda-libmamba-solver 24.11.1
conda-package-handling 2.4.0
conda_package_streaming 0.11.0
contourpy 1.3.1
cryptography 43.0.0
cycler 0.12.1
dataflow 0.0.1
datasets 3.2.0
decorator 5.1.1
dill 0.3.8
distlib 0.3.9
distro 1.9.0
einops 0.8.0
exceptiongroup 1.2.2
filelock 3.16.1
fonttools 4.55.3
frozendict 2.4.6
frozenlist 1.5.0
fsspec 2024.9.0
GPUtil 1.4.0
gpytorch 1.14
greenlet 3.2.4
grpcio 1.69.0
h2 4.1.0
hccl 0.1.0
hccl_parser 0.1
hf-xet 1.1.7
highspy 1.9.0
hpack 4.0.0
huggingface-hub 0.34.4
hyperframe 6.0.1
identify 2.6.3
idna 3.10
iniconfig 2.0.0
jaxtyping 0.3.2
Jinja2 3.1.5
jmespath 1.0.1
joblib 1.5.1
jsonlines 4.0.0
jsonpatch 1.33
jsonpointer 3.0.0
jsonschema 4.25.0
jsonschema-specifications 2025.4.1
kiwisolver 1.4.8
libmambapy 2.0.5
linear-operator 0.6
llm_datadist 0.0.1
loguru 0.7.3
Markdown 3.7
markdown-it-py 3.0.0
MarkupSafe 3.0.2
matplotlib 3.10.0
mdurl 0.1.2
menuinst 2.2.0
mindspeed 0.12.1
ml_dtypes 0.5.0
modelscope 1.21.0
mpmath 1.3.0
msgpack 1.1.0
msobjdump 0.1.0
multidict 6.1.0
multiprocess 0.70.16
ndindex 1.9.2
networkx 3.4.2
ninja 1.11.1.3
nodeenv 1.9.1
numexpr 2.10.2
numpy 1.26.0
op_compile_tool 0.1.0
op_gen 0.1
op_test_frame 0.1
opc_tool 0.1.0
packaging 24.2
pandas 2.2.3
pathspec 1.0.4
pillow 11.0.0
pip 25.0.1
platformdirs 4.3.6
pluggy 1.5.0
pre_commit 4.0.1
prettytable 3.12.0
propcache 0.2.1
protobuf 5.29.2
psutil 6.1.1
PuLP 3.0.0
py-cpuinfo 9.0.0
py-libnuma 1.2
py-spy 0.4.0
pyarrow 18.1.0
pybind11 3.0.0
pycosat 0.6.6
pycparser 2.22
pydantic 2.11.7
pydantic_core 2.33.2
pyecharts 2.0.7
Pygments 2.18.0
pyparsing 3.2.0
PySocks 1.7.1
pytest 8.3.4
pytest-mock 3.14.1
python-dateutil 2.9.0.post0
python-rapidjson 1.21
pytz 2024.2
PyYAML 6.0.2
pyzmq 26.2.0
ray 2.48.0
referencing 0.36.2
regex 2024.11.6
requests 2.32.3
rich 13.9.4
rpds-py 0.27.0
ruamel.yaml 0.18.6
ruamel.yaml.clib 0.2.8
s3transfer 0.10.4
safetensors 0.4.5
schedule_search 0.0.1
scikit_build_core 0.11.6
scikit-learn 1.7.1
scipy 1.14.1
sentencepiece 0.2.0
setuptools 75.6.0
show_kernel_debug_data 0.1.0
simplejson 3.19.3
six 1.17.0
SQLAlchemy 2.0.43
sympy 1.13.1
te 0.4.0
tensorboard 2.18.0
tensorboard-data-server 0.7.2
threadpoolctl 3.6.0
tokenizers 0.21.4
tomli 2.2.1
torch 2.6.0+cpu
torch_npu 2.6.0
tornado 6.4.2
tqdm 4.67.1
transformers 4.51.0
transformers-stream-generator 0.0.5
tritonclient 2.49.0
truststore 0.10.0
typing_extensions 4.12.2
typing-inspection 0.4.1
tzdata 2024.2
tzlocal 5.2
urllib3 2.2.3
virtualenv 20.28.0
wadler_lindig 0.1.7
wcwidth 0.2.13
Werkzeug 3.1.3
wheel 0.44.0
xxhash 3.5.0
yarl 1.18.3
zmq 0.0.0
zstandard 0.23.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels