pytensor icon indicating copy to clipboard operation
pytensor copied to clipboard

Speed up test times :rocket:

Open williambdean opened this issue 1 year ago • 5 comments

If you are motivated to help speed up some tests, we would appreciate it!

Here are some of the slowest test times:

(9 minutes 17 seconds) ubuntu-latest test py3.13 : fast-compile 0 : float32 0 : tests --ignore=tests/tensor --ignore=tests/scan --ignore=tests/xtensor
============================= slowest 50 durations =============================
63.49s call     tests/sparse/test_basic.py::TestUsmm::test_basic
20.43s call     tests/test_ifelse.py::TestIfelse::test_not_lazy_if_inplace
16.46s call     tests/scalar/test_basic.py::TestUpgradeToFloat::test_unary
9.76s call     tests/sparse/test_basic.py::TestCasting::test_cast
8.87s call     tests/scalar/test_basic.py::TestUpgradeToFloat::test_binary
8.47s call     tests/sparse/test_basic.py::TestCasting::test_infer_shape
8.21s call     tests/scalar/test_basic.py::TestUpgradeToFloat::test_true_div
8.08s call     tests/test_rop.py::TestRopLop::test_max
7.28s call     tests/scalar/test_math.py::test_scalarloop_grad_mixed_dtypes[op2-scalar_loop_grads2]
6.50s call     tests/link/c/test_cmodule.py::test_cache_race_condition
5.45s call     tests/compile/test_builders.py::TestOpFromGraph::test_L_op_disconnected_output_grad
5.27s call     tests/sparse/test_basic.py::TestAddMul::test_AddSD
5.03s call     tests/sparse/test_basic.py::TestStructuredDot::test_dot_sparse_sparse
3.90s call     tests/graph/rewriting/test_basic.py::test_rewrite_weakref_leak
3.69s call     tests/test_gradient.py::test_subgraph_grad
3.31s call     tests/scalar/test_math.py::test_scalarloop_grad_mixed_dtypes[op3-scalar_loop_grads3]
3.30s call     tests/compile/test_debugmode.py::test_debugmode_basic
3.00s call     tests/compile/test_builders.py::TestOpFromGraph::test_rop_multiple_outputs[False]
2.99s call     tests/sparse/test_basic.py::TestCsmProperties::test_csm_properties_grad
2.98s call     tests/test_gradient.py::TestJacobian::test_jacobian_matrix[vectorize=False]
2.97s call     tests/graph/test_compute_test_value.py::TestComputeTestValue::test_scan
2.89s call     tests/compile/test_misc.py::test_nnet
2.73s call     tests/compile/test_compilelock.py::test_locking_multiprocess_spawn
2.71s call     tests/test_gradient.py::TestGrad::test_grad_grad_cubic
2.67s call     tests/compile/function/test_pfunc.py::TestAliasingRules::test_input_aliasing_affecting_inplace_operations
2.60s call     tests/compile/function/test_pfunc.py::TestAliasingRules::test_potential_output_aliasing_induced_by_updates
2.59s call     tests/sparse/test_basic.py::TestCsm::test_csm_grad
2.52s call     tests/sparse/test_basic.py::TestSpSum::test_grad
2.42s call     tests/sparse/test_basic.py::TestHStack::test_grad
2.40s call     tests/sparse/test_basic.py::TestVStack::test_grad
2.37s call     tests/test_gradient.py::TestJacobian::test_jacobian_disconnected_inputs[vectorize=False]
2.28s call     tests/scalar/test_basic.py::test_grad_abs
2.28s call     tests/compile/test_profiling.py::TestProfiling::test_profiling
2.27s call     tests/test_rop.py::TestRopLop::test_alloc
2.26s call     tests/compile/test_monitormode.py::test_not_inplace
2.26s call     tests/compile/test_builders.py::TestOpFromGraph::test_grad_override[OpFromGraph]
2.26s call     tests/test_gradient.py::test_known_grads
2.24s call     tests/graph/test_compute_test_value.py::TestComputeTestValue::test_empty_elemwise
2.23s call     tests/compile/test_builders.py::TestOpFromGraph::test_compute_test_value
2.23s call     tests/test_gradient.py::TestJacobian::test_jacobian_matrix[vectorize=True]
2.21s call     tests/compile/function/test_pfunc.py::TestPfunc::test_shared_mutable
2.21s call     tests/test_gradient.py::TestHessianVectorProduct::test_rosen
2.19s call     tests/test_gradient.py::TestZeroGrad::test_grad
2.17s call     tests/test_breakpoint.py::TestPdbBreakpoint::test_infer_shape
2.12s call     tests/test_raise_op.py::test_CheckAndRaise_basic_c[cvm]
2.12s call     tests/sparse/test_basic.py::TestDots::test_int32_dtype
2.08s call     tests/test_rop.py::TestRopLop::test_elemwise0
2.02s call     tests/link/c/test_basic.py::test_shared_input_output
2.02s call     tests/test_gradient.py::TestJacobian::test_jacobian_matrix_expression[False-vectorize=True]
1.98s call     tests/compile/function/test_pfunc.py::TestPfunc::test_shared
=========================== short test summary info ============================
(8 minutes 17 seconds) ubuntu-latest test py3.13 : fast-compile 0 : float32 0 : tests/scan
============================= slowest 50 durations =============================
30.78s call     tests/scan/test_basic.py::TestScan::test_second_derivative_disconnected_cost_with_mit_mot
21.79s call     tests/scan/test_basic.py::TestScan::test_grad_multiple_outs_taps_backwards
19.91s call     tests/scan/test_basic.py::TestScan::test_grad_mitsot
16.22s call     tests/scan/test_basic.py::TestExamples::test_grad_multiple_outs_some_disconnected
16.21s call     tests/scan/test_basic.py::TestScan::test_R_op[False]
15.20s call     tests/scan/test_basic.py::TestScan::test_R_op[True]
14.40s call     tests/scan/test_basic.py::TestScan::test_R_op_2[False]
14.18s call     tests/scan/test_rewriting.py::TestPushOutNonSeqScan::test_pushout_seqs
13.33s call     tests/scan/test_rewriting.py::TestPushOutAddScan::test_machine_translation
12.79s call     tests/scan/test_checkpoints.py::TestScanCheckpoint::test_backward_pass
11.96s call     tests/scan/test_basic.py::TestScan::test_R_op_2[True]
9.76s call     tests/scan/test_basic.py::TestScan::test_grad_dtype_change
8.83s call     tests/scan/test_basic.py::TestScan::test_grad_of_grad_of_state
8.12s call     tests/scan/test_basic.py::TestScan::test_grad_multiple_outs
7.02s call     tests/scan/test_basic.py::TestScan::test_grad_multiple_taps_state
6.80s call     tests/scan/test_basic.py::TestScan::test_grad_one_output
6.32s call     tests/scan/test_basic.py::TestExamples::test_default_value_broadcasted
6.27s call     tests/scan/test_checkpoints.py::TestScanCheckpoint::test_forward_pass
6.21s call     tests/scan/test_basic.py::TestScan::test_shared_arguments_with_updates
6.19s call     tests/scan/test_basic.py::TestScan::test_grad_multiple_outs_taps
6.17s call     tests/scan/test_basic.py::test_compute_test_value_grad
5.73s call     tests/scan/test_basic.py::TestScan::test_inner_grad
5.56s call     tests/scan/test_basic.py::TestExamples::test_grad_multiple_outs_some_disconnected_2
5.42s call     tests/scan/test_rewriting.py::TestSaveMem::test_save_mem_store_steps
4.87s call     tests/scan/test_basic.py::TestScan::test_inner_graph_cloning[default_rng]
4.83s call     tests/scan/test_basic.py::TestScan::test_grad_multiple_outs_some_uncomputable
4.80s call     tests/scan/test_basic.py::TestGradUntil::test_grad_until_and_truncate_sequence_taps
4.68s call     tests/scan/test_basic.py::TestGradUntil::test_grad_until_ndim_greater_one
4.52s call     tests/scan/test_basic.py::test_compute_test_values
4.41s call     tests/scan/test_rewriting.py::TestSaveMem::test_savemem_opt_0_step
4.08s call     tests/scan/test_basic.py::TestScan::test_grad_multiple_seqs_different_nsteps
3.63s call     tests/scan/test_basic.py::TestScan::test_grad_duplicate_outputs
3.47s call     tests/scan/test_basic.py::TestGradUntil::test_grad_until
3.38s call     tests/scan/test_basic.py::TestScan::test_grad_sitsot
3.15s call     tests/scan/test_basic.py::TestScan::test_non_shaped_input_disconnected_gradient[inside-explicit]
3.15s call     tests/scan/test_basic.py::TestExamples::test_gibbs_chain
2.99s call     tests/scan/test_rewriting.py::TestScanInplaceOptimizer::test_simple_rnn_2
2.96s call     tests/scan/test_basic.py::test_compute_test_value_grad_cast
2.87s call     tests/scan/test_basic.py::TestScan::test_only_nonseq_inputs
2.57s call     tests/scan/test_basic.py::TestExamples::test_same
2.42s call     tests/scan/test_basic.py::TestScan::test_grad_multiple_outs_some_truncate
2.33s call     tests/scan/test_rewriting.py::TestSaveMem::test_while_scan_taps
2.31s call     tests/scan/test_basic.py::TestScan::test_grad_wrt_shared
1.92s call     tests/scan/test_basic.py::TestExamples::test_not_working_infer_shape
1.89s call     tests/scan/test_rewriting.py::TestSaveMem::test_save_mem_reduced_number_of_steps
1.85s call     tests/scan/test_rewriting.py::TestRemoveConstantsAndUnusedInputsScan::test_remove_constants_and_unused_inputs_scan_seqs
1.82s call     tests/scan/test_basic.py::TestExamples::test_return_steps
1.73s call     tests/scan/test_basic.py::TestExamples::test_condition_hidden_inp
1.70s call     tests/scan/test_basic.py::TestExamples::test_past_future_taps_shared
1.63s call     tests/scan/test_basic.py::TestGradUntil::test_grad_until_and_truncate
=========================== short test summary info ============================
(15 minutes 6 seconds) ubuntu-latest test py3.13 : fast-compile 0 : float32 0 : tests/tensor --ignore=tests/tensor/rewriting --ignore=tests/tensor/test_math.py --ignore=tests/tensor/test_basic.py --ignore=tests/tensor/test_inplace.py --ignore=tests/tensor/conv --ignore=tests/tensor/test_blas.py --ignore=tests/tensor/test_elemwise.py --ignore=tests/tensor/test_math_scipy.py
============================= slowest 50 durations =============================
35.87s call     tests/tensor/test_subtensor.py::TestSubtensor::test_shape_i_const
25.99s call     tests/tensor/test_blockwise.py::TestCholesky::test_grad
21.19s call     tests/tensor/test_optimize.py::test_minimize_vector_x[Newton-CG]
12.06s call     tests/tensor/test_subtensor.py::TestSubtensor::test_grad_list
10.25s call     tests/tensor/test_casting.py::TestCasting::test_convert_to_complex
8.39s call     tests/tensor/test_optimize.py::test_root_system_of_equations
7.62s call     tests/tensor/test_blockwise.py::TestSolveVector::test_grad
6.89s call     tests/tensor/test_blockwise.py::TestMatrixInverse::test_grad
5.98s call     tests/tensor/random/rewriting/test_basic.py::test_Subtensor_lift[indices17-True-dist_op17-dist_params17-None]
5.94s call     tests/tensor/test_fft.py::TestFFT::test_grad_rfft
5.84s call     tests/tensor/test_subtensor.py::TestInferShape::test_IncSubtensor
5.63s call     tests/tensor/random/rewriting/test_basic.py::test_Subtensor_lift[indices2-True-dist_op2-dist_params2-None]
5.62s call     tests/tensor/test_extra_ops.py::TestRepeat::test_basic[int8-3]
5.31s call     tests/tensor/test_blas_c.py::TestCGemvNoFlags::test_cgemv
5.11s call     tests/tensor/test_extra_ops.py::TestCumOp::test_grad
5.08s call     tests/tensor/test_subtensor.py::TestIncSubtensor::test_grad_inc_set
4.99s call     tests/tensor/test_pad.py::test_nd_padding[asymmetric-reflect]
4.97s call     tests/tensor/test_pad.py::test_nd_padding[symmetric-reflect]
4.92s call     tests/tensor/test_blas_c.py::TestBlasStrides::test_gemm
4.74s call     tests/tensor/test_blockwise.py::TestSolveMatrix::test_grad
4.42s call     tests/tensor/test_extra_ops.py::TestRavelMultiIndex::test_ravel_multi_index
4.32s call     tests/tensor/test_blas_c.py::TestBlasStridesC::test_gemm
4.23s call     tests/tensor/test_shape.py::TestReshape::test_more_shapes
4.19s call     tests/tensor/test_subtensor.py::TestSubtensor::test_ok_list
4.05s call     tests/tensor/test_slinalg.py::test_cholesky_grad_indef
4.03s call     tests/tensor/test_slinalg.py::test_solve_discrete_are_grad[True]
3.80s call     tests/tensor/test_slinalg.py::test_expm_grad[nonsymmetric_complex_eig]
3.79s call     tests/tensor/test_extra_ops.py::TestBinCount::test_bincountFn[int16]
3.78s call     tests/tensor/test_extra_ops.py::TestBinCount::test_bincountFn[int32]
3.78s call     tests/tensor/test_nlinalg.py::TestEighFloat32::test_grad
3.75s call     tests/tensor/test_extra_ops.py::TestBinCount::test_bincountFn[int8]
3.69s call     tests/tensor/test_slinalg.py::test_solve_discrete_are_grad[False]
3.44s call     tests/tensor/test_extra_ops.py::test_cpu_contiguous
3.40s call     tests/tensor/test_slinalg.py::test_solve_discrete_lyapunov_gradient[direct-matrix-float]
3.37s call     tests/tensor/test_blockwise.py::test_scan_gradient_core_type
3.30s call     tests/tensor/test_extra_ops.py::TestBinCount::test_bincountFn[int64]
3.27s call     tests/tensor/test_extra_ops.py::TestRepeat::test_basic[uint32-3]
3.27s call     tests/tensor/test_fft.py::TestFFT::test_rfft_float
3.14s call     tests/tensor/test_extra_ops.py::TestRepeat::test_basic[int32-3]
3.13s call     tests/tensor/test_extra_ops.py::TestRepeat::test_basic[uint16-3]
3.11s call     tests/tensor/test_extra_ops.py::TestRepeat::test_basic[int16-3]
3.10s call     tests/tensor/test_extra_ops.py::TestRepeat::test_basic[uint8-3]
3.00s call     tests/tensor/test_pad.py::test_reflect_pad[even-symmetrical-3d square]
3.00s call     tests/tensor/test_pad.py::test_reflect_pad[even-asymmetric_right-3d square]
3.00s call     tests/tensor/test_pad.py::test_reflect_pad[even-asymmetrical_left-3d square]
2.97s call     tests/tensor/test_pad.py::test_nd_padding[asymmetric-symmetric]
2.95s call     tests/tensor/test_nlinalg.py::TestSvd::test_grad[batched=True-(4,3)-compute_uv=True, full_matrices=False, gradient=U]
2.93s call     tests/tensor/test_slinalg.py::test_solve_discrete_lyapunov[direct-matrix-complex]
2.92s call     tests/tensor/test_optimize.py::test_minimize_vector_x[powell]
2.88s call     tests/tensor/test_xlogx.py::test_xlogy0
=========================== short test summary info ============================
(15 minutes 46 seconds) ubuntu-latest test py3.13 : fast-compile 0 : float32 0 : tests/tensor/test_math.py
============================= slowest 50 durations =============================
168.06s call     tests/tensor/test_math.py::TestSumProdReduceDtype::test_reduce_custom_dtype
77.69s call     tests/tensor/test_math.py::TestProdWithoutZerosDtype::test_prod_without_zeros_custom_dtype
33.29s call     tests/tensor/test_math.py::TestProdWithoutZerosDtype::test_prod_without_zeros_custom_acc_dtype
29.67s call     tests/tensor/test_math.py::TestMaxAndArgmax::test_grad
17.23s call     tests/tensor/test_math.py::test_var
16.75s call     tests/tensor/test_math.py::TestSumProdReduceDtype::test_reduce_default_dtype
14.51s call     tests/tensor/test_math.py::TestPowBroadcast::test_grad
13.73s call     tests/tensor/test_math.py::TestTensordot::test_basic
13.35s call     tests/tensor/test_math.py::TestAddBroadcast::test_good
12.02s call     tests/tensor/test_math.py::TestComparison::test_isclose
10.49s call     tests/tensor/test_math.py::TestMulBroadcast::test_good
10.30s call     tests/tensor/test_math.py::TestProd::test_verify_grad
9.76s call     tests/tensor/test_math.py::TestArctan2Broadcast::test_grad
9.36s call     tests/tensor/test_math.py::TestSubBroadcast::test_grad
8.91s call     tests/tensor/test_math.py::TestArctan2Broadcast::test_good
8.77s call     tests/tensor/test_math.py::TestSubBroadcast::test_good
8.16s call     tests/tensor/test_math.py::TestModBroadcast::test_good
7.46s call     tests/tensor/test_math.py::TestCeilIntDivBroadcast::test_good
7.43s call     tests/tensor/test_math.py::TestClip1::test_good
7.36s call     tests/tensor/test_math.py::TestMinimumBroadcast::test_grad
7.30s call     tests/tensor/test_math.py::TestTrueDivBroadcast::test_good
7.30s call     tests/tensor/test_math.py::TestMaximumBroadcast::test_grad
7.17s call     tests/tensor/test_math.py::TestTrueDivBroadcast::test_grad
7.16s call     tests/tensor/test_math.py::TestProd::test_prod_no_zeros_in_input
7.04s call     tests/tensor/test_math.py::TestModBroadcast::test_grad
6.97s call     tests/tensor/test_math.py::TestMulBroadcast::test_grad
6.90s call     tests/tensor/test_math.py::TestMaximumBroadcast::test_good
6.89s call     tests/tensor/test_math.py::TestMinimumBroadcast::test_good
6.80s call     tests/tensor/test_math.py::TestProd::test_other_grad_tests
6.41s call     tests/tensor/test_math.py::TestClip2::test_clip_repeat_verify_grad
5.90s call     tests/tensor/test_math.py::TestMinMax::test_grad_min
5.90s call     tests/tensor/test_math.py::TestProdWithoutZerosDtype::test_prod_without_zeros_default_acc_dtype
5.75s call     tests/tensor/test_math.py::TestOuter::test_grad
5.16s call     tests/tensor/test_math.py::TestDenseDot::test_good
5.03s call     tests/tensor/test_math.py::TestPowBroadcast::test_good
4.71s call     tests/tensor/test_math.py::TestMeanDtype::test_mean_default_dtype
4.57s call     tests/tensor/test_math.py::TestSqrBroadcast::test_good
4.50s call     tests/tensor/test_math.py::TestAdd::test_complex_all_ops
4.35s call     tests/tensor/test_math.py::TestOuter::test_outer
4.24s call     tests/tensor/test_math.py::TestAbsBroadcast::test_good
4.21s call     tests/tensor/test_math.py::TestDivimpl::test_impls
3.99s call     tests/tensor/test_math.py::test_cov
3.69s call     tests/tensor/test_math.py::TestArcsinhBroadcast::test_good
3.59s call     tests/tensor/test_math.py::TestInvBroadcast::test_good
3.55s call     tests/tensor/test_math.py::TestRad2degBroadcast::test_good
3.53s call     tests/tensor/test_math.py::TestDeg2radBroadcast::test_good
3.49s call     tests/tensor/test_math.py::TestSinhBroadcast::test_good
3.47s call     tests/tensor/test_math.py::TestCosBroadcast::test_good
3.44s call     tests/tensor/test_math.py::TestTanBroadcast::test_good
3.43s call     tests/tensor/test_math.py::TestArcsinBroadcast::test_good
=========================== short test summary info ============================
(13 minutes 30 seconds) ubuntu-latest test py3.13 : fast-compile 0 : float32 0 : tests/tensor/rewriting
============================= slowest 50 durations =============================
126.14s call     tests/tensor/rewriting/test_subtensor.py::TestLocalSubtensorMerge::test_const4
53.61s call     tests/tensor/rewriting/test_subtensor.py::TestLocalSubtensorMerge::test_none_slice
27.60s call     tests/tensor/rewriting/test_elemwise.py::TestFusion::test_big_fusion
20.07s call     tests/tensor/rewriting/test_math.py::test_local_log_sum_exp_maximum
15.42s call     tests/tensor/rewriting/test_basic.py::TestLocalSwitchSink::test_local_mul_switch_sink
13.74s call     tests/tensor/rewriting/test_math.py::TestAlgebraicCanonizer::test_mul_div_cases
13.29s call     tests/tensor/rewriting/test_math.py::TestLocalSumProd::test_local_prod_of_div
12.77s call     tests/tensor/rewriting/test_subtensor.py::TestLocalSubtensorMerge::test_const3
9.84s call     tests/tensor/rewriting/test_subtensor.py::test_local_IncSubtensor_serialize
9.63s call     tests/tensor/rewriting/test_subtensor_lift.py::test_local_subtensor_of_alloc
9.16s call     tests/tensor/rewriting/test_subtensor.py::TestLocalSubtensorMerge::test_const2
8.27s call     tests/tensor/rewriting/test_subtensor.py::test_local_subtensor_remove_broadcastable_index
7.49s call     tests/tensor/rewriting/test_subtensor.py::TestLocalSubtensorMerge::test_const
6.17s call     tests/tensor/rewriting/test_math.py::TestLocalSumProd::test_local_sum_prod_of_scalar_mul
6.08s call     tests/tensor/rewriting/test_math.py::test_local_log_add_exp
6.03s call     tests/tensor/rewriting/test_math.py::TestLocalSumProd::test_sum_of_non_scalar_mul
5.92s call     tests/tensor/rewriting/test_math.py::TestReduceChain::test_local_sum_sum_prod_prod
5.54s call     tests/tensor/rewriting/test_math.py::TestSigmoidRewrites::test_exp_over_1_plus_exp
5.44s call     tests/tensor/rewriting/test_special.py::test_softmax_graph
5.40s call     tests/tensor/rewriting/test_math.py::TestLocalErfc::test_local_log_erfc
5.29s call     tests/tensor/rewriting/test_math.py::TestLocalReduce::test_local_reduce_broadcast_some_0
5.00s call     tests/tensor/rewriting/test_math.py::TestLocalSumProd::test_local_sum_of_div
4.93s call     tests/tensor/rewriting/test_linalg.py::test_matrix_inverse_rop_lop
4.57s call     tests/tensor/rewriting/test_math.py::test_merge_abs_bugfix
4.39s call     tests/tensor/rewriting/test_subtensor.py::TestLocalSubtensorMerge::test_none_index
4.26s call     tests/tensor/rewriting/test_linalg.py::test_det_blockdiag_rewrite
4.10s call     tests/tensor/rewriting/test_math.py::TestIntDivByOne::test_remove_floor
3.89s call     tests/tensor/rewriting/test_basic.py::test_local_useless_slice
3.87s call     tests/tensor/rewriting/test_math.py::test_local_mul_exp_to_exp_add
3.42s call     tests/tensor/rewriting/test_basic.py::TestLocalSwitchSink::test_local_div_switch_sink
3.31s call     tests/tensor/rewriting/test_math.py::test_log1p
3.07s call     tests/tensor/rewriting/test_subtensor.py::TestBlockwiseIncSubtensor::test_idxs_not_vectorized[basic_idx-set-y_explicit]
2.78s call     tests/tensor/rewriting/test_math.py::test_local_expm1
2.60s call     tests/tensor/rewriting/test_basic.py::TestLocalElemwiseAlloc::test_basic[<lambda>-x_shape3-y_shape3-True]
2.59s call     tests/tensor/rewriting/test_basic.py::TestLocalUselessIncSubtensorAlloc::test_advanced_inc_subtensor
2.57s call     tests/tensor/rewriting/test_subtensor.py::TestLocalAdvSub1AdvIncSub1::test_assert
2.41s call     tests/tensor/rewriting/test_uncanonicalize.py::TestMinMax::test_optimization_min
2.40s call     tests/tensor/rewriting/test_uncanonicalize.py::test_local_dimshuffle_subtensor
2.36s call     tests/tensor/rewriting/test_special.py::TestLogSoftmaxRewrites::test_local_logsoftmax_grad_rewrite[None]
2.34s call     tests/tensor/rewriting/test_basic.py::TestLocalElemwiseAlloc::test_remove_alloc_wo_dimshuffle
2.32s call     tests/tensor/rewriting/test_math.py::TestLocalSumProd::test_local_sum_prod_alloc
2.32s call     tests/tensor/rewriting/test_math.py::TestFuncInverse::test
2.28s call     tests/tensor/rewriting/test_basic.py::TestLocalUselessIncSubtensorAlloc::test_incsubtensor
2.23s call     tests/tensor/rewriting/test_math.py::TestAlgebraicCanonizer::test_elemwise_multiple_inputs_rewrites
2.20s call     tests/tensor/rewriting/test_math.py::test_local_mul_pow_to_pow_add
2.20s call     tests/tensor/rewriting/test_elemwise.py::TestFusion::test_elemwise_fusion[case73]
2.19s call     tests/tensor/rewriting/test_subtensor.py::TestLocalSubtensorMerge::test_const6
2.19s call     tests/tensor/rewriting/test_elemwise.py::test_local_useless_composite_outputs
2.13s call     tests/tensor/rewriting/test_subtensor.py::TestBlockwiseIncSubtensor::test_idxs_not_vectorized[basic_idx-inc-y_explicit]
2.13s call     tests/tensor/rewriting/test_math.py::test_local_log_sum_exp_large
=========================== short test summary info ============================
(10 minutes 35 seconds) ubuntu-latest test py3.13 : fast-compile 0 : float32 0 : tests/tensor/test_blas.py tests/tensor/test_elemwise.py tests/tensor/test_math_scipy.py
============================= slowest 50 durations =============================
151.79s call     tests/tensor/test_elemwise.py::TestCAReduce::test_c
47.64s call     tests/tensor/test_blas.py::TestGemmNoFlags::test_gemm
22.68s call     tests/tensor/test_math_scipy.py::TestGammaIncBroadcast::test_grad
19.15s call     tests/tensor/test_blas.py::test_dot22scalar
15.61s call     tests/tensor/test_elemwise.py::TestCAReduce::test_perform
12.95s call     tests/tensor/test_math_scipy.py::TestBetaincBroadcast::test_grad
8.25s call     tests/tensor/test_elemwise.py::TestCAReduce::test_c_noopt
8.01s call     tests/tensor/test_math_scipy.py::TestBetaIncGrad::test_stan_grad_partial
7.33s call     tests/tensor/test_math_scipy.py::test_gammainc_ddk_tabulated_values
7.29s call     tests/tensor/test_math_scipy.py::TestGammaInccBroadcast::test_grad
6.85s call     tests/tensor/test_elemwise.py::TestCAReduce::test_perform_nan
6.75s call     tests/tensor/test_blas.py::test_local_dot22_to_dot22scalar
6.54s call     tests/tensor/test_blas.py::test_dot22scalar_cast
6.36s call     tests/tensor/test_math_scipy.py::TestHyp2F1Broadcast::test_grad
6.30s call     tests/tensor/test_elemwise.py::TestBroadcast::test_c
5.65s call     tests/tensor/test_math_scipy.py::TestBetaincInplaceBroadcast::test_grad
5.38s call     tests/tensor/test_blas.py::test_dot_w_self
5.27s call     tests/tensor/test_elemwise.py::TestElemwise::test_infer_shape
5.01s call     tests/tensor/test_elemwise.py::TestBroadcast::test_c_inplace
4.80s call     tests/tensor/test_elemwise.py::TestCAReduce::test_infer_shape
4.58s call     tests/tensor/test_math_scipy.py::TestChi2SFBroadcast::test_good
4.57s call     tests/tensor/test_math_scipy.py::TestErfcxBroadcast::test_grad
4.37s call     tests/tensor/test_math_scipy.py::TestHyp2F1Grad::test_hyp2f1_grad_stan_cases
4.30s call     tests/tensor/test_blas.py::TestBlasStrides::test_gemm
4.28s call     tests/tensor/test_math_scipy.py::TestErfBroadcast::test_grad
4.09s call     tests/tensor/test_blas.py::test_batched_tensordot
3.79s call     tests/tensor/test_blas.py::test_gemm_opt0
3.71s call     tests/tensor/test_math_scipy.py::TestGammalnBroadcast::test_good
3.65s call     tests/tensor/test_math_scipy.py::TestGammalnInplaceBroadcast::test_good
3.25s call     tests/tensor/test_math_scipy.py::TestErfBroadcast::test_good
2.97s call     tests/tensor/test_elemwise.py::TestCAReduce::test_c_nan
2.84s call     tests/tensor/test_blas.py::TestGemm::test_non_contiguous
2.83s call     tests/tensor/test_blas.py::test_gemm_nested
2.73s call     tests/tensor/test_blas.py::test_gemm_opt_vector_stuff
2.72s call     tests/tensor/test_blas.py::test_upcasting_scalar_nogemm
2.56s call     tests/tensor/test_math_scipy.py::TestErfcBroadcast::test_grad
2.54s call     tests/tensor/test_math_scipy.py::TestSoftplusInplaceBroadcast::test_grad
2.51s call     tests/tensor/test_math_scipy.py::TestSigmoidInplaceBroadcast::test_grad
2.39s call     tests/tensor/test_blas.py::test_gemm_unrolled
2.24s call     tests/tensor/test_math_scipy.py::TestBetaIncGrad::test_boik_robison_cox
2.22s call     tests/tensor/test_elemwise.py::TestDimShuffle::test_c_or_py
2.20s call     tests/tensor/test_math_scipy.py::TestErfcxBroadcast::test_good
2.16s call     tests/tensor/test_blas.py::TestBatchedDot::test_grad
2.14s call     tests/tensor/test_blas.py::TestGer::test_c64_7_1
2.09s call     tests/tensor/test_math_scipy.py::TestErfcxInplaceBroadcast::test_good
2.06s call     tests/tensor/test_math_scipy.py::TestHyp2F1Grad::test_unused_grad_loop_opt[wrt4]
1.96s call     tests/tensor/test_blas.py::TestBlasStrides::test_dot22scalar
1.92s call     tests/tensor/test_math_scipy.py::TestLog1mexpBroadcast::test_good
1.89s call     tests/tensor/test_math_scipy.py::TestHyp2F1Grad::test_unused_grad_loop_opt[wrt3]
1.88s call     tests/tensor/test_math_scipy.py::TestHyp2F1Grad::test_unused_grad_loop_opt[wrt5]
=========================== short test summary info ============================
(5 minutes 1 seconds) ubuntu-latest test py3.13 : fast-compile 1 : float32 0 : tests --ignore=tests/tensor --ignore=tests/scan --ignore=tests/xtensor
============================= slowest 50 durations =============================
25.50s call     tests/sparse/test_basic.py::TestUsmm::test_basic
12.57s call     tests/scalar/test_basic.py::TestUpgradeToFloat::test_binary
11.03s call     tests/scalar/test_basic.py::TestUpgradeToFloat::test_true_div
7.39s call     tests/scalar/test_math.py::test_scalarloop_grad_mixed_dtypes[op2-scalar_loop_grads2]
5.20s call     tests/compile/test_debugmode.py::test_debugmode_basic
5.00s call     tests/sparse/test_basic.py::TestStructuredDot::test_dot_sparse_sparse
4.68s call     tests/sparse/test_basic.py::TestCasting::test_cast
4.23s call     tests/graph/test_compute_test_value.py::TestComputeTestValue::test_scan
3.95s call     tests/sparse/test_basic.py::TestCasting::test_infer_shape
3.35s call     tests/scalar/test_math.py::test_scalarloop_grad_mixed_dtypes[op3-scalar_loop_grads3]
3.21s call     tests/link/c/test_cmodule.py::test_cache_race_condition
2.89s call     tests/compile/test_compilelock.py::test_locking_multiprocess_spawn
2.75s call     tests/test_raise_op.py::test_CheckAndRaise_basic_c[cvm]
2.70s call     tests/compile/test_monitormode.py::test_not_inplace
2.68s call     tests/graph/rewriting/test_basic.py::test_rewrite_weakref_leak
2.38s call     tests/scalar/test_basic.py::test_grad_abs
2.33s call     tests/compile/test_profiling.py::TestProfiling::test_profiling
1.96s call     tests/test_printing.py::test_debugprint
1.94s call     tests/graph/test_compute_test_value.py::TestComputeTestValue::test_scan_err1
1.94s call     tests/compile/function/test_pfunc.py::TestPfunc::test_shared_mutable
1.93s call     tests/compile/function/test_types.py::TestFunction::test_copy_delete_updates
1.93s call     tests/compile/test_debugmode.py::TestViewMap::test_aliased_outputs_bad
1.89s call     tests/compile/test_debugmode.py::TestCheckIsfinite::test_check_isfinite
1.78s call     tests/link/test_vm.py::test_speed_lazy[linker0]
1.72s call     tests/compile/function/test_function.py::TestFunctionIn::test_in_mutable
1.71s call     tests/compile/test_mode.py::TestBunchOfModes::test_modes
1.59s call     tests/link/c/test_basic.py::test_clinker_literal_cache
1.56s call     tests/graph/test_compute_test_value.py::TestComputeTestValue::test_empty_elemwise
1.55s call     tests/test_ifelse.py::test_nested
1.47s call     tests/link/test_vm.py::test_partial_function[linker0]
1.46s call     tests/sparse/test_basic.py::TestTrueDot::test_grad
1.41s call     tests/link/test_vm.py::test_speed
1.35s call     tests/compile/function/test_types.py::TestFunction::test_swap_SharedVariable
1.35s call     tests/compile/test_mode.py::test_NoOutputFromInplace
1.34s call     tests/compile/test_builders.py::TestOpFromGraph::test_compute_test_value
1.29s call     tests/test_raise_op.py::test_perform_CheckAndRaise_scalar[cvm]
1.27s call     tests/sparse/test_basic.py::TestHStack::test_grad
1.16s call     tests/link/c/test_basic.py::test_clinker_cvm_same_function
1.13s call     tests/sparse/test_basic.py::TestVStack::test_grad
1.11s call     tests/compile/function/test_types.py::TestFunction::test_state_access[mode2]
1.10s call     tests/compile/function/test_types.py::TestFunction::test_copy_share_memory
1.09s call     tests/scalar/test_basic.py::test_mul_add_true
1.04s call     tests/link/c/test_basic.py::test_shared_input_output
1.03s call     tests/link/test_vm.py::test_vm_gc
1.00s call     tests/compile/test_compilelock.py::test_locking_thread
1.00s call     tests/link/c/test_basic.py::test_opwiseclinker_straightforward
1.00s call     tests/link/test_vm.py::test_reallocation
1.00s call     tests/link/test_vm.py::test_partial_function_with_updates[linker0]
0.99s call     tests/link/c/test_basic.py::test_clinker_atomic_inputs[constant-C]
0.98s call     tests/sparse/test_basic.py::TestSpSum::test_grad
=========================== short test summary info ============================
(11 minutes 16 seconds) ubuntu-latest test py3.13 : fast-compile 0 : float32 0 : tests/tensor/test_basic.py tests/tensor/test_inplace.py tests/tensor/conv
============================= slowest 50 durations =============================
65.36s call     tests/tensor/test_basic.py::TestSecondSameRank::test_good
42.26s call     tests/tensor/conv/test_abstract_conv.py::TestAbstractConvNoOptim::test_all
30.91s call     tests/tensor/test_basic.py::TestTriangle::test_tril_triu
22.03s call     tests/tensor/conv/test_abstract_conv.py::TestGroupedConv3dNoOptim::test_fwd
18.92s call     tests/tensor/test_basic.py::TestAllocDiag::test_alloc_diag_values
17.47s call     tests/tensor/conv/test_abstract_conv.py::TestGroupedConv3dNoOptim::test_gradweights
12.01s call     tests/tensor/conv/test_abstract_conv.py::TestGroupedConv3dNoOptim::test_gradinputs
11.25s call     tests/tensor/conv/test_abstract_conv.py::TestUnsharedConv::test_fwd
11.18s call     tests/tensor/test_basic.py::TestJoinAndSplit::test_roll
10.53s call     tests/tensor/test_basic.py::TestSecondBroadcast::test_good
9.45s call     tests/tensor/test_basic.py::TestNdGrid::test_mgrid_pytensor_variable_numpy_equiv
8.12s call     tests/tensor/test_inplace.py::TestMulInplaceBroadcast::test_good
8.07s call     tests/tensor/test_inplace.py::TestAddInplaceBroadcast::test_good
8.05s call     tests/tensor/test_inplace.py::TestSubInplaceBroadcast::test_good
7.07s call     tests/tensor/test_inplace.py::TestModInplaceBroadcast::test_good
7.01s call     tests/tensor/test_inplace.py::TestIntDivInplaceBroadcast::test_good
6.52s call     tests/tensor/test_inplace.py::TestMinimumInplaceBroadcast::test_good
6.48s call     tests/tensor/test_inplace.py::TestMaximumInplaceBroadcast::test_good
6.41s call     tests/tensor/conv/test_abstract_conv.py::TestUnsharedConv::test_gradinput
4.98s call     tests/tensor/test_basic.py::TestJoinAndSplit::test_stack_hessian
4.47s call     tests/tensor/test_inplace.py::TestTrueDivInplaceBroadcast::test_good
4.22s call     tests/tensor/test_inplace.py::TestPowInplaceBroadcast::test_good
4.15s call     tests/tensor/test_basic.py::TestAllocBroadcast::test_good
4.02s call     tests/tensor/test_inplace.py::TestSqrInplaceBroadcast::test_good
4.00s call     tests/tensor/test_basic.py::TestAlloc::test_alloc_constant_folding
3.99s call     tests/tensor/test_inplace.py::TestNegInplaceBroadcast::test_good
3.76s call     tests/tensor/test_inplace.py::TestArctan2InplaceBroadcast::test_good
3.65s call     tests/tensor/test_basic.py::TestJoinAndSplit::test_broadcastable_flags_many_dims_and_inputs
3.45s call     tests/tensor/conv/test_abstract_conv.py::TestUnsharedConv::test_gradweight
3.39s call     tests/tensor/test_basic.py::TestSwitchBroadcast::test_grad
3.23s call     tests/tensor/test_basic.py::TestZerosLikeBroadcast::test_good
3.17s call     tests/tensor/conv/test_abstract_conv.py::TestGroupedConvNoOptim::test_gradweights
3.14s call     tests/tensor/test_inplace.py::TestAbsInplaceBroadcast::test_good
3.13s call     tests/tensor/test_inplace.py::TestTruncInplaceBroadcast::test_good
3.03s call     tests/tensor/conv/test_abstract_conv.py::TestGroupedConvNoOptim::test_fwd
2.97s call     tests/tensor/test_basic.py::TestAlloc13GradBroadcast::test_grad
2.80s call     tests/tensor/test_basic.py::TestSwitchBroadcast::test_good
2.59s call     tests/tensor/conv/test_abstract_conv.py::TestConvGradInputsShape::test_check_shape
2.51s call     tests/tensor/conv/test_abstract_conv.py::TestAssertConvShape::test_basic
2.50s call     tests/tensor/test_basic.py::TestAllocDimshuffleGradBroadcast::test_grad
2.49s call     tests/tensor/conv/test_abstract_conv.py::TestGroupedConvNoOptim::test_gradinputs
2.39s call     tests/tensor/test_basic.py::TestTile::test_tile_grad
2.39s call     tests/tensor/test_basic.py::TestJoinAndSplit::test_broadcastable_flag_assignment_mixed_thisaxes
2.37s call     tests/tensor/test_basic.py::TestARange::test_infer_shape[custom]
2.36s call     tests/tensor/test_basic.py::TestOnesLikeBroadcast::test_good
2.34s call     tests/tensor/conv/test_abstract_conv.py::TestBilinearUpsampling::test_fractional_bilinear_upsampling
2.34s call     tests/tensor/test_inplace.py::TestSgnInplaceBroadcast::test_good
2.33s call     tests/tensor/conv/test_abstract_conv.py::TestCausalConv::test_interface
2.32s call     tests/tensor/conv/test_abstract_conv.py::TestBilinearUpsampling::test_bilinear_kernel_1D
2.30s call     tests/tensor/test_basic.py::TestJoinAndSplit::test_join_matrix1[False]
=========================== short test summary info ============================
(6 minutes 48 seconds) ubuntu-latest test py3.13 : fast-compile 1 : float32 0 : tests/tensor --ignore=tests/tensor/rewriting --ignore=tests/tensor/test_math.py --ignore=tests/tensor/test_basic.py --ignore=tests/tensor/test_inplace.py --ignore=tests/tensor/conv --ignore=tests/tensor/test_blas.py --ignore=tests/tensor/test_elemwise.py --ignore=tests/tensor/test_math_scipy.py
============================= slowest 50 durations =============================
9.93s call     tests/tensor/test_subtensor.py::TestSubtensor::test_shape_i_const
6.02s call     tests/tensor/random/rewriting/test_basic.py::test_Subtensor_lift[indices17-True-dist_op17-dist_params17-None]
5.68s call     tests/tensor/random/rewriting/test_basic.py::test_Subtensor_lift[indices2-True-dist_op2-dist_params2-None]
5.17s call     tests/tensor/test_subtensor.py::TestSubtensor::test_grad_list
4.99s call     tests/tensor/test_pad.py::test_nd_padding[symmetric-reflect]
4.57s call     tests/tensor/test_blas_c.py::TestBlasStrides::test_gemm
4.35s call     tests/tensor/test_blockwise.py::TestCholesky::test_grad
4.03s call     tests/tensor/test_blas_c.py::TestBlasStridesC::test_gemm
3.09s call     tests/tensor/test_pad.py::test_nd_padding[asymmetric-reflect]
3.02s call     tests/tensor/test_pad.py::test_reflect_pad[even-asymmetrical_left-3d square]
2.98s call     tests/tensor/test_pad.py::test_reflect_pad[even-asymmetric_right-3d square]
2.90s call     tests/tensor/test_fft.py::TestFFT::test_grad_rfft
2.88s call     tests/tensor/test_pad.py::test_reflect_pad[even-symmetrical-3d square]
2.80s call     tests/tensor/test_pad.py::test_nd_padding[symmetric-mean]
2.70s call     tests/tensor/random/rewriting/test_basic.py::test_Subtensor_lift[indices9-True-dist_op9-dist_params9-size9]
2.33s call     tests/tensor/test_extra_ops.py::TestRavelMultiIndex::test_ravel_multi_index
2.32s call     tests/tensor/test_optimize.py::test_minimize_vector_x[Newton-CG]
2.23s call     tests/tensor/random/rewriting/test_basic.py::test_Subtensor_lift[indices6-False-dist_op6-dist_params6-size6]
2.07s call     tests/tensor/random/test_utils.py::TestSharedRandomStream::test_tutorial
2.01s call     tests/tensor/test_optimize.py::test_minimize_vector_x[powell]
1.98s call     tests/tensor/test_subtensor.py::test_indexed_result_shape[test_array12-test_idx12]
1.86s call     tests/tensor/test_optimize.py::test_root_system_of_equations
1.83s call     tests/tensor/test_pad.py::test_nd_padding[symmetric-linear_ramp]
1.81s call     tests/tensor/random/rewriting/test_basic.py::test_Subtensor_lift[indices3-True-dist_op3-dist_params3-size3]
1.79s call     tests/tensor/test_blas_c.py::TestSdotNoFlags::test_cgemv
1.78s call     tests/tensor/test_blas_c.py::TestCGemvNoFlags::test_cgemv
1.72s call     tests/tensor/random/test_basic.py::test_normal_ShapeFeature
1.72s call     tests/tensor/test_pad.py::test_nd_padding[asymmetric-mean]
1.71s call     tests/tensor/test_pad.py::test_symmetric_pad[even-asymmetric_right-3d square]
1.64s call     tests/tensor/test_optimize.py::test_minimize_vector_x[L-BFGS-B]
1.60s call     tests/tensor/random/rewriting/test_basic.py::test_local_rv_size_lift[dist_op1-dist_params1-None]
1.58s call     tests/tensor/test_pad.py::test_symmetric_pad[even-asymmetrical_left-3d square]
1.57s call     tests/tensor/test_pad.py::test_nd_padding[asymmetric-symmetric]
1.55s call     tests/tensor/test_pad.py::test_nd_padding[symmetric-symmetric]
1.54s call     tests/tensor/test_interpolate.py::test_interpolate_scalar_no_extrapolate[None-None-linear]
1.54s call     tests/tensor/random/rewriting/test_basic.py::test_local_rv_size_lift[dist_op2-dist_params2-size2]
1.53s call     tests/tensor/test_pad.py::test_stat_pad[2-mean-asymmetrical_left-3d square]
1.50s call     tests/tensor/test_pad.py::test_symmetric_pad[even-symmetrical-3d square]
1.42s call     tests/tensor/test_pad.py::test_reflect_pad[even-asymmetrical_left-2d square]
1.42s call     tests/tensor/test_blas_c.py::TestBlasStrides::test_dot22scalar
1.41s call     tests/tensor/test_pad.py::test_reflect_pad[even-symmetrical-2d square]
1.40s call     tests/tensor/test_pad.py::test_reflect_pad[even-asymmetric_right-2d square]
1.39s call     tests/tensor/test_slinalg.py::test_solve_discrete_lyapunov_gradient[direct-batch-float]
1.37s call     tests/tensor/random/rewriting/test_basic.py::test_Subtensor_lift[indices4-True-dist_op4-dist_params4-None]
1.33s call     tests/tensor/test_pad.py::test_stat_pad[2-mean-asymmetric_right-3d square]
1.33s call     tests/tensor/test_pad.py::test_stat_pad[2-mean-symmetrical-3d square]
1.25s call     tests/tensor/random/rewriting/test_basic.py::test_Subtensor_lift[indices16-True-dist_op16-dist_params16-size16]
1.21s call     tests/tensor/test_pad.py::test_linear_ramp_pad[-1-asymmetrical_left-3d square]
1.21s call     tests/tensor/test_pad.py::test_linear_ramp_pad[0-symmetrical-3d square]
1.20s call     tests/tensor/test_pad.py::test_linear_ramp_pad[0-asymmetric_right-3d square]
=========================== short test summary info ============================
(8 minutes 13 seconds) ubuntu-latest test py3.13 : fast-compile 1 : float32 0 : tests/tensor/rewriting
============================= slowest 50 durations =============================
119.85s call     tests/tensor/rewriting/test_subtensor.py::TestLocalSubtensorMerge::test_const4
50.66s call     tests/tensor/rewriting/test_subtensor.py::TestLocalSubtensorMerge::test_none_slice
27.97s call     tests/tensor/rewriting/test_elemwise.py::TestFusion::test_big_fusion
12.07s call     tests/tensor/rewriting/test_subtensor.py::TestLocalSubtensorMerge::test_const3
8.88s call     tests/tensor/rewriting/test_subtensor.py::TestLocalSubtensorMerge::test_const2
7.43s call     tests/tensor/rewriting/test_subtensor.py::TestLocalSubtensorMerge::test_const
7.41s call     tests/tensor/rewriting/test_math.py::TestLocalSumProd::test_sum_of_non_scalar_mul
6.44s call     tests/tensor/rewriting/test_math.py::test_local_log_add_exp
5.99s call     tests/tensor/rewriting/test_math.py::TestSigmoidRewrites::test_exp_over_1_plus_exp
4.65s call     tests/tensor/rewriting/test_linalg.py::test_det_blockdiag_rewrite
4.20s call     tests/tensor/rewriting/test_subtensor.py::TestLocalSubtensorMerge::test_none_index
3.73s call     tests/tensor/rewriting/test_math.py::test_log1p
3.37s call     tests/tensor/rewriting/test_math.py::TestLocalSumProd::test_prod_of_non_scalar_mul
3.32s call     tests/tensor/rewriting/test_basic.py::TestLocalElemwiseAlloc::test_remove_alloc_wo_dimshuffle
3.18s call     tests/tensor/rewriting/test_subtensor_lift.py::test_local_subtensor_of_alloc
2.88s call     tests/tensor/rewriting/test_subtensor.py::TestBlockwiseIncSubtensor::test_idxs_not_vectorized[basic_idx-set-y_explicit]
2.54s call     tests/tensor/rewriting/test_basic.py::TestLocalUselessIncSubtensorAlloc::test_advanced_inc_subtensor
2.47s call     tests/tensor/rewriting/test_math.py::test_local_block_diag_dot_to_dot_block_diag[unbatched_other-batch_blockdiag-left]
2.44s call     tests/tensor/rewriting/test_math.py::test_local_block_diag_dot_to_dot_block_diag[batched_other-batch_blockdiag-left]
2.24s call     tests/tensor/rewriting/test_elemwise.py::TestFusion::test_CAReduce_single_input[sum-sum-None-floatX-cvm]
2.07s call     tests/tensor/rewriting/test_basic.py::TestLocalUselessIncSubtensorAlloc::test_incsubtensor
2.06s call     tests/tensor/rewriting/test_elemwise.py::TestFusion::test_test_values[test_value0]
2.05s call     tests/tensor/rewriting/test_math.py::test_local_merge_abs
2.04s call     tests/tensor/rewriting/test_elemwise.py::TestFusion::test_CAReduce_single_input[sum-sum-axis3-floatX-cvm]
2.03s call     tests/tensor/rewriting/test_elemwise.py::TestFusion::test_CAReduce_single_input[sum-sum-0-floatX-cvm]
2.01s call     tests/tensor/rewriting/test_subtensor.py::TestBlockwiseIncSubtensor::test_idxs_not_vectorized[basic_idx-inc-y_explicit]
1.88s call     tests/tensor/rewriting/test_math.py::TestSigmoidRewrites::test_grad_log1msigm
1.87s call     tests/tensor/rewriting/test_linalg.py::test_slogdet_specialization
1.85s call     tests/tensor/rewriting/test_math.py::TestSoftplusRewrites::test_log1msigm_to_softplus
1.80s call     tests/tensor/rewriting/test_linalg.py::test_det_kronecker_rewrite
1.68s call     tests/tensor/rewriting/test_linalg.py::test_diag_kronecker_rewrite
1.68s call     tests/tensor/rewriting/test_subtensor.py::TestLocalSubtensorMerge::test_scalar5
1.57s call     tests/tensor/rewriting/test_basic.py::TestLocalUselessSwitch::test_broadcasting_2
1.55s call     tests/tensor/rewriting/test_math.py::test_local_mul_specialize
1.51s call     tests/tensor/rewriting/test_linalg.py::test_slogdet_blockdiag_rewrite
1.50s call     tests/tensor/rewriting/test_basic.py::test_local_useless_fill
1.46s call     tests/tensor/rewriting/test_math.py::test_local_pow_specialize
1.38s call     tests/tensor/rewriting/test_elemwise.py::TestFusion::test_CAReduce_single_input[sum-sum-1-floatX-cvm]
1.37s call     tests/tensor/rewriting/test_subtensor.py::TestLocalSubtensorMerge::test_scalar
1.35s call     tests/tensor/rewriting/test_linalg.py::test_inv_diag_from_diag[inv]
1.34s call     tests/tensor/rewriting/test_linalg.py::test_cholesky_diag_from_eye_mul[batched]
1.32s call     tests/tensor/rewriting/test_subtensor.py::TestLocalSubtensorMerge::test_scalar6
1.32s call     tests/tensor/rewriting/test_linalg.py::test_cholesky_diag_from_eye_mul[vector]
1.30s call     tests/tensor/rewriting/test_linalg.py::test_cholesky_diag_from_eye_mul[scalar]
1.30s call     tests/tensor/rewriting/test_math.py::test_local_block_diag_dot_to_dot_block_diag[batched_other-batch_blockdiag-right]
1.27s call     tests/tensor/rewriting/test_basic.py::test_local_join_make_vector
1.23s call     tests/tensor/rewriting/test_basic.py::TestLocalElemwiseAlloc::test_remove_alloc_w_dimshuffle
1.21s call     tests/tensor/rewriting/test_basic.py::test_local_fill_to_alloc
1.17s call     tests/tensor/rewriting/test_basic.py::TestLocalElemwiseAlloc::test_misc
1.16s call     tests/tensor/rewriting/test_math.py::test_local_block_diag_dot_to_dot_block_diag[unbatched_other-batch_blockdiag-right]
=========================== short test summary info ============================
(4 minutes 37 seconds) ubuntu-latest test py3.13 : fast-compile 1 : float32 0 : tests/tensor/test_basic.py tests/tensor/test_inplace.py tests/tensor/conv
============================= slowest 50 durations =============================
39.97s call     tests/tensor/conv/test_abstract_conv.py::TestAbstractConvNoOptim::test_all
21.74s call     tests/tensor/conv/test_abstract_conv.py::TestGroupedConv3dNoOptim::test_fwd
17.23s call     tests/tensor/conv/test_abstract_conv.py::TestGroupedConv3dNoOptim::test_gradweights
11.08s call     tests/tensor/conv/test_abstract_conv.py::TestGroupedConv3dNoOptim::test_gradinputs
10.54s call     tests/tensor/test_basic.py::TestAllocDiag::test_alloc_diag_values
9.96s call     tests/tensor/conv/test_abstract_conv.py::TestUnsharedConv::test_fwd
6.95s call     tests/tensor/test_basic.py::TestTriangle::test_tril_triu
6.06s call     tests/tensor/test_basic.py::TestAlloc::test_alloc_constant_folding
5.55s call     tests/tensor/conv/test_abstract_conv.py::TestUnsharedConv::test_gradinput
3.63s call     tests/tensor/conv/test_abstract_conv.py::TestUnsharedConv::test_gradweight
3.07s call     tests/tensor/conv/test_abstract_conv.py::TestGroupedConvNoOptim::test_gradweights
3.05s call     tests/tensor/test_basic.py::TestARange::test_infer_shape[custom]
2.89s call     tests/tensor/conv/test_abstract_conv.py::TestGroupedConvNoOptim::test_fwd
2.67s call     tests/tensor/test_basic.py::TestAlloc::test_ones
2.65s call     tests/tensor/conv/test_abstract_conv.py::TestCausalConv::test_interface
2.49s call     tests/tensor/conv/test_abstract_conv.py::TestConvGradInputsShape::test_check_shape
2.42s call     tests/tensor/conv/test_abstract_conv.py::TestGroupedConvNoOptim::test_gradinputs
2.35s call     tests/tensor/test_basic.py::TestAlloc::test_zeros
1.22s call     tests/tensor/conv/test_abstract_conv.py::TestAbstractConvNoOptim::test_gradinput_impossible_output_shapes
1.02s call     tests/tensor/test_basic.py::TestAsTensorVariable::test_list
0.90s call     tests/tensor/conv/test_abstract_conv.py::TestBilinearUpsampling::test_fractional_bilinear_upsampling_shape
0.85s call     tests/tensor/test_basic.py::TestAlloc::test_runtime_broadcast[mode1]
0.78s call     tests/tensor/test_basic.py::TestNonzero::test_nonzero
0.73s call     tests/tensor/test_basic.py::TestSecondBroadcast::test_good
0.72s call     tests/tensor/conv/test_abstract_conv.py::TestBilinearUpsampling::test_compare_1D_and_2D_upsampling_values
0.62s call     tests/tensor/conv/test_abstract_conv.py::TestBilinearUpsampling::test_bilinear_kernel_2D
0.59s call     tests/tensor/test_basic.py::TestSecondSameRank::test_good
0.59s call     tests/tensor/test_basic.py::TestJoinAndSplit::test_split_view[c]
0.57s call     tests/tensor/conv/test_abstract_conv.py::TestBilinearUpsampling::test_fractional_bilinear_upsampling
0.56s call     tests/tensor/test_basic.py::TestSwitchBroadcast::test_good
0.55s call     tests/tensor/test_basic.py::TestEye::test_basic
0.52s call     tests/tensor/test_basic.py::TestJoinAndSplit::test_roll
0.51s call     tests/tensor/test_basic.py::TestJoinAndSplit::test_stack_hessian
0.48s call     tests/tensor/conv/test_abstract_conv.py::TestBilinearUpsampling::test_bilinear_upsampling_1D
0.46s call     tests/tensor/test_basic.py::TestNonzero::test_nonzero_values
0.44s call     tests/tensor/test_basic.py::TestAlloc::test_alloc_output
0.44s call     tests/tensor/test_basic.py::TestAlloc::test_alloc_of_view_linker
0.42s call     tests/tensor/test_basic.py::TestAlloc::test_full[shape0]
0.39s call     tests/tensor/test_basic.py::TestAlloc::test_full[shape2]
0.39s call     tests/tensor/test_basic.py::TestAlloc::test_full[shape3]
0.39s call     tests/tensor/test_basic.py::TestAlloc::test_full[5]
0.39s call     tests/tensor/conv/test_abstract_conv.py::TestBilinearUpsampling::test_bilinear_kernel_1D
0.37s call     tests/tensor/test_basic.py::TestNdGrid::test_mgrid_numpy_equiv
0.30s call     tests/tensor/test_basic.py::TestTriangle::test_tri
0.28s call     tests/tensor/conv/test_abstract_conv.py::TestAsymmetricPadding::test_gradweight
0.28s call     tests/tensor/conv/test_abstract_conv.py::TestBilinearUpsampling::test_bilinear_upsampling_reshaping
0.26s call     tests/tensor/test_basic.py::TestChoose::test_infer_shape
0.26s call     tests/tensor/conv/test_abstract_conv.py::TestAsymmetricPadding::test_gradinput
0.24s call     tests/tensor/test_basic.py::TestJoinAndSplit::test_stack_hessian2
0.22s call     tests/tensor/test_basic.py::TestARange::test_grads
=========================== short test summary info ============================
(4 minutes 8 seconds) ubuntu-latest test py3.13 : fast-compile 0 : float32 0 : tests/link/jax
============================= slowest 50 durations =============================
10.57s call     tests/link/jax/test_pad.py::test_jax_pad[reflect]
6.76s call     tests/link/jax/test_scan.py::test_scan_mit_mot
6.25s call     tests/link/jax/test_pad.py::test_jax_pad[linear_ramp_default]
5.25s call     tests/link/jax/test_pad.py::test_jax_pad[mean_default]
4.68s call     tests/link/jax/test_pad.py::test_jax_pad[constant_default]
4.28s call     tests/link/jax/test_pad.py::test_jax_pad[symmetric]
3.61s call     tests/link/jax/test_pad.py::test_jax_pad[wrap]
3.41s call     tests/link/jax/test_pad.py::test_jax_pad[linear_ramp_tuple]
3.30s call     tests/link/jax/test_pad.py::test_jax_pad[edge]
3.17s call     tests/link/jax/test_random.py::test_multinomial
2.93s call     tests/link/jax/test_nlinalg.py::test_kron
2.89s call     tests/link/jax/test_pad.py::test_jax_pad[mean_tuple]
2.42s call     tests/link/jax/test_pad.py::test_jax_pad[minimum_default]
1.78s call     tests/link/jax/test_einsum.py::test_jax_einsum
1.69s call     tests/link/jax/test_pad.py::test_jax_pad[maximum_default]
1.60s call     tests/link/jax/test_random.py::test_beta_binomial
1.47s call     tests/link/jax/test_random.py::test_unnatural_batched_dims[batched_unweighted_choice_without_replacement_tester]
1.41s call     tests/link/jax/test_random.py::test_unnatural_batched_dims[batched_weighted_choice_without_replacement_tester]
1.40s call     tests/link/jax/test_random.py::test_random_choice
1.37s call     tests/link/jax/test_random.py::test_negative_binomial
1.34s call     tests/link/jax/test_scalar.py::test_tfp_ops[op2-test_values2]
1.26s call     tests/link/jax/test_slinalg.py::test_jax_basic
1.21s call     tests/link/jax/test_scan.py::test_nd_scan_sit_sot[A_func0-x0_func0]
1.14s call     tests/link/jax/test_random.py::test_random_RandomVariable[rv_op0-dist_params0-base_size0-beta-<lambda>]
1.09s call     tests/link/jax/test_random.py::test_random_categorical
1.06s call     tests/link/jax/test_random.py::test_random_RandomVariable[rv_op13-dist_params13-base_size13-t-<lambda>]
1.02s call     tests/link/jax/test_pad.py::test_jax_pad[maximum_tuple]
1.01s call     tests/link/jax/test_scalar.py::test_tfp_ops[op3-test_values3]
0.98s call     tests/link/jax/test_einsum.py::test_ellipsis_einsum
0.98s call     tests/link/jax/test_wrap_jax.py::test_nn
0.98s call     tests/link/jax/test_random.py::test_random_dirichlet[parameter0-size0]
0.97s call     tests/link/jax/test_random.py::test_random_dirichlet[parameter1-size1]
0.97s call     tests/link/jax/test_random.py::test_unnatural_batched_dims[batched_permutation_tester]
0.95s call     tests/link/jax/test_scalar.py::test_betaincinv
0.94s call     tests/link/jax/test_scalar.py::test_gammaincinv
0.92s call     tests/link/jax/test_scalar.py::test_gammainccinv
0.89s call     tests/link/jax/test_random.py::test_random_RandomVariable[rv_op16-dist_params16-base_size16-invgamma-<lambda>]
0.87s call     tests/link/jax/test_random.py::test_random_RandomVariable[rv_op3-dist_params3-base_size3-gamma-<lambda>]
0.86s call     tests/link/jax/test_random.py::test_random_RandomVariable[rv_op18-dist_params18-base_size18-gengamma-<lambda>]
0.84s call     tests/link/jax/test_random.py::test_random_RandomVariable[chisquare-dist_params17-base_size17-chi2-<lambda>]
0.83s call     tests/link/jax/test_random.py::TestRandomShapeInputs::test_random_scalar_shape_input
0.80s call     tests/link/jax/test_scalar.py::test_tfp_ops[op0-test_values0]
0.73s call     tests/link/jax/test_random.py::test_replaced_shared_rng_storage_ordering_equality
0.73s call     tests/link/jax/test_scan.py::test_nd_scan_mit_sot
0.72s call     tests/link/jax/test_random.py::test_random_RandomVariable[rv_op10-dist_params10-base_size10-poisson-<lambda>]
0.71s call     tests/link/jax/test_random.py::test_binomial
0.65s call     tests/link/jax/test_random.py::test_size_implied_by_broadcasted_parameters[<lambda>0]
0.62s call     tests/link/jax/test_wrap_jax.py::test_pytree_input_with_non_graph_args
0.62s call     tests/link/jax/test_scan.py::test_scan_mitsot_with_nonseq
0.61s call     tests/link/jax/test_scan.py::test_scan_mit_sot[None]
=========================== short test summary info ============================

