pytorch/test/cpp/lazy
Will Constable 69389fb542 Sync lazy_tensor_staging back to master (#72875)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/72875

This diff contains changes from several PRs landed to lazy_tensor_staging branch.
* generating 'fallback' overrides for each codegenned op, useful for debugging
* supports operators which are missing aten:: symbols for op names, instead using their string counterpart
* makes the IR class a base class instead of hardcoding the assumption of TS

It also resolves lint issues and in particular cleans up the following:
* {Type}s shouldn't be passed into isValueType, and using the catch-all base class of CType is nicer than specifying a list of types.

Fixes #72852

Test Plan: test manually on lazy_tensor_staging branch

Reviewed By: shunting314

Differential Revision: D34250357

fbshipit-source-id: aa7d589f605055d5d02bc77c77fa6f1182ff7497
(cherry picked from commit 2f8f5e4971)
2022-02-18 03:49:46 +00:00
..
CMakeLists.txt [LTC] Upstream LTCTensorImpl (#70062) 2021-12-22 03:21:52 -08:00
test_backend_device.cpp [LTC] Export torch::lazy::GetBackendDevice() (#70963) 2022-01-07 13:13:18 -08:00
test_cache.cpp Sync lazy_tensor_staging back to master (#72875) 2022-02-18 03:49:46 +00:00
test_ir_util.cpp Sync lazy_tensor_staging back to master (#72875) 2022-02-18 03:49:46 +00:00
test_ir.cpp Sync lazy_tensor_staging back to master (#72875) 2022-02-18 03:49:46 +00:00
test_misc.cpp [LTC] Upstream some utilities (#69046) 2021-11-30 02:44:02 -08:00
test_permutation_util.cpp [LT] Upstream LazyView and view ops IR Nodes (#69277) 2021-12-04 08:44:54 -08:00
test_shape.cpp [LT] Remove torch::lazy::convertShapes (#71291) 2022-01-14 12:06:39 -08:00
test_tensor_impl.cpp [LTC] Upstream LTCTensorImpl (#70062) 2021-12-22 03:21:52 -08:00
test_util.cpp [LTC] Upstream some utilities (#69046) 2021-11-30 02:44:02 -08:00