From 7105a456804e2019cb451f7ac834c3c2dabd7817 Mon Sep 17 00:00:00 2001 From: zhangjun Date: Sat, 2 Apr 2022 10:52:46 +0000 Subject: [PATCH] remove cudnn_deterministic=True --- paddle/fluid/inference/api/analysis_predictor.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/paddle/fluid/inference/api/analysis_predictor.cc b/paddle/fluid/inference/api/analysis_predictor.cc index 6388cfc4b2dae..97fde22308003 100644 --- a/paddle/fluid/inference/api/analysis_predictor.cc +++ b/paddle/fluid/inference/api/analysis_predictor.cc @@ -1054,7 +1054,6 @@ std::unique_ptr CreatePaddlePredictor< std::to_string(fraction_of_gpu_memory); VLOG(3) << "set flag: " << flag; gflags.push_back(flag); - gflags.push_back("--cudnn_deterministic=True"); } // TODO(wilber): jetson tx2 may fail to run the model due to insufficient memory