Commit Graph

98743 Commits

Author SHA1 Message Date
Mihai Maruseac
ecee625c3d
Merge pull request #50775 from tensorflow/mm-cherrypick-fix-onr2.4
Fix build after previous cherrypick (#50773).
2021-07-14 13:47:47 -07:00
Mihai Maruseac
6517e1482d Fix build after previous cherrypick (#50773).
This is needed because of refactoring in 7c3f96bf32 (on master). The cherrypick in #50773 includes code after this refactoring but for all releases before 2.6 we need this fix too.
2021-07-14 13:40:28 -07:00
Mihai Maruseac
2474fca792
Merge pull request #50773 from tensorflow/mm-cherrypick-fix-onr2.4
Fix segmentation fault in shape inference logic.
2021-07-14 12:58:20 -07:00
Daniel Ellis
9eb9112aa6 Fix segmentation fault in shape inference logic.
When running shape functions, some functions (such as `MutableHashTableShape`)
produce extra output information in the form of a `ShapeAndType` struct.  The
shapes embedded in this struct are owned by an inference context that is
cleaned up almost immediately; if the upstream code attempts to access this
shape information, it can trigger a segfault.

`ShapeRefiner` is mitigating this for normal output shapes by cloning them
(and thus putting the newly created shape under ownership of an inference
context that will not die), but we were not doing the same for shapes and
types.  This commit fixes that by doing similar logic on output shapes and
types.

PiperOrigin-RevId: 384761124
Change-Id: I07c0c42d29dfbb55bfa13ec1f09ef825fb0a1a1d
2021-07-14 12:53:37 -07:00
Mihai Maruseac
8317a9efdb Revert "Fix segmentation fault in shape inference logic."
This reverts commit ee119d4a49.
2021-07-14 12:53:09 -07:00
Daniel Ellis
43df840da7 Fix segmentation fault in shape inference logic.
When running shape functions, some functions (such as `MutableHashTableShape`)
produce extra output information in the form of a `ShapeAndType` struct.  The
shapes embedded in this struct are owned by an inference context that is
cleaned up almost immediately; if the upstream code attempts to access this
shape information, it can trigger a segfault.

`ShapeRefiner` is mitigating this for normal output shapes by cloning them
(and thus putting the newly created shape under ownership of an inference
context that will not die), but we were not doing the same for shapes and
types.  This commit fixes that by doing similar logic on output shapes and
types.

PiperOrigin-RevId: 384761124
Change-Id: I07c0c42d29dfbb55bfa13ec1f09ef825fb0a1a1d
2021-07-14 12:52:19 -07:00
Mihai Maruseac
1923123d32
Merge pull request #50210 from tensorflow/geetachavan1-patch-1
Disable io_test
2021-06-11 09:09:43 -07:00
geetachavan1
a0c809373f
Update BUILD 2021-06-10 16:34:48 -07:00
Mihai Maruseac
f1c8200538
Merge pull request #50203 from tensorflow/mihaimaruseac-patch-1
Don't force reinstall TB
2021-06-10 11:23:25 -07:00
Mihai Maruseac
7cf45b5243
Update common.sh 2021-06-10 11:22:33 -07:00
Mihai Maruseac
4aaac2bc1d
Merge pull request #50185 from geetachavan1/cherrypicks_U90C1
Fix the nonpip builds for MacOS.
2021-06-10 11:18:18 -07:00
Amit Patankar
65afa4b285 Fix the nightly nonpip builds for MacOS.
PiperOrigin-RevId: 346205138
Change-Id: I146b5486171e1d91dc3c239bd10fb904972375bb
2021-06-09 16:23:59 -07:00
Mihai Maruseac
46c18213a0
Merge pull request #50184 from tensorflow/mihaimaruseac-patch-1
Update common_win.bat
2021-06-09 14:41:51 -07:00
Mihai Maruseac
cf8d66739a
Update common_win.bat 2021-06-09 14:41:01 -07:00
Mihai Maruseac
b2ef8a61ca
Merge pull request #50061 from tensorflow/geetachavan1-patch-2
Fix CherryPick issue
2021-06-03 17:09:42 -07:00
geetachavan1
f9a1ba8fcb
Update sparse_fill_empty_rows_op.cc 2021-06-03 16:29:30 -07:00
Mihai Maruseac
c3405c36e4
Merge pull request #50046 from tensorflow-jenkins/relnotes-2.4.2-3817
Update release notes for TensorFlow 2.4.2
2021-06-03 12:11:36 -07:00
Mihai Maruseac
187e17fb95
Update RELEASE.md 2021-06-03 12:10:37 -07:00
Mihai Maruseac
174667d005
Merge pull request #50049 from tensorflow-jenkins/version-numbers-2.4.2-16086
Update version numbers for TensorFlow 2.4.2
2021-06-03 12:03:09 -07:00
TensorFlow Release Automation
74a55b9267 Update version numbers to 2.4.2 2021-06-03 11:51:29 -07:00
TensorFlow Release Automation
594fcb474d Insert release notes place-fill 2021-06-03 11:28:31 -07:00
Mihai Maruseac
91aab9ebfd
Merge pull request #50036 from tensorflow/mm-cp-curl-bump-on-r2.4
Bump curl
2021-06-03 08:12:43 -07:00
Mihai Maruseac
6193ff31b4
Merge pull request #50034 from tensorflow/mm-cpp-on-r2.4
Ensure validation sticks in banded_triangular_solve_op
2021-06-03 08:12:19 -07:00
Mihai Maruseac
5cc80545fa
Merge pull request #50030 from tensorflow/mm-cp-on-r2.4
Validate that a and b are proper sparse tensors
2021-06-03 08:11:22 -07:00
Mihai Maruseac
e938512a9a Bump curl 2021-06-03 08:04:04 -07:00
Mihai Maruseac
0263b03640 Ensure validation sticks in banded_triangular_solve_op
PiperOrigin-RevId: 373275480
Change-Id: Id7717cf275b2d6fdb9441fbbe166d555182d2e79
2021-06-03 07:44:06 -07:00
Mihai Maruseac
a1ab0abc98 Validate that a and b are proper sparse tensors
PiperOrigin-RevId: 373274848
Change-Id: I3a665ac3a29dee9fb69bdf408a939330cb93ea75
2021-06-03 07:42:13 -07:00
Mihai Maruseac
4492ef6ba6
Merge pull request #50012 from geetachavan1/cherrypicks_M09JW
CherryPick:2.4 Fix tf.io.decode_raw bugs
2021-06-02 19:08:47 -07:00
Mihai Maruseac
62dc7368fe
Update tensorflow/core/kernels/decode_padded_raw_op.cc 2021-06-02 19:08:28 -07:00
Mihai Maruseac
9636f34368 CherryPick:2.4 Fix tf.io.decode_raw bugs 2021-06-02 18:18:08 -07:00
Mihai Maruseac
fbe34c5344
Merge pull request #50009 from geetachavan1/cherrypicks_88IAG
CherryPick2.4:Fix heap-buffer-overflow issue with tf.raw_ops.SparseFillEmptyRows.
2021-06-02 18:10:18 -07:00
Amit Patankar
76fd666a91 CherryPick2.4:Fix heap-buffer-overflow issue with tf.raw_ops.SparseFillEmptyRows. 2021-06-02 17:36:04 -07:00
Mihai Maruseac
c91519ff0e
Merge pull request #50001 from geetachavan1/cherrypicks_H0NGU
CherryPick2.4:Add depth_to_space TFLite op
2021-06-02 16:57:51 -07:00
Mihai Maruseac
c5736e98e3 CherryPick2.4:Add depth_to_space TFLite op 2021-06-02 16:48:51 -07:00
Mihai Maruseac
066e6f5837
Merge pull request #49997 from geetachavan1/cherrypicks_1VE6Q
Cherry pick 2.4 TFLite: Error out when the graph has a recurion.
2021-06-02 16:44:05 -07:00
Yu-Cheng Ling
1f94559f9a Cherry pick 2.4 TFLite: Error out when the graph has a recurion. 2021-06-02 15:51:03 -07:00
Mihai Maruseac
29cccf5062
Merge pull request #49876 from tensorflow/cp2_4
Fix crash with tf.transpose when a is complex and conjugate is True
2021-06-02 14:57:06 -07:00
Mihai Maruseac
3ee7cc1593
Merge pull request #49989 from tensorflow/mm-fix-2.4
Fix r2.4 branch after cherrypicks
2021-06-02 14:51:53 -07:00
Mihai Maruseac
d0c360576b Fix r2.2 branch after cherrypicks 2021-06-02 13:46:36 -07:00
Mihai Maruseac
42166d2b54
Merge pull request #49966 from geetachavan1/cherrypicks_YQGIQ
Fix heap-buffer-overflow issue with .
2021-06-02 10:10:00 -07:00
Mihai Maruseac
321ae0925e
Merge pull request #49960 from geetachavan1/cherrypicks_P9I9Q
Fix one more FPE.
2021-06-02 10:08:41 -07:00
Mihai Maruseac
adef6deb07
Merge pull request #49955 from tensorflow/cp2_4_369343977
Prevent yet another division by zero
2021-06-02 10:07:02 -07:00
Mihai Maruseac
0998b0941e
Merge pull request #49888 from geetachavan1/cherrypicks_QR4YF
Validate that a and b are proper sparse tensors
2021-06-02 06:29:18 -07:00
Amit Patankar
a1c42379ac Fix heap-buffer-overflow issue with . 2021-06-01 16:17:45 -07:00
Mihai Maruseac
e9a7680f74
Merge pull request #49884 from geetachavan1/cherrypicks_N31HG
Fix heap OOB / undefined behavior in `RaggedTensorToTensor`
2021-06-01 16:02:00 -07:00
Mihai Maruseac
d92b07398f Fix one more FPE. 2021-06-01 14:22:20 -07:00
Geeta Chavan
69a8c361f6 Prevent yet another division by zero 2021-06-01 12:27:43 -07:00
Mihai Maruseac
3383326fd4
Merge pull request #49880 from geetachavan1/cherrypicks_C26PM
Prevent memory overflow in ParseAttrValue from nested tensors.
2021-05-31 07:05:49 -07:00
Mihai Maruseac
e753a57d24
Merge pull request #49837 from tensorflow/cherrypick
[CherryPick]Fix 2 issues with .
2021-05-30 17:21:26 -07:00
Mihai Maruseac
10e625bd0d
Merge pull request #49795 from geetachavan1/cherrypicks_4ZGKX
Prevent division by 0 in OneHot implementation
2021-05-30 17:20:28 -07:00