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

Is distributed computing available on this package? #263

Closed
WuSiren opened this issue May 27, 2024 · 2 comments
Closed

Is distributed computing available on this package? #263

WuSiren opened this issue May 27, 2024 · 2 comments

Comments

@WuSiren
Copy link

WuSiren commented May 27, 2024

If there are multiple worker processes, will this package take advantage of distributed computing automatically? For example,

using Dsitributed
@everywhere using Distances
X = rand(3,10)
Y = rand(3, 20)
pairwise(Euclidean(), X, Y, dims=2)
@dkarrasch
Copy link
Member

No, it isn't. pairwise(Euclidean(), ...) uses matrix multiplication though, so potentially multithreading via BLAS.

@WuSiren
Copy link
Author

WuSiren commented Jun 12, 2024

I see. Thanks a lot!

@WuSiren WuSiren closed this as completed Jun 12, 2024
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