0s autopkgtest [01:33:08]: starting date and time: 2025-03-16 01:33:08+0000 0s autopkgtest [01:33:08]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [01:33:08]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.ipxlpivm/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com\n" >> /etc/environment' --apt-pocket=proposed=src:scikit-learn --apt-upgrade python-pot --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=scikit-learn/1.4.2+dfsg-8 -- lxd -r lxd-armhf-10.145.243.142 lxd-armhf-10.145.243.142:autopkgtest/ubuntu/plucky/armhf 22s autopkgtest [01:33:30]: testbed dpkg architecture: armhf 25s autopkgtest [01:33:33]: testbed apt version: 2.9.33 29s autopkgtest [01:33:37]: @@@@@@@@@@@@@@@@@@@@ test bed setup 31s autopkgtest [01:33:39]: testbed release detected to be: None 40s autopkgtest [01:33:48]: updating testbed package index (apt update) 42s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [126 kB] 42s Get:2 http://ftpmaster.internal/ubuntu plucky InRelease [257 kB] 42s Get:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease [126 kB] 42s Get:4 http://ftpmaster.internal/ubuntu plucky-security InRelease [126 kB] 43s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [41.4 kB] 43s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [17.7 kB] 43s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [365 kB] 43s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [74.9 kB] 43s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf c-n-f Metadata [1792 B] 43s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf c-n-f Metadata [116 B] 43s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [290 kB] 43s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf c-n-f Metadata [10.5 kB] 43s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [4168 B] 43s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf c-n-f Metadata [240 B] 43s Get:15 http://ftpmaster.internal/ubuntu plucky/multiverse Sources [299 kB] 43s Get:16 http://ftpmaster.internal/ubuntu plucky/main Sources [1389 kB] 45s Get:17 http://ftpmaster.internal/ubuntu plucky/universe Sources [21.0 MB] 58s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf Packages [1378 kB] 59s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf c-n-f Metadata [29.5 kB] 59s Get:20 http://ftpmaster.internal/ubuntu plucky/restricted armhf c-n-f Metadata [108 B] 59s Get:21 http://ftpmaster.internal/ubuntu plucky/universe armhf Packages [15.3 MB] 70s Get:22 http://ftpmaster.internal/ubuntu plucky/multiverse armhf Packages [172 kB] 72s Fetched 41.1 MB in 30s (1373 kB/s) 73s Reading package lists... 79s autopkgtest [01:34:27]: upgrading testbed (apt dist-upgrade and autopurge) 81s Reading package lists... 81s Building dependency tree... 81s Reading state information... 82s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 82s Starting 2 pkgProblemResolver with broken count: 0 82s Done 82s Entering ResolveByKeep 83s 83s Calculating upgrade... 84s The following packages will be upgraded: 84s pinentry-curses python3-jinja2 sos strace 84s 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 84s Need to get 960 kB of archives. 84s After this operation, 23.6 kB of additional disk space will be used. 84s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf strace armhf 6.13+ds-1ubuntu1 [445 kB] 84s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf pinentry-curses armhf 1.3.1-2ubuntu3 [40.6 kB] 84s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jinja2 all 3.1.5-2ubuntu1 [109 kB] 84s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf sos all 4.9.0-5 [365 kB] 85s Fetched 960 kB in 1s (845 kB/s) 85s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 64655 files and directories currently installed.) 85s Preparing to unpack .../strace_6.13+ds-1ubuntu1_armhf.deb ... 85s Unpacking strace (6.13+ds-1ubuntu1) over (6.11-0ubuntu1) ... 85s Preparing to unpack .../pinentry-curses_1.3.1-2ubuntu3_armhf.deb ... 85s Unpacking pinentry-curses (1.3.1-2ubuntu3) over (1.3.1-2ubuntu2) ... 85s Preparing to unpack .../python3-jinja2_3.1.5-2ubuntu1_all.deb ... 85s Unpacking python3-jinja2 (3.1.5-2ubuntu1) over (3.1.5-2) ... 86s Preparing to unpack .../archives/sos_4.9.0-5_all.deb ... 86s Unpacking sos (4.9.0-5) over (4.9.0-4) ... 86s Setting up sos (4.9.0-5) ... 87s Setting up pinentry-curses (1.3.1-2ubuntu3) ... 87s Setting up python3-jinja2 (3.1.5-2ubuntu1) ... 87s Setting up strace (6.13+ds-1ubuntu1) ... 87s Processing triggers for man-db (2.13.0-1) ... 89s Reading package lists... 90s Building dependency tree... 90s Reading state information... 90s Starting pkgProblemResolver with broken count: 0 90s Starting 2 pkgProblemResolver with broken count: 0 90s Done 91s Solving dependencies... 91s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 93s autopkgtest [01:34:41]: rebooting testbed after setup commands that affected boot 143s autopkgtest [01:35:31]: testbed running kernel: Linux 6.8.0-52-generic #53~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Jan 15 18:10:51 UTC 2 169s autopkgtest [01:35:57]: @@@@@@@@@@@@@@@@@@@@ apt-source python-pot 180s Get:1 http://ftpmaster.internal/ubuntu plucky/universe python-pot 0.9.5+dfsg-1 (dsc) [2114 B] 180s Get:2 http://ftpmaster.internal/ubuntu plucky/universe python-pot 0.9.5+dfsg-1 (tar) [807 kB] 180s Get:3 http://ftpmaster.internal/ubuntu plucky/universe python-pot 0.9.5+dfsg-1 (diff) [4888 B] 180s gpgv: Signature made Mon Feb 24 10:22:54 2025 UTC 180s gpgv: using RSA key CFC5EF8510851E7355B55E809D11582AFD548CFA 180s gpgv: issuer "gspr@nonempty.org" 180s gpgv: Can't check signature: No public key 180s dpkg-source: warning: cannot verify inline signature for ./python-pot_0.9.5+dfsg-1.dsc: no acceptable signature found 180s autopkgtest [01:36:08]: testing package python-pot version 0.9.5+dfsg-1 182s autopkgtest [01:36:10]: build not needed 185s autopkgtest [01:36:13]: test upstream.sh: preparing testbed 187s Reading package lists... 187s Building dependency tree... 187s Reading state information... 187s Starting pkgProblemResolver with broken count: 0 187s Starting 2 pkgProblemResolver with broken count: 0 187s Done 188s The following NEW packages will be installed: 188s libblas3 libgfortran5 libgomp1 liblapack3 liblbfgsb0 python3-all 188s python3-decorator python3-iniconfig python3-joblib python3-numpy 188s python3-numpy-dev python3-pluggy python3-pot python3-pytest python3-scipy 188s python3-sklearn python3-sklearn-lib python3-threadpoolctl 188s 0 upgraded, 18 newly installed, 0 to remove and 0 not upgraded. 188s Need to get 30.3 MB of archives. 188s After this operation, 119 MB of additional disk space will be used. 188s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf python3-numpy-dev armhf 1:2.2.3+ds-5 [141 kB] 189s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf libblas3 armhf 3.12.1-2 [132 kB] 189s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf libgfortran5 armhf 15-20250222-0ubuntu1 [330 kB] 189s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf liblapack3 armhf 3.12.1-2 [2091 kB] 190s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf python3-numpy armhf 1:2.2.3+ds-5 [3725 kB] 192s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf libgomp1 armhf 15-20250222-0ubuntu1 [128 kB] 192s Get:7 http://ftpmaster.internal/ubuntu plucky/universe armhf liblbfgsb0 armhf 3.0+dfsg.4-1build1 [27.4 kB] 192s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf python3-all armhf 3.13.2-2 [886 B] 192s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf python3-decorator all 5.1.1-5 [10.1 kB] 192s Get:10 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-iniconfig all 1.1.1-2 [6024 B] 192s Get:11 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-joblib all 1.4.2-3 [205 kB] 192s Get:12 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pluggy all 1.5.0-1 [21.0 kB] 192s Get:13 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-scipy armhf 1.14.1-4ubuntu2 [16.7 MB] 200s Get:14 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pot armhf 0.9.5+dfsg-1 [237 kB] 200s Get:15 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytest all 8.3.5-1 [252 kB] 200s Get:16 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-threadpoolctl all 3.1.0-1 [21.3 kB] 200s Get:17 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf python3-sklearn-lib armhf 1.4.2+dfsg-8 [4014 kB] 200s Get:18 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf python3-sklearn all 1.4.2+dfsg-8 [2258 kB] 201s Fetched 30.3 MB in 12s (2453 kB/s) 201s Selecting previously unselected package python3-numpy-dev:armhf. 201s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 64655 files and directories currently installed.) 201s Preparing to unpack .../00-python3-numpy-dev_1%3a2.2.3+ds-5_armhf.deb ... 201s Unpacking python3-numpy-dev:armhf (1:2.2.3+ds-5) ... 201s Selecting previously unselected package libblas3:armhf. 201s Preparing to unpack .../01-libblas3_3.12.1-2_armhf.deb ... 201s Unpacking libblas3:armhf (3.12.1-2) ... 201s Selecting previously unselected package libgfortran5:armhf. 201s Preparing to unpack .../02-libgfortran5_15-20250222-0ubuntu1_armhf.deb ... 201s Unpacking libgfortran5:armhf (15-20250222-0ubuntu1) ... 201s Selecting previously unselected package liblapack3:armhf. 201s Preparing to unpack .../03-liblapack3_3.12.1-2_armhf.deb ... 201s Unpacking liblapack3:armhf (3.12.1-2) ... 201s Selecting previously unselected package python3-numpy. 201s Preparing to unpack .../04-python3-numpy_1%3a2.2.3+ds-5_armhf.deb ... 201s Unpacking python3-numpy (1:2.2.3+ds-5) ... 202s Selecting previously unselected package libgomp1:armhf. 202s Preparing to unpack .../05-libgomp1_15-20250222-0ubuntu1_armhf.deb ... 202s Unpacking libgomp1:armhf (15-20250222-0ubuntu1) ... 202s Selecting previously unselected package liblbfgsb0:armhf. 202s Preparing to unpack .../06-liblbfgsb0_3.0+dfsg.4-1build1_armhf.deb ... 202s Unpacking liblbfgsb0:armhf (3.0+dfsg.4-1build1) ... 202s Selecting previously unselected package python3-all. 202s Preparing to unpack .../07-python3-all_3.13.2-2_armhf.deb ... 202s Unpacking python3-all (3.13.2-2) ... 202s Selecting previously unselected package python3-decorator. 202s Preparing to unpack .../08-python3-decorator_5.1.1-5_all.deb ... 202s Unpacking python3-decorator (5.1.1-5) ... 202s Selecting previously unselected package python3-iniconfig. 202s Preparing to unpack .../09-python3-iniconfig_1.1.1-2_all.deb ... 202s Unpacking python3-iniconfig (1.1.1-2) ... 202s Selecting previously unselected package python3-joblib. 202s Preparing to unpack .../10-python3-joblib_1.4.2-3_all.deb ... 202s Unpacking python3-joblib (1.4.2-3) ... 202s Selecting previously unselected package python3-pluggy. 202s Preparing to unpack .../11-python3-pluggy_1.5.0-1_all.deb ... 202s Unpacking python3-pluggy (1.5.0-1) ... 202s Selecting previously unselected package python3-scipy. 202s Preparing to unpack .../12-python3-scipy_1.14.1-4ubuntu2_armhf.deb ... 202s Unpacking python3-scipy (1.14.1-4ubuntu2) ... 203s Selecting previously unselected package python3-pot. 203s Preparing to unpack .../13-python3-pot_0.9.5+dfsg-1_armhf.deb ... 203s Unpacking python3-pot (0.9.5+dfsg-1) ... 203s Selecting previously unselected package python3-pytest. 203s Preparing to unpack .../14-python3-pytest_8.3.5-1_all.deb ... 203s Unpacking python3-pytest (8.3.5-1) ... 203s Selecting previously unselected package python3-threadpoolctl. 203s Preparing to unpack .../15-python3-threadpoolctl_3.1.0-1_all.deb ... 203s Unpacking python3-threadpoolctl (3.1.0-1) ... 203s Selecting previously unselected package python3-sklearn-lib:armhf. 203s Preparing to unpack .../16-python3-sklearn-lib_1.4.2+dfsg-8_armhf.deb ... 203s Unpacking python3-sklearn-lib:armhf (1.4.2+dfsg-8) ... 203s Selecting previously unselected package python3-sklearn. 203s Preparing to unpack .../17-python3-sklearn_1.4.2+dfsg-8_all.deb ... 203s Unpacking python3-sklearn (1.4.2+dfsg-8) ... 203s Setting up python3-iniconfig (1.1.1-2) ... 203s Setting up python3-joblib (1.4.2-3) ... 204s Setting up python3-threadpoolctl (3.1.0-1) ... 204s Setting up python3-all (3.13.2-2) ... 204s Setting up libgomp1:armhf (15-20250222-0ubuntu1) ... 204s Setting up python3-decorator (5.1.1-5) ... 204s Setting up libblas3:armhf (3.12.1-2) ... 204s update-alternatives: using /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3 to provide /usr/lib/arm-linux-gnueabihf/libblas.so.3 (libblas.so.3-arm-linux-gnueabihf) in auto mode 204s Setting up python3-numpy-dev:armhf (1:2.2.3+ds-5) ... 204s Setting up libgfortran5:armhf (15-20250222-0ubuntu1) ... 204s Setting up python3-pluggy (1.5.0-1) ... 204s Setting up liblapack3:armhf (3.12.1-2) ... 204s update-alternatives: using /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3 to provide /usr/lib/arm-linux-gnueabihf/liblapack.so.3 (liblapack.so.3-arm-linux-gnueabihf) in auto mode 204s Setting up python3-pytest (8.3.5-1) ... 204s Setting up python3-numpy (1:2.2.3+ds-5) ... 206s Setting up liblbfgsb0:armhf (3.0+dfsg.4-1build1) ... 206s Setting up python3-scipy (1.14.1-4ubuntu2) ... 211s Setting up python3-pot (0.9.5+dfsg-1) ... 211s /usr/lib/python3/dist-packages/ot/unbalanced/_lbfgs.py:38: SyntaxWarning: invalid escape sequence '\m' 211s If None, then use :math:`\mathbf{c} = \mathbf{a} \mathbf{b}^T`. 211s Setting up python3-sklearn-lib:armhf (1.4.2+dfsg-8) ... 211s Setting up python3-sklearn (1.4.2+dfsg-8) ... 214s Processing triggers for man-db (2.13.0-1) ... 214s Processing triggers for libc-bin (2.41-1ubuntu1) ... 222s autopkgtest [01:36:50]: test upstream.sh: [----------------------- 225s Running tests with Python 3.13. 227s ============================= test session starts ============================== 227s platform linux -- Python 3.13.2, pytest-8.3.5, pluggy-1.5.0 227s rootdir: /tmp/autopkgtest.tmSoKv/autopkgtest_tmp 227s plugins: typeguard-4.4.2 227s collected 1006 items 227s 233s test/gromov/test_bregman.py ..x..x............ [ 1%] 233s test/gromov/test_dictionary.py .... [ 2%] 234s test/gromov/test_estimators.py .. [ 2%] 238s test/gromov/test_fugw.py ............................................... [ 7%] 239s ........................................................................ [ 14%] 239s ................ [ 15%] 239s test/gromov/test_gw.py ....s....x....... [ 17%] 240s test/gromov/test_lowrank.py .......... [ 18%] 246s test/gromov/test_partial.py .... [ 18%] 246s test/gromov/test_quantized.py .... [ 19%] 247s test/gromov/test_semirelaxed.py .....x......... [ 20%] 247s test/gromov/test_utils.py ........ [ 21%] 247s test/test_1d_solver.py ...s..s...... [ 22%] 247s test/test_backend.py .......... [ 23%] 252s test/test_bregman.py ......................................sss.......... [ 28%] 259s .....................................ss....ss..ss..s....... [ 34%] 259s test/test_coot.py ......... [ 35%] 261s test/test_da.py .....................s... [ 38%] 261s test/test_dmmot.py .. [ 38%] 261s test/test_dr.py ssssss [ 38%] 262s test/test_factored.py .. [ 39%] 268s test/test_gaussian.py .................. [ 40%] 268s test/test_gmm.py ......s. [ 41%] 268s test/test_gnn.py ssss [ 42%] 271s test/test_lowrank.py ........... [ 43%] 271s test/test_mapping.py sss. [ 43%] 274s test/test_optim.py ...... [ 44%] 275s test/test_ot.py ....s..........s.. [ 46%] 277s test/test_partial.py ...... [ 46%] 277s test/test_plot.py sss [ 46%] 279s test/test_regpath.py .. [ 47%] 279s test/test_sliced.py ...........s..s............. [ 49%] 279s test/test_smooth.py ... [ 50%] 283s test/test_solvers.py .s................................................. [ 55%] 284s .........................ssssssss........ssssssss....................... [ 62%] 289s .ssssssss........ssssssss...ss............. [ 66%] 291s test/test_stochastic.py ......... [ 67%] 294s test/test_ucoot.py ..................................................... [ 72%] 297s ........................................................................ [ 80%] 297s ........ [ 80%] 297s test/test_utils.py .............................. [ 83%] 298s test/test_weak.py .. [ 83%] 307s test/unbalanced/test_lbfgs.py .......................................... [ 88%] 309s ................................. [ 91%] 326s test/unbalanced/test_mm.py .......... [ 92%] 326s test/unbalanced/test_sinkhorn.py ....................................... [ 96%] 330s ..................................... [100%] 330s 330s =============================== warnings summary =============================== 330s test/gromov/test_bregman.py: 12 warnings 330s test/gromov/test_estimators.py: 1 warning 330s test/test_bregman.py: 6 warnings 330s test/test_coot.py: 1 warning 330s test/test_da.py: 4 warnings 330s test/test_optim.py: 1 warning 330s test/test_partial.py: 1 warning 330s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:667: UserWarning: Sinkhorn did not converge. You might want to increase the number of iterations `numItermax` or the regularization parameter `reg`. 330s warnings.warn( 330s 330s test/gromov/test_bregman.py::test_BAPG_gromov[numpy] 330s /usr/lib/python3/dist-packages/ot/gromov/_bregman.py:585: RuntimeWarning: divide by zero encountered in divide 330s column_scaling = q / nx.sum(T, 0) 330s 330s test/gromov/test_bregman.py::test_BAPG_gromov[numpy] 330s /usr/lib/python3/dist-packages/ot/gromov/_bregman.py:586: RuntimeWarning: invalid value encountered in multiply 330s T = nx.reshape(column_scaling, (1, -1)) * T 330s 330s test/gromov/test_bregman.py::test_BAPG_fgw[numpy] 330s /usr/lib/python3/dist-packages/ot/gromov/_bregman.py:1597: RuntimeWarning: divide by zero encountered in divide 330s row_scaling = p / nx.sum(T, 1) 330s 330s test/gromov/test_bregman.py::test_BAPG_fgw[numpy] 330s /usr/lib/python3/dist-packages/ot/gromov/_bregman.py:1598: RuntimeWarning: invalid value encountered in multiply 330s T = nx.reshape(row_scaling, (-1, 1)) * T 330s 330s test/gromov/test_bregman.py::test_entropic_fgw_barycenter[numpy] 330s /usr/lib/python3/dist-packages/ot/backend.py:1168: RuntimeWarning: divide by zero encountered in log 330s return np.log(a) 330s 330s test/gromov/test_bregman.py::test_entropic_fgw_barycenter[numpy] 330s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:631: RuntimeWarning: divide by zero encountered in divide 330s v = b / KtransposeU 330s 330s test/gromov/test_bregman.py::test_entropic_fgw_barycenter[numpy] 330s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:631: RuntimeWarning: overflow encountered in divide 330s v = b / KtransposeU 330s 330s test/gromov/test_bregman.py::test_entropic_fgw_barycenter[numpy] 330s test/gromov/test_bregman.py::test_gromov_entropic_barycenter[numpy] 330s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:643: UserWarning: Warning: numerical errors at iteration 0 330s warnings.warn("Warning: numerical errors at iteration %d" % ii) 330s 330s test/gromov/test_bregman.py::test_entropic_fgw_barycenter[numpy] 330s /usr/lib/python3/dist-packages/ot/gromov/_bregman.py:1231: UserWarning: Solver failed to produce a transport plan. You might want to increase the regularization parameter `epsilon`. 330s warnings.warn( 330s 330s test/gromov/test_bregman.py::test_gromov_entropic_barycenter[numpy] 330s /usr/lib/python3/dist-packages/ot/gromov/_bregman.py:245: UserWarning: Solver failed to produce a transport plan. You might want to increase the regularization parameter `epsilon`. 330s warnings.warn( 330s 330s test/gromov/test_estimators.py::test_pointwise_gromov[numpy] 330s test/gromov/test_estimators.py::test_pointwise_gromov[numpy] 330s test/gromov/test_estimators.py::test_pointwise_gromov[numpy] 330s test/gromov/test_estimators.py::test_pointwise_gromov[numpy] 330s /usr/lib/python3/dist-packages/ot/gromov/_estimators.py:246: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) 330s index[0] = generator.choice(len_p, size=1, p=nx.to_numpy(p)) 330s 330s test/gromov/test_estimators.py::test_pointwise_gromov[numpy] 330s test/gromov/test_estimators.py::test_pointwise_gromov[numpy] 330s test/gromov/test_estimators.py::test_pointwise_gromov[numpy] 330s test/gromov/test_estimators.py::test_pointwise_gromov[numpy] 330s /usr/lib/python3/dist-packages/ot/gromov/_estimators.py:247: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) 330s index[1] = generator.choice(len_q, size=1, p=nx.to_numpy(q)) 330s 330s test/gromov/test_estimators.py: 400 warnings 330s /usr/lib/python3/dist-packages/ot/gromov/_estimators.py:252: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) 330s index[0] = generator.choice(len_p, size=1, p=nx.to_numpy(p)) 330s 330s test/gromov/test_estimators.py: 400 warnings 330s /usr/lib/python3/dist-packages/ot/gromov/_estimators.py:254: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) 330s index[1] = generator.choice( 330s 330s test/gromov/test_fugw.py: 42 warnings 330s /usr/lib/python3/dist-packages/ot/gromov/_unbalanced.py:1208: UserWarning: The computation of gradients is only supported for KL divergence, but not for l2 divergence. The gradient of the KL case will be used. 330s warnings.warn( 330s 330s test/gromov/test_fugw.py: 28 warnings 330s test/test_ucoot.py: 28 warnings 330s /usr/lib/python3/dist-packages/ot/gromov/_unbalanced.py:228: UserWarning: Sinkhorn algorithm does not support unregularized problem. Solver is set to 'mm'. 330s warnings.warn( 330s 330s test/gromov/test_fugw.py: 28 warnings 330s test/test_ucoot.py: 32 warnings 330s /usr/lib/python3/dist-packages/ot/gromov/_unbalanced.py:220: UserWarning: Sinkhorn algorithm does not support L2 norm. Divergence is set to 'kl'. 330s warnings.warn( 330s 330s test/gromov/test_fugw.py::test_fused_unbalanced_across_spaces_divergence_warning[numpy-independent] 330s test/gromov/test_fugw.py::test_fused_unbalanced_across_spaces_divergence_warning[numpy-joint] 330s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:738: RuntimeWarning: divide by zero encountered in divide 330s u = (a / Kv) ** fi_1 330s 330s test/gromov/test_fugw.py::test_fused_unbalanced_across_spaces_divergence_warning[numpy-independent] 330s test/gromov/test_fugw.py::test_fused_unbalanced_across_spaces_divergence_warning[numpy-joint] 330s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:751: UserWarning: Numerical errors at iteration 0 330s warnings.warn("Numerical errors at iteration %s" % i) 330s 330s test/gromov/test_fugw.py::test_fused_unbalanced_across_spaces_divergence_warning[numpy-independent] 330s test/gromov/test_fugw.py::test_fused_unbalanced_across_spaces_divergence_warning[numpy-joint] 330s /usr/lib/python3/dist-packages/ot/gromov/_unbalanced.py:410: RuntimeWarning: divide by zero encountered in scalar divide 330s pi_samp = nx.sqrt(mass / nx.sum(pi_samp)) * pi_samp # shape nx x ny 330s 330s test/gromov/test_fugw.py::test_fused_unbalanced_across_spaces_divergence_warning[numpy-independent] 330s test/gromov/test_fugw.py::test_fused_unbalanced_across_spaces_divergence_warning[numpy-joint] 330s /usr/lib/python3/dist-packages/ot/gromov/_unbalanced.py:410: RuntimeWarning: invalid value encountered in multiply 330s pi_samp = nx.sqrt(mass / nx.sum(pi_samp)) * pi_samp # shape nx x ny 330s 330s test/gromov/test_gw.py::test_gromov_integer_warnings[numpy] 330s /tmp/autopkgtest.tmSoKv/autopkgtest_tmp/test/gromov/test_gw.py:163: UserWarning: Input structure matrix consists of integers. The transport plan will be casted accordingly, possibly resulting in a loss of precision. If this behaviour is unwanted, please make sure your input structure matrix consists of floating point elements. 330s G = ot.gromov.gromov_wasserstein( 330s 330s test/gromov/test_gw.py::test_gromov_integer_warnings[numpy] 330s /tmp/autopkgtest.tmSoKv/autopkgtest_tmp/test/gromov/test_gw.py:175: UserWarning: Input structure matrix consists of integers. The transport plan will be casted accordingly, possibly resulting in a loss of precision. If this behaviour is unwanted, please make sure your input structure matrix consists of floating point elements. 330s ot.gromov.gromov_wasserstein( 330s 330s test/gromov/test_gw.py::test_fgw_integer_warnings[numpy] 330s /tmp/autopkgtest.tmSoKv/autopkgtest_tmp/test/gromov/test_gw.py:936: UserWarning: Input feature matrix consists of integer. The transport plan will be casted accordingly, possibly resulting in a loss of precision. If this behaviour is unwanted, please make sure your input feature matrix consists of floating point elements. 330s G, log = ot.gromov.fused_gromov_wasserstein( 330s 330s test/gromov/test_gw.py::test_fgw_integer_warnings[numpy] 330s /tmp/autopkgtest.tmSoKv/autopkgtest_tmp/test/gromov/test_gw.py:949: UserWarning: Input feature matrix consists of integer. The transport plan will be casted accordingly, possibly resulting in a loss of precision. If this behaviour is unwanted, please make sure your input feature matrix consists of floating point elements. 330s Gb, logb = ot.gromov.fused_gromov_wasserstein( 330s 330s test/gromov/test_lowrank.py::test_lowrank_gromov_wasserstein_samples 330s test/gromov/test_lowrank.py::test_lowrank_wasserstein_samples_gamma_init[theory] 330s /usr/lib/python3/dist-packages/ot/gromov/_lowrank.py:301: UserWarning: Low Rank GW did not converge. You might want to increase the number of iterations `numItermax` 330s warnings.warn( 330s 330s test/gromov/test_partial.py::test_partial_gromov_wasserstein[numpy] 330s /tmp/autopkgtest.tmSoKv/autopkgtest_tmp/test/gromov/test_partial.py:173: UserWarning: Input structure matrix consists of integers. The transport plan will be casted accordingly, possibly resulting in a loss of precision. If this behaviour is unwanted, please make sure your input structure matrix consists of floating point elements. 330s res0b, log0b = ot.gromov.partial_gromov_wasserstein( 330s 330s test/gromov/test_quantized.py::test_quantized_gw[numpy] 330s test/gromov/test_quantized.py::test_quantized_gw[numpy] 330s /usr/lib/python3/dist-packages/ot/gromov/_quantized.py:771: UserWarning: Requested number of partitions higher than the number of nodeshence we enforce each node to be a partition. 330s part1 = get_graph_partition( 330s 330s test/gromov/test_quantized.py::test_quantized_fgw_samples[numpy] 330s test/gromov/test_quantized.py::test_quantized_fgw_samples[numpy] 330s test/gromov/test_quantized.py::test_quantized_fgw_samples[numpy] 330s test/gromov/test_quantized.py::test_quantized_fgw_samples[numpy] 330s test/gromov/test_quantized.py::test_quantized_fgw_samples[numpy] 330s /usr/lib/python3/dist-packages/ot/gromov/_quantized.py:1220: UserWarning: Requested number of partitions higher than the number of nodeshence we enforce each node to be a partition. 330s part1, rep_indices1 = get_partition_and_representants_samples( 330s 330s test/gromov/test_semirelaxed.py::test_entropic_semirelaxed_gromov_dtype_device[numpy] 330s /usr/lib/python3/dist-packages/ot/gromov/_semirelaxed.py:1008: RuntimeWarning: divide by zero encountered in divide 330s scaling = p / nx.sum(K, 1) 330s 330s test/gromov/test_semirelaxed.py::test_entropic_semirelaxed_gromov_dtype_device[numpy] 330s /usr/lib/python3/dist-packages/ot/gromov/_semirelaxed.py:1009: RuntimeWarning: invalid value encountered in multiply 330s G = nx.reshape(scaling, (-1, 1)) * K 330s 330s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 330s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 330s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 330s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 330s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 330s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 330s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 330s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 330s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 330s /usr/lib/python3/dist-packages/ot/gromov/_utils.py:775: RuntimeWarning: divide by zero encountered in divide 330s prod = nx.nan_to_num(1.0 / quotient, nan=1.0, posinf=1.0, neginf=1.0) 330s 330s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 330s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 330s /usr/lib/python3/dist-packages/ot/gromov/_semirelaxed.py:1624: UserWarning: Both structures have the same size so no partitioning isperformed to initialize the transport plan even thoughinitialization method is kmeans 330s semirelaxed_init_plan( 330s 330s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 330s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 330s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 330s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 330s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 330s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 330s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 330s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 330s /usr/lib/python3/dist-packages/ot/gromov/_semirelaxed.py:151: UserWarning: Both structures have the same size so no partitioning isperformed to initialize the transport plan even thoughinitialization method is kmeans 330s G0 = semirelaxed_init_plan( 330s 330s test/gromov/test_semirelaxed.py::test_semirelaxed_fgw_barycenter[numpy] 330s test/gromov/test_semirelaxed.py::test_semirelaxed_fgw_barycenter[numpy] 330s /usr/lib/python3/dist-packages/ot/gromov/_semirelaxed.py:2001: UserWarning: Both structures have the same size so no partitioning isperformed to initialize the transport plan even thoughinitialization method is kmeans 330s semirelaxed_init_plan( 330s 330s test/gromov/test_utils.py::test_semirelaxed_init_plan[numpy] 330s /tmp/autopkgtest.tmSoKv/autopkgtest_tmp/test/gromov/test_utils.py:105: UserWarning: Both structures have the same size so no partitioning isperformed to initialize the transport plan even thoughinitialization method is kmeans 330s T = ot.gromov.semirelaxed_init_plan(C1b, C1b, p1b, method=method) 330s 330s test/gromov/test_utils.py::test_semirelaxed_init_plan[numpy] 330s /tmp/autopkgtest.tmSoKv/autopkgtest_tmp/test/gromov/test_utils.py:106: UserWarning: Both structures have the same size so no partitioning isperformed to initialize the transport plan even thoughinitialization method is kmeans 330s Tb = ot.gromov.semirelaxed_init_plan(C1b, C1b, p1b, method=method) 330s 330s test/gromov/test_utils.py::test_semirelaxed_init_plan[numpy] 330s /tmp/autopkgtest.tmSoKv/autopkgtest_tmp/test/gromov/test_utils.py:105: UserWarning: Both structures have the same size so no partitioning isperformed to initialize the transport plan even thoughinitialization method is spectral 330s T = ot.gromov.semirelaxed_init_plan(C1b, C1b, p1b, method=method) 330s 330s test/gromov/test_utils.py::test_semirelaxed_init_plan[numpy] 330s /tmp/autopkgtest.tmSoKv/autopkgtest_tmp/test/gromov/test_utils.py:106: UserWarning: Both structures have the same size so no partitioning isperformed to initialize the transport plan even thoughinitialization method is spectral 330s Tb = ot.gromov.semirelaxed_init_plan(C1b, C1b, p1b, method=method) 330s 330s test/test_bregman.py::test_nan_warning[sinkhorn] 330s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:622: RuntimeWarning: divide by zero encountered in divide 330s K = nx.exp(M / (-reg)) 330s 330s test/test_bregman.py::test_nan_warning[sinkhorn] 330s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:622: RuntimeWarning: invalid value encountered in divide 330s K = nx.exp(M / (-reg)) 330s 330s test/test_bregman.py::test_nan_warning[sinkhorn_stabilized] 330s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:1261: RuntimeWarning: divide by zero encountered in divide 330s return nx.exp(-(M - alpha.reshape((dim_a, 1)) - beta.reshape((1, dim_b))) / reg) 330s 330s test/test_bregman.py::test_nan_warning[sinkhorn_stabilized] 330s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:1261: RuntimeWarning: invalid value encountered in divide 330s return nx.exp(-(M - alpha.reshape((dim_a, 1)) - beta.reshape((1, dim_b))) / reg) 330s 330s test/test_bregman.py::test_nan_warning[sinkhorn_stabilized] 330s test/test_bregman.py::test_nan_warning[sinkhorn_stabilized] 330s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:1266: RuntimeWarning: divide by zero encountered in divide 330s -(M - alpha.reshape((dim_a, 1)) - beta.reshape((1, dim_b))) / reg 330s 330s test/test_bregman.py::test_nan_warning[sinkhorn_stabilized] 330s test/test_bregman.py::test_nan_warning[sinkhorn_stabilized] 330s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:1266: RuntimeWarning: invalid value encountered in divide 330s -(M - alpha.reshape((dim_a, 1)) - beta.reshape((1, dim_b))) / reg 330s 330s test/test_bregman.py::test_sinkhorn_multi_b[sinkhorn_stabilized-True-True] 330s test/test_bregman.py::test_sinkhorn_multi_b[sinkhorn_stabilized-True-False] 330s test/test_bregman.py::test_sinkhorn_multi_b[sinkhorn_stabilized-False-True] 330s test/test_bregman.py::test_sinkhorn_multi_b[sinkhorn_stabilized-False-False] 330s test/test_bregman.py::test_sinkhorn_variants_dtype_device[numpy-sinkhorn_stabilized] 330s test/test_bregman.py::test_sinkhorn_warmstart 330s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:1331: UserWarning: Sinkhorn did not converge. You might want to increase the number of iterations `numItermax` or the regularization parameter `reg`. 330s warnings.warn( 330s 330s test/test_bregman.py::test_sinkhorn_multi_b[sinkhorn_log-True-True] 330s test/test_bregman.py::test_sinkhorn_multi_b[sinkhorn_log-True-False] 330s test/test_bregman.py::test_sinkhorn_multi_b[sinkhorn_log-False-True] 330s test/test_bregman.py::test_sinkhorn_multi_b[sinkhorn_log-False-False] 330s test/test_bregman.py::test_sinkhorn_variants_dtype_device[numpy-sinkhorn_log] 330s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:903: UserWarning: Sinkhorn did not converge. You might want to increase the number of iterations `numItermax` or the regularization parameter `reg`. 330s warnings.warn( 330s 330s test/test_bregman.py::test_sinkhorn_empty 330s test/test_bregman.py::test_sinkhorn_variants[numpy] 330s test/test_bregman.py::test_sinkhorn_variants_dtype_device[numpy-greenkhorn] 330s test/test_bregman.py::test_sinkhorn_variants_log 330s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:1089: UserWarning: Sinkhorn did not converge. You might want to increase the number of iterations `numItermax` or the regularization parameter `reg`. 330s warnings.warn( 330s 330s test/test_coot.py::test_coot[numpy-False] 330s test/test_coot.py::test_coot[numpy-True] 330s test/test_coot.py::test_coot[numpy-1] 330s test/test_coot.py::test_coot[numpy-0] 330s test/test_coot.py::test_coot_warmstart[numpy] 330s test/test_coot.py::test_coot_log[numpy] 330s /usr/lib/python3/dist-packages/ot/lp/__init__.py:388: UserWarning: numItermax reached before optimality. Try to increase numItermax. 330s result_code_string = check_result(result_code) 330s 330s test/test_da.py::test_sinkhorn_transport_class[numpy] 330s /usr/lib/python3/dist-packages/ot/da.py:1292: UserWarning: The method has been set to 'sinkhorn_log' as it is the only method available for out_of_sample_map='continuous' 330s warnings.warn( 330s 330s test/test_mapping.py::test_joint_OT_mapping 330s /usr/lib/python3/dist-packages/ot/mapping.py:617: RuntimeWarning: invalid value encountered in scalar divide 330s if abs(vloss[-1] - vloss[-2]) / abs(vloss[-2]) < stopThr: 330s 330s test/test_mapping.py::test_joint_OT_mapping 330s /usr/lib/python3/dist-packages/ot/mapping.py:629: RuntimeWarning: invalid value encountered in scalar divide 330s it, vloss[-1], (vloss[-1] - vloss[-2]) / abs(vloss[-2]) 330s 330s test/test_partial.py::test_raise_errors 330s /tmp/autopkgtest.tmSoKv/autopkgtest_tmp/test/test_partial.py:49: UserWarning: This function will be deprecated in a near future, please use ot.gromov.partial_gromov_wasserstein` instead. 330s ot.partial.partial_gromov_wasserstein(M, M, p, q, m=2, log=True) 330s 330s test/test_partial.py::test_raise_errors 330s /tmp/autopkgtest.tmSoKv/autopkgtest_tmp/test/test_partial.py:52: UserWarning: This function will be deprecated in a near future, please use ot.gromov.partial_gromov_wasserstein` instead. 330s ot.partial.partial_gromov_wasserstein(M, M, p, q, m=-1, log=True) 330s 330s test/test_partial.py::test_raise_errors 330s /tmp/autopkgtest.tmSoKv/autopkgtest_tmp/test/test_partial.py:55: UserWarning: This function will be deprecated in a near future, please use ot.gromov.entropic_partial_gromov_wasserstein` instead. 330s ot.partial.entropic_partial_gromov_wasserstein(M, M, p, q, reg=1, m=2, log=True) 330s 330s test/test_partial.py::test_raise_errors 330s /tmp/autopkgtest.tmSoKv/autopkgtest_tmp/test/test_partial.py:58: UserWarning: This function will be deprecated in a near future, please use ot.gromov.entropic_partial_gromov_wasserstein` instead. 330s ot.partial.entropic_partial_gromov_wasserstein( 330s 330s test/test_partial.py::test_partial_gromov_wasserstein 330s /tmp/autopkgtest.tmSoKv/autopkgtest_tmp/test/test_partial.py:244: UserWarning: This function will be deprecated in a near future, please use ot.gromov.partial_gromov_wasserstein` instead. 330s res0, log0 = ot.partial.partial_gromov_wasserstein( 330s 330s test/test_partial.py::test_partial_gromov_wasserstein 330s /usr/lib/python3/dist-packages/ot/partial.py:808: UserWarning: This function will be deprecated in a near future, please use ot.gromov.gwggrad` instead. 330s M = 0.5 * gwgrad_partial( 330s 330s test/test_partial.py::test_partial_gromov_wasserstein 330s /usr/lib/python3/dist-packages/ot/partial.py:837: UserWarning: This function will be deprecated in a near future, please use ot.gromov.gwloss` instead. 330s print("{:5d}|{:8e}|{:8e}".format(cpt, err, gwloss_partial(C1, C2, G0))) 330s 330s test/test_partial.py::test_partial_gromov_wasserstein 330s /usr/lib/python3/dist-packages/ot/partial.py:654: UserWarning: This function will be deprecated in a near future, please use ot.gromov.gwggrad` instead. 330s g = gwgrad_partial(C1, C2, T) * 0.5 330s 330s test/test_partial.py::test_partial_gromov_wasserstein 330s /usr/lib/python3/dist-packages/ot/partial.py:840: UserWarning: This function will be deprecated in a near future, please use ot.gromov.gwloss` instead. 330s a = gwloss_partial(C1, C2, deltaG) 330s 330s test/test_partial.py::test_partial_gromov_wasserstein 330s /usr/lib/python3/dist-packages/ot/partial.py:858: UserWarning: This function will be deprecated in a near future, please use ot.gromov.gwloss` instead. 330s log["partial_gw_dist"] = gwloss_partial(C1, C2, G0) 330s 330s test/test_partial.py::test_partial_gromov_wasserstein 330s /tmp/autopkgtest.tmSoKv/autopkgtest_tmp/test/test_partial.py:253: UserWarning: This function will be deprecated in a near future, please use ot.gromov.partial_gromov_wasserstein` instead. 330s res0, log0 = ot.partial.partial_gromov_wasserstein(C1, C2, p, q, m=m, log=True) 330s 330s test/test_partial.py::test_partial_gromov_wasserstein 330s /tmp/autopkgtest.tmSoKv/autopkgtest_tmp/test/test_partial.py:257: UserWarning: This function will be deprecated in a near future, please use ot.gromov.entropic_partial_gromov_wasserstein` instead. 330s res, log = ot.partial.entropic_partial_gromov_wasserstein( 330s 330s test/test_partial.py::test_partial_gromov_wasserstein 330s /usr/lib/python3/dist-packages/ot/partial.py:1149: UserWarning: This function will be deprecated in a near future, please use ot.gromov.gwggrad` instead. 330s M_entr = gwgrad_partial(C1, C2, G0) 330s 330s test/test_partial.py::test_partial_gromov_wasserstein 330s /usr/lib/python3/dist-packages/ot/partial.py:1167: UserWarning: This function will be deprecated in a near future, please use ot.gromov.gwloss` instead. 330s loge["partial_gw_dist"] = gwloss_partial(C1, C2, G0) 330s 330s test/test_partial.py::test_partial_gromov_wasserstein 330s /tmp/autopkgtest.tmSoKv/autopkgtest_tmp/test/test_partial.py:263: UserWarning: This function will be deprecated in a near future, please use ot.gromov.partial_gromov_wasserstein2` instead. 330s w0, log0 = ot.partial.partial_gromov_wasserstein2(C1, C2, p, q, m=m, log=True) 330s 330s test/test_partial.py::test_partial_gromov_wasserstein 330s /usr/lib/python3/dist-packages/ot/partial.py:989: UserWarning: This function will be deprecated in a near future, please use ot.gromov.partial_gromov_wasserstein` instead. 330s partial_gw, log_gw = partial_gromov_wasserstein( 330s 330s test/test_partial.py::test_partial_gromov_wasserstein 330s /tmp/autopkgtest.tmSoKv/autopkgtest_tmp/test/test_partial.py:264: UserWarning: This function will be deprecated in a near future, please use ot.gromov.partial_gromov_wasserstein2` instead. 330s w0_val = ot.partial.partial_gromov_wasserstein2(C1, C2, p, q, m=m, log=False) 330s 330s test/test_partial.py::test_partial_gromov_wasserstein 330s /tmp/autopkgtest.tmSoKv/autopkgtest_tmp/test/test_partial.py:269: UserWarning: This function will be deprecated in a near future, please use ot.gromov.partial_gromov_wasserstein` instead. 330s res0, log0 = ot.partial.partial_gromov_wasserstein(C1, C2, p, q, m=m, log=True) 330s 330s test/test_partial.py::test_partial_gromov_wasserstein 330s /tmp/autopkgtest.tmSoKv/autopkgtest_tmp/test/test_partial.py:270: UserWarning: This function will be deprecated in a near future, please use ot.gromov.entropic_partial_gromov_wasserstein` instead. 330s res, log = ot.partial.entropic_partial_gromov_wasserstein( 330s 330s test/test_regpath.py: 232 warnings 330s /usr/lib/python3/dist-packages/ot/regpath.py:494: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) 330s M[-1, -1] = 1 / s 330s 330s test/test_sliced.py::test_sliced_sphere_backend_type_devices[numpy] 330s /usr/lib/python3/dist-packages/ot/lp/solver_1d.py:796: RuntimeWarning: divide by zero encountered in divide 330s (Ctp - Ctm + tm * dCptm - tp * dCmtp) / (dCptm - dCmtp) 330s 330s test/test_sliced.py::test_sliced_sphere_backend_type_devices[numpy] 330s /usr/lib/python3/dist-packages/ot/lp/solver_1d.py:796: RuntimeWarning: invalid value encountered in divide 330s (Ctp - Ctm + tm * dCptm - tp * dCmtp) / (dCptm - dCmtp) 330s 330s test/test_solvers.py::test_solve_grid[numpy-None-tuple-0.9-TV] 330s test/test_solvers.py::test_solve_grid[numpy-1-tuple-0.9-KL] 330s test/test_solvers.py::test_solve_grid[numpy-1-tuple-0.9-L2] 330s test/test_solvers.py::test_solve_grid[numpy-1-tuple-0.9-TV] 330s /usr/lib/python3/dist-packages/ot/unbalanced/_lbfgs.py:277: UserWarning: The callable functions should be able to handle numpy arrays, wrapper ar added to handle this which comes with overhead 330s warnings.warn( 330s 330s test/test_ucoot.py: 66 warnings 330s /usr/lib/python3/dist-packages/ot/gromov/_unbalanced.py:795: UserWarning: The computation of gradients is only supported for KL divergence, not for l2 divergence 330s warnings.warn( 330s 330s test/test_ucoot.py: 96 warnings 330s /usr/lib/python3/dist-packages/ot/gromov/_unbalanced.py:260: UserWarning: M_samp is None but alpha_samp = 0.1 > 0. The algo will treat as if alpha_samp = 0. 330s warnings.warn( 330s 330s test/test_ucoot.py: 96 warnings 330s /usr/lib/python3/dist-packages/ot/gromov/_unbalanced.py:269: UserWarning: M_feat is None but alpha_feat = 0.2 > 0. The algo will treat as if alpha_feat = 0. 330s warnings.warn( 330s 330s test/unbalanced/test_sinkhorn.py: 10 warnings 330s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:717: UserWarning: If reg_type = entropy, then the matrix c is overwritten by the one matrix. 330s warnings.warn( 330s 330s test/unbalanced/test_sinkhorn.py::test_unbalanced_convergence[numpy-sinkhorn_stabilized-entropy] 330s test/unbalanced/test_sinkhorn.py::test_unbalanced_marginals[numpy-sinkhorn_stabilized-entropy] 330s test/unbalanced/test_sinkhorn.py::test_unbalanced_warmstart[numpy-sinkhorn_stabilized-entropy] 330s test/unbalanced/test_sinkhorn.py::test_unbalanced_reference_measure[numpy-sinkhorn_stabilized-entropy] 330s test/unbalanced/test_sinkhorn.py::test_unbalanced_multiple_inputs[numpy-sinkhorn_stabilized] 330s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:973: UserWarning: If reg_type = entropy, then the matrix c is overwritten by the one matrix. 330s warnings.warn( 330s 330s test/unbalanced/test_sinkhorn.py: 15 warnings 330s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:225: UserWarning: Method not implemented yet. Using classic Sinkhorn-Knopp 330s warnings.warn("Method not implemented yet. Using classic Sinkhorn-Knopp") 330s 330s test/unbalanced/test_sinkhorn.py: 11 warnings 330s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:445: UserWarning: Method not implemented yet. Using classic Sinkhorn-Knopp 330s warnings.warn("Method not implemented yet. Using classic Sinkhorn-Knopp") 330s 330s test/unbalanced/test_sinkhorn.py::test_unbalanced_convergence[numpy-sinkhorn_translation_invariant-entropy] 330s test/unbalanced/test_sinkhorn.py::test_unbalanced_marginals[numpy-sinkhorn_translation_invariant-entropy] 330s test/unbalanced/test_sinkhorn.py::test_unbalanced_warmstart[numpy-sinkhorn_translation_invariant-entropy] 330s test/unbalanced/test_sinkhorn.py::test_unbalanced_reference_measure[numpy-sinkhorn_translation_invariant-entropy] 330s test/unbalanced/test_sinkhorn.py::test_unbalanced_multiple_inputs[numpy-sinkhorn_translation_invariant] 330s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:1246: UserWarning: If reg_type = entropy, then the matrix c is overwritten by the one matrix. 330s warnings.warn( 330s 330s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters[numpy-sinkhorn-inf] 330s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters[numpy-sinkhorn_reg_scaling-inf] 330s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters_pair[numpy-sinkhorn-inf-inf] 330s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters_pair[numpy-sinkhorn_reg_scaling-inf-inf] 330s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:740: RuntimeWarning: overflow encountered in divide 330s v = (b / Ktu) ** fi_2 330s 330s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters[numpy-sinkhorn-inf] 330s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters[numpy-sinkhorn_reg_scaling-inf] 330s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters_pair[numpy-sinkhorn-inf-inf] 330s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters_pair[numpy-sinkhorn_reg_scaling-inf-inf] 330s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:751: UserWarning: Numerical errors at iteration 180 330s warnings.warn("Numerical errors at iteration %s" % i) 330s 330s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters[numpy-sinkhorn_stabilized-inf] 330s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters_pair[numpy-sinkhorn_stabilized-inf-inf] 330s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:1050: UserWarning: Stabilized Unbalanced Sinkhorn did not converge.Try a larger entropy `reg` or a lower mass `reg_m`.Or a larger absorption threshold `tau`. 330s warnings.warn( 330s 330s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters[numpy-sinkhorn_translation_invariant-inf] 330s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters_pair[numpy-sinkhorn_translation_invariant-inf-inf] 330s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:1330: RuntimeWarning: overflow encountered in divide 330s v = v_ / t 330s 330s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters[numpy-sinkhorn_translation_invariant-inf] 330s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters_pair[numpy-sinkhorn_translation_invariant-inf-inf] 330s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:1335: RuntimeWarning: invalid value encountered in scalar divide 330s err_v = nx.max(nx.abs(v - vprev)) / max( 330s 330s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters[numpy-sinkhorn_translation_invariant-inf] 330s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters_pair[numpy-sinkhorn_translation_invariant-inf-inf] 330s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:1308: RuntimeWarning: overflow encountered in divide 330s v_hat = (b / Ktu) ** fi_2 * nx.sum(a * u_ ** (-reg_ratio1)) ** k_rho1 330s 330s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters[numpy-sinkhorn_translation_invariant-inf] 330s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters_pair[numpy-sinkhorn_translation_invariant-inf-inf] 330s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:1320: UserWarning: Numerical errors at iteration 180 330s warnings.warn("Numerical errors at iteration %s" % i) 330s 330s test/unbalanced/test_sinkhorn.py::test_unbalanced_multiple_inputs[numpy-sinkhorn_reg_scaling] 330s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:532: UserWarning: Method not implemented yet. Using classic Sinkhorn-Knopp 330s warnings.warn("Method not implemented yet. Using classic Sinkhorn-Knopp") 330s 330s test/unbalanced/test_sinkhorn.py::test_stabilized_vs_sinkhorn[numpy] 330s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:478: UserWarning: Reg_type not implemented yet. Use entropy. 330s warnings.warn("Reg_type not implemented yet. Use entropy.") 330s 330s test/unbalanced/test_sinkhorn.py::test_unbalanced_barycenter[numpy-sinkhorn_reg_scaling] 330s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:1787: UserWarning: Method not implemented yet. Using classic Sinkhorn Knopp 330s warnings.warn("Method not implemented yet. Using classic Sinkhorn Knopp") 330s 330s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 330s ==== 932 passed, 70 skipped, 4 xfailed, 1666 warnings in 103.93s (0:01:43) ===== 330s RUNNING THE L-BFGS-B CODE 330s 330s * * * 330s 330s Machine precision = 2.220D-16 330s N = 10000 M = 10 330s 330s At X0 0 variables are exactly at the bounds 330s 330s At iterate 0 f= 1.10084D-01 |proj g|= 1.00000D-04 330s 330s At iterate 1 f= 1.09797D-01 |proj g|= 1.05303D-01 330s 330s At iterate 2 f= 1.09299D-01 |proj g|= 2.83752D-01 330s 330s At iterate 3 f= 1.08063D-01 |proj g|= 6.49712D-01 330s 330s At iterate 4 f= 1.07132D-01 |proj g|= 5.79414D-01 330s 330s At iterate 5 f= 1.06557D-01 |proj g|= 6.02375D-02 330s 330s At iterate 6 f= 1.06546D-01 |proj g|= 3.02192D-02 330s 330s At iterate 7 f= 1.06538D-01 |proj g|= 3.38809D-02 330s 330s At iterate 8 f= 1.06538D-01 |proj g|= 3.58199D-02 330s 330s At iterate 9 f= 1.06536D-01 |proj g|= 2.56667D-02 330s 330s At iterate 10 f= 1.06536D-01 |proj g|= 1.00124D-02 330s 330s At iterate 11 f= 1.06536D-01 |proj g|= 3.99251D-03 330s 330s At iterate 12 f= 1.06536D-01 |proj g|= 2.94257D-03 330s 330s At iterate 13 f= 1.06536D-01 |proj g|= 2.69681D-03 330s 330s At iterate 14 f= 1.06536D-01 |proj g|= 1.58971D-03 330s 330s At iterate 15 f= 1.06536D-01 |proj g|= 1.36983D-03 330s 330s At iterate 16 f= 1.06536D-01 |proj g|= 1.27633D-03 330s 330s At iterate 17 f= 1.06536D-01 |proj g|= 1.16164D-03 330s 330s At iterate 18 f= 1.06536D-01 |proj g|= 6.38270D-04 330s 330s At iterate 19 f= 1.06536D-01 |proj g|= 2.87351D-04 330s 330s At iterate 20 f= 1.06536D-01 |proj g|= 1.30247D-04 330s 330s At iterate 21 f= 1.06536D-01 |proj g|= 7.57682D-05 330s 330s At iterate 22 f= 1.06536D-01 |proj g|= 4.24380D-05 330s 330s At iterate 23 f= 1.06536D-01 |proj g|= 4.93284D-05 330s 330s At iterate 24 f= 1.06536D-01 |proj g|= 3.46963D-05 330s 330s At iterate 25 f= 1.06536D-01 |proj g|= 2.27227D-05 330s 330s At iterate 26 f= 1.06536D-01 |proj g|= 1.25670D-05 330s 330s At iterate 27 f= 1.06536D-01 |proj g|= 9.05918D-06 330s 330s At iterate 28 f= 1.06536D-01 |proj g|= 7.67564D-06 330s 330s At iterate 29 f= 1.06536D-01 |proj g|= 5.49802D-06 330s 330s At iterate 30 f= 1.06536D-01 |proj g|= 3.17099D-06 330s 330s At iterate 31 f= 1.06536D-01 |proj g|= 1.24157D-06 330s 330s At iterate 32 f= 1.06536D-01 |proj g|= 8.22612D-07 330s 330s * * * 330s 330s Tit = total number of iterations 330s Tnf = total number of function evaluations 330s Tnint = total number of segments explored during Cauchy searches 330s Skip = number of BFGS updates skipped 330s Nact = number of active bounds at final generalized Cauchy point 330s Projg = norm of the final projected gradient 330s F = final function value 330s 330s * * * 330s 330s N Tit Tnf Tnint Skip Nact Projg F 330s 10000 32 37 10025 0 0 8.226D-07 1.065D-01 330s F = 0.10653579082117084 330s 330s CONVERGENCE: REL_REDUCTION_OF_F_<=_FACTR*EPSMCH 330s ********** 330s autopkgtest [01:38:38]: test upstream.sh: -----------------------] 334s autopkgtest [01:38:42]: test upstream.sh: - - - - - - - - - - results - - - - - - - - - - 334s upstream.sh PASS 338s autopkgtest [01:38:46]: @@@@@@@@@@@@@@@@@@@@ summary 338s upstream.sh PASS