Skip to content

Grouped convolution forward with clamp #2334

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

Merged
merged 9 commits into from
Jun 16, 2025
Merged

Conversation

bartekxk
Copy link
Contributor

Proposed changes

Grouped convolution forward with clamp.

Checklist

Please put an x into the boxes that apply. You can also fill these out after creating the PR. If you're not sure, please don't hesitate to ask.

  • I have added tests relevant to the introduced functionality, and the unit tests are passing locally
  • I have added the test to REGRESSION_TESTS list defined at the top of CMakeLists.txt in tests/CMakeLists.txt, IF the test takes more than 30 seconds to run.
  • I have added inline documentation which enables the maintainers with understanding the motivation
  • I have removed the stale documentation which is no longer relevant after this pull request
  • (If this change is user-facing) I have added release notes which provide the end users with a brief summary of the improvement from this pull request
  • I have run clang-format on all changed files
  • Any dependent changes have been merged

Discussion

If this is a relatively large or complex change, feel free to start a discussion by explaining why you chose the solution you did and what alternatives you considered

Copy link
Contributor

@spolifroni-amd spolifroni-amd left a comment

Choose a reason for hiding this comment

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

doesn't look like there's anything for docs to review

@bartekxk bartekxk force-pushed the barkocot/lwpck-3306 branch from 3bcc59c to 2d4c512 Compare June 13, 2025 09:56
@bartekxk bartekxk force-pushed the barkocot/lwpck-3306 branch from 2913cac to aeb0cb2 Compare June 13, 2025 13:01
geyyer
geyyer previously approved these changes Jun 13, 2025
Copy link
Contributor

@geyyer geyyer left a comment

Choose a reason for hiding this comment

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

LGTM! Just one minor comment.

@@ -255,7 +293,7 @@ bool profile_grouped_conv_fwd_bias_clamp_impl(int do_verification,
b_g_k_c_xs_lengths,
b_g_k_c_xs_strides,
{e_g_n_k_wos_lengths},
Copy link
Contributor

@geyyer geyyer Jun 13, 2025

Choose a reason for hiding this comment

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

Should we update lengths e_g_n_k_wos_lengths->d_g_n_k_wos_lengths as well?

Copy link
Contributor Author

@bartekxk bartekxk Jun 16, 2025

Choose a reason for hiding this comment

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

I added an information that GK implementation is just workaround and it should be refactored in the future.

This reverts commit 8e42e29.
@bartekxk
Copy link
Contributor Author

After previous CI passed I only added the comment. Failed tests are unrelated to this change

@bartekxk bartekxk merged commit f6c2ff9 into develop Jun 16, 2025
32 of 42 checks passed
@bartekxk bartekxk deleted the barkocot/lwpck-3306 branch June 16, 2025 13:36
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

Successfully merging this pull request may close these issues.

3 participants