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

Performance bug when creating SparseMatrixCSC #34479

Closed
TomDeWeer opened this issue Jan 22, 2020 · 2 comments
Closed

Performance bug when creating SparseMatrixCSC #34479

TomDeWeer opened this issue Jan 22, 2020 · 2 comments

Comments

@TomDeWeer
Copy link

Hi all,

I am trying to solve Ax=B for a sparse A in Julia. I create the A and B matrix in Python and import it into Julia via the PyCall package. I believe the issue lies mostly with PyCall so I have created the following issue there:

JuliaPy/PyCall.jl#735

However, since I'm not getting any answers from PyCall I'm turning to Julia itself. I hope this is no problem.

Basically, converting a Python csc_matrix object to a Julia SparseMatrixCSC object takes ages and uses a lot of RAM. I assume data gets copied, but I have no acces to the source code so I can't confirm.

For more information, you can look at the link above. Any help would be greatly appreciated!

Kind regards,
Tom

@fredrikekre
Copy link
Member

These type of questions is better to post on the forum: https://discourse.julialang.org/.

@TomDeWeer
Copy link
Author

Thanks for the fast answer!

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

No branches or pull requests

2 participants