Skip to content

feat: enable FP8 quantized models loading #316

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

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion vllm_spyre/platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ class SpyrePlatform(Platform):
# "spyre" device_name no longer worked due to https://github.com/vllm-project/vllm/pull/16464
device_name: str = "cpu"
device_type: str = "cpu"
supported_quantization: list[str] = ["gptq"]
# compressed-tensors supported by
# https://github.com/foundation-model-stack/fms-model-optimizer/blob/main/fms_mo/aiu_addons/__init__.py
supported_quantization: list[str] = ["gptq", "compressed-tensors"]
_warmup_shapes: Optional[tuple[dict[str, int], ...]] = None
_block_size: int = 64 # hardcoded Spyre constraint for now
_config: VllmConfig = None
Expand Down
Loading