Skip to content

Commit

Permalink
fix(server): fix deepseekv2 loading (#2266)
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierDehaene authored Jul 21, 2024
1 parent 53ec0b7 commit f3435ba
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
from text_generation_server.layers.layernorm import FastRMSNorm
from text_generation_server.layers.rotary import PositionRotaryEmbedding, get_mscale
from text_generation_server.utils.import_utils import SYSTEM
from text_generation_server.utils.log import log_once
from text_generation_server.utils.weights import Weights
from torch import nn
from transformers.activations import ACT2FN
Expand Down Expand Up @@ -240,7 +239,6 @@ def __init__(
if config.attention_bias
else None
),
quantize=config.quantize,
)
self.q_a_layernorm = FastRMSNorm.load(
prefix=f"{prefix}.q_a_layernorm",
Expand All @@ -261,7 +259,6 @@ def __init__(
if config.attention_bias
else None
),
quantize=config.quantize,
)

self.kv_a_layernorm = FastRMSNorm.load(
Expand Down

0 comments on commit f3435ba

Please sign in to comment.