Skip to content

Add pyre-strict to mslk/mslk/conv/_meta.py#346

Open
jwfromm wants to merge 1 commit into
meta-pytorch:mainfrom
jwfromm:export-D105271984
Open

Add pyre-strict to mslk/mslk/conv/_meta.py#346
jwfromm wants to merge 1 commit into
meta-pytorch:mainfrom
jwfromm:export-D105271984

Conversation

@jwfromm
Copy link
Copy Markdown
Contributor

@jwfromm jwfromm commented May 18, 2026

Summary: Enables strict Pyre type checking for fbcode/mslk/mslk/conv/_meta.py by adding the # pyre-strict directive. The file contains Meta (shape inference) implementations for Conv ops that were previously registered in C++. The code already fully satisfies strict mode requirements with no type errors, so only the directive annotation was needed. This improves code quality by opting the module into stricter type safety guarantees going forward.

Differential Revision: D105271984

Summary: Enables strict Pyre type checking for `fbcode/mslk/mslk/conv/_meta.py` by adding the `# pyre-strict` directive. The file contains Meta (shape inference) implementations for Conv ops that were previously registered in C++. The code already fully satisfies strict mode requirements with no type errors, so only the directive annotation was needed. This improves code quality by opting the module into stricter type safety guarantees going forward.

Differential Revision: D105271984
@meta-cla meta-cla Bot added the cla signed label May 18, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented May 18, 2026

@jwfromm has exported this pull request. If you are a Meta employee, you can view the originating Diff in D105271984.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant