-
Notifications
You must be signed in to change notification settings - Fork 14
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
fix(deps): Copy KHD imports into scattermoe_utils
#127
fix(deps): Copy KHD imports into scattermoe_utils
#127
Conversation
Signed-off-by: Will Johnson <mwjohnson728@gmail.com>
Signed-off-by: Will Johnson <mwjohnson728@gmail.com>
Signed-off-by: Will Johnson <mwjohnson728@gmail.com>
Signed-off-by: Will Johnson <mwjohnson728@gmail.com>
@@ -0,0 +1,349 @@ | |||
# Third Party |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
haev a line here that references cute kernels would be good.
@@ -0,0 +1,310 @@ | |||
# Copyright The FMS HF Tuning Authors | |||
# Copyright 2024 Databricks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this file is not from databricks, it is from cute kernels
import triton.language as tl | ||
|
||
BLOCK_M = 128 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here this is from cute kernels
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM just some minor changes
Signed-off-by: Will Johnson <mwjohnson728@gmail.com>
Signed-off-by: Will Johnson <mwjohnson728@gmail.com>
Signed-off-by: Will Johnson <mwjohnson728@gmail.com>
Scatter MoE has been using kernel hyperdrive as an external dependency since it's not a pypi library, which makes installation more difficult. Therefore we copy the functions we depend on into
scattermoe_utils.khd
to remove this dependency.