Skip to content

Fix LSTMBlockCell Check Fail - #59534

Merged
copybara-service[bot] merged 16 commits into
tensorflow:masterfrom
mattbahr:lstm-block-cell-check-fail
Apr 4, 2023
Merged

copybara-service[bot] merged 16 commits into
tensorflow:masterfrom
mattbahr:lstm-block-cell-check-fail

Conversation

@mattbahr

@mattbahr mattbahr commented Feb 3, 2023

Copy link
Copy Markdown
Contributor

Fixes #58270

@google-ml-butler google-ml-butler Bot added the size:XS CL Change Size: Extra Small label Feb 3, 2023
@gbaned gbaned added comp:core issues related to core part of tensorflow prtype:bugfix PR to fix a bug labels Feb 3, 2023
@gbaned
gbaned requested a review from swachhandl February 3, 2023 09:07
@google-ml-butler google-ml-butler Bot added the awaiting review Pull request awaiting review label Feb 3, 2023
@mattbahr

mattbahr commented Feb 3, 2023 •

Copy link
Copy Markdown
Contributor Author

Forgot to include the first argument for OP_REQUIRES_OK. It's added now. I think that should fix the build

@mihaimaruseac mihaimaruseac left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good so far, but only hides the check fail and opens the potential for more vulns as it is. We need to stop execution of the kernel, not just this function

@mattbahr
mattbahr marked this pull request as draft February 7, 2023 04:14
@mattbahr

mattbahr commented Feb 7, 2023

Copy link
Copy Markdown
Contributor Author

@mihaimaruseac thanks for the review! I am not sure I understand the difference between what you are asking for and the original behavior where the check fail would trigger a crash. Do you mind expanding on that a little bit?

@mihaimaruseac

Copy link
Copy Markdown
Contributor

CHECK fail results in a crash. OP_REQUIRES_OK sets ctx->Status to return it to client and finishes execution of current function (it is a macro that ends with return;).

Basically the issue is

void LSTMBlockCellFpropWithCUDA(OpKernelContext* ctx,,...) {
  CHECK(expr);
  ...
}

void LSTMBlockCell::Compute(OpKernelContext* ctx,...) {
  // do some validation
  LSTMBlockCellFpropWithCUDA(ctx, ...);
  // assume validation passed
  RunSomeOtherCode(...);
}

Right now, RunSomeOtherCode does not run because the CHECK-fail terminates the process. What we want is still for RunSomeOtherCode to not run! If you just replace it with OP_REQUIRES, after expanding the macros the code would be

void LSTMBlockCellFpropWithCUDA(OpKernelContext* ctx,,...) {
  if(expr) {
     ctx->Status = errors::InvalidArgument(...);
     return; // <----------- this line
  }
  ...
}

void LSTMBlockCell::Compute(OpKernelContext* ctx,...) {
  // do some validation
  LSTMBlockCellFpropWithCUDA(ctx, ...);
  // !!!!! You still need to stop executing the kernel here if ctx->Status is not Ok !!!
  // assume validation passed
  RunSomeOtherCode(...);
}

Now how the return will just terminate LSTMBlockCellFpropWithCUDA but if you don't change the Compute call then RunSomeOtherCode would run when we know that validation already failed. So this causes more harm than just a process crash

@mattbahr

mattbahr commented Feb 8, 2023

Copy link
Copy Markdown
Contributor Author

Ok, that makes sense. Thanks for your help! I didn't realize how the macro worked. I think this latest commit accomplishes what you're saying, but just let me know if you think anything needs to change

@swachhandl

Copy link
Copy Markdown
Contributor

@mattbahr

mattbahr commented Feb 10, 2023 •

Copy link
Copy Markdown
Contributor Author

Thanks for the pointers on the unit tests! I'll get those added soon. When I test locally against the error case from the related issue, I get the following error logs, but Python no longer crashes:

