-
Notifications
You must be signed in to change notification settings - Fork 21.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Traceable wrapper subclass support for deferred runtime asserts #126198
Commits on May 14, 2024
-
Traceable wrapper subclass support for deferred runtime asserts
[ghstack-poisoned]
Configuration menu - View commit details
-
Copy full SHA for 3107d9d - Browse repository at this point
Copy the full SHA 3107d9dView commit details
Commits on May 15, 2024
-
Update on "Traceable wrapper subclass support for deferred runtime as…
…serts" The padded dense -> jagged conversion op has the signature: ``` _fbgemm_dense_to_jagged_forward(Tensor dense, Tensor[] offsets, SymInt? total_L=None) -> Tensor ``` when `total_L` is not specified, the meta registration has a data-dependent output shape (based on `offsets[0][-1]`). Returning an unbacked SymInt here should work in theory, but traceable wrapper subclass support is missing in later code to handle deferred runtime asserts. This PR fixes this. [ghstack-poisoned]
Configuration menu - View commit details
-
Copy full SHA for 766de04 - Browse repository at this point
Copy the full SHA 766de04View commit details
Commits on May 17, 2024
-
Update on "Traceable wrapper subclass support for deferred runtime as…
…serts" The padded dense -> jagged conversion op has the signature: ``` _fbgemm_dense_to_jagged_forward(Tensor dense, Tensor[] offsets, SymInt? total_L=None) -> Tensor ``` when `total_L` is not specified, the meta registration has a data-dependent output shape (based on `offsets[0][-1]`). Returning an unbacked SymInt here should work in theory, but traceable wrapper subclass support is missing in later code to handle deferred runtime asserts. This PR fixes this. [ghstack-poisoned]
Configuration menu - View commit details
-
Copy full SHA for 7318b70 - Browse repository at this point
Copy the full SHA 7318b70View commit details -
Update on "Traceable wrapper subclass support for deferred runtime as…
…serts" The padded dense -> jagged conversion op has the signature: ``` _fbgemm_dense_to_jagged_forward(Tensor dense, Tensor[] offsets, SymInt? total_L=None) -> Tensor ``` when `total_L` is not specified, the meta registration has a data-dependent output shape (based on `offsets[0][-1]`). Returning an unbacked SymInt here should work in theory, but traceable wrapper subclass support is missing in later code to handle deferred runtime asserts. This PR fixes this. [ghstack-poisoned]
Configuration menu - View commit details
-
Copy full SHA for 07386b6 - Browse repository at this point
Copy the full SHA 07386b6View commit details
Commits on May 20, 2024
-
Update on "Traceable wrapper subclass support for deferred runtime as…
…serts" The padded dense -> jagged conversion op has the signature: ``` _fbgemm_dense_to_jagged_forward(Tensor dense, Tensor[] offsets, SymInt? total_L=None) -> Tensor ``` when `total_L` is not specified, the meta registration has a data-dependent output shape (based on `offsets[0][-1]`). Returning an unbacked SymInt here should work in theory, but traceable wrapper subclass support is missing in later code to handle deferred runtime asserts. This PR fixes this. [ghstack-poisoned]
Configuration menu - View commit details
-
Copy full SHA for 0e11f1e - Browse repository at this point
Copy the full SHA 0e11f1eView commit details -
Update on "Traceable wrapper subclass support for deferred runtime as…
…serts" The padded dense -> jagged conversion op has the signature: ``` _fbgemm_dense_to_jagged_forward(Tensor dense, Tensor[] offsets, SymInt? total_L=None) -> Tensor ``` when `total_L` is not specified, the meta registration has a data-dependent output shape (based on `offsets[0][-1]`). Returning an unbacked SymInt here should work in theory, but traceable wrapper subclass support is missing in later code to handle deferred runtime asserts. This PR fixes this. [ghstack-poisoned]
Configuration menu - View commit details
-
Copy full SHA for 471a2bc - Browse repository at this point
Copy the full SHA 471a2bcView commit details