-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Sparse Geodesic Cost Support #677
Conversation
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #677 +/- ##
=======================================
Coverage 78.19% 78.19%
=======================================
Files 36 36
Lines 3806 3806
Branches 706 706
=======================================
Hits 2976 2976
Misses 524 524
Partials 306 306 |
in the failing tests, set |
|
I tried all of your suggestions and it only worked when I set the tau's to be 1.0 which is balanced. I checked again and it fails after this ott-jax/ott@41906a2 commit specifically. I created a PR separately for the setting the defaults to None #686 |
ok then i think we need to raise this to @michalk8 because it is not expected |
agree, can you maybe try to run the example without moscot, but directly with ott-jax @selmanozleyen ? This might help @michalk8 |
@MUCDK ok I created it here ott-jax/ott#519 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please also update the tests with geodesic costs for other problems, e.g.
def test_geodesic_cost_set_xy_cost_dense(self, adata_time): |
Also, accordingly, please update
moscot/src/moscot/utils/tagged_array.py
Line 106 in 6cc2215
Sparse arrays will be always densified. |
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
Here are the steps I planned. I first want to ensure the tests work with this version and I am currently on that step.
In order to comply to new version:
compute_sparse_laplacian
gives int32 vs int64 index mismatch when input is from scipy csr ott-jax/ott#509min_iterations
andmax_iterations
to None #686ping: @MUCDK , @giovp