Skip to content

Commit 07ec38f

Browse files
committed
fix
1 parent 841e319 commit 07ec38f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightllm/models/llama/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
logger = init_logger(__name__)
2424

2525

26-
@ModelRegistry("llama")
2726
class LlamaFlashInferStateExtraInfo:
2827
def __init__(self, model):
2928
tp_world_size = get_dp_world_size()
@@ -45,6 +44,7 @@ def __init__(self, model):
4544
self.kv_data_type = model.data_type
4645

4746

47+
@ModelRegistry("llama")
4848
class LlamaTpPartModel(TpPartBaseModel):
4949
# weight class
5050
pre_and_post_weight_class = LlamaPreAndPostLayerWeight

0 commit comments

Comments
 (0)