Skip to content

update Enzyme submodule - #165789

Merged
rust-bors[bot] merged 2 commits into
rust-lang:mainfrom
ZuseZ4:update-nov-10
Nov 26, 2026
Merged

rust-bors[bot] merged 2 commits into
rust-lang:mainfrom
ZuseZ4:update-nov-10

Conversation

@ZuseZ4

@ZuseZ4 ZuseZ4 commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

View all comments

r? ZuseZ4

@bors try jobs=dist-x86_64-linux,optional-test-x86_64-gnu-autodiff

@bors r+ rollup

@rustbot rustbot added F-autodiff `#![feature(autodiff)]` S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 11, 2026
@rustbot

rustbot commented Nov 11, 2026

Copy link
Copy Markdown
Collaborator

⚠️ Warning ⚠️

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Nov 11, 2026
update Enzyme submodule


try-job: dist-x86_64-linux
try-job: optional-test-x86_64-gnu-autodiff
@rust-bors

rust-bors Bot commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 4ef6d7e has been tentatively approved by ZuseZ4

It will be put into the queue for this repository once PR CI succeeds.

@rust-bors rust-bors Bot added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Nov 11, 2026
@rust-log-analyzer

This comment has been minimized.

@ZuseZ4

ZuseZ4 commented Nov 11, 2026

Copy link
Copy Markdown
Member Author

@bors r-

cc @wsmoses Is that unintended, or did TA just become more conservative as part of the bugfixes?

@rust-bors rust-bors Bot added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Nov 11, 2026
@rust-bors

rust-bors Bot commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

This pull request was unapproved.

View changes since this unapproval

@rust-bors rust-bors Bot removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 11, 2026
@rust-bors

rust-bors Bot commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

☀️ Try build successful (CI)
Build commit: 31b44a3 (31b44a35a57a2f3225b326aa493f5e12c518b633)
Base parent: 9c56488 (9c5648833e5ceb667a708d53c00b83ecc9e610d5)

@wsmoses

wsmoses commented Nov 11, 2026

Copy link
Copy Markdown

@bors r-

cc @wsmoses Is that unintended, or did TA just become more conservative as part of the bugfixes?

I don't think it should have, what's happening?

@wsmoses

wsmoses commented Nov 11, 2026

Copy link
Copy Markdown

however, per request, type warnings are always explicitly printed

@ZuseZ4

ZuseZ4 commented Nov 11, 2026 •

Copy link
Copy Markdown
Member Author

Yes, if Enzyme is just making an educated guess about the gradient it should at the very least warn users, and long-term prohibit guessing. I'll update the test.

@rustbot

rustbot commented Nov 25, 2026

Copy link
Copy Markdown
Collaborator

This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

@rustbot rustbot added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Nov 26, 2026
@ZuseZ4

ZuseZ4 commented Nov 26, 2026

Copy link
Copy Markdown
Member Author

@bors try jobs=dist-x86_64-linux,optional-test-x86_64-gnu-autodiff

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Nov 26, 2026
update Enzyme submodule


try-job: dist-x86_64-linux
try-job: optional-test-x86_64-gnu-autodiff
@ZuseZ4

ZuseZ4 commented Nov 26, 2026

Copy link
Copy Markdown
Member Author

Just to double-check. But the test passed locally, so probably safe to rollup
@bors r+

@rust-bors

rust-bors Bot commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

📌 Commit e83a0fe has been tentatively approved by ZuseZ4

It will be put into the queue for this repository once PR CI succeeds.

@rust-bors rust-bors Bot added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Nov 26, 2026
@rust-bors rust-bors Bot removed the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Nov 26, 2026
@rust-bors

rust-bors Bot commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

☀️ Try build successful (CI)
Build commit: 2ec2cab (2ec2cab9e772f4e8dfd4bb8bd83866e89cd7b314)
Base parent: 6c709eb (6c709eb428d472a3c3d93681c1ba37d44a1c27cf)

@JonathanBrouwer

Copy link
Copy Markdown
Member

@bors p=10 rollup=never
Using this as a sacrificial PR for rust-lang/rustc-perf#2650
That is, the performance results are going to show a huge regression, which will be caused by changes in rust-timer rather than this PR

@rust-bors

This comment has been minimized.

@rust-bors rust-bors Bot added merged-by-bors This PR was explicitly merged by bors. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Nov 26, 2026
@rust-bors

rust-bors Bot commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

☀️ Test successful - CI
Approved by: ZuseZ4
Duration: 3h 8m 5s
Pushing e068f42 to main...

