patrick-kidger / patrick-kidger/jaxtyping
wrapped_fn recompiles and hits torch._dynamo config.recompile_limit
Open
Nobody has claimed this yet.
question
- Dominant language
- Python
- Stars
- 1.9k
- Forks
- 96
- PR merge metrics
- No merged PRs in 30d
Description
Even with
"JAXTYPING_DISABLE": "1",
"BEARTYPE_DISABLE": "1",
"TYPEGUARD_DISABLE": "1"
jaxtype causes recompilation
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 reproducing the wrapped_fn behavior with JAXTYPING_DISABLE, BEARTYPE_DISABLE, and TYPEGUARD_DISABLE set to 1. Inspect how wrapped_fn interacts with torch._dynamo and its config.recompile_limit; done means the disabled configuration no longer causes unwanted recompilation. No source file or test is identified in the issue, so locating the relevant entry point will require repository exploration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- machine-learning, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100