Skip to content

fused moe fix #4534

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

xw285cornell
Copy link
Contributor

Summary:
A number of changes on CK header that we need downstream fixes:

In file included from buck-out/v2/gen/fbcode/de5ab6968d300cd2/deeplearning/fbgemm/fbgemm_gpu/experimental/gen_ai/src/quantize/ck_extensions/__ck_fused_moe_hipify_gen__/out/fused_moe/instances/fused_moesorting_api.hip:4:
In file included from fbcode/deeplearning/fbgemm/fbgemm_gpu/experimental/gen_ai/src/quantize/ck_extensions/fused_moe/fused_moesorting.hpp:8:
In file included from third-party/rocm_composable_kernel/include/ck_tile/ops/fused_moe.hpp:9:
third-party/rocm_composable_kernel/include/ck_tile/ops/fused_moe/kernel/moe_sorting_kernel.hpp:2100:11: error: no member named 'moe_buf_elem_bytes' in 'ck_tile::MoeSortingMultiPhaseKernel_P2<ck_tile::MoeSortingProblemMp<int, float, int, 1, false, false>>::Kargs'
 2100 |         k.moe_buf_elem_bytes = h.moe_buf_elem_bytes;
      |         ~ ^

Differential Revision: D78679653

Copy link

netlify bot commented Jul 21, 2025

Deploy Preview for pytorch-fbgemm-docs ready!

Name Link
🔨 Latest commit 39868ba
🔍 Latest deploy log https://app.netlify.com/projects/pytorch-fbgemm-docs/deploys/687f3ec0c6217200084cf34b
😎 Deploy Preview https://deploy-preview-4534--pytorch-fbgemm-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@meta-cla meta-cla bot added the cla signed label Jul 21, 2025
@facebook-github-bot
Copy link
Contributor

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

xw285cornell added a commit to xw285cornell/FBGEMM that referenced this pull request Jul 22, 2025
Summary:

X-link: facebookresearch/FBGEMM#1579

A number of changes on CK header that we need downstream fixes: 
* local token was added to MoeSortingProblemEx: https://github.com/ROCm/composable_kernel/blob/develop/include/ck_tile/ops/fused_moe/kernel/moe_sorting_problem.hpp#L48
* MeshType_ was added to MoeSortingProblemMp: https://github.com/ROCm/composable_kernel/blob/develop/include/ck_tile/ops/fused_moe/kernel/moe_sorting_problem.hpp#L56
* MOE_SORTING_FMOE_2D_BUF was added which I just turn off for now 
```
In file included from buck-out/v2/gen/fbcode/de5ab6968d300cd2/deeplearning/fbgemm/fbgemm_gpu/experimental/gen_ai/src/quantize/ck_extensions/__ck_fused_moe_hipify_gen__/out/fused_moe/instances/fused_moesorting_api.hip:4:
In file included from fbcode/deeplearning/fbgemm/fbgemm_gpu/experimental/gen_ai/src/quantize/ck_extensions/fused_moe/fused_moesorting.hpp:8:
In file included from third-party/rocm_composable_kernel/include/ck_tile/ops/fused_moe.hpp:9:
third-party/rocm_composable_kernel/include/ck_tile/ops/fused_moe/kernel/moe_sorting_kernel.hpp:2100:11: error: no member named 'moe_buf_elem_bytes' in 'ck_tile::MoeSortingMultiPhaseKernel_P2<ck_tile::MoeSortingProblemMp<int, float, int, 1, false, false>>::Kargs'
 2100 |         k.moe_buf_elem_bytes = h.moe_buf_elem_bytes;
      |         ~ ^
```

Reviewed By: zjing14

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

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

xw285cornell added a commit to xw285cornell/FBGEMM that referenced this pull request Jul 22, 2025
Summary:
Pull Request resolved: pytorch#4534

X-link: facebookresearch/FBGEMM#1579

A number of changes on CK header that we need downstream fixes:
* local token was added to MoeSortingProblemEx: https://github.com/ROCm/composable_kernel/blob/develop/include/ck_tile/ops/fused_moe/kernel/moe_sorting_problem.hpp#L48
* MeshType_ was added to MoeSortingProblemMp: https://github.com/ROCm/composable_kernel/blob/develop/include/ck_tile/ops/fused_moe/kernel/moe_sorting_problem.hpp#L56
* MOE_SORTING_FMOE_2D_BUF was added which I just turn off for now
```
In file included from buck-out/v2/gen/fbcode/de5ab6968d300cd2/deeplearning/fbgemm/fbgemm_gpu/experimental/gen_ai/src/quantize/ck_extensions/__ck_fused_moe_hipify_gen__/out/fused_moe/instances/fused_moesorting_api.hip:4:
In file included from fbcode/deeplearning/fbgemm/fbgemm_gpu/experimental/gen_ai/src/quantize/ck_extensions/fused_moe/fused_moesorting.hpp:8:
In file included from third-party/rocm_composable_kernel/include/ck_tile/ops/fused_moe.hpp:9:
third-party/rocm_composable_kernel/include/ck_tile/ops/fused_moe/kernel/moe_sorting_kernel.hpp:2100:11: error: no member named 'moe_buf_elem_bytes' in 'ck_tile::MoeSortingMultiPhaseKernel_P2<ck_tile::MoeSortingProblemMp<int, float, int, 1, false, false>>::Kargs'
 2100 |         k.moe_buf_elem_bytes = h.moe_buf_elem_bytes;
      |         ~ ^
```

Reviewed By: zjing14

Differential Revision: D78679653
Summary:
Pull Request resolved: pytorch#4534

X-link: facebookresearch/FBGEMM#1579

A number of changes on CK header that we need downstream fixes:
* local token was added to MoeSortingProblemEx: https://github.com/ROCm/composable_kernel/blob/develop/include/ck_tile/ops/fused_moe/kernel/moe_sorting_problem.hpp#L48
* MeshType_ was added to MoeSortingProblemMp: https://github.com/ROCm/composable_kernel/blob/develop/include/ck_tile/ops/fused_moe/kernel/moe_sorting_problem.hpp#L56
* MOE_SORTING_FMOE_2D_BUF was added which I just turn off for now
```
In file included from buck-out/v2/gen/fbcode/de5ab6968d300cd2/deeplearning/fbgemm/fbgemm_gpu/experimental/gen_ai/src/quantize/ck_extensions/__ck_fused_moe_hipify_gen__/out/fused_moe/instances/fused_moesorting_api.hip:4:
In file included from fbcode/deeplearning/fbgemm/fbgemm_gpu/experimental/gen_ai/src/quantize/ck_extensions/fused_moe/fused_moesorting.hpp:8:
In file included from third-party/rocm_composable_kernel/include/ck_tile/ops/fused_moe.hpp:9:
third-party/rocm_composable_kernel/include/ck_tile/ops/fused_moe/kernel/moe_sorting_kernel.hpp:2100:11: error: no member named 'moe_buf_elem_bytes' in 'ck_tile::MoeSortingMultiPhaseKernel_P2<ck_tile::MoeSortingProblemMp<int, float, int, 1, false, false>>::Kargs'
 2100 |         k.moe_buf_elem_bytes = h.moe_buf_elem_bytes;
      |         ~ ^
```

Reviewed By: zjing14

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

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

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.

2 participants