Refactor hotpatch_vars and apply it to libtorch (#14976)
authorpeter <peterghost86@gmail.com>
Mon, 17 Dec 2018 05:50:43 +0000 (21:50 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Mon, 17 Dec 2018 05:53:31 +0000 (21:53 -0800)
commitd71fac20ebf6b393e464d312b8a38ae1c45c3386
tree29e4d58ffeebec4f8e97abaade4a540cc67fbd0b
parent656b565a0f53d9f24547b060bd27aa67ebb89b88
Refactor hotpatch_vars and apply it to libtorch (#14976)

Summary:
Fixes #14801.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/14976

Differential Revision: D13485381

Pulled By: soumith

fbshipit-source-id: 0af3c2e1b90988d56f6f85632328d1e4b788ffd2
setup.py
tools/build_libtorch.py
tools/setup_helpers/env.py