Skip to content
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

API: Add verbose mode and lazy indexing #39

Merged
merged 2 commits into from
May 7, 2024
Merged

API: Add verbose mode and lazy indexing #39

merged 2 commits into from
May 7, 2024

Conversation

mtsokol
Copy link
Member

@mtsokol mtsokol commented May 7, 2024

Hi @hameerabbasi,

This PR:

  • bumps Finch version to the latest release
  • adds support for the debug/verbose compute mode
  • adds support for lazy indexing, e.g. tns[:, None, :], that adds a new singleton dimension at that position. There's an issue with the rightmost None indexing (Lazy indexing - issue with the rightmost nothing dimension Finch.jl#528) but I think we can merge it here and I will update tests once it's solved in Finch.jl.

@mtsokol mtsokol added the enhancement New feature or request label May 7, 2024
@mtsokol mtsokol requested a review from hameerabbasi May 7, 2024 09:05
@mtsokol mtsokol self-assigned this May 7, 2024
src/finch/julia.py Show resolved Hide resolved
src/finch/tensor.py Outdated Show resolved Hide resolved
tests/test_indexing.py Outdated Show resolved Hide resolved
@mtsokol
Copy link
Member Author

mtsokol commented May 7, 2024

@hameerabbasi FYI there's one regression that causes one test failure: finch-tensor/Finch.jl#524

@hameerabbasi
Copy link
Collaborator

@hameerabbasi FYI there's one regression that causes one test failure: willow-ahrens/Finch.jl#524

Let's also add it to xfail for now.

@hameerabbasi
Copy link
Collaborator

Thanks for getting to this so quick, @mtsokol! In it goes.

@hameerabbasi hameerabbasi merged commit 0070529 into main May 7, 2024
5 checks passed
@hameerabbasi hameerabbasi deleted the new_release branch May 7, 2024 10:13
@willow-ahrens willow-ahrens mentioned this pull request May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants