Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into upstream_merge_24_09_…
Browse files Browse the repository at this point in the history
…27_0.6.2
  • Loading branch information
gshtras committed Oct 2, 2024
2 parents 4f57e44 + 2d7ab9e commit f49394a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vllm/model_executor/models/dbrx.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ def sample(
def load_weights(self, weights: Iterable[Tuple[str, torch.Tensor]]):

expert_params_mapping = [(
"w13_weight" if weight_name in ["w1", "v1"] else "w2_weight",
"w13_" if weight_name in ["w1", "v1"] else "w2_",
f"mlp.{weight_name}.",
) for weight_name in ["w1", "v1", "w2"]]
params_dict = dict(self.named_parameters(remove_duplicate=False))
Expand Down

0 comments on commit f49394a

Please sign in to comment.