Skip to content

Conversation

@luciang
Copy link
Contributor

@luciang luciang commented Jan 13, 2026

Summary: Add explicit void* casts to memcpy arguments to fix -Wnontrivial-memcall error when instantiating AllreduceLocal with float16 type.

Differential Revision:
D90555676

Privacy Context Container: L1196524

@meta-cla meta-cla bot added the CLA Signed label Jan 13, 2026
@meta-codesync
Copy link

meta-codesync bot commented Jan 13, 2026

@luciang has exported this pull request. If you are a Meta employee, you can view the originating Diff in D90555676.

Summary:

Add explicit void* casts to memcpy arguments to fix -Wnontrivial-memcall error when instantiating AllreduceLocal with float16 type.

Differential Revision: D90555676
Copy link

@mori360 mori360 left a comment

Choose a reason for hiding this comment

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

Thanks for the fix

@meta-codesync meta-codesync bot merged commit 980c925 into pytorch:main Jan 13, 2026
9 of 10 checks passed
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