Skip to content

Commit

Permalink
fix: compile bug
Browse files Browse the repository at this point in the history
  • Loading branch information
chenzhuofu committed Nov 14, 2024
1 parent 9ce11b2 commit b885c63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/runtime/request_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2475,7 +2475,7 @@ void RequestManager::serve_spec_infer_sync(FFModel *llm) {
assert(im->model_weights_loaders.find(llm) !=
im->model_weights_loaders.end());
// Load model weights
im->model_weights_loaders[llm]->load_weights(llm);
im->model_weights_loaders[llm]->load_weights_parallel(llm, ctx, runtime);
// init operators
im->init_operators_inference(llm);
}
Expand All @@ -2486,7 +2486,7 @@ void RequestManager::serve_spec_infer_sync(FFModel *llm) {
assert(im->model_weights_loaders.find(ssm) !=
im->model_weights_loaders.end());
// Load model weights
im->model_weights_loaders[ssm]->load_weights(ssm);
im->model_weights_loaders[ssm]->load_weights_parallel(ssm, ctx, runtime);
// init operators
im->init_operators_inference(ssm);
}
Expand Down

0 comments on commit b885c63

Please sign in to comment.