Commit 623315a
authored
ConvFrozenScaleBiasReLU fusion (#1608)
* Cherry pick changes to ConvScaleBiasReLU fusion
* Fix testbench
* Add missing conv_cscale_cbias_relu_forward
* Fix bug in setOperationGraph
* Remove manual cuDNN heuristics knobs
* Use torch.testing.assert_close for tensor comparison
* Return at::Tensor instead of vector, add debug msg
---------
Co-authored-by: Jaemin Choi <[email protected]>1 parent b1c7600 commit 623315a
4 files changed
Lines changed: 570 additions & 14 deletions
File tree
- apex/contrib
- conv_bias_relu
- csrc/conv_bias_relu
- test/conv_bias_relu
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
78 | 100 | | |
79 | 101 | | |
80 | 102 | | |
| 103 | + | |
81 | 104 | | |
0 commit comments