Skip to content

Update SAC config to force save instead of recompute #1589

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

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

Conversation

soulitzer
Copy link
Contributor

@soulitzer soulitzer commented Aug 18, 2025

Context: #1323

With this PR is that you can save the output of the router to avoid non-determinism. This only works for mms, so you cannot directly save the result of for example a non-deterministic cuda math op. Compared to recomputing small matmuls as discussed on the original PR, the downside is you may be theoretically less pareto optimal.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Aug 18, 2025
@soulitzer soulitzer marked this pull request as draft August 18, 2025 13:54
Copy link
Contributor

@tianyu-l tianyu-l left a comment

Choose a reason for hiding this comment

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

The change itself sounds OK, although according to @sippycoder we're still not sure if this is needed or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants