Skip to content

Commit

Permalink
Add lazy tensor unit tests, disabled (pytorch#74309)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: pytorch#74309

Since the test file is large, it can be landed on its own and then switched on
in the diff that actually builds lazy tensor code.

Test Plan: verify CI passes

Reviewed By: desertfire

Differential Revision: D34928619

fbshipit-source-id: cd556155326f7fb55b3f29031f80bc36c936d565
(cherry picked from commit 60945ad)
  • Loading branch information
wconstab authored and pytorchmergebot committed Mar 17, 2022
1 parent 72b1194 commit 44a8d4d
Show file tree
Hide file tree
Showing 4 changed files with 10,953 additions and 0 deletions.
2 changes: 2 additions & 0 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -1918,6 +1918,8 @@ cc_test(
], exclude=[
# skip these since they depend on generated LazyIr.h which isn't available in bazel yet
"test/cpp/lazy/test_ir.cpp",
"test/cpp/lazy/test_lazy_ops.cpp",
"test/cpp/lazy/test_lazy_ops_util.cpp",
]),
linkstatic = True,
tags = [
Expand Down
Loading

0 comments on commit 44a8d4d

Please sign in to comment.