diff --git a/torch/csrc/jit/codegen/cuda/executor_utils.cpp b/torch/csrc/jit/codegen/cuda/executor_utils.cpp index 3b6c69e83af05..05f78434ed1c9 100644 --- a/torch/csrc/jit/codegen/cuda/executor_utils.cpp +++ b/torch/csrc/jit/codegen/cuda/executor_utils.cpp @@ -1022,8 +1022,6 @@ std::pair nvrtcCompile( // Add line info to generated kernels if (isDebugDumpEnabled(DebugDumpOption::DebugInfo)) { args.push_back("-lineinfo"); - args.push_back("-G"); - args.push_back("--dopt=on"); } #ifdef NDEBUG // Avoid excessive register usage from assertion