-
Notifications
You must be signed in to change notification settings - Fork 11
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
[Tests] Nose -> pytest #14
Comments
Sure, that's no problem - it's only on nose because of inertia. I'll switch it the next time I push an update. |
Super! Nose is slated to be removed from most Linux distros soon, which complicates packaging the current version of Thanks again. The Flatiron Institute continues to shine on us all. |
No problem. Im finally getting around to the wrapper for the iterative sparse solvers; I'll switch to pytest on the next release with that. |
...that sounds amazing. Incredibly excited about all of this! If I'm reading the MKL docos correctly:
Is that right? If so, it might be useful to explicitly note in the It'll also be great fun to play around with all of these alternate solvers. CG and GFMRES seem a bit less flexible than QR, but probably make up for that transgression by being more space- and/or time-performant. Fun! Even more interestingly, all of this pushes Advantages of a distinct
Very well. I'll stop now. Thanks yet again for the tremendous everything. You do the Good Work™ here. |
The CG and FGMRES solvers are in a dev branch (dd0741a) - they still need a bit of work and a good test package but I should be able to finish them soon. (Mostly I want FGMRES but I did CG cause it wasn't much extra work) I'll see what I can do about an alternative API that's a drop-in for |
Curious and curiouser. So Intel now maintains two divergent MKL-based sparse solvers:
That's... interesting! Intel gonna Intel. I wonder what the practical tradeoffs (if any) between the two solvers are? From the little that I know, the QR decomposition is considerably more computationally expensive to compute than the Cholesky decomposition – but
👍 👍 👍
That would be impressive beyond words. The Excruciatingly hyped for all of this. |
Changed from nose to pytest in 86228d0 and released it as v0.7.2. I'll work on the other stuff and try to get that out soon-ish, so I'm going to leave this issue open. |
sparse_dot_mkl
is phenomenal, dramatically improving both runtime and solver accuracy (which was very surprising to us) for our use case. Becausesparse_dot_mkl
is phenomenal, it'd be great if the test suite could be migrated from Nose to pytest.Sadly, Nose is officially dead:
But you're in luck! Pytest is a well-maintained drop-in replacement for Nose. Having just packaged
sparse_dot_mkl
for Gentoo Linux, I can confirm that all tests pass without modification under pytest. This means that migrating from Nose to pytest is as trivial as replacingnose
withpytest
in bothsetup.py
and.travis.yml
.Thanks again for the fantastic binding, @asistradition. It can't be overstated how much of an improvement this is over the default SciPy implementation. 😮
The text was updated successfully, but these errors were encountered: