Skip to content

Commit cbf5a25

Browse files
emilyfertigGoogle-ML-Automation
authored andcommitted
Remove obsolete DCHECK on num_computations_, now that executables may have no local devices.
PiperOrigin-RevId: 755144954
1 parent d9aee15 commit cbf5a25

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

jaxlib/py_executable.cc

-1
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,6 @@ std::vector<nb::object> PyExecuteResults::ConsumeWithHandlers(
327327
std::vector<nb::object> outputs;
328328
auto ifrt_arrays = Consume();
329329
auto traceback = Traceback::Get();
330-
DCHECK_GT(num_computations_, 0);
331330
int num_output_buffers = ifrt_arrays.size();
332331
outputs.reserve(num_output_buffers);
333332
if (out_handlers.size() != num_output_buffers) {

0 commit comments

Comments
 (0)