Skip to content

Commit

Permalink
Revert "Add activation functions (ReLU and SiLU for now) for structur…
Browse files Browse the repository at this point in the history
…ed sparse linear operator (#101339)"

This reverts commit bfb3941.

Reverted #101339 on behalf of https://github.com/izaitsevfb due to Depends on #100881, which has to be reverted due to internal build breakage. ([comment](#101339 (comment)))
  • Loading branch information
pytorchmergebot committed May 18, 2023
1 parent 2c0d607 commit eb9ac9c
Show file tree
Hide file tree
Showing 3 changed files with 118 additions and 370 deletions.
2 changes: 1 addition & 1 deletion aten/src/ATen/native/native_functions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3210,7 +3210,7 @@
MkldnnCPU: mkldnn_linear_backward
autogen: mkldnn_linear_backward.out

- func: _structured_sparse_linear(Tensor input, Tensor weight, Tensor mask_or_meta, *, Tensor? bias=None, str? activation=None) -> (Tensor, Tensor)
- func: _structured_sparse_linear(Tensor input, Tensor weight, Tensor mask_or_meta, *, Tensor? bias=None) -> (Tensor, Tensor)
dispatch:
CUDA: _structured_sparse_linear

Expand Down

0 comments on commit eb9ac9c

Please sign in to comment.