Giter Club home page Giter Club logo

Comments (12)

tusharraskar avatar tusharraskar commented on June 29, 2024

I am using cpu

from vllm.

DarkLight1337 avatar DarkLight1337 commented on June 29, 2024

The latest version should be fine. By the way, Phi-3V is not well-supported on CPU yet.

from vllm.

tusharraskar avatar tusharraskar commented on June 29, 2024

for cpu required torch == 2.3.1+cpu and torchvision==0.18.1 required torch == 2.3.1

torchvision==0.18.1 not working

from vllm.

DarkLight1337 avatar DarkLight1337 commented on June 29, 2024

@Isotr0py can you provide more insight on this?

from vllm.

Isotr0py avatar Isotr0py commented on June 29, 2024

@tusharraskar torchvision==0.18.1 should work fine. Maybe you can try to reinstall torch and torchvision:

pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cpu

from vllm.

DarkLight1337 avatar DarkLight1337 commented on June 29, 2024

The CI failure here may be related to this issue. It seems that torchvision cannot be installed correctly alongside PyTorch for CPU.

from vllm.

Isotr0py avatar Isotr0py commented on June 29, 2024

@DarkLight1337 We only added torchvision to requirements-test.txt and .buildkite/run-cpu-test.sh didn't install package from it. So torchvision wouldn't be installed by default in intel-test.

from vllm.

DarkLight1337 avatar DarkLight1337 commented on June 29, 2024

@DarkLight1337 We only added torchvision to requirements-test.txt and .buildkite/run-cpu-test.sh didn't install package from it. So torchvision wouldn't be installed by default in intel-test.

Hmm ok, let me update that then.

from vllm.

tusharraskar avatar tusharraskar commented on June 29, 2024

@tusharraskar torchvision==0.18.1 should work fine. Maybe you can try to reinstall torch and torchvision:

pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cpu

Now it's working, but the model is using only one core, which makes the process slow. I also added a screenshot.
Screenshot from 2024-06-21 20-50-27

from vllm.

DarkLight1337 avatar DarkLight1337 commented on June 29, 2024

@tusharraskar torchvision==0.18.1 should work fine. Maybe you can try to reinstall torch and torchvision:

pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cpu

Now it's working, but the model is using only one core, which makes the process slow. I also added a screenshot

The latest version should be fine. By the way, Phi-3V is not well-supported on CPU yet.

That is exactly what I meant by this.

from vllm.

DarkLight1337 avatar DarkLight1337 commented on June 29, 2024

You can check #4194 for the progress on CPU support.

from vllm.

Isotr0py avatar Isotr0py commented on June 29, 2024

@tusharraskar I think adding dtype="bfloat16" or dtype="float" to LLM should be able to use multi-core.

from vllm.

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.