patrick-kidger / patrick-kidger/jaxtyping

wrapped_fn recompiles and hits torch._dynamo config.recompile_limit

Open
#384 2 comments 0 reactions 0 assignees View on GitHub

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

Image Image

Contributor guide

Open the contributing guide

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.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.