Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
pcmoritz committed Apr 26, 2024
1 parent 72e1e42 commit 0f5824c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions vllm/model_executor/models/mixtral.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,7 @@ def __init__(

# Scaling factors for FP8 activations
need_act_scales = (self.use_fp8
and quant_config.activation_scheme
== "static")
and quant_config.activation_scheme == "static")
self.as_scale = nn.Parameter(
torch.zeros(1, device="cuda", dtype=torch.float32),
requires_grad=False) if need_act_scales else None
Expand Down

0 comments on commit 0f5824c

Please sign in to comment.