Pyrefly Now Type Checks PyTorch
PyTorch just made a massive 10x speed upgrade to its core development workflow.
PyTorch has officially switched its core type checking from MyPy to Pyrefly, resulting in a dramatic performance leap. Type checking the entire PyTorch repository now takes just 5.5 seconds with Pyrefly, compared to 50.6 seconds with the previous tool. This 10x speedup provides faster feedback for developers while maintaining robust type safety. The move also simplifies configuration and ensures consistency across local development, IDEs, and CI environments.
Why It Matters
This 10x speed boost will accelerate development for one of the world's most critical AI frameworks, allowing contributors to ship code faster with fewer bugs.