is there any way to use jaxtyping but not other type checks?

Open
#323 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
python, pytorch
Domain
devtools

Research direction

The issue mentions jaxtyping, beartype, Python, and PyTorch but names no files or tests. Start by checking the jaxtyping documentation and beartype integration entry points to determine whether jaxtyping-only enforcement is supported; done means documenting the supported configuration or defining the requested behavior.

Written by the indexing model from the issue text.

Description

question

Hi,

I'm trying to adopt jaxtyping for my pytorch project (quite large) using beartype.
But it enforces so many other type checks and I cannot track down all the other errors caused by others as that would be too much work.
Is there any way to only enforce jaxtyping type checks?

Many thanks!

Dominant language
Python
Stars
1.9k
Forks
96
PR merge metrics
No merged PRs in 30d

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.

More from patrick-kidger/jaxtyping

All issues in patrick-kidger/jaxtyping

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.