Skip to content

Commit

Permalink
fit pir flag
Browse files Browse the repository at this point in the history
  • Loading branch information
cyber-pioneer committed Mar 4, 2024
1 parent 4e4a149 commit 26b1eee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions llm/predictor.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ def __init__(self, config: PredictorArgument, tokenizer: PretrainedTokenizer = N
inference_config.disable_gpu()
inference_config.disable_glog_info()
inference_config.enable_new_executor()
inference_config.enable_new_ir()

with static_mode_guard():
self.predictor = paddle.inference.create_predictor(inference_config)
Expand Down

0 comments on commit 26b1eee

Please sign in to comment.