2023-02-10 06:55:35.460448: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at blas_gemm.cc:52 : INTERNAL: cublas error
2023-02-10 06:55:35.460510: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at lstm_ops_gpu.cu.cc:277 : INTERNAL: invalid configuration argument
 ** On entry to SGEMM_EX  parameter number 8 had an illegal value
2023-02-10 06:55:35.465759: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at blas_gemm.cc:52 : INTERNAL: cublas error
2023-02-10 06:55:35.465774: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at lstm_ops_gpu.cu.cc:277 : INTERNAL: invalid configuration argument
 ** On entry to SGEMM_EX  parameter number 8 had an illegal value
2023-02-10 06:55:35.470031: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at blas_gemm.cc:52 : INTERNAL: cublas error
2023-02-10 06:55:35.470046: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at lstm_ops_gpu.cu.cc:277 : INTERNAL: invalid configuration argument
 ** On entry to SGEMM_EX  parameter number 8 had an illegal value
2023-02-10 06:55:35.474474: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at blas_gemm.cc:52 : INTERNAL: cublas error
2023-02-10 06:55:35.474486: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at lstm_ops_gpu.cu.cc:277 : INTERNAL: invalid configuration argument
 ** On entry to SGEMM_EX  parameter number 8 had an illegal value
2023-02-10 06:55:35.478711: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at blas_gemm.cc:52 : INTERNAL: cublas error
2023-02-10 06:55:35.478723: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at lstm_ops_gpu.cu.cc:277 : INTERNAL: invalid configuration argument
 ** On entry to SGEMM_EX  parameter number 8 had an illegal value
2023-02-10 06:55:35.482907: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at blas_gemm.cc:52 : INTERNAL: cublas error
2023-02-10 06:55:35.482920: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at lstm_ops_gpu.cu.cc:277 : INTERNAL: invalid configuration argument
 ** On entry to SGEMM_EX  parameter number 8 had an illegal value
2023-02-10 06:55:35.487107: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at blas_gemm.cc:52 : INTERNAL: cublas error
2023-02-10 06:55:35.487120: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at lstm_ops_gpu.cu.cc:277 : INTERNAL: invalid configuration argument
 ** On entry to SGEMM_EX  parameter number 8 had an illegal value
2023-02-10 06:55:35.492341: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at blas_gemm.cc:52 : INTERNAL: cublas error
2023-02-10 06:55:35.492353: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at lstm_ops_gpu.cu.cc:277 : INTERNAL: invalid configuration argument
 ** On entry to SGEMM_EX  parameter number 8 had an illegal value
2023-02-10 06:55:35.496483: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at blas_gemm.cc:52 : INTERNAL: cublas error
2023-02-10 06:55:35.496495: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at lstm_ops_gpu.cu.cc:277 : INTERNAL: invalid configuration argument
 ** On entry to SGEMM_EX  parameter number 8 had an illegal value
2023-02-10 06:55:35.500759: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at blas_gemm.cc:52 : INTERNAL: cublas error
2023-02-10 06:55:35.500771: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at lstm_ops_gpu.cu.cc:277 : INTERNAL: invalid configuration argument
 ** On entry to SGEMM_EX  parameter number 8 had an illegal value
2023-02-10 06:55:35.504896: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at blas_gemm.cc:52 : INTERNAL: cublas error
2023-02-10 06:55:35.504908: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at lstm_ops_gpu.cu.cc:277 : INTERNAL: invalid configuration argument
 ** On entry to SGEMM_EX  parameter number 8 had an illegal value
2023-02-10 06:55:35.508996: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at blas_gemm.cc:52 : INTERNAL: cublas error
2023-02-10 06:55:35.509008: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at lstm_ops_gpu.cu.cc:277 : INTERNAL: invalid configuration argument
 ** On entry to SGEMM_EX  parameter number 8 had an illegal value
2023-02-10 06:55:35.513247: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at blas_gemm.cc:52 : INTERNAL: cublas error
2023-02-10 06:55:35.513259: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at lstm_ops_gpu.cu.cc:277 : INTERNAL: invalid configuration argument
 ** On entry to SGEMM_EX  parameter number 8 had an illegal value
