Lightning-AI / Lightning-AI/lightning-thunder
Improve tracking of what needs the backwards in transform autodiff
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.5k
- Forks
- 121
- PR merge metrics
- No merged PRs in 30d
Description
The new autodiff transform from #1956 seems a bit too happy to compute gradients.
#2110 happened because we compute backward for an integer input, apparently.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the autodiff transform introduced in #1956 and the integer-input regression described in #2110. Determine how backward requirements are tracked; done when integer inputs no longer receive gradients and the related regression is covered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- compilers, machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100