Skip to content
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

[Bug]: GPU plugin can't finish correctly #25141

Open
3 tasks done
Wq-dd opened this issue Jun 20, 2024 · 5 comments
Open
3 tasks done

[Bug]: GPU plugin can't finish correctly #25141

Wq-dd opened this issue Jun 20, 2024 · 5 comments
Assignees
Labels
bug Something isn't working category: GPU OpenVINO GPU plugin support_request

Comments

@Wq-dd
Copy link

Wq-dd commented Jun 20, 2024

OpenVINO Version

2024.2.0

Operating System

Windows System

Device used for inference

GPU

Framework

PyTorch

Model used

llama2 7b

Issue description

When I using openvino==2024.2.0 to run qwen2-7b-int4 and llama2-7b-int4 on iGPU, I got an inference error

"Due to the driver bug any subsequent OpenCL API call will cause application hang, so GPU plugin can't finish correctly. Please try to update the driver or reduce memory consumption (use smaller batch size, less streams, lower precision, etc)to avoid CL_OUT_OF_RESOURCES exception"

Then I change the device to CPU, and there is no error.
Is there a bug of openvino or somothing I did wrong? Please help.

Step-by-step reproduction

  1. llama2 7b int4 model quantized by optimum-cli
  2. intel ultra 155h PC
  3. openvino==2024.2.0

Relevant log output

"Due to the driver bug any subsequent OpenCL API call will cause application hang, so GPU plugin can't finish correctly. Please try to update the driver or reduce memory consumption (use smaller batch size, less streams, lower precision, etc)to avoid CL_OUT_OF_RESOURCES exception"

Issue submission checklist

  • I'm reporting an issue. It's not a question.
  • I checked the problem with the documentation, FAQ, open issues, Stack Overflow, etc., and have not found a solution.
  • There is reproducer code and related data files such as images, videos, models, etc.
@Wq-dd Wq-dd added bug Something isn't working support_request labels Jun 20, 2024
@rkazants rkazants added the category: GPU OpenVINO GPU plugin label Jun 20, 2024
@rkazants rkazants changed the title [Bug]: [Bug]: GPU plugin can't finish correctly Jun 20, 2024
@andrei-kochin
Copy link
Contributor

@Wq-dd have you tried to update the driver like the error suggested?

@Wq-dd
Copy link
Author

Wq-dd commented Jun 21, 2024

Yes, I have updated the driver to the latest driver version==31.0.101.5590, but I still got the same error .

@isanghao
Copy link
Contributor

How much memory does your system have?

@Wq-dd
Copy link
Author

Wq-dd commented Jun 24, 2024

16GB

@chux0519
Copy link
Contributor

chux0519 commented Jul 1, 2024

How large is your model? As far as I know, there is an issue with oneDNN / SYSCL where there is a bug when allocating memory exceeding 4GB on GPUs.

check: oneapi-src/oneDNN#1638

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working category: GPU OpenVINO GPU plugin support_request
Projects
None yet
Development

No branches or pull requests

7 participants