@rust-bors
rust-bors Bot merged commit e068f42 into rust-lang:main Nov 26, 2026
16 checks passed
@rustbot rustbot added this to the 1.102.0 milestone Nov 26, 2026
@github-actions

Copy link
Copy Markdown
Contributor
What is this? This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.

Comparing 86e8c94 (parent) -> e068f42 (this PR)

Test differences

Show 4 test diffs

4 doctest diffs were found. These are ignored, as they are noisy.

Test dashboard

Run

cargo run --manifest-path src/ci/citool/Cargo.toml -- \
    test-dashboard e068f42013e833ad8c4da25776b7fba798c2ea2d --output-dir test-dashboard

And then open test-dashboard/index.html in your browser to see an overview of all executed tests.

Job duration changes

  1. test-various: 1h 36m -> 2h 19m (+44.9%)
  2. dist-x86_64-mingw: 2h 42m -> 1h 37m (-40.1%)
  3. test-i686-gnu-nopt-1: 2h 8m -> 1h 17m (-39.9%)
  4. test-x86_64-gnu-gcc-core-tests: 17m 15s -> 10m 44s (-37.8%)
  5. dist-x86_64-illumos: 1h 30m -> 2h 2m (+35.3%)
  6. test-x86_64-gnu-llvm-22: 58m 46s -> 38m 33s (-34.4%)
  7. test-x86_64-gnu-debug: 2h 13m -> 1h 27m (-34.4%)
  8. test-x86_64-msvc-1: 2h 7m -> 2h 50m (+33.7%)
  9. dist-ohos-aarch64: 1h 23m -> 55m 28s (-33.3%)
  10. dist-sparcv9-solaris: 1h 43m -> 1h 9m (-32.6%)
How to interpret the job duration changes?

Job durations can vary a lot, based on the actual runner instance
that executed the job, system noise, invalidated caches, etc. The table above is provided
mostly for t-infra members, for simpler debugging of potential CI slow-downs.

@rust-timer

Copy link
Copy Markdown

Finished benchmarking commit (e068f42): comparison URL.

Overall result: ❌ regressions - please read:

Our benchmarks found a performance regression caused by this PR.
This might be an actual regression, but it can also be just noise.

Next Steps:

  • If the regression was expected or you think it can be justified,
    please write a comment with sufficient written justification, and add
    @rustbot label: +perf-regression-triaged to it, to mark the regression as triaged.
  • If you think that you know of a way to resolve the regression, try to create
    a new PR with a fix for the regression.
  • If you do not understand the regression or you think that it is just noise,
    you can ask the @rust-lang/wg-compiler-performance working group for help (members of this group
    were already notified of this PR).

@rustbot label: +perf-regression
cc @rust-lang/wg-compiler-performance

Instruction count

Our most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.

mean range count
Regressions ❌
(primary)
12.7% [0.2%, 65.1%] 65
Regressions ❌
(secondary)
10.9% [0.2%, 38.1%] 53
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 12.7% [0.2%, 65.1%] 65

Max RSS (memory usage)

Results (primary 7.4%, secondary 5.8%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
7.6% [0.8%, 38.8%] 60
Regressions ❌
(secondary)
6.0% [0.6%, 38.8%] 65
Improvements ✅
(primary)
-2.2% [-2.2%, -2.2%] 1
Improvements ✅
(secondary)
-2.0% [-2.7%, -1.2%] 2
All ❌✅ (primary) 7.4% [-2.2%, 38.8%] 61

Cycles

Results (primary 20.3%, secondary 14.6%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
20.8% [2.3%, 68.9%] 44
Regressions ❌
(secondary)
17.4% [0.5%, 40.6%] 33
Improvements ✅
(primary)
-2.3% [-2.3%, -2.3%] 1
Improvements ✅
(secondary)
-0.9% [-2.1%, -0.5%] 6
All ❌✅ (primary) 20.3% [-2.3%, 68.9%] 45

Binary size

Results (primary 95.0%, secondary 50.6%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
96.1% [0.1%, 202.6%] 87
Regressions ❌
(secondary)
51.1% [0.0%, 232.5%] 96
Improvements ✅
(primary)
-0.3% [-0.3%, -0.3%] 1
Improvements ✅
(secondary)
-0.3% [-0.3%, -0.3%] 1
All ❌✅ (primary) 95.0% [-0.3%, 202.6%] 88

Bootstrap: 461.669s -> 461.814s (0.03%)
Artifact size: 405.59 MiB -> 405.58 MiB (-0.00%)

@rustbot rustbot added the perf-regression Performance regression. label Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

F-autodiff `#![feature(autodiff)]` merged-by-bors This PR was explicitly merged by bors. perf-regression Performance regression. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants