Lightning-AI / Lightning-AI/lightning-thunder

register an error message to show to the user when an executor is not instantiated

Open
#2,150 0 comments 0 reactions 1 assignee View on GitHub

@k223kim is already working on this.

Since Jul 22, 2025.

enhancement lightning-l1
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

  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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.