Lightning-AI / Lightning-AI/lightning-thunder
Thunder's NumPy language is broken
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.5k
- Forks
- 121
- PR merge metrics
- No merged PRs in 30d
Description
## 🐛 Bug
```py
In [1]: import thunder.numpy
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
Cell In[1], line 1
----> 1 import thunder.numpy
File ~/dev/lightning-thunder/thunder/numpy/__init__.py:7
3 from collections.abc import Callable
5 import numpy as np
----> 7 from thunder.core.langctx import langctx, Languages
8 from thunder.numpy.langctx import register_method
10 from thunder.core.proxies import TensorProxy
ModuleNotFoundError: No module named 'thunder.core.langctx'
```
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
Reproduce the import failure with `import thunder.numpy` and inspect `thunder/numpy/__init__.py`, especially its import of `thunder.core.langctx`. Check whether `thunder/core/langctx` exists and trace the related language-context files to determine the intended module path. Done means the reported import completes without `ModuleNotFoundError`.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- numpy, python
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100