---
id: pr-vllm-14390
repo: vllm-project/vllm
pr: 14390
title: '[FP8] Refactor apply_fp8_linear and apply_fp8_linear_generic into an object'
author: ProExpertProg
date: '2025-03-07'
url: https://github.com/vllm-project/vllm/pull/14390
source_category: upstream-code
architectures:
- sm100
tags: []
techniques: []
hardware_features: []
kernel_types: []
languages: []
captured_at: '2026-05-16'
status: merged
merge_sha: e1744502c21f38d913c0905b10471e96fe755104
inclusion_reason: defer
changed_paths:
- tests/compile/test_fusion.py
- vllm/attention/backends/mla/common.py
- vllm/model_executor/layers/quantization/compressed_tensors/schemes/compressed_tensors_w8a8_fp8.py
- vllm/model_executor/layers/quantization/fbgemm_fp8.py
- vllm/model_executor/layers/quantization/fp8.py
- vllm/model_executor/layers/quantization/modelopt.py
- vllm/model_executor/layers/quantization/ptpc_fp8.py
- vllm/model_executor/layers/quantization/quark/schemes/quark_w8a8_fp8.py
- vllm/model_executor/layers/quantization/utils/fp8_utils.py
- vllm/model_executor/layers/quantization/utils/w8a8_utils.py
- vllm/v1/attention/backends/mla/common.py
artifact_dir: evidence/pull-bundles/vllm/gh-14390
head_ref_oid: ede98ce16240d0f9ab151497b61d4fc5aa222f85
---
# [FP8] Refactor apply_fp8_linear and apply_fp8_linear_generic into an object

- Repository: `vllm-project/vllm`
- PR: [14390](https://github.com/vllm-project/vllm/pull/14390)
- Decision: `defer`
- Reason: defer

## Changed Paths

- `tests/compile/test_fusion.py`
- `vllm/attention/backends/mla/common.py`
- `vllm/model_executor/layers/quantization/compressed_tensors/schemes/compressed_tensors_w8a8_fp8.py`
- `vllm/model_executor/layers/quantization/fbgemm_fp8.py`
- `vllm/model_executor/layers/quantization/fp8.py`
- `vllm/model_executor/layers/quantization/modelopt.py`
- `vllm/model_executor/layers/quantization/ptpc_fp8.py`
- `vllm/model_executor/layers/quantization/quark/schemes/quark_w8a8_fp8.py`
- `vllm/model_executor/layers/quantization/utils/fp8_utils.py`
- `vllm/model_executor/layers/quantization/utils/w8a8_utils.py`
- `vllm/v1/attention/backends/mla/common.py`

## Evidence Bundle

`evidence/pull-bundles/vllm/gh-14390`