2023-02-10 06:55:35.517478: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at blas_gemm.cc:52 : INTERNAL: cublas error
2023-02-10 06:55:35.517490: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at lstm_ops_gpu.cu.cc:277 : INTERNAL: invalid configuration argument
 ** On entry to SGEMM_EX  parameter number 8 had an illegal value
2023-02-10 06:55:35.522420: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at blas_gemm.cc:52 : INTERNAL: cublas error
2023-02-10 06:55:35.522433: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at lstm_ops_gpu.cu.cc:277 : INTERNAL: invalid configuration argument
 ** On entry to SGEMM_EX  parameter number 8 had an illegal value
2023-02-10 06:55:35.526810: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at blas_gemm.cc:52 : INTERNAL: cublas error
2023-02-10 06:55:35.526822: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at lstm_ops_gpu.cu.cc:277 : INTERNAL: invalid configuration argument
 ** On entry to SGEMM_EX  parameter number 8 had an illegal value
2023-02-10 06:55:35.530964: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at blas_gemm.cc:52 : INTERNAL: cublas error
2023-02-10 06:55:35.530976: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at lstm_ops_gpu.cu.cc:277 : INTERNAL: invalid configuration argument
 ** On entry to SGEMM_EX  parameter number 8 had an illegal value
2023-02-10 06:55:35.535143: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at blas_gemm.cc:52 : INTERNAL: cublas error
2023-02-10 06:55:35.535155: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at lstm_ops_gpu.cu.cc:277 : INTERNAL: invalid configuration argument
 ** On entry to SGEMM_EX  parameter number 8 had an illegal value
2023-02-10 06:55:35.539309: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at blas_gemm.cc:52 : INTERNAL: cublas error
2023-02-10 06:55:35.539321: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at lstm_ops_gpu.cu.cc:277 : INTERNAL: invalid configuration argument
 ** On entry to SGEMM_EX  parameter number 8 had an illegal value
2023-02-10 06:55:35.543485: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at blas_gemm.cc:52 : INTERNAL: cublas error
2023-02-10 06:55:35.543498: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at lstm_ops_gpu.cu.cc:277 : INTERNAL: invalid configuration argument

@mattbahr
mattbahr marked this pull request as ready for review February 11, 2023 05:45
Comment thread tensorflow/core/kernels/rnn/lstm_ops.cc Resolved
@mattbahr

Copy link
Copy Markdown
Contributor Author

@swachhandl My ARM CI build is failing for the testLSTMBlockCellErrorHandling2 unit test that I added to rnn_cell_test.py. Do you have any suggestions for things I could try to fix it? Could it be that maybe I'm using the wrong @test_util annotation? When I run the unit test locally it passes.

@mihaimaruseac mihaimaruseac left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good, thank you.

Approving so it also gets imported internally and more tests run on it.

@google-ml-butler google-ml-butler Bot added kokoro:force-run Tests on submitted change ready to pull PR ready for merge process labels Feb 15, 2023
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Feb 15, 2023
@swachhandl

Copy link
Copy Markdown
Contributor

@swachhandl My ARM CI build is failing for the testLSTMBlockCellErrorHandling2 unit test that I added to rnn_cell_test.py. Do you have any suggestions for things I could try to fix it? Could it be that maybe I'm using the wrong @test_util annotation? When I run the unit test locally it passes.

It seems your test is failing on ARM/Ubuntu/Mac CPU CI but passes on Ubuntu GPU. Can you check if the CPU version is failing because it's not throwing any error (and hence, failing the assert)?

If the CPU version isn't throwing any error, I think the ideal solution would be to make the GPU version also return the same result as the CPU counterpart (instead of returning an error).

@mattbahr

mattbahr commented Feb 16, 2023 •

Copy link
Copy Markdown
Contributor Author

