Lightning-AI / Lightning-AI/lightning-thunder

Enable Thunder as a `torch.compile` backend

Open
#915 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

design enhancement
Dominant language
Python
Stars
1.5k
Forks
121
PR merge metrics
No merged PRs in 30d

Description

🚀 Feature

Let's make Thunder applicable to a broader range of PyTorch model implementations by using Thunder together with torch.compile.

The detailed proposal can be found in the following Google doc:
https://docs.google.com/document/d/1zd45hmqMG2B9w10HrN7WnZ3d-50bd1fc5fW2SG5C41E/edit?usp=sharing.

Feel free to comment inline in the Google doc or leave general comments here.

Additional context

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the detailed proposal in the linked Google document, then read Lightning-AI/lightning-thunder#539 and lit-thunder-LEGACY#1904 for prior context. Identify the integration scope and acceptance criteria there; the work is done when Thunder can be used as a torch.compile backend across the intended PyTorch model implementations.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
compilers, machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.