pytorch/test/cpp
Chen Lai 60af6e928a [PyTorch Edge][Version] Fix torchscript model after backport (#58892)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/58892

The torchscript model after backport misses the `constants` archive. Add it back, and extend the unit test to run torchscript part.
ghstack-source-id: 129853819

Test Plan:
```
buck test mode/dev //caffe2/test/cpp/jit:jit -- --exact 'caffe2/test/cpp/jit:jit
- LiteInterpreterTest.BackPortByteCodeModelAllVersions'
```

Reviewed By: raziel, iseeyuan

Differential Revision: D28664507

fbshipit-source-id: 5f98723231cc64ed203c062ee6f00d8adbdccf77
2021-05-25 15:36:56 -07:00
..
api Add mish activation function (#58648) 2021-05-25 10:36:21 -07:00
common
dist_autograd Fix distributed autograd gradients synchronization (#57792) 2021-05-09 17:32:59 -07:00
jit [PyTorch Edge][Version] Fix torchscript model after backport (#58892) 2021-05-25 15:36:56 -07:00
lite_interpreter_runtime [Pytorch Delegated Backend] Save function name in debug info (#57481) 2021-05-25 13:19:02 -07:00
rpc Revert D28474878: Always use intrusive_ptr for Message (1 out of 2) 2021-05-21 19:24:22 -07:00
tensorexpr [NNC] Make splitWithMask transform in-place (#58269) 2021-05-25 11:32:51 -07:00
__init__.py