Skip to content

cuDSS Python API: Solver returns INVALID_VALUE (3) and doesn't update solution #37

Answered by stiepan
aaliq01 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @aaliq01

Thank you for taking time to describe the problem you're experiencing.

I run your code and it seems to produce expected results (even without the extra REFACTORIZATION) as long as I use cudss 0.5.0. With nvidia-cudss-cu12-0.5.0.16 the results are as expected, while with nvidia-cudss-cu12-0.6.0.5 I see the behavior you are describing.

You can query the version used with

import nvmath
import nvmath.bindings.cudss as cudss
cudss.get_property(nvmath.LibraryPropertyType.MINOR_VERSION)

The Python bindings were created to support cudss 0.5.0 version. Currently, this is nvmath's strict dependency for sparse solver. With pip, the pip install nvmath-python[cu12]==0.5.0 should make sure…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by aaliq01
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants