Repository navigation
Open
Labels
B-experimentalBlocker: In-tree experiment; RFC pending, not yet approved or unneeded (requires FCP to stabilize).Blocker: In-tree experiment; RFC pending, not yet approved or unneeded (requires FCP to stabilize).C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCF-autodiff`#![feature(autodiff)]``#![feature(autodiff)]`T-langRelevant to the language teamRelevant to the language team
Description
This is a tracking issue for the automatic differentiation experiment ("autodiff").
The feature gate for the issue will be #![feature(autodiff)].
About tracking issues
Tracking issues are used to record the overall progress of implementation. They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions. A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature. Instead, open a dedicated issue for the specific matter and add the relevant feature gate label. Discussion comments will get marked as off-topic or deleted. Repeated discussions on the tracking issue may lead to the tracking issue getting locked.
Steps
- Get compiler MCP approved.
- Get lang experiment approved.
- We approved this in the lang triage meeting on 2024-05-01.
- Land the experimental implementation in nightly.
- Combined change for reference: Autodiff Upstreaming - single commit #129175
- Autodiff Upstreaming - enzyme backend #129176
- Autodiff Upstreaming - enzyme frontend #129458
- Autodiff Upstreaming - rustc_codegen_llvm changes #130060
- add has_enzyme/needs-enzyme to the test infra #131044
- add test infra to explicitely test rustc with autodiff/enzyme disabled #131470
- Autodiff Upstreaming - rustc_codegen_ssa, rustc_middle #133429
- Separate Builder methods from tcx #135581
- fix autodiff compile time regression #136413
- adding autodiff tests #136419
- improvements towards building enzyme in CI #136428
- Autodiff batching #137880
- Accept an RFC.
- Add documentation to the dev guide.
- See the instructions.
- Add documentation to the reference.
- See the instructions.
- Add formatting for new syntax to the style guide.
- See the nightly style procedure.
Related
- Integrate Enzyme into nightly rustc compiler-team#611
- tool builds with Enzyme/autodiff fails #130637
- move enzyme flags from general cargo to rustc-specific cargo #130648
Unresolved Questions
TODO.
Reacted by anand jain, Jan Roden, Misha Antonenko, Juhan Oskar Hennoste, Vladimir Kravchenko, Yerkebulan Tulibergenov, Tim Janus, CGMossa, Kira, José Luis Cruz and 20 more
Reacted by Dmitry D. Chernov
Reacted by Juniper Tyree, Manuel Drehwald, anand jain, David Armstrong, Juhan Oskar Hennoste, Arthur Brussee, Yerkebulan Tulibergenov, Max Verevkin, CGMossa, Kira and 9 more
Reacted by Juniper Tyree, Joe McCain III, Jed Brown, Manuel Drehwald, anand jain, Amando, nielsle, Juhan Oskar Hennoste, Yerkebulan Tulibergenov, CGMossa and 30 more
Reacted by Juniper Tyree, anand jain, Juhan Oskar Hennoste, James Usevitch, Kira, Nils K, d-d, khaninger, marthadev, Elias Carvalho and 8 more
Metadata
Metadata
Assignees
Labels
B-experimentalBlocker: In-tree experiment; RFC pending, not yet approved or unneeded (requires FCP to stabilize).Blocker: In-tree experiment; RFC pending, not yet approved or unneeded (requires FCP to stabilize).C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCF-autodiff`#![feature(autodiff)]``#![feature(autodiff)]`T-langRelevant to the language teamRelevant to the language team
Type
Projects
- StatusShow more project fieldsExploration
Activity
traviscross commentedon May 1, 2024
@rustbot labels -I-lang-nominated
We discussed this on the lang triage call today and were happy to see this move forward as an experiment. I'll be continuing as the liaison for this, so please let me know whenever anything is needed to keep this moving along.
Auto merge of rust-lang#129176 - EnzymeAD:enzyme-backend, r=albertlar…
Auto merge of rust-lang#129176 - EnzymeAD:enzyme-backend, r=albertlar…
Auto merge of #129176 - EnzymeAD:enzyme-backend, r=albertlarsan68
Auto merge of rust-lang#131044 - EnzymeAD:enzyme-testinfra, r=jieyouxu
Auto merge of #131044 - EnzymeAD:enzyme-testinfra, r=jieyouxu
Rollup merge of rust-lang#131470 - EnzymeAD:enzyme-testinfra2, r=jiey…
Rollup merge of rust-lang#131470 - EnzymeAD:enzyme-testinfra2, r=jiey…
Rollup merge of rust-lang#131470 - EnzymeAD:enzyme-testinfra2, r=jiey…
89 remaining items
Auto merge of rust-lang#140064 - EnzymeAD:enable-autodiff-in-ci, r=<try>
Rollup merge of #140030 - EnzymeAD:autodiff-debug, r=jieyouxu
Auto merge of rust-lang#139700 - EnzymeAD:autodiff-flags, r=oli-obk
Rollup merge of rust-lang#139700 - EnzymeAD:autodiff-flags, r=oli-obk
Rollup merge of rust-lang#139700 - EnzymeAD:autodiff-flags, r=oli-obk
Unrolled build for rust-lang#139700
Rollup merge of #139700 - EnzymeAD:autodiff-flags, r=oli-obk
Rollup merge of #139465 - EnzymeAD:autodiff-sret, r=oli-obk
Rollup merge of #139351 - EnzymeAD:autodiff-batching2, r=oli-obk
Rollup merge of rust-lang#140049 - haenoe:fix-autodiff-generics, r=Zu…
Unrolled build for rust-lang#140049
Rollup merge of #140049 - haenoe:fix-autodiff-generics, r=ZuseZ4
jasalper commentedon May 31, 2025
sharifhsn commentedon Jun 2, 2025
ZuseZ4 commentedon Jun 2, 2025
Hi! This is a tracking issue, which isn't meant for technical discussion.
Can you two please open threads in the #wg-autodiff zulip instead? Happy to answer questions there.