-
Notifications
You must be signed in to change notification settings - Fork 75
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
#12323: delete ctor of AllGatherFusedOpSignaler #12324
Conversation
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.
Or this constructor has to be removed
MatmulFusedOpSignaler() {}
2498121
to
4aaca80
Compare
Oops.. forced pushed the wrong commit and GH auto closed the PR. Fixed now. @ayerofieiev-tt Still compiling on my machine but I think your solution is better. |
@ayerofieiev-tt This patch works well on my side. Can you help merge it into main? |
@TT-billteng @ttmchiou Looks like gcc 14 was released literally this year. We're still quite limited on runners. Should we keep it to gcc-12 that's tested on CI? Nightlies etc? |
@tt-rkim I understand TT's difficulties keeping up with new compilers. I also have no problem keep upstreaming these patches when breaks do happen. The last thing I want is maintaining a branch with piles of patches just so I can get tt-metal working on my machine but TT still gotta reinvent the wheel when the next version of Ubuntu released. It also complicates the process of me upstreaming bug fixes as things have to be backported instead of a clean branch. Can TT accept these patches as-is and we keep an eye on gcc-12 compatibility? |
Just running this to be sure: https://github.com/tenstorrent/tt-metal/actions/runs/10775571014 |
And we are okay with that workflow, if you are okay with it |
I would prefer if TT can have newer GCC in CI. But open source is where downstream developers will do anything and everything to get their code working. And expect upstream to accept the patches unless there's a good reason not to. Mutual help. So yes, I'm happy keep upstreaming these fixes if TT doesn't have the resource. |
79a41d7
to
ee271f2
Compare
Once we get more compute resources, we should be able to support more GCC releases. I'm wondering given the stage we are currently in, if it's worth just upgrading our gcc across the board and requiring 14 or higher. |
which OS natively supports GCC 14 currently? |
Ubuntu 24.04 (package: gcc-14), Fedora 40, Arch Linux |
Ticket
Link to Github Issue
Problem description
Due to the ctor of
AllGatherFusedOpSignaler
is essentially the default constructor. The expressionstd::optional<AllGatherFusedOpSignaler> all_gather_fused_op_signaler = AllGatherFusedOpSignaler();
triggers GCC14's uninitialized variable detection.What's changed
Delete the default constructor.
Checklist