You can find more information on how to contribute here

Automatically generated by GitHub Action Latest run date: 2025-10-29 Run logs: 18886730976

williambdean avatar Dec 13 '24 16:12 williambdean

@wd60622 we need to update, probably because of the new matrix merged recently?

ricardoV94 avatar Feb 17 '25 21:02 ricardoV94

@williambdean this is not including numba / jax CI?

ricardoV94 avatar May 30 '25 13:05 ricardoV94

@williambdean this is not including numba / jax CI?

Would have to check. Is that included here? https://github.com/pymc-devs/pytensor/actions/runs/15284667195

williambdean avatar May 30 '25 13:05 williambdean

Yes. JAX: https://github.com/pymc-devs/pytensor/actions/runs/15284667195/job/42991990937 Numba: https://github.com/pymc-devs/pytensor/actions/runs/15284667195/job/42991989813

ricardoV94 avatar May 30 '25 13:05 ricardoV94

Also this seems to be missing the first test that excludes the parent test that excludes the specific ones that come after: https://github.com/pymc-devs/pytensor/blob/f7cc0f070958ce1ab0e273915a304ef5671574a9/.github/workflows/test.yml#L87

Actually why don't we have as many entries as there are parts? https://github.com/pymc-devs/pytensor/blob/f7cc0f070958ce1ab0e273915a304ef5671574a9/.github/workflows/test.yml#L87-L95

ricardoV94 avatar Aug 01 '25 09:08 ricardoV94