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

Fix NumPy/PyTorch version problem and item KNN type problem w/ NumPy array #592

Merged
merged 5 commits into from
Jan 7, 2025

Conversation

mdekstrand
Copy link
Member

@mdekstrand mdekstrand commented Jan 6, 2025

Our vanilla builds were erroneously pulling NumPy from PyTorch's PyPI repo, which this fixes.

Also item-KNN was passing a Torch tensor to a SciPy indexing operation.

@mdekstrand mdekstrand added the internals Internal infrastructure (parallelism, math, etc.) label Jan 6, 2025
@mdekstrand mdekstrand added this to the 2025.1 milestone Jan 6, 2025
@mdekstrand mdekstrand changed the title Fix build problem with NumPy coming from PyTorch Fix NumPy/PyTorch version problem and item KNN type problem w/ NumPy array Jan 6, 2025
Copy link

codecov bot commented Jan 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.71%. Comparing base (f3e2274) to head (8472e4b).
Report is 10 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #592   +/-   ##
=======================================
  Coverage   90.71%   90.71%           
=======================================
  Files         106      106           
  Lines        6527     6529    +2     
=======================================
+ Hits         5921     5923    +2     
  Misses        606      606           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mdekstrand mdekstrand merged commit 9909d6b into lenskit:main Jan 7, 2025
39 checks passed
@mdekstrand mdekstrand deleted the fix/torch-numpy-version branch January 7, 2025 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internals Internal infrastructure (parallelism, math, etc.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant