Skip to content

Commit 53c6767

Browse files
committed
refactor(//docker): Make it easier to run applications in the repo with
the container Signed-off-by: Naren Dasan <[email protected] Signed-off-by: Naren Dasan <[email protected]>
1 parent 6c0e542 commit 53c6767

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/execution/register_trt_op.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ std::vector<at::Tensor> execute_engine(std::vector<at::Tensor> inputs, c10::intr
3939
LOG_DEBUG("Output shape: " << out_shape);
4040
auto dims = core::util::toVec(out_shape);
4141
auto type = util::toATenDType(compiled_engine->exec_ctx->getEngine().getBindingDataType(o));
42-
std::cout << pyt_idx << std::endl;
4342
outputs[pyt_idx] = std::move(at::empty(dims, {at::kCUDA}).to(type).contiguous());
4443
gpu_handles.push_back(outputs[pyt_idx].data_ptr());
4544
}

docker/Dockerfile.20.07

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,5 @@ RUN conda init bash
3333

3434
ENV LD_LIBRARY_PATH /opt/conda/lib/python3.6/site-packages/torch/lib:$LD_LIBRARY_PATh
3535

36-
WORKDIR /opt/trtorch/notebooks
36+
WORKDIR /opt/trtorch/
37+
CMD /bin/bash

0 commit comments

Comments
 (0)