pytorch/torch/package
Tristan Rice 5f7b92024f torch/package: add fix for implicit numpy dependency (#78979)
Summary:
This adds a workaround so that you can call `.numpy()` on models loaded via torch.package. Torch implicitly imports numpy when you make that call and it can't be tracked by normal dependencies since it's from C++.

https://github.com/pytorch/MultiPy/issues/46

Test Plan: CI

Reviewed By: PaliC

Differential Revision: D36915129

Pull Request resolved: https://github.com/pytorch/pytorch/pull/78979
Approved by: https://github.com/PaliC
2022-06-08 17:07:00 +00:00
..
analyze [codemod][usort] apply import merging for fbcode (1 of 11) (#78973) 2022-06-06 23:44:28 +00:00
__init__.py
_digraph.py [codemod][usort] apply import merging for fbcode (1 of 11) (#78973) 2022-06-06 23:44:28 +00:00
_directory_reader.py
_importlib.py
_mangling.py
_mock.py
_package_pickler.py [codemod][usort] apply import merging for fbcode (1 of 11) (#78973) 2022-06-06 23:44:28 +00:00
_package_unpickler.py
_stdlib.py
file_structure_representation.py [codemod][usort] apply import merging for fbcode (1 of 11) (#78973) 2022-06-06 23:44:28 +00:00
find_file_dependencies.py
glob_group.py
importer.py [codemod][usort] apply import merging for fbcode (1 of 11) (#78973) 2022-06-06 23:44:28 +00:00
mangling.md
package_exporter.py [codemod][usort] apply import merging for fbcode (1 of 11) (#78973) 2022-06-06 23:44:28 +00:00
package_importer.py torch/package: add fix for implicit numpy dependency (#78979) 2022-06-08 17:07:00 +00:00