xiaoxiaohehe001

Results 3 comments of xiaoxiaohehe001

可以将config.switch_ir_optim(False) 修改为 config.switch_ir_optim(True)进行测试,https://github.com/PaddlePaddle/ERNIE/blob/94a2367ba7f0f83b48330233450ea095d8dc9382/erniekit/controller/inference.py#L71

i have the same problem, did you solve? Ths

@DrRyanHuang 直接调用 input_tensor.share_external_data(self.input_data) 即可