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

torch.distributed kmeans #3876

Closed
wants to merge 3 commits into from
Closed

Conversation

mdouze
Copy link
Contributor

@mdouze mdouze commented Sep 20, 2024

Summary: Demo script for distributed kmeans. It provides a DatasetAssign object and shows how to run it with torch.distributed.

Reviewed By: asadoughi, pankajsingh88

Differential Revision: D63013820

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D63013820

Summary:
The previous version required scipy to do the accumulation, which is replaced here with a nifty piece of numpy accumulation.
This removes the need for scipy for non-sparse data.

Differential Revision: D62884307
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D63013820

mdouze added a commit to mdouze/faiss that referenced this pull request Sep 20, 2024
Summary:
Pull Request resolved: facebookresearch#3876

Demo script for distributed kmeans. It provides a `DatasetAssign` object and shows how to run it with torch.distributed.

Reviewed By: asadoughi, pankajsingh88

Differential Revision: D63013820
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D63013820

mdouze added a commit to mdouze/faiss that referenced this pull request Sep 20, 2024
Summary:
Pull Request resolved: facebookresearch#3876

Demo script for distributed kmeans. It provides a `DatasetAssign` object and shows how to run it with torch.distributed.

Reviewed By: asadoughi, pankajsingh88

Differential Revision: D63013820
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D63013820

mdouze added a commit to mdouze/faiss that referenced this pull request Sep 20, 2024
Summary:
Pull Request resolved: facebookresearch#3876

Demo script for distributed kmeans. It provides a `DatasetAssign` object and shows how to run it with torch.distributed.

Reviewed By: asadoughi, pankajsingh88

Differential Revision: D63013820
Summary:
The contrib.torch subdirectory is intended to receive modules in python that are useful for similarity search and that apply to CPU or GPU pytorch tensors.

The current version includes CPU clustering on torch tensors. To be added:
* implementation of PQ

Differential Revision: D62759207
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D63013820

mdouze added a commit to mdouze/faiss that referenced this pull request Sep 20, 2024
Summary:
Pull Request resolved: facebookresearch#3876

Demo script for distributed kmeans. It provides a `DatasetAssign` object and shows how to run it with torch.distributed.

Reviewed By: asadoughi, pankajsingh88

Differential Revision: D63013820
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D63013820

mdouze added a commit to mdouze/faiss that referenced this pull request Sep 20, 2024
Summary:
Pull Request resolved: facebookresearch#3876

Demo script for distributed kmeans. It provides a `DatasetAssign` object and shows how to run it with torch.distributed.

Reviewed By: asadoughi, pankajsingh88

Differential Revision: D63013820
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D63013820

mdouze added a commit to mdouze/faiss that referenced this pull request Sep 20, 2024
Summary:
Pull Request resolved: facebookresearch#3876

Demo script for distributed kmeans. It provides a `DatasetAssign` object and shows how to run it with torch.distributed.

Reviewed By: asadoughi, pankajsingh88

Differential Revision: D63013820
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D63013820

mdouze added a commit to mdouze/faiss that referenced this pull request Sep 20, 2024
Summary:
Pull Request resolved: facebookresearch#3876

Demo script for distributed kmeans. It provides a `DatasetAssign` object and shows how to run it with torch.distributed.

Reviewed By: asadoughi, pankajsingh88

Differential Revision: D63013820
Summary:
Pull Request resolved: facebookresearch#3876

Demo script for distributed kmeans. It provides a `DatasetAssign` object and shows how to run it with torch.distributed.

Reviewed By: asadoughi, pankajsingh88

Differential Revision: D63013820
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D63013820

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 838612c.

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

Successfully merging this pull request may close these issues.

3 participants