@swachhandl My ARM CI build is failing for the testLSTMBlockCellErrorHandling2 unit test that I added to rnn_cell_test.py. Do you have any suggestions for things I could try to fix it? Could it be that maybe I'm using the wrong @test_util annotation? When I run the unit test locally it passes.

It seems your test is failing on ARM/Ubuntu/Mac CPU CI but passes on Ubuntu GPU. Can you check if the CPU version is failing because it's not throwing any error (and hence, failing the assert)?

If the CPU version isn't throwing any error, I think the ideal solution would be to make the GPU version also return the same result as the CPU counterpart (instead of returning an error).

So this is the CPU variant of the code:

// Input gate.
if (use_peephole) {
auto i_peep = cs_prev * wci.reshape(p_shape).broadcast(p_broadcast_shape);
i.device(d) =
(gates.slice(cell.gates_i_offsets(), cell.cell_extents()) + i_peep)
.sigmoid();
} else {
i.device(d) =
gates.slice(cell.gates_i_offsets(), cell.cell_extents()).sigmoid();
}
// Cell input.
ci.device(d) =
gates.slice(cell.gates_c_offsets(gate_layout), cell.cell_extents())
.tanh();
// Forget gate (w/ bias).
if (use_peephole) {
auto f_peep = cs_prev * wcf.reshape(p_shape).broadcast(p_broadcast_shape);
f.device(d) =
(gates.slice(cell.gates_f_offsets(gate_layout), cell.cell_extents()) +
f.constant(T(forget_bias)) + f_peep)
.sigmoid();
} else {
f.device(d) =
(gates.slice(cell.gates_f_offsets(gate_layout), cell.cell_extents()) +
f.constant(T(forget_bias)))
.sigmoid();
}
// cs = ci .* i + f .* cs_prev
cs.device(d) = i * ci + f * cs_prev;
if (cell_clip > 0.0f) {
cs.device(d) =
cs.binaryExpr(cs.constant(T(cell_clip)), Eigen::scalar_clip_op<T>());
}
// co = tanh(cs)
co.device(d) = cs.tanh();
// Output gate.
if (use_peephole) {
auto o_peep = cs * wco.reshape(p_shape).broadcast(p_broadcast_shape);
o.device(d) =
(gates.slice(cell.gates_o_offsets(), cell.cell_extents()) + o_peep)
.sigmoid();
} else {
o.device(d) =
gates.slice(cell.gates_o_offsets(), cell.cell_extents()).sigmoid();
}
// h = o .* co
h.device(d) = o * co;

And then this is the GPU code:

