Skip to content

Refactor on Optimizers and Removing Proxy#29

Merged
eric-tramel merged 8 commits intomainfrom
fix/optimizers
Jan 18, 2026
Merged

Refactor on Optimizers and Removing Proxy#29
eric-tramel merged 8 commits intomainfrom
fix/optimizers

Conversation

@eric-tramel
Copy link
Owner

In this PR we're making headway on reducing some silly and unnecessary abstractions. Here, we fix some bugs in optimizers' backwards pass (💀 ), and we also do away with Proxy.

The original implementation was too brittle in that it traced out one graph using Proxy. This meant that we would have a hard time with conditionals, later, and we also have a hard time actually attributing grads in the backwards. Now we have fully per-sample graph system.

@eric-tramel eric-tramel self-assigned this Jan 18, 2026
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 32465d1c40

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@eric-tramel eric-tramel merged commit 6659f03 into main Jan 18, 2026
4 checks passed
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.

1 participant