Lightning-AI / Lightning-AI/lightning-thunder
register an error message to show to the user when an executor is not instantiated
@k223kim is already working on this.
Since Jul 22, 2025.
- Dominant language
- Python
- Stars
- 1.5k
- Forks
- 121
- PR merge metrics
- No merged PRs in 30d
Description
## 🚀 Feature
register an error message to show to the user upon requesting an executor when an executor is not instantiated
### Motivation & Pitch
NVFuser and other executors currently are only registered when their dependencies are available. That is good (error message > silent bad performance).
But how to get good error messages?
We (@KaelanDt ) looked at adding installation instructions into error messages at the recipe level, but it would be more awesome if we could have this with the (failing) executor instantiation and have an get_executor optionally raise the error message .
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.
Assessment
This issue has not been assessed yet.