// The following code assumes the input arrays are of the following
// shapes and interpretations.
//
// 1) 'gates' is a matrix such that,
//
// cell_size cell_size cell_size cell_size
// +----------+----------+----------+----------+
// | | | | |
// | i | c | f | o | batch_size
// | | | | |
// +----------+----------+----------+----------+
//
// 'gid' is the index assigned to this thread for 'gates' in the 'i'
// submatrix.
//
// 2) 'b' is a vector such that,
//
// cell_size cell_size cell_size cell_size
// +----------+----------+----------+----------+
// | i | c | f | o | 1
// +----------+----------+----------+----------+
//
// 'act_id' is the index assigned to this thread for 'b' in the 'i' subvector.
//
// 3) 'wc{i,f,o}' are vectors such that,
//
// cell_size
// +----------+
// | i | 1
// +----------+
//
// 'act_id' is the index to this thread.
//
// 4) All other matrices have the form,
//
// cell_size
// +----------+
// | |
// | i | batch_size
// | |
// +----------+
//
// 'cid' is the index assigned to this thread.
//
const int gid = batch_id * cell_size * 4 + act_id;
const int cid = batch_id * cell_size + act_id;
Eigen::internal::scalar_logistic_op<T> sigmoid_op;
Eigen::internal::scalar_tanh_op<T> tanh_op;
Eigen::scalar_clip_op<T> clip_op;
T i_local;
if (use_peephole) {
i_local =
sigmoid_op(gates[0 * cell_size + gid] + b[0 * cell_size + act_id] +
cs_prev[cid] * wci[act_id]);
} else {
i_local =
sigmoid_op(gates[0 * cell_size + gid] + b[0 * cell_size + act_id]);
}
i[cid] = i_local;
const int c_offset = gate_c_offset(gate_layout, cell_size);
const int f_offset = gate_f_offset(gate_layout, cell_size);
const T ci_local = tanh_op(gates[c_offset + gid] + b[c_offset + act_id]);
ci[cid] = ci_local;
T f_local;
if (use_peephole) {
f_local = sigmoid_op(gates[f_offset + gid] + b[f_offset + act_id] +
forget_bias_t + cs_prev[cid] * wcf[act_id]);
} else {
f_local = sigmoid_op(gates[f_offset + gid] + b[f_offset + act_id] +
forget_bias_t);
}
f[cid] = f_local;
T cs_local = i_local * ci_local + f_local * cs_prev[cid];
if (cell_clip > 0.0f) {
cs_local = clip_op(cs_local, cell_clip_t);
}
cs[cid] = cs_local;
const T co_local = tanh_op(cs_local);
co[cid] = co_local;
T o_local;
if (use_peephole) {
o_local = sigmoid_op(gates[3 * cell_size + gid] +
b[3 * cell_size + act_id] + cs_local * wco[act_id]);
} else {
o_local =
sigmoid_op(gates[3 * cell_size + gid] + b[3 * cell_size + act_id]);
}
o[cid] = o_local;
h[cid] = o_local * co_local;

I guess one or more of the assumptions spelled out in the comment are causing the error. I can try to add some validations and see how that affects things.

@mattbahr

Copy link
Copy Markdown
Contributor Author

@swachhandl I confirmed that when run on the CPU, no error is thrown, but I'm having a hard time finding a way to get the GPU code to behave in same way. Would it be valid to mark this test case to run only on GPU?

@swachhandl

Copy link
Copy Markdown
Contributor

Can you pull master and see if the error for GPU still persists? A recent commit (764eae3) might have fixed it. Even if it's been fixed, propagating the error/checking the status is still useful.

@mattbahr

Copy link
Copy Markdown
Contributor Author

When I add the CHECK(a.opaque() != nullptr) the InternalError no longer gets thrown, and the behavior matches what I see on CPU.

How can it match CPU? I thought the CPU behavior didn't crash.

Hmm, I'm not sure what happened over the weekend when I tested this, but when I run it now on GPU with the check, it does crash. Must have been an issue with how I was testing. That's my mistake. I'll remove that check.

And that's correct - it does not crash on CPU. It doesn't throw any error at all on CPU. I'm still kind of stumped as to how to get the behaviors to match.

@cantonios

Copy link
Copy Markdown
Collaborator

And that's correct - it does not crash on CPU. It doesn't throw any error at all on CPU. I'm still kind of stumped as to how to get the behaviors to match.

What's the output on CPU?

@mattbahr

mattbahr commented Mar 20, 2023 •

Copy link
Copy Markdown
Contributor Author

What's the output on CPU?

Here's what I get when I print the result on CPU:

LSTMBlockCell(i=<tf.Tensor: shape=(2, 0), dtype=float16, numpy=array([], shape=(2, 0), dtype=float16)>, cs=<tf.Tensor: shape=(2, 0), dtype=float16, numpy=array([], shape=(2, 0), dtype=float16)>, f=<tf.Tensor: shape=(2, 0), dtype=float16, numpy=array([], shape=(2, 0), dtype=float16)>, o=<tf.Tensor: shape=(2, 0), dtype=float16, numpy=array([], shape=(2, 0), dtype=float16)>, ci=<tf.Tensor: shape=(2, 0), dtype=float16, numpy=array([], shape=(2, 0), dtype=float16)>, co=<tf.Tensor: shape=(2, 0), dtype=float16, numpy=array([], shape=(2, 0), dtype=float16)>, h=<tf.Tensor: shape=(2, 0), dtype=float16, numpy=array([], shape=(2, 0), dtype=float16)>)

