GithubHelp home page GithubHelp logo

[Bug]: ValueError: The quantization method fp8 is not supported for the current GPU. Minimum capability: 90. Current capability: 86 about vllm HOT 3 OPEN

Maydaytyh avatar Maydaytyh commented on June 12, 2024
[Bug]: ValueError: The quantization method fp8 is not supported for the current GPU. Minimum capability: 90. Current capability: 86

from vllm.

Comments (3)

agt avatar agt commented on June 12, 2024 2

Hi @Maydaytyh

GPU 1: NVIDIA RTX A6000
GPU 2: NVIDIA RTX A6000
[...]
ValueError: The quantization method fp8 is not supported for the current GPU. Minimum capability: 90. Current capability: 86.

FP8 is only supported on >=sm90 i.e. Hopper cards. (Per fp8.py, support for sm89 (Ada, 4090) may come once vLLM upgrades to Pytorch 2.3.0)

AWQ and GPTQ quantization are much less hardware-specific, you might try using those.

from vllm.

seungyeon-seo avatar seungyeon-seo commented on June 12, 2024

I have same error.

ERROR 04-24 21:28:44 worker_base.py:157] KeyError: 'model.layers.55.mlp.down_proj.in_scale'
KeyError: 'model.layers.55.mlp.down_proj.in_scale'
(RayWorkerWrapper pid=3766121) ERROR 04-24 21:28:45 worker_base.py:157] Error executing method load_model. This might cause deadlock in distributed execution.
(RayWorkerWrapper pid=3766121) ERROR 04-24 21:28:45 worker_base.py:157] Traceback (most recent call last):
(RayWorkerWrapper pid=3766121) ERROR 04-24 21:28:45 worker_base.py:157] File "/home/d/anaconda3/envs/3.8/lib/python3.8/site-packages/vllm/worker/worker_base.py", line 149, in execute_method
(RayWorkerWrapper pid=3766121) ERROR 04-24 21:28:45 worker_base.py:157] return executor(*args, **kwargs)
(RayWorkerWrapper pid=3766121) ERROR 04-24 21:28:45 worker_base.py:157] File "/home/d/anaconda3/envs/3.8/lib/python3.8/site-packages/vllm/worker/worker.py", line 117, in load_model
(RayWorkerWrapper pid=3766121) ERROR 04-24 21:28:45 worker_base.py:157] self.model_runner.load_model()
(RayWorkerWrapper pid=3766121) ERROR 04-24 21:28:45 worker_base.py:157] File "/home/d/anaconda3/envs/3.8/lib/python3.8/site-packages/vllm/worker/model_runner.py", line 162, in load_model
(RayWorkerWrapper pid=3766121) ERROR 04-24 21:28:45 worker_base.py:157] self.model = get_model(
(RayWorkerWrapper pid=3766121) ERROR 04-24 21:28:45 worker_base.py:157] File "/home/d/anaconda3/envs/3.8/lib/python3.8/site-packages/vllm/model_executor/model_loader/init.py", line 19, in get_model
(RayWorkerWrapper pid=3766121) ERROR 04-24 21:28:45 worker_base.py:157] return loader.load_model(model_config=model_config,
(RayWorkerWrapper pid=3766121) ERROR 04-24 21:28:45 worker_base.py:157] File "/home/d/anaconda3/envs/3.8/lib/python3.8/site-packages/vllm/model_executor/model_loader/loader.py", line 224, in load_model
(RayWorkerWrapper pid=3766121) ERROR 04-24 21:28:45 worker_base.py:157] model.load_weights(
(RayWorkerWrapper pid=3766121) ERROR 04-24 21:28:45 worker_base.py:157] File "/home/d/anaconda3/envs/3.8/lib/python3.8/site-packages/vllm/model_executor/models/llama.py", line 411, in load_weights
(RayWorkerWrapper pid=3766121) ERROR 04-24 21:28:45 worker_base.py:157] param = params_dict[name]
(RayWorkerWrapper pid=3766121) ERROR 04-24 21:28:45 worker_base.py:157] KeyError: 'model.layers.55.mlp.down_proj.in_scale'

from vllm.

mgoin avatar mgoin commented on June 12, 2024

Yes this is intentional, at the moment FP8 will only be supported where we have native hardware support.

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.