Comments (16)
@hsulin0806 you may start by looking at https://github.com/openvinotoolkit/openvino.genai/tree/master/text_generation/causal_lm/cpp
Thank you!
from openvino_notebooks.
same
from openvino_notebooks.
Intel® Xeon(R) W-1290E CPU @ 3.50GHz × 20
Ubuntu 20.04.6 LTS
and
13th Gen Intel® Core™ i9-13900E × 32
Ubuntu 22.04.3 LTS
Both environments get the same result.
from openvino_notebooks.
Hi @hsulin0806 could you help to check the version of openvino in your system?
pip freeze | grep openvino
from openvino_notebooks.
你好@hsulin0806你可以幫忙檢查一下你係統中openvino的版本嗎?
pip freeze | grep openvino
Hi
Intel® Xeon(R) W-1290E CPU @ 3.50GHz × 20
Ubuntu 20.04.6 LTS
pip freeze | grep openvino
nncf @ git+https://github.com/openvinotoolkit/nncf@dc928a9e45b2dba3fd6cf8ad8c046b56d5da35f3
openvino-nightly==2024.0.0.dev20240103
openvino-telemetry==2023.2.1
Note: you may need to restart the kernel to use updated packages.
and
13th Gen Intel® Core™ i9-13900E × 32
Ubuntu 22.04.3 LTS
pip freeze | grep openvino
openvino==2023.2.0
openvino-dev==2023.2.0
openvino-nightly==2024.0.0.dev20240103
openvino-telemetry==2023.2.1
Note: you may need to restart the kernel to use updated packages.
from openvino_notebooks.
could you uninstall openvino
and openvino-dev
, then see if the error still exists ?
from openvino_notebooks.
An error will occur.
RuntimeError: Failed to import optimum.intel.openvino because of the following error (look up to see its traceback):
No module named 'openvino.runtime'
from openvino_notebooks.
An error will occur.
RuntimeError: Failed to import optimum.intel.openvino because of the following error (look up to see its traceback): No module named 'openvino.runtime'
Just reinstalling optimum-intel
shall be ok
from openvino_notebooks.
An error will occur.
RuntimeError: Failed to import optimum.intel.openvino because of the following error (look up to see its traceback): No module named 'openvino.runtime'Just reinstalling
optimum-intel
shall be ok
Again @@
TypeError: InferRequest.start_async() got an unexpected keyword argument 'shared_memory'
%pip freeze | grep openvino
nncf @ git+https://github.com/openvinotoolkit/nncf@6d6416d631497aaa2cf246c98ab31fb8c97d5847
openvino-nightly==2024.0.0.dev20240103
openvino-telemetry==2023.2.1
Note: you may need to restart the kernel to use updated packages.
from openvino_notebooks.
maybe you can try to install a lower version of openvino-nightly, .e.g. ```pip install openvino-nightly==2023.3.0.dev20231219
from openvino_notebooks.
maybe you can try to install a lower version of openvino-nightly, .e.g. ```pip install openvino-nightly==2023.3.0.dev20231219
Thank u
pip install openvino-nightly==2023.3.0.dev20231219 This is the key!
The internal graphics is working, but the dGPU still cannot execute.
I use Intel Arc-370M dGPU
Kernel Restarting appears.
from openvino_notebooks.
maybe you can try to install a lower version of openvino-nightly, .e.g. ```pip install openvino-nightly==2023.3.0.dev20231219
Thank u pip install openvino-nightly==2023.3.0.dev20231219 This is the key!
The internal graphics is working, but the dGPU still cannot execute.
What is your model's size? a FP16/FP32 model may exceed the maximum dedicated memory on ARC-370m, I believed its 4gGB ?
from openvino_notebooks.
也許你可以嘗試安裝較低版本的 openvino-nightly,例如 ```pip install openvino-nightly==2023.3.0.dev20231219
謝謝 pip install openvino-nightly==2023.3.0.dev20231219 這才是關鍵!
內部顯示卡正在工作,但 dGPU 仍然無法執行。
我使用 Intel Arc-370M dGPU 出現核心重新啟動。您的模特兒尺寸是多少?FP16/FP32 型號可能超過 ARC-370m 上的最大專用內存,我相信它是 4gGB ?
Yes 4GB 64 bit Memory
You are right!
I tested the small model tiny-llama-1b-chat and it works normally, thank you!
from openvino_notebooks.
Hi, as the owner of most topics related to OV Python, here is the answer to the question: openvinotoolkit/openvino#21979 (comment)
tl;dr you need to replace shared_memory
with share_inputs
. It works the same. I also encourage you to try out new share_outputs
flag, especially with LLMs!
Cheers!
from openvino_notebooks.
Hi, as the owner of most topics related to OV Python, here is the answer to the question: openvinotoolkit/openvino#21979 (comment)
tl;dr you need to replace
shared_memory
withshare_inputs
. It works the same. I also encourage you to try out newshare_outputs
flag, especially with LLMs!Cheers!
Thank you! I will try 'share_outputs'.
May I ask, does the '254-llm-chatbot' example provide a C++ inference program like the object recognition example?
from openvino_notebooks.
@hsulin0806 you may start by looking at https://github.com/openvinotoolkit/openvino.genai/tree/master/text_generation/causal_lm/cpp
from openvino_notebooks.
Related Issues (20)
- YOLOv8 over YOLOv5 Performance : Automated SelfCheckout HOT 2
- AMP: running Automatic Mixed Precision (AMP) checks with YOLOv8n... HOT 2
- requirements: Ultralytics requirement "lap>=0.4" not found : Automated Self Checkout HOT 2
- HTTP download causes ocl-icd-2.2.12-1.el8.x86_64.rpm download to fail with Proxy while building on OpenShift HOT 2
- Issues in running GPU device on MTL iGPU in notebook 261-fast-segment-anything HOT 4
- benchmark_app tests model FPS HOT 1
- [280-depth-anything] -- Unable to Compile OpenVINO Converted Model on GPU HOT 1
- Potential Collaboration HOT 1
- Opconversion Failure for gemma-7b_INT4 HOT 3
- [235-controlnet] Fail to prepare a dataset for quantization HOT 2
- [Notebook Hello Segmentation] segmented image result is not displaying expected image HOT 2
- load model with GPU error HOT 9
- how to run chatglm3 by NPU HOT 1
- llm-chatbot can't run on Ultra7 155H NPU HOT 2
- How to clear cache of installed packages? HOT 3
- Getting error when using Docker installation method HOT 3
- Permission Error HOT 3
- Can't test on single image with model yolov8 HOT 1
- Error building openvino notebooks on Ubuntu HOT 3
- Installed openvino notebook using docker. But check_install.py failed HOT 6
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_notebooks.