Skip to content

Speed up test times 🚀 #1124

@williambdean

Description

@williambdean

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

Here are some of the slowest test times:

(8 minutes 49 seconds) ubuntu-latest test py3.13 : fast-compile 0 : float32 0 : tests/scan
============================= slowest 50 durations =============================
33.83s call     tests/scan/test_basic.py::TestScan::test_second_derivative_disconnected_cost_with_mit_mot
23.39s call     tests/scan/test_basic.py::TestScan::test_grad_multiple_outs_taps_backwards
21.50s call     tests/scan/test_basic.py::TestScan::test_grad_mitsot
17.92s call     tests/scan/test_basic.py::TestScan::test_R_op[False]
17.18s call     tests/scan/test_basic.py::TestExamples::test_grad_multiple_outs_some_disconnected
16.44s call     tests/scan/test_basic.py::TestScan::test_R_op[True]
16.19s call     tests/scan/test_basic.py::TestScan::test_R_op_2[False]
15.40s call     tests/scan/test_rewriting.py::TestPushOutNonSeqScan::test_pushout_seqs
14.46s call     tests/scan/test_rewriting.py::TestPushOutAddScan::test_machine_translation
13.63s call     tests/scan/test_checkpoints.py::TestScanCheckpoint::test_backward_pass
13.35s call     tests/scan/test_basic.py::TestScan::test_R_op_2[True]
10.34s call     tests/scan/test_basic.py::TestScan::test_grad_dtype_change
9.47s call     tests/scan/test_basic.py::TestScan::test_grad_of_grad_of_state
8.67s call     tests/scan/test_basic.py::TestScan::test_grad_multiple_outs
7.44s call     tests/scan/test_basic.py::TestScan::test_grad_multiple_taps_state
7.25s call     tests/scan/test_basic.py::TestScan::test_grad_one_output
6.78s call     tests/scan/test_basic.py::test_compute_test_value_grad
6.67s call     tests/scan/test_basic.py::TestExamples::test_default_value_broadcasted
6.54s call     tests/scan/test_checkpoints.py::TestScanCheckpoint::test_forward_pass
6.45s call     tests/scan/test_basic.py::TestScan::test_grad_multiple_outs_taps
6.43s call     tests/scan/test_basic.py::TestScan::test_shared_arguments_with_updates
6.20s call     tests/scan/test_basic.py::TestExamples::test_grad_multiple_outs_some_disconnected_2
5.96s call     tests/scan/test_basic.py::TestScan::test_inner_grad
5.65s call     tests/scan/test_rewriting.py::TestSaveMem::test_save_mem_store_steps
5.12s call     tests/scan/test_basic.py::TestGradUntil::test_grad_until_and_truncate_sequence_taps
5.10s call     tests/scan/test_basic.py::TestScan::test_inner_graph_cloning[default_rng]
5.05s call     tests/scan/test_basic.py::TestGradUntil::test_grad_until_ndim_greater_one
5.03s call     tests/scan/test_basic.py::TestScan::test_grad_multiple_outs_some_uncomputable
4.71s call     tests/scan/test_basic.py::test_compute_test_values
4.35s call     tests/scan/test_basic.py::TestScan::test_grad_multiple_seqs_different_nsteps
4.12s call     tests/scan/test_rewriting.py::TestSaveMem::test_savemem_opt_0_step
3.89s call     tests/scan/test_basic.py::TestScan::test_grad_duplicate_outputs
3.83s call     tests/scan/test_basic.py::TestGradUntil::test_grad_until
3.52s call     tests/scan/test_basic.py::TestScan::test_grad_sitsot
3.40s call     tests/scan/test_basic.py::TestScan::test_non_shaped_input_disconnected_gradient[inside-explicit]
3.29s call     tests/scan/test_basic.py::TestExamples::test_gibbs_chain
3.17s call     tests/scan/test_basic.py::test_compute_test_value_grad_cast
3.13s call     tests/scan/test_rewriting.py::TestScanInplaceOptimizer::test_simple_rnn_2
2.99s call     tests/scan/test_rewriting.py::TestSaveMem::test_while_scan_taps
2.98s call     tests/scan/test_basic.py::TestScan::test_only_nonseq_inputs
2.71s call     tests/scan/test_basic.py::TestExamples::test_same
2.57s call     tests/scan/test_basic.py::TestScan::test_grad_multiple_outs_some_truncate
2.48s call     tests/scan/test_basic.py::TestScan::test_grad_wrt_shared
2.00s call     tests/scan/test_basic.py::TestExamples::test_not_working_infer_shape
1.99s call     tests/scan/test_basic.py::TestExamples::test_infer_shape_remove_stuff
1.97s call     tests/scan/test_rewriting.py::TestSaveMem::test_save_mem_reduced_number_of_steps
1.96s call     tests/scan/test_rewriting.py::TestRemoveConstantsAndUnusedInputsScan::test_remove_constants_and_unused_inputs_scan_seqs
1.93s call     tests/scan/test_basic.py::TestExamples::test_return_steps
1.92s call     tests/scan/test_basic.py::TestExamples::test_past_future_taps_shared
1.79s call     tests/scan/test_basic.py::TestGradUntil::test_grad_until_and_truncate
=========================== short test summary info ============================
(14 minutes 46 seconds) ubuntu-latest test py3.13 : fast-compile 0 : float32 0 : tests/tensor/test_math.py
============================= slowest 50 durations =============================
158.42s call     tests/tensor/test_math.py::TestSumProdReduceDtype::test_reduce_custom_dtype
73.68s call     tests/tensor/test_math.py::TestProdWithoutZerosDtype::test_prod_without_zeros_custom_dtype
32.14s call     tests/tensor/test_math.py::TestProdWithoutZerosDtype::test_prod_without_zeros_custom_acc_dtype
27.74s call     tests/tensor/test_math.py::TestMaxAndArgmax::test_grad
15.86s call     tests/tensor/test_math.py::test_var
15.56s call     tests/tensor/test_math.py::TestSumProdReduceDtype::test_reduce_default_dtype
13.81s call     tests/tensor/test_math.py::TestPowBroadcast::test_grad
12.68s call     tests/tensor/test_math.py::TestTensordot::test_basic
12.11s call     tests/tensor/test_math.py::TestAddBroadcast::test_good
10.80s call     tests/tensor/test_math.py::TestComparison::test_isclose
9.99s call     tests/tensor/test_math.py::TestProd::test_verify_grad
9.58s call     tests/tensor/test_math.py::TestMulBroadcast::test_good
9.05s call     tests/tensor/test_math.py::TestArctan2Broadcast::test_grad
8.76s call     tests/tensor/test_math.py::TestSubBroadcast::test_grad
8.36s call     tests/tensor/test_math.py::TestArctan2Broadcast::test_good
8.20s call     tests/tensor/test_math.py::TestSubBroadcast::test_good
7.57s call     tests/tensor/test_math.py::TestModBroadcast::test_good
6.95s call     tests/tensor/test_math.py::TestMaximumBroadcast::test_grad
6.95s call     tests/tensor/test_math.py::TestMinimumBroadcast::test_grad
6.90s call     tests/tensor/test_math.py::TestCeilIntDivBroadcast::test_good
6.85s call     tests/tensor/test_math.py::TestClip1::test_good
6.81s call     tests/tensor/test_math.py::TestProd::test_prod_no_zeros_in_input
6.75s call     tests/tensor/test_math.py::TestTrueDivBroadcast::test_good
6.71s call     tests/tensor/test_math.py::TestTrueDivBroadcast::test_grad
6.59s call     tests/tensor/test_math.py::TestModBroadcast::test_grad
6.55s call     tests/tensor/test_math.py::TestMaximumBroadcast::test_good
6.53s call     tests/tensor/test_math.py::TestMinimumBroadcast::test_good
6.45s call     tests/tensor/test_math.py::TestMulBroadcast::test_grad
6.04s call     tests/tensor/test_math.py::TestProd::test_other_grad_tests
6.00s call     tests/tensor/test_math.py::TestClip2::test_clip_repeat_verify_grad
5.62s call     tests/tensor/test_math.py::TestProdWithoutZerosDtype::test_prod_without_zeros_default_acc_dtype
5.54s call     tests/tensor/test_math.py::TestMinMax::test_grad_min
5.44s call     tests/tensor/test_math.py::TestOuter::test_grad
4.86s call     tests/tensor/test_math.py::TestDenseDot::test_good
4.74s call     tests/tensor/test_math.py::TestPowBroadcast::test_good
4.47s call     tests/tensor/test_math.py::TestMeanDtype::test_mean_default_dtype
4.16s call     tests/tensor/test_math.py::TestAdd::test_complex_all_ops
4.16s call     tests/tensor/test_math.py::TestSqrBroadcast::test_good
4.10s call     tests/tensor/test_math.py::TestOuter::test_outer
4.02s call     tests/tensor/test_math.py::TestAbsBroadcast::test_good
3.85s call     tests/tensor/test_math.py::TestDivimpl::test_impls
3.68s call     tests/tensor/test_math.py::test_cov
3.30s call     tests/tensor/test_math.py::TestInvBroadcast::test_good
3.27s call     tests/tensor/test_math.py::TestDeg2radBroadcast::test_good
3.27s call     tests/tensor/test_math.py::TestRad2degBroadcast::test_good
3.21s call     tests/tensor/test_math.py::TestCoshBroadcast::test_good
3.21s call     tests/tensor/test_math.py::TestSinhBroadcast::test_good
3.21s call     tests/tensor/test_math.py::TestCeilBroadcast::test_good
3.20s call     tests/tensor/test_math.py::TestArctanBroadcast::test_good
3.20s call     tests/tensor/test_math.py::TestTanhBroadcast::test_good
=========================== short test summary info ============================
(10 minutes 21 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 =============================
146.94s call     tests/tensor/test_elemwise.py::TestCAReduce::test_c
47.64s call     tests/tensor/test_blas.py::TestGemmNoFlags::test_gemm
22.32s call     tests/tensor/test_math_scipy.py::TestGammaIncBroadcast::test_grad
18.90s call     tests/tensor/test_blas.py::test_dot22scalar
15.57s call     tests/tensor/test_elemwise.py::TestCAReduce::test_perform
12.52s call     tests/tensor/test_math_scipy.py::TestBetaincBroadcast::test_grad
8.16s call     tests/tensor/test_elemwise.py::TestCAReduce::test_c_noopt
7.88s call     tests/tensor/test_math_scipy.py::TestBetaIncGrad::test_stan_grad_partial
7.23s call     tests/tensor/test_math_scipy.py::TestGammaInccBroadcast::test_grad
7.23s call     tests/tensor/test_math_scipy.py::test_gammainc_ddk_tabulated_values
6.82s call     tests/tensor/test_elemwise.py::TestCAReduce::test_perform_nan
6.53s call     tests/tensor/test_blas.py::test_local_dot22_to_dot22scalar
6.27s call     tests/tensor/test_math_scipy.py::TestHyp2F1Broadcast::test_grad
6.25s call     tests/tensor/test_blas.py::test_dot22scalar_cast
6.20s call     tests/tensor/test_elemwise.py::TestBroadcast::test_c
5.56s call     tests/tensor/test_math_scipy.py::TestBetaincInplaceBroadcast::test_grad
5.19s call     tests/tensor/test_blas.py::test_dot_w_self
5.01s call     tests/tensor/test_elemwise.py::TestElemwise::test_infer_shape
4.94s call     tests/tensor/test_elemwise.py::TestBroadcast::test_c_inplace
4.62s call     tests/tensor/test_elemwise.py::TestCAReduce::test_infer_shape
4.49s call     tests/tensor/test_math_scipy.py::TestChi2SFBroadcast::test_good
4.36s call     tests/tensor/test_math_scipy.py::TestErfcxBroadcast::test_grad
4.33s call     tests/tensor/test_blas.py::TestBlasStrides::test_gemm
4.27s call     tests/tensor/test_math_scipy.py::TestHyp2F1Grad::test_hyp2f1_grad_stan_cases
4.17s call     tests/tensor/test_math_scipy.py::TestErfBroadcast::test_grad
4.04s call     tests/tensor/test_blas.py::test_batched_tensordot
3.89s call     tests/tensor/test_blas.py::test_gemm_opt0
3.59s call     tests/tensor/test_math_scipy.py::TestGammalnBroadcast::test_good
3.53s call     tests/tensor/test_math_scipy.py::TestGammalnInplaceBroadcast::test_good
3.18s call     tests/tensor/test_math_scipy.py::TestErfBroadcast::test_good
2.90s call     tests/tensor/test_elemwise.py::TestCAReduce::test_c_nan
2.80s call     tests/tensor/test_blas.py::test_gemm_nested
2.80s call     tests/tensor/test_blas.py::TestGemm::test_non_contiguous
2.71s call     tests/tensor/test_blas.py::test_upcasting_scalar_nogemm
2.70s call     tests/tensor/test_blas.py::test_gemm_opt_vector_stuff
2.47s call     tests/tensor/test_math_scipy.py::TestErfcBroadcast::test_grad
2.44s call     tests/tensor/test_blas.py::test_gemm_unrolled
2.44s call     tests/tensor/test_math_scipy.py::TestSigmoidInplaceBroadcast::test_grad
2.42s call     tests/tensor/test_math_scipy.py::TestErfcxBroadcast::test_good
2.41s call     tests/tensor/test_math_scipy.py::TestSoftplusInplaceBroadcast::test_grad
2.22s call     tests/tensor/test_math_scipy.py::TestBetaIncGrad::test_boik_robison_cox
2.18s call     tests/tensor/test_elemwise.py::TestDimShuffle::test_c_or_py
2.14s call     tests/tensor/test_blas.py::TestBatchedDot::test_grad
2.06s call     tests/tensor/test_blas.py::TestGer::test_c64_7_1
2.05s call     tests/tensor/test_math_scipy.py::TestErfcxInplaceBroadcast::test_good
1.99s call     tests/tensor/test_math_scipy.py::TestHyp2F1Grad::test_unused_grad_loop_opt[wrt4]
1.97s call     tests/tensor/test_blas.py::TestGemm::test_basic_4
1.89s call     tests/tensor/test_blas.py::TestBlasStrides::test_dot22scalar
1.85s call     tests/tensor/test_math_scipy.py::TestHyp2F1Grad::test_unused_grad_loop_opt[wrt5]
1.83s call     tests/tensor/test_math_scipy.py::TestHyp2F1Grad::test_unused_grad_loop_opt[wrt3]
=========================== short test summary info ============================
(15 minutes 9 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.85s call     tests/tensor/test_subtensor.py::TestSubtensor::test_shape_i_const
26.02s call     tests/tensor/test_blockwise.py::TestCholesky::test_grad
20.93s call     tests/tensor/test_optimize.py::test_minimize_vector_x[Newton-CG]
12.57s call     tests/tensor/test_subtensor.py::TestSubtensor::test_grad_list
10.05s call     tests/tensor/test_casting.py::TestCasting::test_convert_to_complex
8.29s call     tests/tensor/test_optimize.py::test_root_system_of_equations
7.69s call     tests/tensor/test_blockwise.py::TestSolveVector::test_grad
7.07s call     tests/tensor/test_blockwise.py::TestMatrixInverse::test_grad
5.97s call     tests/tensor/random/rewriting/test_basic.py::test_Subtensor_lift[indices17-True-dist_op17-dist_params17-None]
5.93s call     tests/tensor/test_fft.py::TestFFT::test_grad_rfft
5.87s call     tests/tensor/test_subtensor.py::TestInferShape::test_IncSubtensor
5.56s call     tests/tensor/random/rewriting/test_basic.py::test_Subtensor_lift[indices2-True-dist_op2-dist_params2-None]
5.51s call     tests/tensor/test_extra_ops.py::TestRepeat::test_basic[int8-3]
5.35s call     tests/tensor/test_blas_c.py::TestCGemvNoFlags::test_cgemv
5.11s call     tests/tensor/test_subtensor.py::TestIncSubtensor::test_grad_inc_set
5.08s call     tests/tensor/test_pad.py::test_nd_padding[symmetric-reflect]
5.00s call     tests/tensor/test_blas_c.py::TestBlasStrides::test_gemm
4.88s call     tests/tensor/test_blockwise.py::TestSolveMatrix::test_grad
4.57s call     tests/tensor/test_extra_ops.py::TestCumOp::test_grad
4.54s call     tests/tensor/test_subtensor.py::TestSubtensor::test_ok_list
4.47s call     tests/tensor/test_blas_c.py::TestBlasStridesC::test_gemm
4.40s call     tests/tensor/test_extra_ops.py::TestRavelMultiIndex::test_ravel_multi_index
4.24s call     tests/tensor/test_shape.py::TestReshape::test_more_shapes
4.02s call     tests/tensor/test_slinalg.py::test_solve_discrete_are_grad[True]
3.84s call     tests/tensor/test_slinalg.py::test_expm_grad[nonsymmetric_complex_eig]
3.76s call     tests/tensor/test_extra_ops.py::TestBinCount::test_bincountFn[int16]
3.75s call     tests/tensor/test_slinalg.py::test_cholesky_grad_indef
3.74s call     tests/tensor/test_nlinalg.py::TestEighFloat32::test_grad
3.72s call     tests/tensor/test_extra_ops.py::TestBinCount::test_bincountFn[int32]
3.71s call     tests/tensor/test_extra_ops.py::TestBinCount::test_bincountFn[int8]
3.41s call     tests/tensor/test_extra_ops.py::test_cpu_contiguous
3.41s call     tests/tensor/test_slinalg.py::test_solve_discrete_lyapunov_gradient[direct-matrix-float]
3.39s call     tests/tensor/test_blockwise.py::test_scan_gradient_core_type
3.22s call     tests/tensor/test_extra_ops.py::TestBinCount::test_bincountFn[int64]
3.21s call     tests/tensor/test_fft.py::TestFFT::test_rfft_float
3.17s call     tests/tensor/test_slinalg.py::test_solve_discrete_are_grad[False]
3.14s call     tests/tensor/test_extra_ops.py::TestRepeat::test_basic[uint32-3]
3.09s call     tests/tensor/test_pad.py::test_reflect_pad[even-symmetrical-3d square]
3.08s call     tests/tensor/test_pad.py::test_reflect_pad[even-asymmetric_right-3d square]
3.06s call     tests/tensor/test_pad.py::test_nd_padding[asymmetric-symmetric]
3.06s call     tests/tensor/test_pad.py::test_reflect_pad[even-asymmetrical_left-3d square]
3.04s call     tests/tensor/test_extra_ops.py::TestRepeat::test_basic[uint16-3]
3.04s call     tests/tensor/test_extra_ops.py::TestRepeat::test_basic[uint8-3]
3.04s call     tests/tensor/test_extra_ops.py::TestRepeat::test_basic[int16-3]
3.03s call     tests/tensor/test_extra_ops.py::TestRepeat::test_basic[int32-3]
2.95s call     tests/tensor/test_pad.py::test_nd_padding[asymmetric-reflect]
2.93s call     tests/tensor/test_slinalg.py::test_solve_discrete_lyapunov[direct-matrix-complex]
2.93s call     tests/tensor/test_optimize.py::test_minimize_vector_x[powell]
2.89s call     tests/tensor/test_nlinalg.py::TestSvd::test_grad[batched=True-(4,3)-compute_uv=True, full_matrices=False, gradient=U]
2.87s call     tests/tensor/test_xlogx.py::test_xlogy0
=========================== short test summary info ============================
(11 minutes 30 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 =============================
67.20s call     tests/tensor/test_basic.py::TestSecondSameRank::test_good
43.49s call     tests/tensor/conv/test_abstract_conv.py::TestAbstractConvNoOptim::test_all
31.45s call     tests/tensor/test_basic.py::TestTriangle::test_tril_triu
22.71s call     tests/tensor/conv/test_abstract_conv.py::TestGroupedConv3dNoOptim::test_fwd
19.64s call     tests/tensor/test_basic.py::TestAllocDiag::test_alloc_diag_values
17.94s call     tests/tensor/conv/test_abstract_conv.py::TestGroupedConv3dNoOptim::test_gradweights
12.29s call     tests/tensor/conv/test_abstract_conv.py::TestGroupedConv3dNoOptim::test_gradinputs
11.62s call     tests/tensor/test_basic.py::TestJoinAndSplit::test_roll
11.47s call     tests/tensor/conv/test_abstract_conv.py::TestUnsharedConv::test_fwd
11.04s call     tests/tensor/test_basic.py::TestSecondBroadcast::test_good
9.67s call     tests/tensor/test_basic.py::TestNdGrid::test_mgrid_pytensor_variable_numpy_equiv
8.39s call     tests/tensor/test_inplace.py::TestSubInplaceBroadcast::test_good
8.38s call     tests/tensor/test_inplace.py::TestAddInplaceBroadcast::test_good
8.31s call     tests/tensor/test_inplace.py::TestMulInplaceBroadcast::test_good
7.30s call     tests/tensor/test_inplace.py::TestModInplaceBroadcast::test_good
7.24s call     tests/tensor/test_inplace.py::TestIntDivInplaceBroadcast::test_good
6.72s call     tests/tensor/test_inplace.py::TestMaximumInplaceBroadcast::test_good
6.67s call     tests/tensor/test_inplace.py::TestMinimumInplaceBroadcast::test_good
6.51s call     tests/tensor/conv/test_abstract_conv.py::TestUnsharedConv::test_gradinput
5.14s call     tests/tensor/test_basic.py::TestJoinAndSplit::test_stack_hessian
4.57s call     tests/tensor/test_inplace.py::TestTrueDivInplaceBroadcast::test_good
4.39s call     tests/tensor/test_inplace.py::TestPowInplaceBroadcast::test_good
4.18s call     tests/tensor/test_inplace.py::TestSqrInplaceBroadcast::test_good
4.11s call     tests/tensor/test_inplace.py::TestNegInplaceBroadcast::test_good
4.11s call     tests/tensor/test_basic.py::TestAllocBroadcast::test_good
4.09s call     tests/tensor/test_basic.py::TestAlloc::test_alloc_constant_folding
3.90s call     tests/tensor/test_inplace.py::TestArctan2InplaceBroadcast::test_good
3.74s call     tests/tensor/test_basic.py::TestJoinAndSplit::test_broadcastable_flags_many_dims_and_inputs
3.61s call     tests/tensor/conv/test_abstract_conv.py::TestUnsharedConv::test_gradweight
3.49s call     tests/tensor/test_basic.py::TestSwitchBroadcast::test_grad
3.36s call     tests/tensor/test_basic.py::TestZerosLikeBroadcast::test_good
3.31s call     tests/tensor/conv/test_abstract_conv.py::TestGroupedConvNoOptim::test_gradweights
3.26s call     tests/tensor/test_inplace.py::TestAbsInplaceBroadcast::test_good
3.22s call     tests/tensor/test_inplace.py::TestTruncInplaceBroadcast::test_good
3.21s call     tests/tensor/conv/test_abstract_conv.py::TestGroupedConvNoOptim::test_fwd
2.96s call     tests/tensor/test_basic.py::TestAlloc13GradBroadcast::test_grad
2.83s call     tests/tensor/test_basic.py::TestSwitchBroadcast::test_good
2.69s call     tests/tensor/conv/test_abstract_conv.py::TestConvGradInputsShape::test_check_shape
2.58s call     tests/tensor/conv/test_abstract_conv.py::TestGroupedConvNoOptim::test_gradinputs
2.58s call     tests/tensor/test_basic.py::TestAllocDimshuffleGradBroadcast::test_grad
2.57s call     tests/tensor/conv/test_abstract_conv.py::TestAssertConvShape::test_basic
2.50s call     tests/tensor/test_basic.py::TestJoinAndSplit::test_broadcastable_flag_assignment_mixed_thisaxes
2.46s call     tests/tensor/test_basic.py::TestTile::test_tile_grad
2.44s call     tests/tensor/conv/test_abstract_conv.py::TestBilinearUpsampling::test_fractional_bilinear_upsampling
2.44s call     tests/tensor/test_basic.py::TestOnesLikeBroadcast::test_good
2.43s call     tests/tensor/conv/test_abstract_conv.py::TestCausalConv::test_interface
2.42s call     tests/tensor/test_inplace.py::TestSgnInplaceBroadcast::test_good
2.42s call     tests/tensor/conv/test_abstract_conv.py::TestBilinearUpsampling::test_bilinear_kernel_1D
2.42s call     tests/tensor/test_basic.py::TestARange::test_infer_shape[custom]
2.36s call     tests/tensor/test_basic.py::TestJoinAndSplit::test_join_matrix1[False]
=========================== short test summary info ============================
(8 minutes 34 seconds) ubuntu-latest test py3.13 : fast-compile 1 : float32 0 : tests/tensor/rewriting
============================= slowest 50 durations =============================
123.25s call     tests/tensor/rewriting/test_subtensor.py::TestLocalSubtensorMerge::test_const4
52.34s call     tests/tensor/rewriting/test_subtensor.py::TestLocalSubtensorMerge::test_none_slice
29.22s call     tests/tensor/rewriting/test_elemwise.py::TestFusion::test_big_fusion
12.37s call     tests/tensor/rewriting/test_subtensor.py::TestLocalSubtensorMerge::test_const3
8.95s call     tests/tensor/rewriting/test_subtensor.py::TestLocalSubtensorMerge::test_const2
7.64s call     tests/tensor/rewriting/test_subtensor.py::TestLocalSubtensorMerge::test_const
7.62s call     tests/tensor/rewriting/test_math.py::TestLocalSumProd::test_sum_of_non_scalar_mul
6.63s call     tests/tensor/rewriting/test_math.py::test_local_log_add_exp
6.18s call     tests/tensor/rewriting/test_math.py::TestSigmoidRewrites::test_exp_over_1_plus_exp
4.60s call     tests/tensor/rewriting/test_linalg.py::test_det_blockdiag_rewrite
4.57s call     tests/tensor/rewriting/test_subtensor.py::TestLocalSubtensorMerge::test_none_index
3.86s call     tests/tensor/rewriting/test_math.py::test_log1p
3.48s call     tests/tensor/rewriting/test_math.py::TestLocalSumProd::test_prod_of_non_scalar_mul
3.38s call     tests/tensor/rewriting/test_subtensor_lift.py::test_local_subtensor_of_alloc
3.30s call     tests/tensor/rewriting/test_basic.py::TestLocalElemwiseAlloc::test_remove_alloc_wo_dimshuffle
2.96s call     tests/tensor/rewriting/test_subtensor.py::TestBlockwiseIncSubtensor::test_idxs_not_vectorized[basic_idx-set-y_explicit]
2.73s call     tests/tensor/rewriting/test_basic.py::TestLocalUselessIncSubtensorAlloc::test_advanced_inc_subtensor
2.64s call     tests/tensor/rewriting/test_math.py::test_local_block_diag_dot_to_dot_block_diag[batched_other-batch_blockdiag-left]
2.54s call     tests/tensor/rewriting/test_math.py::test_local_block_diag_dot_to_dot_block_diag[unbatched_other-batch_blockdiag-left]
2.27s call     tests/tensor/rewriting/test_elemwise.py::TestFusion::test_CAReduce_single_input[sum-sum-None-floatX-cvm]
2.12s call     tests/tensor/rewriting/test_math.py::test_local_merge_abs
2.09s call     tests/tensor/rewriting/test_elemwise.py::TestFusion::test_test_values[test_value0]
2.08s call     tests/tensor/rewriting/test_elemwise.py::TestFusion::test_CAReduce_single_input[sum-sum-axis3-floatX-cvm]
2.06s call     tests/tensor/rewriting/test_basic.py::TestLocalUselessIncSubtensorAlloc::test_incsubtensor
2.06s call     tests/tensor/rewriting/test_elemwise.py::TestFusion::test_CAReduce_single_input[sum-sum-0-floatX-cvm]
2.05s call     tests/tensor/rewriting/test_subtensor.py::TestBlockwiseIncSubtensor::test_idxs_not_vectorized[basic_idx-inc-y_explicit]
1.96s call     tests/tensor/rewriting/test_math.py::TestSigmoidRewrites::test_grad_log1msigm
1.95s call     tests/tensor/rewriting/test_linalg.py::test_slogdet_specialization
1.88s call     tests/tensor/rewriting/test_math.py::TestSoftplusRewrites::test_log1msigm_to_softplus
1.85s call     tests/tensor/rewriting/test_linalg.py::test_det_kronecker_rewrite
1.74s call     tests/tensor/rewriting/test_linalg.py::test_diag_kronecker_rewrite
1.72s call     tests/tensor/rewriting/test_subtensor.py::TestLocalSubtensorMerge::test_scalar5
1.63s call     tests/tensor/rewriting/test_basic.py::test_local_useless_fill
1.59s call     tests/tensor/rewriting/test_math.py::test_local_mul_specialize
1.55s call     tests/tensor/rewriting/test_basic.py::TestLocalUselessSwitch::test_broadcasting_2
1.54s call     tests/tensor/rewriting/test_linalg.py::test_slogdet_blockdiag_rewrite
1.52s call     tests/tensor/rewriting/test_math.py::test_local_pow_specialize
1.42s call     tests/tensor/rewriting/test_elemwise.py::TestFusion::test_CAReduce_single_input[sum-sum-1-floatX-cvm]
1.40s call     tests/tensor/rewriting/test_linalg.py::test_cholesky_diag_from_eye_mul[batched]
1.40s call     tests/tensor/rewriting/test_linalg.py::test_inv_diag_from_diag[inv]
1.39s call     tests/tensor/rewriting/test_subtensor.py::TestLocalSubtensorMerge::test_scalar
1.37s call     tests/tensor/rewriting/test_linalg.py::test_cholesky_diag_from_eye_mul[vector]
1.36s call     tests/tensor/rewriting/test_math.py::test_local_block_diag_dot_to_dot_block_diag[batched_other-batch_blockdiag-right]
1.34s call     tests/tensor/rewriting/test_linalg.py::test_cholesky_diag_from_eye_mul[scalar]
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.22s call     tests/tensor/rewriting/test_basic.py::test_local_fill_to_alloc
1.20s call     tests/tensor/rewriting/test_math.py::test_local_block_diag_dot_to_dot_block_diag[unbatched_other-batch_blockdiag-right]
1.18s call     tests/tensor/rewriting/test_basic.py::TestLocalElemwiseAlloc::test_misc
1.16s call     tests/tensor/rewriting/test_subtensor.py::TestLocalSubtensorMerge::test_scalar6
=========================== short test summary info ============================
(6 minutes 52 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 =============================
10.14s call     tests/tensor/test_subtensor.py::TestSubtensor::test_shape_i_const
5.99s call     tests/tensor/random/rewriting/test_basic.py::test_Subtensor_lift[indices17-True-dist_op17-dist_params17-None]
5.65s call     tests/tensor/random/rewriting/test_basic.py::test_Subtensor_lift[indices2-True-dist_op2-dist_params2-None]
5.05s call     tests/tensor/test_subtensor.py::TestSubtensor::test_grad_list
4.89s call     tests/tensor/test_pad.py::test_nd_padding[asymmetric-reflect]
4.68s call     tests/tensor/test_blas_c.py::TestBlasStrides::test_gemm
4.45s call     tests/tensor/test_blockwise.py::TestCholesky::test_grad
4.06s call     tests/tensor/test_blas_c.py::TestBlasStridesC::test_gemm
3.09s call     tests/tensor/test_pad.py::test_nd_padding[symmetric-reflect]
2.96s call     tests/tensor/test_pad.py::test_reflect_pad[even-asymmetric_right-3d square]
2.92s call     tests/tensor/test_pad.py::test_reflect_pad[even-asymmetrical_left-3d square]
2.90s call     tests/tensor/test_pad.py::test_reflect_pad[even-symmetrical-3d square]
2.86s call     tests/tensor/test_fft.py::TestFFT::test_grad_rfft
2.75s call     tests/tensor/random/rewriting/test_basic.py::test_Subtensor_lift[indices9-True-dist_op9-dist_params9-size9]
2.63s call     tests/tensor/test_pad.py::test_nd_padding[symmetric-mean]
2.32s call     tests/tensor/test_extra_ops.py::TestRavelMultiIndex::test_ravel_multi_index
2.28s 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.08s call     tests/tensor/random/test_utils.py::TestSharedRandomStream::test_tutorial
2.00s call     tests/tensor/test_subtensor.py::test_indexed_result_shape[test_array12-test_idx12]
1.93s call     tests/tensor/test_optimize.py::test_minimize_vector_x[powell]
1.87s call     tests/tensor/test_blas_c.py::TestSdotNoFlags::test_cgemv
1.79s call     tests/tensor/random/rewriting/test_basic.py::test_Subtensor_lift[indices3-True-dist_op3-dist_params3-size3]
1.77s call     tests/tensor/test_blas_c.py::TestCGemvNoFlags::test_cgemv
1.74s call     tests/tensor/random/test_basic.py::test_normal_ShapeFeature
1.74s call     tests/tensor/test_optimize.py::test_root_system_of_equations
1.73s call     tests/tensor/test_pad.py::test_symmetric_pad[even-asymmetric_right-3d square]
1.70s call     tests/tensor/test_pad.py::test_nd_padding[asymmetric-mean]
1.67s call     tests/tensor/test_pad.py::test_nd_padding[asymmetric-linear_ramp]
1.64s call     tests/tensor/test_optimize.py::test_minimize_vector_x[L-BFGS-B]
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[symmetric-symmetric]
1.57s call     tests/tensor/random/rewriting/test_basic.py::test_local_rv_size_lift[dist_op3-dist_params3-size3]
1.56s call     tests/tensor/test_pad.py::test_nd_padding[asymmetric-symmetric]
1.55s call     tests/tensor/random/rewriting/test_basic.py::test_local_rv_size_lift[dist_op1-dist_params1-None]
1.53s call     tests/tensor/test_interpolate.py::test_interpolate_scalar_no_extrapolate[None-None-linear]
1.52s call     tests/tensor/test_pad.py::test_symmetric_pad[even-symmetrical-3d square]
1.51s call     tests/tensor/test_pad.py::test_stat_pad[2-mean-asymmetrical_left-3d square]
1.47s call     tests/tensor/test_pad.py::test_nd_padding[asymmetric-wrap]
1.45s call     tests/tensor/random/rewriting/test_basic.py::test_local_rv_size_lift[dist_op2-dist_params2-size2]
1.43s call     tests/tensor/test_pad.py::test_reflect_pad[even-asymmetric_right-2d 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.42s call     tests/tensor/test_pad.py::test_reflect_pad[even-symmetrical-2d square]
1.35s call     tests/tensor/test_pad.py::test_stat_pad[2-mean-asymmetric_right-3d square]
1.32s call     tests/tensor/test_pad.py::test_stat_pad[2-mean-symmetrical-3d square]
1.32s call     tests/tensor/random/rewriting/test_basic.py::test_Subtensor_lift[indices4-True-dist_op4-dist_params4-None]
1.31s call     tests/tensor/test_pad.py::test_stat_pad[None-mean-symmetrical-3d square]
1.29s call     tests/tensor/random/rewriting/test_basic.py::test_Subtensor_lift[indices16-True-dist_op16-dist_params16-size16]
1.29s call     tests/tensor/test_pad.py::test_nd_padding[symmetric-linear_ramp]
=========================== short test summary info ============================
(8 minutes 34 seconds) ubuntu-latest test py3.13 : fast-compile 0 : float32 0 : tests/link/numba/test_slinalg.py
============================= slowest 50 durations =============================
12.56s call     tests/link/numba/test_slinalg.py::test_lu[overwrite_a-PL]
11.25s call     tests/link/numba/test_slinalg.py::TestSolves::test_solve[tridiagonal-b_col_vec-no_overwrite-lower=True]
10.32s call     tests/link/numba/test_slinalg.py::test_lu_solve[b_col_vec-no_overwrite-trans = True]
8.94s call     tests/link/numba/test_slinalg.py::TestSolves::test_solve[gen-b_col_vec-no_overwrite-lower=True]
8.17s call     tests/link/numba/test_slinalg.py::test_qr[overwrite_a-economic]
7.04s call     tests/link/numba/test_slinalg.py::TestSolves::test_solve[tridiagonal-b_vec-no_overwrite-lower=True]
6.98s call     tests/link/numba/test_slinalg.py::test_qr[overwrite_a-full_pivot]
6.36s call     tests/link/numba/test_slinalg.py::TestSolves::test_solve[sym-b_col_vec-no_overwrite-lower=True]
5.94s call     tests/link/numba/test_slinalg.py::TestSolves::test_solve[pos-b_col_vec-no_overwrite-lower=True]
5.79s call     tests/link/numba/test_slinalg.py::TestSolves::test_solve[gen-b_vec-no_overwrite-lower=True]
5.36s call     tests/link/numba/test_slinalg.py::TestSolves::test_solve[sym-b_vec-no_overwrite-lower=True]
5.16s call     tests/link/numba/test_slinalg.py::test_lu_solve[b_matrix-overwrite_b-trans = True]
5.08s call     tests/link/numba/test_slinalg.py::TestSolves::test_solve[tridiagonal-b_matrix-no_overwrite-lower=True]
4.76s call     tests/link/numba/test_slinalg.py::TestSolves::test_solve[pos-b_vec-no_overwrite-lower=True]
4.67s call     tests/link/numba/test_slinalg.py::test_lu_solve[b_matrix-no_overwrite-trans = True]
4.40s call     tests/link/numba/test_slinalg.py::test_lu_solve[b_col_vec-overwrite_b-trans = True]
4.37s call     tests/link/numba/test_slinalg.py::test_lu[overwrite_a-P]
4.33s call     tests/link/numba/test_slinalg.py::test_lu[overwrite_a-p_indices]
4.29s call     tests/link/numba/test_slinalg.py::test_lu_solve[b_col_vec-no_overwrite-trans = False]
4.02s call     tests/link/numba/test_slinalg.py::test_lu_solve[b_vec-overwrite_b-trans = True]
4.02s call     tests/link/numba/test_slinalg.py::test_lu_solve[b_vec-no_overwrite-trans = True]
3.98s call     tests/link/numba/test_slinalg.py::test_qr[overwrite_a-raw_pivot]
3.78s call     tests/link/numba/test_slinalg.py::test_qr[overwrite_a-r]
3.77s call     tests/link/numba/test_slinalg.py::test_lu_solve[b_matrix-no_overwrite-trans = False]
3.76s call     tests/link/numba/test_slinalg.py::test_lu_solve[b_matrix-overwrite_b-trans = False]
3.70s call     tests/link/numba/test_slinalg.py::test_lu_solve[b_vec-no_overwrite-trans = False]
3.67s call     tests/link/numba/test_slinalg.py::test_lu_solve[b_col_vec-overwrite_b-trans = False]
3.62s call     tests/link/numba/test_slinalg.py::TestSolves::test_solve[tridiagonal-b_col_vec-overwrite_b-lower=True]
3.58s call     tests/link/numba/test_slinalg.py::TestSolves::test_solve[tridiagonal-b_col_vec-overwrite_a-lower=True]
3.57s call     tests/link/numba/test_slinalg.py::TestSolves::test_solve[tridiagonal-b_col_vec-overwrite_a-lower=False]
3.57s call     tests/link/numba/test_slinalg.py::TestSolves::test_solve[tridiagonal-b_col_vec-no_overwrite-lower=False]
3.56s call     tests/link/numba/test_slinalg.py::TestSolves::test_solve[tridiagonal-b_col_vec-overwrite_b-lower=False]
3.54s call     tests/link/numba/test_slinalg.py::TestSolves::test_solve[tridiagonal-b_matrix-no_overwrite-lower=False]
3.54s call     tests/link/numba/test_slinalg.py::TestSolves::test_solve[tridiagonal-b_matrix-overwrite_a-lower=True]
3.54s call     tests/link/numba/test_slinalg.py::TestSolves::test_solve[tridiagonal-b_matrix-overwrite_b-lower=False]
3.53s call     tests/link/numba/test_slinalg.py::TestSolves::test_solve[tridiagonal-b_matrix-overwrite_a-lower=False]
3.53s call     tests/link/numba/test_slinalg.py::TestSolves::test_solve[tridiagonal-b_matrix-overwrite_b-lower=True]
3.52s call     tests/link/numba/test_slinalg.py::TestSolves::test_solve[gen-b_matrix-no_overwrite-lower=True]
3.49s call     tests/link/numba/test_slinalg.py::TestSolves::test_solve[tridiagonal-b_vec-overwrite_a-lower=False]
3.44s call     tests/link/numba/test_slinalg.py::TestSolves::test_solve_triangular[real-b_col_vec-unit_diagonal=True-no_overwrite-transposed=False-lower=True]
3.40s call     tests/link/numba/test_slinalg.py::test_qr[no_overwrite-full_pivot]
3.33s call     tests/link/numba/test_slinalg.py::test_qr[no_overwrite-economic]
3.30s call     tests/link/numba/test_slinalg.py::TestSolves::test_solve[tridiagonal-b_vec-overwrite_b-lower=True]
3.26s call     tests/link/numba/test_slinalg.py::TestSolves::test_solve[tridiagonal-b_vec-overwrite_a-lower=True]
3.23s call     tests/link/numba/test_slinalg.py::TestSolves::test_solve[tridiagonal-b_vec-overwrite_b-lower=False]
3.20s call     tests/link/numba/test_slinalg.py::TestSolves::test_solve[tridiagonal-b_vec-no_overwrite-lower=False]
3.15s call     tests/link/numba/test_slinalg.py::TestSolves::test_solve[pos-b_matrix-no_overwrite-lower=True]
3.14s call     tests/link/numba/test_slinalg.py::TestSolves::test_solve[sym-b_matrix-no_overwrite-lower=True]
3.13s call     tests/link/numba/test_slinalg.py::test_lu_solve[b_vec-overwrite_b-trans = False]
3.11s call     tests/link/numba/test_slinalg.py::test_block_diag
=========================== short test summary info ============================
(13 minutes 25 seconds) ubuntu-latest test py3.13 : fast-compile 0 : float32 0 : tests/tensor/rewriting
============================= slowest 50 durations =============================
121.05s call     tests/tensor/rewriting/test_subtensor.py::TestLocalSubtensorMerge::test_const4
50.85s call     tests/tensor/rewriting/test_subtensor.py::TestLocalSubtensorMerge::test_none_slice
27.51s call     tests/tensor/rewriting/test_elemwise.py::TestFusion::test_big_fusion
18.66s call     tests/tensor/rewriting/test_math.py::test_local_log_sum_exp_maximum
14.84s call     tests/tensor/rewriting/test_basic.py::TestLocalSwitchSink::test_local_mul_switch_sink
13.84s call     tests/tensor/rewriting/test_math.py::TestAlgebraicCanonizer::test_mul_div_cases
12.57s call     tests/tensor/rewriting/test_math.py::TestLocalSumProd::test_local_prod_of_div
12.21s call     tests/tensor/rewriting/test_subtensor.py::TestLocalSubtensorMerge::test_const3
9.19s call     tests/tensor/rewriting/test_subtensor_lift.py::test_local_subtensor_of_alloc
8.93s call     tests/tensor/rewriting/test_subtensor.py::test_local_IncSubtensor_serialize
8.86s call     tests/tensor/rewriting/test_subtensor.py::TestLocalSubtensorMerge::test_const2
7.88s call     tests/tensor/rewriting/test_subtensor.py::test_local_subtensor_remove_broadcastable_index
6.99s call     tests/tensor/rewriting/test_subtensor.py::TestLocalSubtensorMerge::test_const
5.97s call     tests/tensor/rewriting/test_math.py::test_local_log_add_exp
5.85s call     tests/tensor/rewriting/test_math.py::TestLocalSumProd::test_local_sum_prod_of_scalar_mul
5.65s call     tests/tensor/rewriting/test_math.py::TestReduceChain::test_local_sum_sum_prod_prod
5.62s call     tests/tensor/rewriting/test_math.py::TestLocalSumProd::test_sum_of_non_scalar_mul
5.29s call     tests/tensor/rewriting/test_math.py::TestLocalErfc::test_local_log_erfc
5.03s call     tests/tensor/rewriting/test_math.py::TestSigmoidRewrites::test_exp_over_1_plus_exp
4.97s call     tests/tensor/rewriting/test_special.py::test_softmax_graph
4.93s call     tests/tensor/rewriting/test_math.py::TestLocalReduce::test_local_reduce_broadcast_some_0
4.88s call     tests/tensor/rewriting/test_linalg.py::test_matrix_inverse_rop_lop
4.80s call     tests/tensor/rewriting/test_math.py::TestLocalSumProd::test_local_sum_of_div
4.61s call     tests/tensor/rewriting/test_math.py::test_merge_abs_bugfix
4.43s call     tests/tensor/rewriting/test_linalg.py::test_det_blockdiag_rewrite
4.17s call     tests/tensor/rewriting/test_subtensor.py::TestLocalSubtensorMerge::test_none_index
3.85s call     tests/tensor/rewriting/test_math.py::TestIntDivByOne::test_remove_floor
3.69s call     tests/tensor/rewriting/test_basic.py::test_local_useless_slice
3.64s call     tests/tensor/rewriting/test_math.py::test_local_mul_exp_to_exp_add
3.32s call     tests/tensor/rewriting/test_math.py::test_log1p
3.30s call     tests/tensor/rewriting/test_basic.py::TestLocalSwitchSink::test_local_div_switch_sink
2.91s call     tests/tensor/rewriting/test_subtensor.py::TestBlockwiseIncSubtensor::test_idxs_not_vectorized[basic_idx-set-y_explicit]
2.58s call     tests/tensor/rewriting/test_math.py::test_local_expm1
2.56s call     tests/tensor/rewriting/test_basic.py::TestLocalElemwiseAlloc::test_basic[<lambda>-x_shape3-y_shape3-True]
2.50s call     tests/tensor/rewriting/test_basic.py::TestLocalUselessIncSubtensorAlloc::test_advanced_inc_subtensor
2.43s call     tests/tensor/rewriting/test_subtensor.py::TestLocalAdvSub1AdvIncSub1::test_assert
2.33s call     tests/tensor/rewriting/test_basic.py::TestLocalElemwiseAlloc::test_remove_alloc_wo_dimshuffle
2.30s call     tests/tensor/rewriting/test_uncanonicalize.py::TestMinMax::test_optimization_min
2.30s call     tests/tensor/rewriting/test_uncanonicalize.py::test_local_dimshuffle_subtensor
2.25s call     tests/tensor/rewriting/test_math.py::TestFuncInverse::test
2.23s call     tests/tensor/rewriting/test_special.py::TestLogSoftmaxRewrites::test_local_logsoftmax_grad_rewrite[None]
2.21s call     tests/tensor/rewriting/test_math.py::TestAlgebraicCanonizer::test_elemwise_multiple_inputs_rewrites
2.18s call     tests/tensor/rewriting/test_math.py::TestLocalSumProd::test_local_sum_prod_alloc
2.17s call     tests/tensor/rewriting/test_elemwise.py::TestFusion::test_elemwise_fusion[case73]
2.15s call     tests/tensor/rewriting/test_elemwise.py::test_local_useless_composite_outputs
2.06s call     tests/tensor/rewriting/test_subtensor.py::TestLocalSubtensorMerge::test_const6
2.04s call     tests/tensor/rewriting/test_math.py::test_local_mul_pow_to_pow_add
2.01s call     tests/tensor/rewriting/test_basic.py::TestLocalUselessIncSubtensorAlloc::test_incsubtensor
2.01s call     tests/tensor/rewriting/test_subtensor.py::TestBlockwiseIncSubtensor::test_idxs_not_vectorized[basic_idx-inc-y_explicit]
2.00s call     tests/tensor/rewriting/test_basic.py::TestLocalElemwiseAlloc::test_basic[<lambda>-x_shape0-y_shape0-True]
=========================== short test summary info ============================
(5 minutes 15 seconds) ubuntu-latest test py3.13 : fast-compile 1 : float32 0 : tests/scan
============================= slowest 50 durations =============================
26.39s call     tests/scan/test_basic.py::TestScan::test_second_derivative_disconnected_cost_with_mit_mot
24.74s call     tests/scan/test_basic.py::TestExamples::test_grad_multiple_outs_some_disconnected
13.99s call     tests/scan/test_basic.py::TestScan::test_grad_multiple_outs_taps
11.63s call     tests/scan/test_basic.py::TestScan::test_R_op_2[False]
10.61s call     tests/scan/test_basic.py::TestScan::test_R_op[False]
9.31s call     tests/scan/test_basic.py::TestScan::test_grad_mitsot
8.63s call     tests/scan/test_basic.py::TestScan::test_grad_multiple_outs_taps_backwards
7.68s call     tests/scan/test_basic.py::test_compute_test_value_grad
7.19s call     tests/scan/test_rewriting.py::TestPushOutAddScan::test_machine_translation
6.52s call     tests/scan/test_basic.py::test_compute_test_values
5.53s call     tests/scan/test_rewriting.py::TestPushOutNonSeqScan::test_pushout_seqs
5.53s call     tests/scan/test_basic.py::TestScan::test_R_op_2[True]
4.89s call     tests/scan/test_basic.py::TestScan::test_R_op[True]
4.71s call     tests/scan/test_basic.py::TestScan::test_inner_graph_cloning[default_rng]
4.69s call     tests/scan/test_checkpoints.py::TestScanCheckpoint::test_backward_pass
4.69s call     tests/scan/test_basic.py::TestScan::test_grad_of_grad_of_state
3.15s call     tests/scan/test_views.py::test_foldr_memory_consumption
3.04s call     tests/scan/test_basic.py::TestScan::test_grad_multiple_outs
2.96s call     tests/scan/test_rewriting.py::TestSaveMem::test_savemem_opt_0_step
2.93s call     tests/scan/test_basic.py::TestExamples::test_grad_multiple_outs_some_disconnected_2
2.73s call     tests/scan/test_basic.py::TestExamples::test_infer_shape_remove_stuff
2.71s call     tests/scan/test_basic.py::test_compute_test_value_grad_cast
2.65s call     tests/scan/test_basic.py::TestScan::test_grad_multiple_outs_some_uncomputable
2.17s call     tests/scan/test_views.py::test_reduce_memory_consumption
1.97s call     tests/scan/test_basic.py::TestScan::test_grad_duplicate_outputs
1.95s call     tests/scan/test_basic.py::TestScan::test_grad_one_output
1.78s call     tests/scan/test_basic.py::TestScan::test_grad_dtype_change
1.74s call     tests/scan/test_printing.py::test_debugprint_compiled_fn
1.69s call     tests/scan/test_rewriting.py::TestScanMerge::test_while_scan_nominal_dependency
1.68s call     tests/scan/test_basic.py::TestScan::test_grad_multiple_outs_some_truncate
1.61s call     tests/scan/test_basic.py::TestScan::test_no_step[x_init1-mode1]
1.59s call     tests/scan/test_basic.py::TestScan::test_R_op_mitmot[False]
1.53s call     tests/scan/test_basic.py::TestExamples::test_default_value_broadcasted
1.51s call     tests/scan/test_basic.py::TestScan::test_sequence_is_scan[mode1]
1.48s call     tests/scan/test_views.py::test_foldl_memory_consumption
1.46s call     tests/scan/test_basic.py::TestGradUntil::test_grad_until_and_truncate_sequence_taps
1.45s call     tests/scan/test_basic.py::TestScan::test_grad_sitsot
1.40s call     tests/scan/test_basic.py::TestScan::test_grad_multiple_seqs_different_nsteps
1.31s call     tests/scan/test_basic.py::TestScan::test_no_steps_sit_sot[x_init0-x0-mode1]
1.28s call     tests/scan/test_basic.py::TestScan::test_grad_multiple_taps_state
1.20s call     tests/scan/test_basic.py::test_profile_info
1.11s call     tests/scan/test_basic.py::TestGradUntil::test_grad_until
1.10s call     tests/scan/test_rewriting.py::TestRemoveConstantsAndUnusedInputsScan::test_remove_constants_and_unused_inputs_scan_seqs
1.09s call     tests/scan/test_rewriting.py::TestScanInplaceOptimizer::test_simple_rnn_2
1.07s call     tests/scan/test_rewriting.py::TestScanMerge::test_basic
1.06s call     tests/scan/test_basic.py::TestScan::test_non_shaped_input_disconnected_gradient[inside-explicit]
1.02s call     tests/scan/test_basic.py::TestScan::test_non_shaped_input_disconnected_gradient[outside]
1.02s call     tests/scan/test_basic.py::TestScan::test_non_shaped_input_disconnected_gradient[inside-implicit]
1.00s call     tests/scan/test_rewriting.py::TestPushOutAddScan::test_non_zero_init
0.97s call     tests/scan/test_rewriting.py::test_opt_order
=========================== short test summary info ============================
(2 minutes 7 seconds) ubuntu-latest test py3.12 : fast-compile 0 : float32 0 : --doctest-modules pytensor --ignore=pytensor/misc/check_duplicate_key.py --ignore=pytensor/link --ignore=pytensor/ipython.py
============================= slowest 50 durations =============================
30.34s call     pytensor/tensor/pad.py::pytensor.tensor.pad.pad
7.28s call     pytensor/gradient.py::pytensor.gradient.hessian_vector_product
3.62s call     pytensor/tensor/basic.py::pytensor.tensor.basic.tile
2.95s call     pytensor/gradient.py::pytensor.gradient.verify_grad
1.64s call     pytensor/tensor/basic.py::pytensor.tensor.basic.stacklists
1.54s call     pytensor/raise_op.py::pytensor.raise_op.Assert
1.33s call     pytensor/tensor/basic.py::pytensor.tensor.basic.stack
0.93s call     pytensor/gradient.py::pytensor.gradient.grad_scale
0.88s call     pytensor/tensor/einsum.py::pytensor.tensor.einsum._delta
0.79s call     pytensor/tensor/variable.py::pytensor.tensor.variable._tensor_py_operators.inc
0.58s call     pytensor/tensor/basic.py::pytensor.tensor.basic.Split
0.55s call     pytensor/gradient.py::pytensor.gradient.grad_clip
0.48s call     pytensor/tensor/extra_ops.py::pytensor.tensor.extra_ops.searchsorted
0.48s call     pytensor/tensor/io.py::pytensor.tensor.io.load
0.47s call     pytensor/tensor/utils.py::pytensor.tensor.utils.shape_of_variables
0.46s call     pytensor/graph/basic.py::pytensor.graph.basic.Variable.eval
0.44s call     pytensor/tensor/subtensor.py::pytensor.tensor.subtensor.slice_at_axis
0.43s call     pytensor/tensor/einsum.py::pytensor.tensor.einsum._iota
0.39s call     pytensor/tensor/subtensor.py::pytensor.tensor.subtensor.flip
0.39s call     pytensor/tensor/variable.py::pytensor.tensor.variable._tensor_py_operators.set
0.37s call     pytensor/sparse/basic.py::pytensor.sparse.basic.block_diag
0.32s call     pytensor/tensor/math.py::pytensor.tensor.math.isclose
0.15s call     pytensor/tensor/basic.py::pytensor.tensor.basic._nd_grid
0.14s call     pytensor/tensor/basic.py::pytensor.tensor.basic.tril
0.10s call     pytensor/tensor/basic.py::pytensor.tensor.basic.triu
0.06s call     pytensor/xtensor/type.py::pytensor.xtensor.type.XTensorType.variable_type.inc
0.06s call     pytensor/xtensor/type.py::pytensor.xtensor.type.XTensorType.variable_type.set
0.04s call     pytensor/tensor/extra_ops.py::pytensor.tensor.extra_ops.repeat
0.04s call     pytensor/xtensor/type.py::pytensor.xtensor.type.XTensorType.variable_type.unstack
0.03s call     pytensor/tensor/extra_ops.py::pytensor.tensor.extra_ops.Unique
0.02s call     pytensor/graph/features.py::pytensor.graph.features.FullHistory
0.02s call     pytensor/tensor/einsum.py::pytensor.tensor.einsum._general_dot
0.02s call     pytensor/tensor/slinalg.py::pytensor.tensor.slinalg.cholesky
0.01s call     pytensor/graph/rewriting/unify.py::pytensor.graph.rewriting.unify.OpPattern
0.01s call     pytensor/tensor/math.py::pytensor.tensor.math.vecdot
0.01s call     pytensor/tensor/math.py::pytensor.tensor.math.vecmat

0.005s hidden.  Use -vv to show these durations.)
=========================== short test summary info ============================
(8 minutes 17 seconds) ubuntu-latest test py3.13 : fast-compile 1 : float32 0 : tests/tensor/test_blas.py tests/tensor/test_elemwise.py tests/tensor/test_math_scipy.py
============================= slowest 50 durations =============================
146.49s call     tests/tensor/test_elemwise.py::TestCAReduce::test_c
122.12s call     tests/tensor/test_math_scipy.py::TestHyp2F1Grad::test_hyp2f1_grad_stan_cases
28.67s call     tests/tensor/test_blas.py::TestGemmNoFlags::test_gemm
16.05s call     tests/tensor/test_elemwise.py::TestCAReduce::test_perform
8.20s call     tests/tensor/test_elemwise.py::TestCAReduce::test_c_noopt
7.63s call     tests/tensor/test_blas.py::test_dot22scalar
7.01s call     tests/tensor/test_elemwise.py::TestCAReduce::test_perform_nan
7.01s call     tests/tensor/test_blas.py::test_local_dot22_to_dot22scalar
6.21s call     tests/tensor/test_elemwise.py::TestBroadcast::test_c
4.91s call     tests/tensor/test_elemwise.py::TestBroadcast::test_c_inplace
4.88s call     tests/tensor/test_blas.py::test_gemm_opt0
4.47s call     tests/tensor/test_blas.py::TestBlasStrides::test_gemm
2.92s call     tests/tensor/test_elemwise.py::TestCAReduce::test_c_nan
2.84s call     tests/tensor/test_blas.py::test_gemm_nested
2.80s call     tests/tensor/test_blas.py::TestGemm::test_non_contiguous
2.70s call     tests/tensor/test_blas.py::test_gemm_opt_vector_stuff
2.54s call     tests/tensor/test_elemwise.py::TestDimShuffle::test_c_or_py
2.18s call     tests/tensor/test_math_scipy.py::TestBetaincInplaceBroadcast::test_grad
2.16s call     tests/tensor/test_blas.py::TestGemm::test_basic_4
1.81s call     tests/tensor/test_elemwise.py::TestDimShuffle::test_memory_leak[True]
1.51s call     tests/tensor/test_math_scipy.py::TestBetaincBroadcast::test_grad
1.45s call     tests/tensor/test_math_scipy.py::TestHyp2F1Broadcast::test_grad
1.41s call     tests/tensor/test_elemwise.py::TestDimShuffle::test_memory_leak[False]
1.37s call     tests/tensor/test_blas.py::TestBlasStrides::test_dot22scalar
1.33s call     tests/tensor/test_blas.py::test_gemm_with_vector
1.33s call     tests/tensor/test_math_scipy.py::TestGammaIncBroadcast::test_grad
1.10s call     tests/tensor/test_math_scipy.py::TestBetaIncGrad::test_beta_inc_stan_grad_combined
0.99s call     tests/tensor/test_blas.py::TestGemm::test_factorised_scalar
0.99s call     tests/tensor/test_math_scipy.py::TestBetaIncGrad::test_stan_grad_partial
0.97s call     tests/tensor/test_math_scipy.py::TestBetaIncGrad::test_boik_robison_cox
0.89s call     tests/tensor/test_blas.py::TestBlasStrides::test_dot22
0.72s call     tests/tensor/test_blas.py::test_inplace0
0.72s call     tests/tensor/test_elemwise.py::TestBroadcast::test_weird_strides
0.71s call     tests/tensor/test_elemwise.py::TestElemwise::test_runtime_broadcast_c
0.65s call     tests/tensor/test_blas.py::TestBlasStrides::test_gemv
0.62s call     tests/tensor/test_blas.py::TestBlasStrides::test_ger_strides
0.62s call     tests/tensor/test_elemwise.py::TestBroadcast::test_fill
0.61s call     tests/tensor/test_elemwise.py::TestBroadcast::test_same_inputs
0.57s call     tests/tensor/test_math_scipy.py::TestHyp2F1Grad::test_unused_grad_loop_opt[wrt5]
0.56s call     tests/tensor/test_math_scipy.py::TestHyp2F1Grad::test_unused_grad_loop_opt[wrt6]
0.55s call     tests/tensor/test_math_scipy.py::test_gammainc_ddk_tabulated_values
0.54s call     tests/tensor/test_blas.py::test_gemm_opt_wishlist
0.51s call     tests/tensor/test_math_scipy.py::TestGammaInccBroadcast::test_grad
0.51s call     tests/tensor/test_blas.py::test_batched_dot_blas_flags
0.47s call     tests/tensor/test_math_scipy.py::TestHyp2F1Grad::test_unused_grad_loop_opt[wrt4]
0.47s call     tests/tensor/test_math_scipy.py::TestHyp2F1Grad::test_unused_grad_loop_opt[wrt3]
0.43s call     tests/tensor/test_blas.py::test_gemm_unrolled
0.39s call     tests/tensor/test_math_scipy.py::TestHyp2F1Grad::test_unused_grad_loop_opt[wrt1]
0.39s call     tests/tensor/test_math_scipy.py::TestHyp2F1Grad::test_unused_grad_loop_opt[wrt2]
0.39s call     tests/tensor/test_math_scipy.py::TestHyp2F1Grad::test_unused_grad_loop_opt[wrt0]
=========================== short test summary info ============================
(2 minutes 8 seconds) ubuntu-latest test py3.13 : fast-compile 1 : float32 0 : tests/tensor/test_math.py
============================= slowest 50 durations =============================
2.45s call     tests/tensor/test_math.py::TestSumProdReduceDtype::test_reduce_custom_dtype
2.08s call     tests/tensor/test_math.py::TestTensordot::test_basic
1.79s call     tests/tensor/test_math.py::TestMaxAndArgmax::test_grad
1.15s call     tests/tensor/test_math.py::test_py_c_match
1.05s call     tests/tensor/test_math.py::TestOuter::test_grad
0.94s call     tests/tensor/test_math.py::test_divmod
0.88s call     tests/tensor/test_math.py::TestComparison::test_isclose
0.85s call     tests/tensor/test_math.py::TestTensordot::test_weird_valid_axes
0.84s call     tests/tensor/test_math.py::TestProdWithoutZerosDtype::test_prod_without_zeros_custom_dtype
0.81s call     tests/tensor/test_math.py::TestDot::test_broadcastable_patterns
0.78s call     tests/tensor/test_math.py::test_cov
0.65s call     tests/tensor/test_math.py::TestAddBroadcast::test_good
0.64s call     tests/tensor/test_math.py::TestMatMul::test_dot22_opt
0.47s call     tests/tensor/test_math.py::TestMinMax::test_grad_min
0.45s call     tests/tensor/test_math.py::TestComparison::test_allclose
0.44s call     tests/tensor/test_math.py::TestSumProdReduceDtype::test_reduce_custom_acc_dtype
0.40s call     tests/tensor/test_math.py::TestPowBroadcast::test_grad
0.39s call     tests/tensor/test_math.py::TestProdWithoutZerosDtype::test_prod_without_zeros_custom_acc_dtype
0.38s call     tests/tensor/test_math.py::TestMulBroadcast::test_grad
0.38s call     tests/tensor/test_math.py::test_var
0.33s call     tests/tensor/test_math.py::TestArctan2Broadcast::test_grad
0.28s call     tests/tensor/test_math.py::TestClip2::test_clip_repeat_verify_grad
0.28s call     tests/tensor/test_math.py::TestTrueDivBroadcast::test_grad
0.28s call     tests/tensor/test_math.py::TestMinMax::test3
0.27s call     tests/tensor/test_math.py::TestDot::test_grad
0.26s call     tests/tensor/test_math.py::TestMaximumBroadcast::test_grad
0.26s call     tests/tensor/test_math.py::TestMinimumBroadcast::test_grad
0.26s call     tests/tensor/test_math.py::TestTensordot::test_scalar_axes
0.26s call     tests/tensor/test_math.py::TestSubBroadcast::test_grad
0.25s teardown tests/tensor/test_math.py::TestLogBroadcast::test_good
0.25s call     tests/tensor/test_math.py::TestModBroadcast::test_grad
0.24s call     tests/tensor/test_math.py::TestTensordot::test_scalar0
0.24s call     tests/tensor/test_math.py::TestMinMax::test_grad_max
0.24s call     tests/tensor/test_math.py::TestArgminArgmax::test3
0.24s call     tests/tensor/test_math.py::TestCeilIntDivBroadcast::test_good
0.24s call     tests/tensor/test_math.py::TestProd::test_other_grad_tests
0.24s call     tests/tensor/test_math.py::TestArgminArgmax::test_grad_argmin
0.23s call     tests/tensor/test_math.py::TestProd::test_verify_grad
0.23s call     tests/tensor/test_math.py::TestMinMax::test2
0.22s call     tests/tensor/test_math.py::TestOuter::test_outer
0.22s call     tests/tensor/test_math.py::TestMeanDtype::test_mean_default_dtype
0.21s call     tests/tensor/test_math.py::TestArgminArgmax::test2
0.20s call     tests/tensor/test_math.py::TestArgminArgmax::test2_float16
0.20s call     tests/tensor/test_math.py::TestProd::test_prod_no_zeros_in_input
0.16s call     tests/tensor/test_math.py::TestSumProdReduceDtype::test_reduce_default_dtype
0.15s call     tests/tensor/test_math.py::TestSumProdReduceDtype::test_reduce_default_acc_dtype
0.14s teardown tests/tensor/test_math.py::TestLog2Broadcast::test_good
0.14s call     tests/tensor/test_math.py::TestComparison::test_lt
0.14s call     tests/tensor/test_math.py::TestComparison::test_neq
0.14s call     tests/tensor/test_math.py::TestComparison::test_ge
=========================== short test summary info ============================

You can find more information on how to contribute here

Automatically generated by GitHub Action
Latest run date: 2025-10-18
Run logs: 18580382192

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions