Skip to content

Tags

v1.8.0-rc2

[v1.8 patch] [Resubmission] Add a documentation page for DDP communic…
…ation hooks (#52215)

Co-authored-by: wayi <wayi@devgpu238.prn2.facebook.com>
[FX][docs] Indent forward (#51802)
Summary:
Pull Request resolved: #51802

lol

Test Plan: Imported from OSS

Reviewed By: zou3519

Differential Revision: D26284311

Pulled By: jamesr66a

fbshipit-source-id: 0d303d8c99131abb8d97e0acd0ac2d810e1e950c

v1.7.1

Disable autocast cache for tensor views as fix for #48049 (#48696) (#…
…48936)

Co-authored-by: pbialecki <pbialecki@nvidia.com>

v1.7.1-rc3

Disable autocast cache for tensor views as fix for #48049 (#48696) (#…
…48936)

Co-authored-by: pbialecki <pbialecki@nvidia.com>

v1.7.1-rc2

[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>

v1.7.1-rc1

[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

v1.7.0

make valgrind_toggle and valgrind_supported_platform private (#46718)

v1.7.0-rc4

make valgrind_toggle and valgrind_supported_platform private (#46718)

v1.7.0-rc3

gate load_library tests behind BUILD_TEST=1 (#46556)
ghstack-source-id: 9147465bd7eb251b1b65f3f7d08861e1cd560214
Pull Request resolved: #46550

v1.7.0-rc2

[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