Lightning-AI / Lightning-AI/pytorch-lightning
torch.compile support from lightning CLI
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 31.4k
- Forks
- 3.8k
- Avg merge
- 6d 7h
- Merged PRs (30d)
- 6
Description
### Description & Motivation
As discussed in https://github.com/Lightning-AI/lightning/issues/15894, it would be nice to ask the trainer to compile the `LightningModule` with a `compile=True` flag or similar.
Since that issue was closed I'm opening this to request again this feature.
### Pitch
_No response_
### Alternatives
_No response_
### Additional context
_No response_
cc @borda @carmocca @mauvilsa
Contributor guide
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 Lightning CLI and the prior discussion in issue #15894 to understand the requested Trainer configuration. Done should mean that the CLI can request compilation of the LightningModule through a clearly defined flag or equivalent option.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- cli, machine-learning
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100