Skip to content

Commit 21e7150

Browse files
authored
Do not print tensor values since it may not be on CPU memory (pytorch#16428)
As titled
1 parent b031287 commit 21e7150

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

‎extension/asr/runner/runner.cpp‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -236,10 +236,6 @@ Result<std::vector<int64_t>> AsrRunner::transcribe(
236236
static_cast<size_t>(encoder_output_tensor.size(0)),
237237
static_cast<size_t>(encoder_output_tensor.size(1)),
238238
static_cast<size_t>(encoder_output_tensor.size(2)));
239-
ET_LOG(
240-
Info,
241-
"Encoder first value: %f",
242-
static_cast<float>(encoder_output_tensor.mutable_data_ptr<float>()[0]));
243239

244240
auto encoder_output_ptr = std::make_shared<::executorch::aten::Tensor>(
245241
std::move(encoder_output_tensor));

0 commit comments

Comments
 (0)