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 tests #42

Open
wants to merge 15 commits into
base: main
Choose a base branch
from
Open

fix tests #42

wants to merge 15 commits into from

Conversation

abhidg
Copy link
Contributor

@abhidg abhidg commented Feb 17, 2025

  • Relax requirements pyproject.toml: relax requirements
  • tests: fix datasets import
  • Re-add l2gv2.example for local2global tests
  • ci: use Makefile to run tests

Overly strict requirements makes it difficult to resolve packages.
Particularly in this case, many of the projects provide wheels only for
the latest version.  As L2G will be used as a library, it is reasonable
to expect that users may be using slightly different versions of torch,
torch-geometric and other fundamental libraries.

Relaxing numpy requirement will lead to numpy 2 being installed. Most
libraries in the ecosystem support numpy 2 now, so should not be an
issue.
@abhidg abhidg force-pushed the fix-tests branch 2 times, most recently from 090e310 to f0032fe Compare February 18, 2025 13:07
Implement tqdm_close() to finish progressbars. The other functions
progress.reset() and progress.update() are not needed as we can
call tqdm directly.
GraphDataLoader is incomplete, once code stabilises, will redo
@abhidg
Copy link
Contributor Author

abhidg commented Feb 18, 2025

@lotzma there is no tol argument in the latest scipy - I have changed to rtol, please review

Z[:, i], flag = sc.sparse.linalg.lgmres(L, y, M=P, rtol=delta)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant