Skip to content

Commit b2628b4

Browse files
committed
Update on "JIT pass for add relu fusion."
Summary: Building on top of previous PR that adds fused add_relu op, this PR adds a JIT pass to transform input graph to find all fusable instancs of add + relu and fuses them. Test Plan: python test/test_jit.py TestJit.test_add_relu_fusion Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D21822396](https://our.internmc.facebook.com/intern/diff/D21822396) [ghstack-poisoned]
1 parent b39d12d commit b2628b4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

torch/csrc/jit/passes/fuse_relu.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
#include <torch/csrc/jit/passes/fuse_relu.h>
32
#include <torch/csrc/jit/ir/ir.h>
43
#include <torch/csrc/jit/ir/subgraph_matcher.h>

0 commit comments

Comments
 (0)