Skip to content

Fix deprecation warning of .T for 1-d inputs#761

Merged
rflamary merged 2 commits into
PythonOT:masterfrom
francois-rozet:patch-760
Sep 17, 2025
Merged

Fix deprecation warning of .T for 1-d inputs#761
rflamary merged 2 commits into
PythonOT:masterfrom
francois-rozet:patch-760

Conversation

@francois-rozet

@francois-rozet francois-rozet commented Sep 17, 2025

Copy link
Copy Markdown
Contributor

Types of changes

Fix #760

Motivation and context / Related issue

See #760

How has this been tested (if it applies)

PR checklist

  • I have read the CONTRIBUTING document.
  • The documentation is up-to-date with the changes I made (check build artifacts).
  • All tests passed, and additional code has been covered with new tests.
  • I have added the PR and Issue fix to the RELEASES.md file.

@github-actions github-actions Bot added the ot.lp label Sep 17, 2025
@codecov

codecov Bot commented Sep 17, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.16%. Comparing base (3a53dff) to head (14eb1a4).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #761   +/-   ##
=======================================
  Coverage   97.16%   97.16%           
=======================================
  Files         107      107           
  Lines       21879    21879           
=======================================
  Hits        21259    21259           
  Misses        620      620           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@rflamary rflamary merged commit 17699d7 into PythonOT:master Sep 17, 2025
18 checks passed
@rflamary

Copy link
Copy Markdown
Collaborator

Thanks @francois-rozet

MatDag pushed a commit to MatDag/POT that referenced this pull request Sep 25, 2025
* Fix deprecation warning of .T for 1-d inputs

* Update RELEASES.md
rflamary added a commit that referenced this pull request Jun 2, 2026
* FIX reg gcg

* Batch OT losses (Sinkhorn + Gromov) (#755)

* linear ot implemented

* improve stopping criterion and assymetric case

* Add recompute_const and simplify the pipeline for the symmetric = False

* add tests

* update the examples and rename to follow the "ot.solve" naming conventions

* update realeases.md

* idem

* move set_grad_enabled to backend

* set_grad_enabled for quadratric solver

* update doc

* remove useless importation in doc

* Update references

* update example

* Remove classes in quadratic, move examples to backend, add potentials, remove context managers for grads. To do: improve doc and tests

* updat tests

* Massive improvement of the documentation for ot.batch

* cover (almost) all ot.batch with tests

* bug in the tests

* update docstring

* highlight that ot.batch is solving the entropic version

* removing yet another error in the docstring

* Add missing parameter recompute_const

* Remove png, add all backends and gradient mode to tests

* add the missing pytest

* change .sum() into nx.sum

* add missing backend

* yet another missing nx

* remove useless squeeze and add test for non-log bregman

* remove last_step from quadratic tests

* add missing tests and improve documentation

* proper unsqueeze test

* add unsqueeze to tensorflow

* solve double backprop issue in test_gradients_torch

---------

Co-authored-by: PaulKrzakala <paul.krzakala@gmail.com>
Co-authored-by: Rémi Flamary <remi.flamary@gmail.com>
Co-authored-by: Cédric Vincent-Cuaz <cedvincentcuaz@gmail.com>

* Fix deprecation warning of .T for 1-d inputs (#761)

* Fix deprecation warning of .T for 1-d inputs

* Update RELEASES.md

* [MRG] speedup and update tests and wheels and prepare for release 0.9.6 (#759)

* fatser tests

* add tests

* add new build wheels

* add python 3.13

* keep version macos

* python 3.12 on macosx

* release

* ste release version number

* remove macos-13

* move solve_batch and solve_gromov_btac and dist in main ot

* Release 0.9.6 (#762)

* Release 0.9.6

* Update RELEASES.md

* Update RELEASES.md

---------

Co-authored-by: Cédric Vincent-Cuaz <cedvincentcuaz@gmail.com>

* Fix Manifest and change numbering for post release (#763)

* change version number and update manifest

* use proper numbering

* use proper numbering

* pr number

* last one?

* WIP

* update RELEASES.md

* ENH add test_gcg_no_reg

---------

Co-authored-by: KrzakalaPaul <62666596+KrzakalaPaul@users.noreply.github.com>
Co-authored-by: PaulKrzakala <paul.krzakala@gmail.com>
Co-authored-by: Rémi Flamary <remi.flamary@gmail.com>
Co-authored-by: Cédric Vincent-Cuaz <cedvincentcuaz@gmail.com>
Co-authored-by: François Rozet <francois.rozet@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deprecation warning for ot.lp.wasserstein_1d with torch backend

2 participants