Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

allow users to control gather/scatter sms #124

Merged
merged 7 commits into from
Feb 12, 2024

Conversation

linhu-nv
Copy link
Contributor

@linhu-nv linhu-nv commented Feb 1, 2024

Allow users to control the SMs number while gather/scatter from raw embeddings.

@chuangz0 chuangz0 added feature request New feature or request non-breaking Introduces a non-breaking change labels Feb 1, 2024
@@ -96,6 +97,7 @@ class embedding_base : public wholememory_embedding_ {
wholememory_error_code_t create_optimizer_states() noexcept;
wholememory_error_code_t destroy_optimizer_states() noexcept;

int gather_sms;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change gather_sms to gather_sms_

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed


)
cudaStream_t stream,
int gather_sms)
Copy link
Contributor

@chuangz0 chuangz0 Feb 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add line (void)gather_sms; to avoid warning about unused variables.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@raydouglass raydouglass merged commit b49be9d into rapidsai:branch-24.02 Feb 12, 2024
42 of 43 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature request New feature or request non-breaking Introduces a non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants