Skip to content
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

#13656: Deprecate support for mutating program after initial compilation on any device #13684

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

tt-aho
Copy link
Contributor

@tt-aho tt-aho commented Oct 10, 2024

Ticket

#13656

Problem description

We used to support mutating programs after initial compilation (adding kernels, cbs, sems) and would trigger a recompile if this was done. FD changes related to generating needed state/caching data is not regenerated in this case and would be stale, so support for this was now bugged. There doesn't seem to be any use cases for this so we decided to deprecate support for this instead of tracking a dirty flag to regenerate FD state.

What's changed

Deprecate support for mutating programs after initial compilation. Assert out if user attempts to do so.

Checklist

  • Post commit CI passes
  • Blackhole Post commit (if applicable)
  • Model regression CI testing passes (if applicable)
  • Device performance regression CI testing passes (if applicable)
  • New/Existing tests provide coverage for changes

@tt-aho tt-aho force-pushed the aho/mutable-program branch from e3b4cbc to 6eef86b Compare October 10, 2024 18:04
@tt-aho tt-aho merged commit ab62c47 into main Oct 10, 2024
6 checks passed
@tt-aho tt-aho deleted the aho/mutable-program branch October 10, 2024 18:08
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