Skip to content

Commit

Permalink
fix quant :-)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhyncs committed Nov 16, 2024
1 parent 9fb5674 commit 8e304aa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/sglang/srt/model_executor/model_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,9 @@ def load_model(self):
self.vllm_config.model_config = self.vllm_model_config
self.vllm_config.load_config = self.load_config
self.vllm_config.device_config = DeviceConfig(self.device)
self.vllm_config.quant_config = VllmConfig._get_quantization_config(
self.vllm_config.model_config, self.vllm_config.load_config
)

# Load the model
self.model = get_model(
Expand Down

0 comments on commit 8e304aa

Please sign in to comment.