Comments (4)
Hi, please try with conda-forge
conda install -c conda-forge openvino eigen c-compiler cxx-compiler make
For Windows deployment, you could also install eigen and openvino without conda.
Details
- Download from https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.zip
- Unzip to path C:/Eigen3/eigen-3.4.0
- Run next step's build.bat will report error: not found Eigen3Config.cmake/eigen3-config.cmake
- Create build folder for Eigen and Open VS in this path C:/Eigen3/eigen-3.4.0/build
- Open VS's developer PS terminal to do "cmake .." and redo the CMake
from openvino.genai.
Hi @yangsu2022 - using conda-forge did resolve the conda install step.
however pip install for openvino_contrib fails with a build failure.
D:\openvino.genai\thirdparty\openvino_contrib\modules\custom_operations\user_ie_extensions\tokenizer\sentence_piece.cpp(110,1): error C2039: 'string': is not a member of 'ov::element' [C:\Users\local_user\AppData\Local\Temp\tmpnlegpeyi\build\user_ie_extensions\user_ov_extensions.vcxproj]
C:/Users/local_user/.conda/envs/openvino_sd_cpp/Library/include\openvino/core/type/element_type.hpp(32): message : see declaration of 'ov::element' [C:\Users\local_user\AppData\Local\Temp\tmpnlegpeyi\build\user_ie_extensions\user_ov_extensions.vcxproj]
D:\openvino.genai\thirdparty\openvino_contrib\modules\custom_operations\user_ie_extensions\tokenizer\sentence_piece.cpp(110,1): error C2065: 'string': undeclared identifier [C:\Users\local_user\AppData\Local\Temp\tmpnlegpeyi\build\user_ie_extensions\user_ov_extensions.vcxproj]
D:\openvino.genai\thirdparty\openvino_contrib\modules\custom_operations\user_ie_extensions\tokenizer\sentence_piece.cpp(156,43): error C2039: 'string': is not a member of 'ov::element' [C:\Users\local_user\AppData\Local\Temp\tmpnlegpeyi\build\user_ie_extensions\user_ov_extensions.vcxproj]
C:/Users/local_user/.conda/envs/openvino_sd_cpp/Library/include\openvino/core/type/element_type.hpp(32): message : see declaration of 'ov::element' [C:\Users\local_user\AppData\Local\Temp\tmpnlegpeyi\build\user_ie_extensions\user_ov_extensions.vcxproj]
D:\openvino.genai\thirdparty\openvino_contrib\modules\custom_operations\user_ie_extensions\tokenizer\sentence_piece.cpp(156,49): error C2065: 'string': undeclared identifier [C:\Users\local_user\AppData\Local\Temp\tmpnlegpeyi\build\user_ie_extensions\user_ov_extensions.vcxproj]
D:\openvino.genai\thirdparty\openvino_contrib\modules\custom_operations\user_ie_extensions\tokenizer\sentence_piece.cpp(168,47): error C2039: 'string': is not a member of 'ov::element' [C:\Users\local_user\AppData\Local\Temp\tmpnlegpeyi\build\user_ie_extensions\user_ov_extensions.vcxproj]
C:/Users/local_user/.conda/envs/openvino_sd_cpp/Library/include\openvino/core/type/element_type.hpp(32): message : see declaration of 'ov::element' [C:\Users\local_user\AppData\Local\Temp\tmpnlegpeyi\build\user_ie_extensions\user_ov_extensions.vcxproj]
D:\openvino.genai\thirdparty\openvino_contrib\modules\custom_operations\user_ie_extensions\tokenizer\sentence_piece.cpp(168,53): error C2065: 'string': undeclared identifier [C:\Users\local_user\AppData\Local\Temp\tmpnlegpeyi\build\user_ie_extensions\user_ov_extensions.vcxproj]
string_tensor_pack.cpp
D:\openvino.genai\thirdparty\openvino_contrib\modules\custom_operations\user_ie_extensions\tokenizer\string_tensor_pack.cpp(14,33): error C2039: 'string': is not a member of 'ov::element' [C:\Users\local_user\AppData\Local\Temp\tmpnlegpeyi\build\user_ie_extensions\user_ov_extensions.vcxproj]
C:/Users/local_user/.conda/envs/openvino_sd_cpp/Library/include\openvino/core/type/element_type.hpp(32): message : see declaration of 'ov::element' [C:\Users\local_user\AppData\Local\Temp\tmpnlegpeyi\build\user_ie_extensions\user_ov_extensions.vcxproj]
D:\openvino.genai\thirdparty\openvino_contrib\modules\custom_operations\user_ie_extensions\tokenizer\string_tensor_pack.cpp(14,39): error C2065: 'string': undeclared identifier [C:\Users\local_user\AppData\Local\Temp\tmpnlegpeyi\build\user_ie_extensions\user_ov_extensions.vcxproj]
string_tensor_unpack.cpp
D:\openvino.genai\thirdparty\openvino_contrib\modules\custom_operations\user_ie_extensions\tokenizer\string_tensor_unpack.cpp(20,39): error C2039: 'string': is not a member of 'ov::element' [C:\Users\local_user\AppData\Local\Temp\tmpnlegpeyi\build\user_ie_extensions\user_ov_extensions.vcxproj]
C:/Users/local_user/.conda/envs/openvino_sd_cpp/Library/include\openvino/core/type/element_type.hpp(32): message : see declaration of 'ov::element' [C:\Users\local_user\AppData\Local\Temp\tmpnlegpeyi\build\user_ie_extensions\user_ov_extensions.vcxproj]
D:\openvino.genai\thirdparty\openvino_contrib\modules\custom_operations\user_ie_extensions\tokenizer\string_tensor_unpack.cpp(20,45): error C2065: 'string': undeclared identifier [C:\Users\local_user\AppData\Local\Temp\tmpnlegpeyi\build\user_ie_extensions\user_ov_extensions.vcxproj]
D:\openvino.genai\thirdparty\openvino_contrib\modules\custom_operations\user_ie_extensions\tokenizer\string_tensor_unpack.cpp(49,39): error C2039: 'string': is not a member of 'ov::element' [C:\Users\local_user\AppData\Local\Temp\tmpnlegpeyi\build\user_ie_extensions\user_ov_extensions.vcxproj]
C:/Users/local_user/.conda/envs/openvino_sd_cpp/Library/include\openvino/core/type/element_type.hpp(32): message : see declaration of 'ov::element' [C:\Users\local_user\AppData\Local\Temp\tmpnlegpeyi\build\user_ie_extensions\user_ov_extensions.vcxproj]
D:\openvino.genai\thirdparty\openvino_contrib\modules\custom_operations\user_ie_extensions\tokenizer\string_tensor_unpack.cpp(49,45): error C2065: 'string': undeclared identifier [C:\Users\local_user\AppData\Local\Temp\tmpnlegpeyi\build\user_ie_extensions\user_ov_extensions.vcxproj]
tensorflow_translators.cpp
utils.cpp
vocab_decoder.cpp
wordpiece_tokenizer.cpp
Generating Code...
*** CMake build failed
[end of output]
Following the manual build flow results in the same issue when compiling with Visual Studio 2022.
I am currently using OpenVINO 2023.2.0 release.
from openvino.genai.
OpenVINO version supporting ov::element::string
isn't released yet.
from openvino.genai.
Moving to the build linked above resolved the issue with the manual build flow. Might be worth mentioning that you need a dev build in the Readme.
from openvino.genai.
Related Issues (20)
- [Good First Issue]: Verify Phi-1_5 with GenAI text_generation HOT 9
- Add profiling option to C++ sample for greedy_causal_lm HOT 3
- MPT-30B met convert issue
- Falcon-40B convert successfully but output_dir has not been created HOT 9
- Convert failed using Salesforce/codegen25-7b-multi HOT 2
- Convert failed of baichuan-inc/Baichuan2-13B-Chat HOT 1
- [Improvement] Wrong output size of google/flan-t5-xl HOT 7
- Convert.py breaks for microsoft/trocr-base-printed HOT 3
- Migrate to optimum-cli from llm_bench usage
- Requesting help to understand how TTFT is calculated. Is there any documentation? HOT 3
- MPT-30B met benchmarking issue HOT 1
- ChatGLM3 output token size is not generated as expected HOT 6
- stable diffusion 1.5 generates noise image with "--num"
- Causal LM text generation example errors out HOT 5
- [Good First Issue]: Project won't run because it can't load openvino_tokenizers.dll - even though it exists! HOT 5
- FullyConnected nodes use slow reference kernel on ARM HOT 18
- some regression for benchmark on stable diffusion v1.5 HOT 5
- the quality of generated image is low by benchmark on stable diffusion v1.5 HOT 7
- chatglm3 fails with jsonl input HOT 9
- llama3 perf is low HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openvino.genai.