alexeyr
December 24, 2018, 8:29am
1
When autotuning, I get a lot of output like
[08:16:50] /workspace/.../rpc_server_env.cc:41: Remove /tmp/tmp67ityubf/tmp_func_95b3a51da735daa8.tar
[08:16:50] /workspace/.../rpc_server_env.cc:41: Remove /tmp/tmp67ityubf/tmp_func_95b3a51da735daa8.so
[08:16:50] /workspace/.../rpc_server_env.cc:41: Remove /tmp/tmpstbjfqmb/
which doesn’t seem particularly useful. (Is it supposed to be printed by default? Sample output at https://docs.tvm.ai/tutorials/autotvm/tune_nnvm_x86.html#sample-output doesn’t include it.)
Based on http://rpg.ifi.uzh.ch/docs/glog.html , I tried to call
GLOG_minloglevel=1 python3 my_script.py
but it didn’t work.
1 Like
We should delete this message.
Can you send a patch?
etaf
December 26, 2018, 5:59am
3
There should be a way to set GLOG level.
alexeyr
December 26, 2018, 8:03am
4
Sure. Should it be removed completely, or use VLOG
? And should the same be done with neighboring
LOG(INFO) << "Download " << file_name << "... nbytes=" << arr.size;
?
eqy
December 26, 2018, 9:12am
5
@merrymercy I left the debug message in for symmetry purposes with the old download message :). I guess it is OK to remove both if we believe RPC is stable enough. There may still be some lingering issues though. For example I think the second temp directory deleted may be extraneous (I do not know why it does not match the parent directory of the files that are deleted).
alexeyr
December 27, 2018, 11:20am
6
@eqy Actually, there are undeleted temporary directories (I just checked). Though they are empty (at least in my case).