File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
vllm/model_executor/models Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 9
9
from vllm .config import CacheConfig , MultiModalConfig
10
10
from vllm .inputs import INPUT_REGISTRY , InputContext , LLMInputs
11
11
from vllm .logger import init_logger
12
- from vllm .model_executor .layers .linear import ColumnParallelLinear
13
12
from vllm .model_executor .layers .logits_processor import LogitsProcessor
14
13
from vllm .model_executor .layers .quantization .base_config import (
15
14
QuantizationConfig )
@@ -133,12 +132,10 @@ class PaliGemmaMultiModalProjector(nn.Module):
133
132
def __init__ (self , vision_hidden_size : int , projection_dim : int ):
134
133
super ().__init__ ()
135
134
136
- self .linear = ColumnParallelLinear (vision_hidden_size ,
137
- projection_dim ,
138
- bias = True )
135
+ self .linear = nn .Linear (vision_hidden_size , projection_dim , bias = True )
139
136
140
137
def forward (self , image_features : torch .Tensor ) -> torch .Tensor :
141
- hidden_states , _ = self .linear (image_features )
138
+ hidden_states = self .linear (image_features )
142
139
return hidden_states
143
140
144
141
You can’t perform that action at this time.
0 commit comments