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
[vLlm-serving] When run "VLLM_BUILD_XPU_OPS=1 pip install --no-build-isolation -v -e . ", it reports can't find dpct.hpp #10825
Comments
Hi, I am working on to reproduce this issue. Will update to this thread. |
My installment according to this https://github.com/intel-analytics/ipex-llm/tree/main/python/llm/example/GPU/vLLM-Serving#1-install-1 succussed without error. Can you check your
Also, can you try to search
|
(ipex-vllm) intel@intel-0:~/vllm$ source /opt/intel/oneapi/setvars.sh --force :: initializing oneAPI environment ... (ipex-vllm) intel@intel-0: |
In my environment , I can't find this I use below commnad to install |
I will try to reproduce this issue according to your config. |
I uninstall before it , and use this cmd to install again |
Yes, you can ignore it. |
This problem is caused by not installing this package: |
Closed. If you still have problems, feel free to reopen this. |
I followed the steps to install vLlm-serving , but when ran VLLM_BUILD_XPU_OPS=1 pip install --no-build-isolation -v -e ., it reports an error couldn't find dpct.hpp
log as below:
/miniconda3/envs/ipex-vllm/lib/python3.11/site-packages/intel_extension_for_pytorch/include -isystem /home/intel/miniconda3/envs/ipex-vllm/include/python3.11 -isystem /home/intel/miniconda3/envs/ipex-vllm/lib/python3.11/site-packages/torch/include -isystem /home/intel/miniconda3/envs/ipex-vllm/lib/python3.11/site-packages/torch/include/torch/csrc/api/include -O2 -g -DNDEBUG -std=gnu++17 -fPIC -DVLLM_BUILD_XPU_OPS -fsycl -fsycl-targets=spir64 -D_GLIBCXX_USE_CXX11_ABI=1 -MD -MT CMakeFiles/_C.dir/csrc/xpu/layernorm_xpu.cpp.o -MF CMakeFiles/_C.dir/csrc/xpu/layernorm_xpu.cpp.o.d -o CMakeFiles/_C.dir/csrc/xpu/layernorm_xpu.cpp.o -c /home/intel/vllm/csrc/xpu/layernorm_xpu.cpp
/home/intel/vllm/csrc/xpu/layernorm_xpu.cpp:6:10: fatal error: 'dpct/dpct.hpp' file not found
6 | #include <dpct/dpct.hpp>
| ^~~~~~~~~~~~~~~
1 error generated.
[3/9] Building CXX object CMakeFiles/_C.dir/csrc/xpu/cache_ops_xpu.cpp.o
FAILED: CMakeFiles/_C.dir/csrc/xpu/cache_ops_xpu.cpp.o
ccache icpx -DTORCH_EXTENSION_NAME=_C -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_RPC -DUSE_TENSORPIPE -D_C_EXPORTS -I/home/intel/vllm/csrc -I/opt/intel/oneapi/compiler/2024.0/include/sycl -isystem /home/intel/miniconda3/envs/ipex-vllm/lib/python3.11/site-packages/intel_extension_for_pytorch/include -isystem /home/intel/miniconda3/envs/ipex-vllm/include/python3.11 -isystem /home/intel/miniconda3/envs/ipex-vllm/lib/python3.11/site-packages/torch/include -isystem /home/intel/miniconda3/envs/ipex-vllm/lib/python3.11/site-packages/torch/include/torch/csrc/api/include -O2 -g -DNDEBUG -std=gnu++17 -fPIC -DVLLM_BUILD_XPU_OPS -fsycl -fsycl-targets=spir64 -D_GLIBCXX_USE_CXX11_ABI=1 -MD -MT CMakeFiles/_C.dir/csrc/xpu/cache_ops_xpu.cpp.o -MF CMakeFiles/_C.dir/csrc/xpu/cache_ops_xpu.cpp.o.d -o CMakeFiles/_C.dir/csrc/xpu/cache_ops_xpu.cpp.o -c /home/intel/vllm/csrc/xpu/cache_ops_xpu.cpp
/home/intel/vllm/csrc/xpu/cache_ops_xpu.cpp:6:10: fatal error: 'dpct/dpct.hpp' file not found
6 | #include <dpct/dpct.hpp>
| ^~~~~~~~~~~~~~~
1 error generated.
[4/9] Building CXX object CMakeFiles/_C.dir/csrc/xpu/attention_xpu.cpp.o
FAILED: CMakeFiles/_C.dir/csrc/xpu/attention_xpu.cpp.o
ccache icpx -DTORCH_EXTENSION_NAME=_C -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_RPC -DUSE_TENSORPIPE -D_C_EXPORTS -I/home/intel/vllm/csrc -I/opt/intel/oneapi/compiler/2024.0/include/sycl -isystem /home/intel/miniconda3/envs/ipex-vllm/lib/python3.11/site-packages/intel_extension_for_pytorch/include -isystem /home/intel/miniconda3/envs/ipex-vllm/include/python3.11 -isystem /home/intel/miniconda3/envs/ipex-vllm/lib/python3.11/site-packages/torch/include -isystem /home/intel/miniconda3/envs/ipex-vllm/lib/python3.11/site-packages/torch/include/torch/csrc/api/include -O2 -g -DNDEBUG -std=gnu++17 -fPIC -DVLLM_BUILD_XPU_OPS -fsycl -fsycl-targets=spir64 -D_GLIBCXX_USE_CXX11_ABI=1 -MD -MT CMakeFiles/_C.dir/csrc/xpu/attention_xpu.cpp.o -MF CMakeFiles/_C.dir/csrc/xpu/attention_xpu.cpp.o.d -o CMakeFiles/_C.dir/csrc/xpu/attention_xpu.cpp.o -c /home/intel/vllm/csrc/xpu/attention_xpu.cpp
/home/intel/vllm/csrc/xpu/attention_xpu.cpp:6:10: fatal error: 'dpct/dpct.hpp' file not found
6 | #include <dpct/dpct.hpp>
The text was updated successfully, but these errors were encountered: