提交 c0019610 编写于 作者: X Xin Pan

Fix test to use less gpu memory

上级 7323be17
......@@ -44,7 +44,7 @@ TEST(paddle_inference_api_impl, word2vec) {
VisConfig config;
config.model_dir = FLAGS_dirname + "word2vec.inference.model";
LOG(INFO) << "dirname " << config.model_dir;
config.fraction_of_gpu_memory = 0.85;
config.fraction_of_gpu_memory = 0.15;
config.device = 0;
config.share_variables = true;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册