Solved by 111531 in post #2 
              
              
                sorry，my fault.   bazel build //:torch is incremental if you have not restart laptop or shutdown the server.  that is why i found my ‘bazel build //:torch’ is not incremental