Skip to content

Tags: zeliu98/pytorch

Tags

v1.7.1

Toggle v1.7.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Disable autocast cache for tensor views as fix for pytorch#48049 (pyt…

…orch#48696) (pytorch#48936)

Co-authored-by: pbialecki <[email protected]>

v1.7.1-rc3

Toggle v1.7.1-rc3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Disable autocast cache for tensor views as fix for pytorch#48049 (pyt…

…orch#48696) (pytorch#48936)

Co-authored-by: pbialecki <[email protected]>

v1.7.1-rc2

Toggle v1.7.1-rc2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
[1.7.1] torch: Stop using _nt_quote_args from distutils (pytorch#48618)…

… (pytorch#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 <[email protected]>

Fixes pytorch#48617

Pull Request resolved: pytorch#48618

Reviewed By: samestep

Differential Revision: D25230281

Pulled By: seemethere

fbshipit-source-id: 57216af40a4ae4dc8bafcf40d2eb3ba793b9b6e2
(cherry picked from commit 780f2b9)
Signed-off-by: Eli Uriegas <[email protected]>

v1.7.1-rc1

Toggle v1.7.1-rc1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
[Release/1.7.1] Embed `libiomp5.dylib` into wheel package (pytorch#48337

)

* Embed `libiomp5.dylib` into wheel package (pytorch#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 pytorch#38607

Pull Request resolved: pytorch#47262

Reviewed By: walterddr

Differential Revision: D24705094

Pulled By: malfet

fbshipit-source-id: 9f588a3ec3c6c836c8986d858fb53df815a506c8

* Do not delete rpath from torch.dylib on Darwin (pytorch#47337)

Summary:
Fixes CI regressions introduced by pytorch#47262

Pull Request resolved: pytorch#47337

Reviewed By: ngimel

Differential Revision: D24721954

Pulled By: malfet

fbshipit-source-id: 395b037b29c0fc3b62ca50bba9be940ad72e0c5b

* Skip iomp5 emebedding if torch_cpu could not be found (pytorch#47390)

Summary:
This would be the case when package is build for local development rather than for installation

Pull Request resolved: pytorch#47390

Reviewed By: janeyx99

Differential Revision: D24738416

Pulled By: malfet

fbshipit-source-id: 22bd676bc46e5d50a09539c969ce56d37cfe5952

v1.7.0

Toggle v1.7.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
make valgrind_toggle and valgrind_supported_platform private (pytorch…

…#46718)

v1.7.0-rc4

Toggle v1.7.0-rc4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
make valgrind_toggle and valgrind_supported_platform private (pytorch…

…#46718)

v1.7.0-rc3

Toggle v1.7.0-rc3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
gate load_library tests behind BUILD_TEST=1 (pytorch#46556)

ghstack-source-id: 9147465bd7eb251b1b65f3f7d08861e1cd560214
Pull Request resolved: pytorch#46550

v1.7.0-rc2

Toggle v1.7.0-rc2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
[JIT] Improve class type annotation inference (pytorch#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 pytorch#45860.

ghstack-source-id: 6fe19a45c694c1f9d7fb0e77bc72bd03ef2bf160
Pull Request resolved: pytorch#45940

v1.7.0-rc1

Toggle v1.7.0-rc1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
[1.7] Remove torch.vmap (pytorch#45571)

torch.vmap is a prototype feature and should not be in the stable
binary. This PR:
- Removes the `torch.vmap` API
- Removes the documentation entry for `torch.vmap`
- Changes the vmap tests to use an internal API instead of `torch.vmap`.

Test Plan:
- Tested locally (test_torch, test_type_hints, test_vmap), but also wait
for CI.

v1.6.0

Toggle v1.6.0's commit message

Verified

This commit was signed with the committer’s verified signature. The key has expired.
seemethere Eli Uriegas
Revert "[release/1.6] .circleci: Don't use SCCACHE for windows releas…

…e builds (pytorch#42024)"

This reverts commit 994b37b.