mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-05 16:48:03 +08:00
[BugFix]fix dp&ep&tp and muti node infer (#3629)
* rm log * fix bug * fix bug * fix dp&ep&tp and muti node infer * fix --------- Co-authored-by: Yuanle Liu <yuanlehome@163.com>
This commit is contained in:
@@ -54,6 +54,7 @@ class DefaultModelLoader(BaseModelLoader):
|
||||
@measure_time
|
||||
def load_weights(self, model, fd_config: FDConfig, architectures: str) -> None:
|
||||
model_class = ModelRegistry.get_pretrain_cls(architectures)
|
||||
|
||||
state_dict = load_composite_checkpoint(
|
||||
fd_config.model_config.model,
|
||||
model_class,
|
||||
|
Reference in New Issue
Block a user