mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
Add TensorExpr Fuser tests (resubmit). (#35085)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/35085 Test Plan: Imported from OSS Differential Revision: D20552334 Pulled By: ZolotukhinM fbshipit-source-id: 628fcf4719a879f18978ff8a0a64afbb045df645
This commit is contained in:
parent
3c409fc66c
commit
12f0052eee
3 changed files with 1011 additions and 0 deletions
|
|
@ -70,6 +70,7 @@ TESTS = [
|
|||
'test_jit_disabled',
|
||||
'test_function_schema',
|
||||
'test_overrides',
|
||||
'test_jit_fuser_te',
|
||||
]
|
||||
|
||||
# skip < 3.3 because mock is added in 3.3 and is used in rpc_spawn
|
||||
|
|
|
|||
1008
test/test_jit_fuser_te.py
Normal file
1008
test/test_jit_fuser_te.py
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -344,6 +344,8 @@ void initJITBindings(PyObject* module) {
|
|||
.def("_jit_pass_specialize_autogradzero", specializeAutogradZero)
|
||||
.def("_jit_override_can_fuse_on_cpu", &overrideCanFuseOnCPU)
|
||||
.def("_jit_override_can_fuse_on_gpu", &overrideCanFuseOnGPU)
|
||||
.def("_jit_can_fuse_on_cpu", &canFuseOnCPU)
|
||||
.def("_jit_can_fuse_on_gpu", &canFuseOnGPU)
|
||||
.def("_jit_register_tensorexpr_fuser", ®isterTensorExprFuser)
|
||||
.def(
|
||||
"_jit_differentiate",
|
||||
|
|
|
|||
Loading…
Reference in a new issue