Giter VIP home page Giter VIP logo

Comments (14)

plusbang avatar plusbang commented on June 20, 2024

Hi, @K-Alex13 , if you have downloaded the model from https://huggingface.co/Qwen/Qwen1.5-14B-Chat/tree/main, please just replace 'Qwen/Qwen1.5-14B-Chat' with your local model folder path here(https://github.com/intel-analytics/ipex-llm/blob/main/python/llm/example/GPU/Deepspeed-AutoTP/run_qwen_14b_arc_2_card.sh#L38).

from bigdl.

K-Alex13 avatar K-Alex13 commented on June 20, 2024

Yes I already use this method, the error comes up after the process you mentioned

from bigdl.

K-Alex13 avatar K-Alex13 commented on June 20, 2024

And the error mentioned missing file are also not in the Qwen/Qwen1.5-14B-Chat files.

from bigdl.

plusbang avatar plusbang commented on June 20, 2024

And the error mentioned missing file are also not in the Qwen/Qwen1.5-14B-Chat files.

If model.safetensors.index.json is not in your local folder, such error message would still occur. You may need to check whether all model files are available and complete in your local model folder.

from bigdl.

K-Alex13 avatar K-Alex13 commented on June 20, 2024

image
what is the function of low-bit here. I think it is 4 bit initial that the gpu needed will less than 16G so I do not know if this use two gpu here. or can you please tell how to check the gpu usage during inference?

from bigdl.

K-Alex13 avatar K-Alex13 commented on June 20, 2024

image
Why gpu 0 did not inference the results and gpu1 did.

from bigdl.

plusbang avatar plusbang commented on June 20, 2024

what is the function of low-bit here. I think it is 4 bit initial that the gpu needed will less than 16G so I do not know if this use two gpu here. or can you please tell how to check the gpu usage during inference?

  • As we introduced in README, you could specify other low bit optimizations (such as fp8) through --low-bit.
  • If you want to monitor GPU usage, you could use a tool named xpu-smi. Use sudo apt install xpu-smi to install, then you could use sudo xpu-smi stats -d 0 to check memory usage of GPU 0.

Why gpu 0 did not inference the results and gpu1 did.

  • Both GPU did inference but we only print inference result of RANK 0 here. In the log, [0] corresponds to output message of RANK 0 while [1] is RANK 1.

from bigdl.

K-Alex13 avatar K-Alex13 commented on June 20, 2024

image
still not working

from bigdl.

plusbang avatar plusbang commented on June 20, 2024

image still not working

According to your screenshot, maybe you could try sudo apt install libmetee and sudo apt install libmetee-dev.

from bigdl.

K-Alex13 avatar K-Alex13 commented on June 20, 2024

how to use them

from bigdl.

plusbang avatar plusbang commented on June 20, 2024

how to use them

Sorry but I have no idea about the meaning of 'them'. ME TEE Library (libmetee/libmetee-dev) is a C library to access CSE/CSME/GSC firmware via, and xpu-smi tool seems to need. Could you use xpu-smi now?

from bigdl.

K-Alex13 avatar K-Alex13 commented on June 20, 2024

I install the packages you said above and try to us xpu-smi, same error comes up

from bigdl.

K-Alex13 avatar K-Alex13 commented on June 20, 2024

By the way I want to know if this is not a method which use two gpu as a bigger gpu to inference message. It just put model in two different gpu separately and inference separately?

from bigdl.

plusbang avatar plusbang commented on June 20, 2024

I install the packages you said above and try to us xpu-smi, same error comes up

Maybe you could try these steps?

sudo apt-get autoremove libmetee-dev
sudo apt-get autoremove libmetee
sudo apt-get install libmetee
sudo apt-get install libmetee-dev
sudo apt-get install xpu-smi

By the way I want to know if this is not a method which use two gpu as a bigger gpu to inference message. It just put model in two different gpu separately and inference separately?

The model is separated and put to two GPUs, each GPU need less memory to inference. In this way, you could treat two GPUs as a bigger one.

from bigdl.

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.