Giter Club home page Giter Club logo

Comments (9)

Oscilloscope98 avatar Oscilloscope98 commented on June 9, 2024

Hi @MYaoBQ,

This may due to a bug from IPEX when iGPU and dGPU are both available, and especially when dGPU is not recognized as 'xpu:0'.

To solve this problem and run on ARC A770, you may try to disable UHD Graphics 770 on your machine first and have a try again :)

You could do that through

Device manager (设备管理器) -> Display adapter (显示适配器) -> UHD Graphics 770 - right click (右击) -> Disable device (禁用设备)

Please let us know for any further problems :)

from ipex-llm.

MYaoBQ avatar MYaoBQ commented on June 9, 2024

from ipex-llm.

Oscilloscope98 avatar Oscilloscope98 commented on June 9, 2024

Hi @MYaoBQ,

There are several things you could have a try:

  1. Restart the machine after disabling iGPU
  2. No need to set ONEAPI_DEVICE_SELECTOR any more as only one GPU is available :)

from ipex-llm.

MYaoBQ avatar MYaoBQ commented on June 9, 2024

from ipex-llm.

Oscilloscope98 avatar Oscilloscope98 commented on June 9, 2024

Hi @MYaoBQ ,

We have recently fixed this 通信错误 error, please kindly update to our latest code and have a try again :)

Besides, for Arc A770, here are the recommended configuations:

set USE_XETLA=OFF
set SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1
set SYCL_CACHE_PERSISTENT=1
set BIGDL_QUANTIZE_KV_CACHE=1
set BIGDL_LLM_XMX_DISABLED=1

set no_proxy=localhost,127.0.0.1
set BIGDL_IMPORT_IPEX=0

python startup.py -a

Please let us know for any further problems :)

from ipex-llm.

violet17 avatar violet17 commented on June 9, 2024

Hi @MYaoBQ ,

We have recently fixed this 通信错误 error, please kindly update to our latest code and have a try again :)

Besides, for Arc A770, here are the recommended configuations:

set USE_XETLA=OFF
set SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1
set SYCL_CACHE_PERSISTENT=1
set BIGDL_QUANTIZE_KV_CACHE=1
set BIGDL_LLM_XMX_DISABLED=1

set no_proxy=localhost,127.0.0.1
set BIGDL_IMPORT_IPEX=0

python startup.py -a

Please let us know for any further problems :)

Base on your reply, I try it on Arc dGPU, but get error.
set BIGDL_IMPORT_IPEX=0 means that IPEX won't be imported, right?

from ipex-llm.

Oscilloscope98 avatar Oscilloscope98 commented on June 9, 2024

Hi @violet17,

We have currently updated our Windows guide on Arc A-Series, it is recommended to follow our guide for Langchain-chatchat deployment on WIndows Arc A-Series.

Besides, set BIGDL_IMPORT_IPEX=0 means not automatically importing ipex, but we manually did that in our Langchain-chatchat support code.

Please let us know for any further problems :)

from ipex-llm.

violet17 avatar violet17 commented on June 9, 2024

Hi @Oscilloscope98 , thank you for your reply. I fix could not create a primitive with disable iGPU when using dGPU for inference instead of using set BIGDL_IMPORT_IPEX=0.

from ipex-llm.

Oscilloscope98 avatar Oscilloscope98 commented on June 9, 2024

Hi @Oscilloscope98 , thank you for your reply. I fix could not create a primitive with disable iGPU when using dGPU for inference instead of using set BIGDL_IMPORT_IPEX=0.

Hi @violet17,

I'm glad you solved the problem :) Just some clarification that set BIGDL_IMPORT_IPEX=0 is not for resolving the could not create a primitive issue. It is related to this issue.

Please let me know for any further problems :)

from ipex-llm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.