Tags
[v1.8 patch] [Resubmission] Add a documentation page for DDP communic… …ation hooks (#52215) Co-authored-by: wayi <wayi@devgpu238.prn2.facebook.com>
[1.7.1] torch: Stop using _nt_quote_args from distutils (#48618) (#48768 ) Summary: They removed the specific function in Python 3.9 so we should just remake the function here and use our own instead of relying on hidden functions from the stdlib Signed-off-by: Eli Uriegas <eliuriegas@fb.com> Fixes #48617 Pull Request resolved: #48618 Reviewed By: samestep Differential Revision: D25230281 Pulled By: seemethere fbshipit-source-id: 57216af40a4ae4dc8bafcf40d2eb3ba793b9b6e2 (cherry picked from commit 780f2b9) Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
[Release/1.7.1] Embed `libiomp5.dylib` into wheel package (#48337) * Embed `libiomp5.dylib` into wheel package (#47262) Summary: libiomp runtime is the only external dependency OS X package has if compiled with MKL Copy it to the stage directory from one of the available rpathes And remove all absolute rpathes, since project shoudl have none Fixes #38607 Pull Request resolved: #47262 Reviewed By: walterddr Differential Revision: D24705094 Pulled By: malfet fbshipit-source-id: 9f588a3ec3c6c836c8986d858fb53df815a506c8 * Do not delete rpath from torch.dylib on Darwin (#47337) Summary: Fixes CI regressions introduced by #47262 Pull Request resolved: #47337 Reviewed By: ngimel Differential Revision: D24721954 Pulled By: malfet fbshipit-source-id: 395b037b29c0fc3b62ca50bba9be940ad72e0c5b * Skip iomp5 emebedding if torch_cpu could not be found (#47390) Summary: This would be the case when package is build for local development rather than for installation Pull Request resolved: #47390 Reviewed By: janeyx99 Differential Revision: D24738416 Pulled By: malfet fbshipit-source-id: 22bd676bc46e5d50a09539c969ce56d37cfe5952
make valgrind_toggle and valgrind_supported_platform private (#46718)
[JIT] Improve class type annotation inference (#46422) **Summary** In `try_ann_to_type`, if an annotation has an attribute named `__torch_script_class__`, it is assumed to be a TorchScript class that has already been scripted. However, if it is a class that extends another class, this code path causes a crash because it looks up the JIT type for the class by name in the compilation unit. This JIT type obviously cannot exist because inheritance is not supported. This commit fixes this by looking up the qualified name of a class in torch.jit._state._script_class in order to ascertain whether it has already been scripted (instead of looking for a `__torch_script_class__` attribute on the class object. **Test Plan** This commit adds a unit test consisting of the code sample from the issue that reported this problem. **Fixes** This commit fixes #45860. ghstack-source-id: 6fe19a45c694c1f9d7fb0e77bc72bd03ef2bf160 Pull Request resolved: #45940
PreviousNext