Skip to content

Fix complex power VJP conjugation - #4778

Merged
zcbenz merged 1 commit into
ml-explore:mainfrom
devYRPauli:fix/power-vjp-conjugate
Oct 29, 2026
Merged

zcbenz merged 1 commit into
ml-explore:mainfrom
devYRPauli:fix/power-vjp-conjugate

Conversation

@devYRPauli

@devYRPauli devYRPauli commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor
  • ☑️ I understand it is strictly prohibited to use AI to write PR description

Fixes complex power gradients by conjugating the derivative in the VJP, while keeping the JVP correct. Adds a regression test for both inputs.

CPU test suite: 1,017 runs, 161 skipped. All pre-commit checks passed. Metal was not tested.

  • AI usage disclosure: I use Claude Code CLI with Opus 5.5.

@zcbenz
zcbenz force-pushed the fix/power-vjp-conjugate branch from 60a10a1 to 82e3369 Compare October 29, 2026 09:45
@zcbenz
zcbenz merged commit a21f892 into ml-explore:main Oct 29, 2026
30 checks passed
devYRPauli added a commit to devYRPauli/devYRPauli that referenced this pull request Oct 29, 2026
Merged external pull requests: 153 -> 155 across 40 -> 40 projects
(infiniflow/ragflow#21428, ml-explore/mlx#4778). Open: 54 -> 52.
Upstream issues: 22 -> 21 (mastra-ai/mastra#28500 fixed upstream).

Table rows: RAGFlow 34 -> 35, MLX 3 -> 4. The table now covers 99
merges across 15 projects, so the remainder stays 56 across 25.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

2 participants