@cantonios

Copy link
Copy Markdown
Collaborator
LSTMBlockCell(i=<tf.Tensor: shape=(2, 0), dtype=float16, numpy=array([], shape=(2, 0), dtype=float16)>, cs=<tf.Tensor: shape=(2, 0), dtype=float16, numpy=array([], shape=(2, 0), dtype=float16)>, f=<tf.Tensor: shape=(2, 0), dtype=float16, numpy=array([], shape=(2, 0), dtype=float16)>, o=<tf.Tensor: shape=(2, 0), dtype=float16, numpy=array([], shape=(2, 0), dtype=float16)>, ci=<tf.Tensor: shape=(2, 0), dtype=float16, numpy=array([], shape=(2, 0), dtype=float16)>, co=<tf.Tensor: shape=(2, 0), dtype=float16, numpy=array([], shape=(2, 0), dtype=float16)>, h=<tf.Tensor: shape=(2, 0), dtype=float16, numpy=array([], shape=(2, 0), dtype=float16)>)

As I suspected, most of those are actually empty tensors. In TF, an empty tensor (e.g. one dimension has size zero) ends up having a nullptr for a data pointer. This is mainly because on most systems, when you try to allocate something of size 0 via malloc, you end up getting a nullptr back.

The input sizes are likely degenerate (i.e. there's an empty input). The CPU kernel correctly handles this, returning empty outputs of the correct size. The GPU kernel does not - it blindly forwards the arguments along until the CUDA GEMM call, which then crashes because one of the inputs (whatever becomes a) is a nullptr. To fix this, you need to track down which input leads to the empty tensor, and do special handling before calling into CUDA.

Comment thread tensorflow/core/kernels/rnn/lstm_ops.cc Resolved
@mattbahr
mattbahr marked this pull request as ready for review March 24, 2023 03:56
@mattbahr
mattbahr requested review from cantonios and removed request for swachhandl March 24, 2023 03:57
@google-ml-butler google-ml-butler Bot added kokoro:force-run Tests on submitted change ready to pull PR ready for merge process labels Mar 24, 2023
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Mar 24, 2023
@google-ml-butler google-ml-butler Bot removed the ready to pull PR ready for merge process label Mar 25, 2023
@mattbahr

Copy link
Copy Markdown
Contributor Author

ROCm CI build failure appears to be due to the removal of this constructor from status.h in commit: 667081b#diff-2497c155e2f97993a2cea18969d80f2d414e2f1b346cf006d8a8b655a8316b1d

Looks like other pull request builds are failing with the same errors.

@gbaned
gbaned requested a review from cantonios March 29, 2023 06:32
@google-ml-butler google-ml-butler Bot added kokoro:force-run Tests on submitted change ready to pull PR ready for merge process labels Mar 31, 2023
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Mar 31, 2023
@mattbahr

mattbahr commented Apr 3, 2023

Copy link
Copy Markdown
Contributor Author

Just because I'm new to the project, would anybody mind filling me in on how the import/copybara works? At this point is it pending because the AMD ROCm and the MacOS CPU builds failed? I'm seeing other pull requests for which the import completed even though various builds failed

@mihaimaruseac

Copy link
Copy Markdown
Contributor

The full process is at

image

Right now, this is pending Gerrit review. CC @gbaned

@copybara-service
copybara-service Bot merged commit 0638ad2 into tensorflow:master Apr 4, 2023
@mattbahr
mattbahr deleted the lstm-block-cell-check-fail branch April 5, 2023 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review Pull request awaiting review comp:core issues related to core part of tensorflow prtype:bugfix PR to fix a bug ready to pull PR ready for merge process size:XS CL Change Size: Extra Small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A check fail can be triggered in LSTMBlockCell

6 participants