url
stringlengths
63
63
repository_url
stringclasses
1 value
labels_url
stringlengths
77
77
comments_url
stringlengths
72
72
events_url
stringlengths
70
70
html_url
stringlengths
51
53
id
int64
1.57B
2.35B
node_id
stringlengths
18
19
number
int64
59.5k
69.6k
title
stringlengths
1
554
user
dict
labels
listlengths
0
8
state
stringclasses
2 values
locked
bool
2 classes
assignee
dict
assignees
listlengths
0
8
milestone
null
comments
sequencelengths
0
30
created_at
timestamp[s]
updated_at
timestamp[s]
closed_at
timestamp[s]
author_association
stringclasses
4 values
active_lock_reason
stringclasses
3 values
draft
bool
2 classes
pull_request
dict
body
stringlengths
1
65.4k
reactions
dict
timeline_url
stringlengths
72
72
performed_via_github_app
null
state_reason
stringclasses
3 values
is_pull_request
bool
2 classes
https://api.github.com/repos/tensorflow/tensorflow/issues/61675
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61675/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61675/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61675/events
https://github.com/tensorflow/tensorflow/issues/61675
1,863,349,346
I_kwDOArmXAs5vEHRi
61,675
tf.linalg.pinv isn't
{ "login": "chengdazhi", "id": 10631563, "node_id": "MDQ6VXNlcjEwNjMxNTYz", "avatar_url": "https://avatars.githubusercontent.com/u/10631563?v=4", "gravatar_id": "", "url": "https://api.github.com/users/chengdazhi", "html_url": "https://github.com/chengdazhi", "followers_url": "https://api.github.com/users/chengdazhi/followers", "following_url": "https://api.github.com/users/chengdazhi/following{/other_user}", "gists_url": "https://api.github.com/users/chengdazhi/gists{/gist_id}", "starred_url": "https://api.github.com/users/chengdazhi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/chengdazhi/subscriptions", "organizations_url": "https://api.github.com/users/chengdazhi/orgs", "repos_url": "https://api.github.com/users/chengdazhi/repos", "events_url": "https://api.github.com/users/chengdazhi/events{/privacy}", "received_events_url": "https://api.github.com/users/chengdazhi/received_events", "type": "User", "site_admin": false }
[ { "id": 404586594, "node_id": "MDU6TGFiZWw0MDQ1ODY1OTQ=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20tensorflower", "name": "stat:awaiting tensorflower", "color": "f4b400", "default": false, "description": "Status - Awaiting response from tensorflower" }, { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 1097547147, "node_id": "MDU6TGFiZWwxMDk3NTQ3MTQ3", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:ops", "name": "comp:ops", "color": "0052cc", "default": false, "description": "OPs related issues" }, { "id": 5508003926, "node_id": "LA_kwDOArmXAs8AAAABSE14Vg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13", "name": "TF 2.13", "color": "B13ACB", "default": false, "description": "For issues related to Tensorflow 2.13" } ]
open
false
{ "login": "SuryanarayanaY", "id": 116063290, "node_id": "U_kgDOBur8Og", "avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SuryanarayanaY", "html_url": "https://github.com/SuryanarayanaY", "followers_url": "https://api.github.com/users/SuryanarayanaY/followers", "following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}", "gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}", "starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions", "organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs", "repos_url": "https://api.github.com/users/SuryanarayanaY/repos", "events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}", "received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events", "type": "User", "site_admin": false }
[ { "login": "SuryanarayanaY", "id": 116063290, "node_id": "U_kgDOBur8Og", "avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SuryanarayanaY", "html_url": "https://github.com/SuryanarayanaY", "followers_url": "https://api.github.com/users/SuryanarayanaY/followers", "following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}", "gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}", "starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions", "organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs", "repos_url": "https://api.github.com/users/SuryanarayanaY/repos", "events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}", "received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events", "type": "User", "site_admin": false } ]
null
[ "Hi @chengdazhi ,\r\n\r\nI tested the code with Tf2.12v and I can see the gradients returned by them are almost equal (with precision related differences of order `e-06` range). Also curious why the sample code snippet uses two gradient tapes as there are no second order gradients here. \r\n\r\nAnyways I have tested the code with both ways and results are same except some precision related differences of order \r\n**e-06** range. Please refer attached [gist](https://colab.sandbox.google.com/gist/SuryanarayanaY/2d8a7aa556651ef701814dce1e69a2de/61675_tf-linalg-inv_pinv.ipynb).\r\n\r\nCould you please test with latest versions and let us know the results.\r\n\r\nThanks!", "Hi @SuryanarayanaY Thanks for your speedy response. I handcrafted another matrix in [gist](https://colab.research.google.com/gist/chengdazhi/be84e8163d7c5adf810ddd3045d42faa/61675_tf-linalg-inv_pinv.ipynb), and it seems the gradient difference is still pretty large (order e-2).\r\n\r\n![image](https://github.com/tensorflow/tensorflow/assets/10631563/e2a9c21f-b2e4-4cbf-99b3-a0b75f979437)\r\n\r\n\r\n", "@chengdazhi ,\r\n\r\nTested the updated code and found differences upto e-02 order. Attached [gist](https://colab.sandbox.google.com/gist/SuryanarayanaY/5a924806383ff8f32b0fbf40139bb0fc/61675_tf-linalg-inv_pinv-r1.ipynb) for reference. Will escalate to Dev team for their review. Thanks!\r\n", "I think that's still within expected numerical precision. The entries where you see the large \"error\" are near (or exactly) zero in your inverse, which makes them particularly sensitive to small numerical perturbations. The pseudo inverse needs to do a lot more computation, since it does an SVD, which means small floating-point errors accumulate more.", "@cantonios I don't think so. The se3_mat I created is actually pretty well-conditioned. Btw same code seems legit in pytorch.\r\nSee the [gist](https://colab.research.google.com/gist/chengdazhi/be84e8163d7c5adf810ddd3045d42faa/61675_tf-linalg-inv_pinv.ipynb#scrollTo=Y-MT7i-T1DxX). I feel there's a bug somewhere.\r\n![image](https://github.com/tensorflow/tensorflow/assets/10631563/0c84d89d-ac34-4c17-b954-34157fe3055c)\r\n\r\n\r\n\r\n" ]
2023-08-23T13:32:23
2023-09-01T03:46:53
null
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source binary ### TensorFlow version 2.6.22 ### Custom code No ### OS platform and distribution Ubuntu 20.04 ### Mobile device _No response_ ### Python version _No response_ ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? Pinv should give similar gradient to inv. Here's the code snippet and result. ![image](https://github.com/tensorflow/tensorflow/assets/10631563/de9cdb82-1c93-4a18-a79e-95c0b0834ae6) ![image](https://github.com/tensorflow/tensorflow/assets/10631563/cfdadbb9-5506-4181-a868-69830c5ee96b) ### Standalone code to reproduce the issue ```shell See figures in behavior section. ``` ### Relevant log output _No response_
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61675/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61675/timeline
null
null
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61674
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61674/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61674/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61674/events
https://github.com/tensorflow/tensorflow/issues/61674
1,863,157,493
I_kwDOArmXAs5vDYb1
61,674
oneDNN matmul is not supported to have a dynamic dimension
{ "login": "fehiepsi", "id": 4736342, "node_id": "MDQ6VXNlcjQ3MzYzNDI=", "avatar_url": "https://avatars.githubusercontent.com/u/4736342?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fehiepsi", "html_url": "https://github.com/fehiepsi", "followers_url": "https://api.github.com/users/fehiepsi/followers", "following_url": "https://api.github.com/users/fehiepsi/following{/other_user}", "gists_url": "https://api.github.com/users/fehiepsi/gists{/gist_id}", "starred_url": "https://api.github.com/users/fehiepsi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fehiepsi/subscriptions", "organizations_url": "https://api.github.com/users/fehiepsi/orgs", "repos_url": "https://api.github.com/users/fehiepsi/repos", "events_url": "https://api.github.com/users/fehiepsi/events{/privacy}", "received_events_url": "https://api.github.com/users/fehiepsi/received_events", "type": "User", "site_admin": false }
[ { "id": 404586594, "node_id": "MDU6TGFiZWw0MDQ1ODY1OTQ=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20tensorflower", "name": "stat:awaiting tensorflower", "color": "f4b400", "default": false, "description": "Status - Awaiting response from tensorflower" }, { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 1133285679, "node_id": "MDU6TGFiZWwxMTMzMjg1Njc5", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:xla", "name": "comp:xla", "color": "0052cc", "default": false, "description": "XLA" }, { "id": 1478826728, "node_id": "MDU6TGFiZWwxNDc4ODI2NzI4", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:core", "name": "comp:core", "color": "024391", "default": false, "description": "issues related to core part of tensorflow" } ]
open
false
{ "login": "kenfranko", "id": 56562020, "node_id": "MDQ6VXNlcjU2NTYyMDIw", "avatar_url": "https://avatars.githubusercontent.com/u/56562020?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kenfranko", "html_url": "https://github.com/kenfranko", "followers_url": "https://api.github.com/users/kenfranko/followers", "following_url": "https://api.github.com/users/kenfranko/following{/other_user}", "gists_url": "https://api.github.com/users/kenfranko/gists{/gist_id}", "starred_url": "https://api.github.com/users/kenfranko/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kenfranko/subscriptions", "organizations_url": "https://api.github.com/users/kenfranko/orgs", "repos_url": "https://api.github.com/users/kenfranko/repos", "events_url": "https://api.github.com/users/kenfranko/events{/privacy}", "received_events_url": "https://api.github.com/users/kenfranko/received_events", "type": "User", "site_admin": false }
[ { "login": "kenfranko", "id": 56562020, "node_id": "MDQ6VXNlcjU2NTYyMDIw", "avatar_url": "https://avatars.githubusercontent.com/u/56562020?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kenfranko", "html_url": "https://github.com/kenfranko", "followers_url": "https://api.github.com/users/kenfranko/followers", "following_url": "https://api.github.com/users/kenfranko/following{/other_user}", "gists_url": "https://api.github.com/users/kenfranko/gists{/gist_id}", "starred_url": "https://api.github.com/users/kenfranko/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kenfranko/subscriptions", "organizations_url": "https://api.github.com/users/kenfranko/orgs", "repos_url": "https://api.github.com/users/kenfranko/repos", "events_url": "https://api.github.com/users/kenfranko/events{/privacy}", "received_events_url": "https://api.github.com/users/kenfranko/received_events", "type": "User", "site_admin": false }, { "login": "sachinprasadhs", "id": 73069040, "node_id": "MDQ6VXNlcjczMDY5MDQw", "avatar_url": "https://avatars.githubusercontent.com/u/73069040?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sachinprasadhs", "html_url": "https://github.com/sachinprasadhs", "followers_url": "https://api.github.com/users/sachinprasadhs/followers", "following_url": "https://api.github.com/users/sachinprasadhs/following{/other_user}", "gists_url": "https://api.github.com/users/sachinprasadhs/gists{/gist_id}", "starred_url": "https://api.github.com/users/sachinprasadhs/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sachinprasadhs/subscriptions", "organizations_url": "https://api.github.com/users/sachinprasadhs/orgs", "repos_url": "https://api.github.com/users/sachinprasadhs/repos", "events_url": "https://api.github.com/users/sachinprasadhs/events{/privacy}", "received_events_url": "https://api.github.com/users/sachinprasadhs/received_events", "type": "User", "site_admin": false } ]
null
[ "@sachinprasadhs,\r\nI was able to reproduce the issue on the tf-nightly(2.15.0-dev20230817) whereas on tensorflow v2.12 and v2.13, the code was executed without any issue/error. Kindly find the gist of it [here](https://colab.research.google.com/gist/tilakrayal/bd60586f3fd8c2c75c6840fca6a41fe1/untitled1339.ipynb). " ]
2023-08-23T11:39:06
2023-08-24T20:31:59
null
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source binary ### TensorFlow version v1.12.1-98433-gb64e3d4ae2e 2.15.0-dev20230812 ### Custom code Yes ### OS platform and distribution Linux Debian 6.3.11 ### Mobile device _No response_ ### Python version 3.11 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? The following code works for nightly version 2.15.0-dev20230811, but fails for the version 2.15.0-dev20230812. The issue happens when we compile the function. ### Standalone code to reproduce the issue ```shell import tensorflow.compat.v2 as tf class _Slice2Idx: """Utility to convert numpy basic slices into TF scatter_nd indices.""" def __init__(self, tensor): self.ranges = [tf.range(d, dtype=tf.int32) for d in tensor.shape] def __getitem__(self, slices): grid = tf.meshgrid(*(rng[sl] for rng, sl in zip(self.ranges, slices)), indexing='ij') return tf.stack(grid, axis=-1) def no_pivot_ldl(matrix, name='no_pivot_ldl'): with tf.name_scope(name) as name: matrix = tf.convert_to_tensor(matrix) triangular_factor = tf.linalg.band_part(matrix, num_lower=-1, num_upper=0) slix = _Slice2Idx(triangular_factor) def fn(triangular_factor, i): column_tail = triangular_factor[..., i+1:, i] x = tf.einsum('...i,...j->...ij', column_tail, column_tail) idx = slix[i+1:, i+1:] triangular_factor = tf.tensor_scatter_nd_update(triangular_factor, idx, x) return triangular_factor triangular_factor = tf.foldl( fn=fn, elems=tf.range(tf.shape(triangular_factor)[-1]), initializer=triangular_factor) return triangular_factor inp = tf.Variable([[2., 1.], [1., 2.]]) alt_chol_jit = tf.function(no_pivot_ldl, autograph=False, jit_compile=True) print(no_pivot_ldl(inp)) alt_chol_jit(inp) ``` ``` ### Relevant log output ```shell tf.Tensor( [[2. 0.] [1. 1.]], shape=(2, 2), dtype=float32) 2023-08-23 11:31:54.059605: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x5db9ec0 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2023-08-23 11:31:54.059681: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2023-08-23 11:31:54.068228: I tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util.cc:269] disabling MLIR crash reproducer, set env var `MLIR_CRASH_REPRODUCER_DIRECTORY` to enable. 2023-08-23 11:31:54.093913: W tensorflow/core/framework/op_kernel.cc:1839] OP_REQUIRES failed at xla_ops.cc:625 : UNIMPLEMENTED: CustomCall "__onednn$matmul" is not supported to have a dynamic dimension tensorflow.python.framework.errors_impl.UnimplementedError: CustomCall "__onednn$matmul" is not supported to have a dynamic dimension [Op:__inference_no_pivot_ldl_264] ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61674/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61674/timeline
null
null
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61673
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61673/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61673/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61673/events
https://github.com/tensorflow/tensorflow/issues/61673
1,863,059,870
I_kwDOArmXAs5vDAme
61,673
Use old project folder on tensorflow 2.13 using wls
{ "login": "pro1944191", "id": 82762400, "node_id": "MDQ6VXNlcjgyNzYyNDAw", "avatar_url": "https://avatars.githubusercontent.com/u/82762400?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pro1944191", "html_url": "https://github.com/pro1944191", "followers_url": "https://api.github.com/users/pro1944191/followers", "following_url": "https://api.github.com/users/pro1944191/following{/other_user}", "gists_url": "https://api.github.com/users/pro1944191/gists{/gist_id}", "starred_url": "https://api.github.com/users/pro1944191/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pro1944191/subscriptions", "organizations_url": "https://api.github.com/users/pro1944191/orgs", "repos_url": "https://api.github.com/users/pro1944191/repos", "events_url": "https://api.github.com/users/pro1944191/events{/privacy}", "received_events_url": "https://api.github.com/users/pro1944191/received_events", "type": "User", "site_admin": false }
[ { "id": 386191887, "node_id": "MDU6TGFiZWwzODYxOTE4ODc=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response", "name": "stat:awaiting response", "color": "f4b400", "default": false, "description": "Status - Awaiting response from author" }, { "id": 474725938, "node_id": "MDU6TGFiZWw0NzQ3MjU5Mzg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stale", "name": "stale", "color": "d4c5f9", "default": false, "description": "This label marks the issue/pr stale - to be closed automatically if no activity" }, { "id": 1188421838, "node_id": "MDU6TGFiZWwxMTg4NDIxODM4", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/subtype:windows", "name": "subtype:windows", "color": "b619ea", "default": false, "description": "Windows Build/Installation Issues" }, { "id": 4257391797, "node_id": "LA_kwDOArmXAs79wqS1", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/wsl2", "name": "wsl2", "color": "A352E6", "default": false, "description": "Windows Subsystem for Linux" }, { "id": 4511033337, "node_id": "LA_kwDOArmXAs8AAAABDODn-Q", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.10", "name": "TF 2.10", "color": "C15088", "default": false, "description": "" } ]
closed
false
{ "login": "SuryanarayanaY", "id": 116063290, "node_id": "U_kgDOBur8Og", "avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SuryanarayanaY", "html_url": "https://github.com/SuryanarayanaY", "followers_url": "https://api.github.com/users/SuryanarayanaY/followers", "following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}", "gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}", "starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions", "organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs", "repos_url": "https://api.github.com/users/SuryanarayanaY/repos", "events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}", "received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events", "type": "User", "site_admin": false }
[ { "login": "SuryanarayanaY", "id": 116063290, "node_id": "U_kgDOBur8Og", "avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SuryanarayanaY", "html_url": "https://github.com/SuryanarayanaY", "followers_url": "https://api.github.com/users/SuryanarayanaY/followers", "following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}", "gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}", "starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions", "organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs", "repos_url": "https://api.github.com/users/SuryanarayanaY/repos", "events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}", "received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events", "type": "User", "site_admin": false } ]
null
[ "@pro1944191 ,\r\n\r\nFor uninstalling Tf2.13v, please try `pip uninstall tensorflow==2.13` for uninstalling Tf2.13v and the install Tf2.10 again with `pip install tensorflow==2.10` . \r\n\r\nFor details on accessing windows files from wsl2 please refer to this [resource](https://learn.microsoft.com/en-us/windows/wsl/filesystems).", "Thank you for you answer, I tried with `pip install tensorflow==2.10` but I got this error message from pip **ERROR: Could not find a version that satisfies the requirement tensorflow==2.10* (from versions: 2.12.0rc0, 2.12.0rc1, 2.12.0, 2.12.1, 2.13.0rc0, 2.13.0rc1, 2.13.0rc2, 2.13.0, 2.14.0rc0)\r\nERROR: No matching distribution found for tensorflow==2.10***", "Hey @pro1944191 i think you little bit messed up things. May i know `tf` version on both `WSL2 venv` & `conda env`? What os you wanna work on `linux(WSL2)` or `windows` ?", "You can install `tf==2.10` using `conda` too. Check here: [anaconda tf 2.10 binaries ](https://anaconda.org/anaconda/tensorflow/files?version=2.10.0)\r\nor you can retry with pip as ([pypi project](https://pypi.org/project/tensorflow/2.10.0/)):\r\n```\r\npip install tensorflow==2.10.0\r\n```", "Hi @pro1944191 ,\r\n\r\nI believe there is mix of Conda and Pip installations here causing the issue. We recommend to use only pip for installing tf binaries and refer the official [source](https://www.tensorflow.org/install/pip#:~:text=Note%3A%20Do%20not%20install%20TensorFlow%20with%20conda.%20It%20may%20not%20have%20the%20latest%20stable%20version.%20pip%20is%20recommended%20since%20TensorFlow%20is%20only%20officially%20released%20to%20PyPI.) for same. Could you please try with fresh environments.", "This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.", "This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further." ]
2023-08-23T10:37:51
2023-09-13T01:47:28
2023-09-13T01:47:28
NONE
null
null
null
Hi everyone, I was working on a project using tensorflow 2.10 with native gpu support. I wrongly updated the tf version to 2.13 that does not support gpu. So, I installed tensorflow 2.13 using wls2, now i don't know how to use the previous folder of my project on the conda environment created. Or intsead how to reinstall tf 2.10
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61673/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61673/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61672
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61672/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61672/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61672/events
https://github.com/tensorflow/tensorflow/pull/61672
1,861,846,280
PR_kwDOArmXAs5YhPYN
61,672
Update args description of crop_to_bounding_box & pad_to_bounding_box
{ "login": "SuryanarayanaY", "id": 116063290, "node_id": "U_kgDOBur8Og", "avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SuryanarayanaY", "html_url": "https://github.com/SuryanarayanaY", "followers_url": "https://api.github.com/users/SuryanarayanaY/followers", "following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}", "gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}", "starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions", "organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs", "repos_url": "https://api.github.com/users/SuryanarayanaY/repos", "events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}", "received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events", "type": "User", "site_admin": false }
[ { "id": 390482148, "node_id": "MDU6TGFiZWwzOTA0ODIxNDg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/awaiting%20review", "name": "awaiting review", "color": "bc3869", "default": false, "description": "Pull request awaiting review" }, { "id": 987666414, "node_id": "MDU6TGFiZWw5ODc2NjY0MTQ=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/ready%20to%20pull", "name": "ready to pull", "color": "2cd643", "default": false, "description": "PR ready for merge process" }, { "id": 1097547147, "node_id": "MDU6TGFiZWwxMDk3NTQ3MTQ3", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:ops", "name": "comp:ops", "color": "0052cc", "default": false, "description": "OPs related issues" }, { "id": 1169364458, "node_id": "MDU6TGFiZWwxMTY5MzY0NDU4", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:S", "name": "size:S", "color": "adafea", "default": false, "description": "CL Change Size: Small" } ]
closed
false
{ "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false }
[ { "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false } ]
null
[]
2023-08-22T16:48:11
2023-08-23T17:18:59
2023-08-23T17:18:58
COLLABORATOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61672", "html_url": "https://github.com/tensorflow/tensorflow/pull/61672", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61672.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61672.patch", "merged_at": "2023-08-23T17:18:58" }
Currently the documentation of the API `tf.image.crop_to_bounding_box` doesn't mentioning the acceptable dtypes of the arguments `offset_height, offset_width, target_height, target_width`. This API accepts only` tf.int32 Tensor` or a `integer`. For other dtypes its raising exception. Hence adding details of acceptable dtypes for these arguments for better clarity to the users. Refer attached gist for [crop_to_bounding_box](https://colab.sandbox.google.com/gist/SuryanarayanaY/57ceb39be4649987d0cf3c9a3eb584f4/tf-image-crop_to_bounding_box.ipynb#scrollTo=xvm-YCU4X2Z0). Also Fixes #61644 . Similarly `tf.image.pad_to_bounding_box` documentation also have the same arguments `offset_height, offset_width, target_height, target_width`. But these arguments accept `int32` and `int64`Tensors but not others.Hence added details of acceptable dtypes for these arguments for better clarity to the users. Refer attached gist for [pad_to_bounding_box](https://colab.sandbox.google.com/gist/SuryanarayanaY/c4bbec3161c740a73472c0361ba0959b/tf-image-pad_to_bounding_box.ipynb).
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61672/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61672/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61671
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61671/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61671/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61671/events
https://github.com/tensorflow/tensorflow/issues/61671
1,861,362,928
I_kwDOArmXAs5u8iTw
61,671
Performance difference of passing np array vs tf tensor into tf.train.FloatList
{ "login": "kralka", "id": 1704860, "node_id": "MDQ6VXNlcjE3MDQ4NjA=", "avatar_url": "https://avatars.githubusercontent.com/u/1704860?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kralka", "html_url": "https://github.com/kralka", "followers_url": "https://api.github.com/users/kralka/followers", "following_url": "https://api.github.com/users/kralka/following{/other_user}", "gists_url": "https://api.github.com/users/kralka/gists{/gist_id}", "starred_url": "https://api.github.com/users/kralka/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kralka/subscriptions", "organizations_url": "https://api.github.com/users/kralka/orgs", "repos_url": "https://api.github.com/users/kralka/repos", "events_url": "https://api.github.com/users/kralka/events{/privacy}", "received_events_url": "https://api.github.com/users/kralka/received_events", "type": "User", "site_admin": false }
[ { "id": 404586594, "node_id": "MDU6TGFiZWw0MDQ1ODY1OTQ=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20tensorflower", "name": "stat:awaiting tensorflower", "color": "f4b400", "default": false, "description": "Status - Awaiting response from tensorflower" }, { "id": 1097545817, "node_id": "MDU6TGFiZWwxMDk3NTQ1ODE3", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:apis", "name": "comp:apis", "color": "0052cc", "default": false, "description": "Highlevel API related issues" }, { "id": 1463677878, "node_id": "MDU6TGFiZWwxNDYzNjc3ODc4", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:performance", "name": "type:performance", "color": "159b2e", "default": false, "description": "Performance Issue" }, { "id": 5508003926, "node_id": "LA_kwDOArmXAs8AAAABSE14Vg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13", "name": "TF 2.13", "color": "B13ACB", "default": false, "description": "For issues related to Tensorflow 2.13" } ]
closed
false
{ "login": "sachinprasadhs", "id": 73069040, "node_id": "MDQ6VXNlcjczMDY5MDQw", "avatar_url": "https://avatars.githubusercontent.com/u/73069040?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sachinprasadhs", "html_url": "https://github.com/sachinprasadhs", "followers_url": "https://api.github.com/users/sachinprasadhs/followers", "following_url": "https://api.github.com/users/sachinprasadhs/following{/other_user}", "gists_url": "https://api.github.com/users/sachinprasadhs/gists{/gist_id}", "starred_url": "https://api.github.com/users/sachinprasadhs/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sachinprasadhs/subscriptions", "organizations_url": "https://api.github.com/users/sachinprasadhs/orgs", "repos_url": "https://api.github.com/users/sachinprasadhs/repos", "events_url": "https://api.github.com/users/sachinprasadhs/events{/privacy}", "received_events_url": "https://api.github.com/users/sachinprasadhs/received_events", "type": "User", "site_admin": false }
[ { "login": "sachinprasadhs", "id": 73069040, "node_id": "MDQ6VXNlcjczMDY5MDQw", "avatar_url": "https://avatars.githubusercontent.com/u/73069040?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sachinprasadhs", "html_url": "https://github.com/sachinprasadhs", "followers_url": "https://api.github.com/users/sachinprasadhs/followers", "following_url": "https://api.github.com/users/sachinprasadhs/following{/other_user}", "gists_url": "https://api.github.com/users/sachinprasadhs/gists{/gist_id}", "starred_url": "https://api.github.com/users/sachinprasadhs/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sachinprasadhs/subscriptions", "organizations_url": "https://api.github.com/users/sachinprasadhs/orgs", "repos_url": "https://api.github.com/users/sachinprasadhs/repos", "events_url": "https://api.github.com/users/sachinprasadhs/events{/privacy}", "received_events_url": "https://api.github.com/users/sachinprasadhs/received_events", "type": "User", "site_admin": false } ]
null
[ "Possibly duplicate of https://github.com/tensorflow/tensorflow/issues/37580 (closed due to inactivity)", "@SuryanarayanaY I was able to replicate the issue on colab, please find the [gist](https://colab.research.google.com/gist/sushreebarsa/9b5c90b9ec2eeaa20c04883f15376123/floatlist_np_vs_tf.ipynb#scrollTo=17nKROKLTO3A) here. Thank you!", "Thanks @kralka, I think what happens is that the construction of the proto message iterates over the entire array.\r\n\r\nThis iteration is a lot slower in TF than NumPy because the indexing method in TF is [pretty complicated](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/ops/array_ops.py#L979). We would like to improve the performance but it's not a priority right now.\r\n\r\nIt seems you already have a workaround for the original example. However if slow indexing is causing you trouble, please feel free to file a separate bug to discuss it.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61671\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61671\">No</a>\n" ]
2023-08-22T12:30:41
2023-08-29T00:45:44
2023-08-29T00:45:41
NONE
null
null
null
### Issue type Performance ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source binary ### TensorFlow version 2.13.0 ### Custom code Yes ### OS platform and distribution docker tensorflow/tensorflow:latest-gpu and Ubuntu ### Mobile device _No response_ ### Python version 3.8.10 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version CUDA Version: 12.0 NVIDIA_SMI 525.125.06 ### GPU model and memory RTX4090 ### Current behavior? Processing numpy array is much faster than processing the same tensor. This is likely connected to https://github.com/tensorflow/tensorflow/issues/30372 (they also serialize TF tensors). Happy to submit a workaround (conversion from tensor to np array). Both CPU and GPU are affected. ### Standalone code to reproduce the issue ```shell """Easily reproducible in Google Colab: https://colab.research.google.com/drive/1gzI7kYRICSepX7OpC715zYj5_0qwrbPx """ import numpy as np import tensorflow as tf import timeit np_val = np.random.random(size=(10_000)) tf_val = tf.constant(np_val) print(timeit.timeit(lambda: tf.train.FloatList(value=np_val), number=10)) print(timeit.timeit(lambda: tf.train.FloatList(value=tf_val), number=10)) print(timeit.timeit(lambda: tf.train.FloatList(value=tf_val.numpy()), number=10)) ``` ### Relevant log output ```shell 0.02872585691511631 25.905678499955684 0.02939283801242709 ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61671/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61671/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61670
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61670/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61670/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61670/events
https://github.com/tensorflow/tensorflow/pull/61670
1,861,152,913
PR_kwDOArmXAs5Ye3YW
61,670
Ensure that pywrap_quantize_model.so has correct RPATH
{ "login": "elfringham", "id": 10442001, "node_id": "MDQ6VXNlcjEwNDQyMDAx", "avatar_url": "https://avatars.githubusercontent.com/u/10442001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/elfringham", "html_url": "https://github.com/elfringham", "followers_url": "https://api.github.com/users/elfringham/followers", "following_url": "https://api.github.com/users/elfringham/following{/other_user}", "gists_url": "https://api.github.com/users/elfringham/gists{/gist_id}", "starred_url": "https://api.github.com/users/elfringham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/elfringham/subscriptions", "organizations_url": "https://api.github.com/users/elfringham/orgs", "repos_url": "https://api.github.com/users/elfringham/repos", "events_url": "https://api.github.com/users/elfringham/events{/privacy}", "received_events_url": "https://api.github.com/users/elfringham/received_events", "type": "User", "site_admin": false }
[ { "id": 987666414, "node_id": "MDU6TGFiZWw5ODc2NjY0MTQ=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/ready%20to%20pull", "name": "ready to pull", "color": "2cd643", "default": false, "description": "PR ready for merge process" }, { "id": 1169364259, "node_id": "MDU6TGFiZWwxMTY5MzY0MjU5", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:XS", "name": "size:XS", "color": "adafea", "default": false, "description": "CL Change Size: Extra Small" } ]
closed
false
{ "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false }
[ { "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false } ]
null
[ "The Py+CPP Test Suite failure is due to a flaky test and is not the result of this PR" ]
2023-08-22T10:22:27
2023-08-23T07:20:07
2023-08-23T07:20:06
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61670", "html_url": "https://github.com/tensorflow/tensorflow/pull/61670", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61670.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61670.patch", "merged_at": "2023-08-23T07:20:06" }
The new shared object pywrap_quantize_model.so needs to have its RPATH updated to find all dependent other shared objects. Fixes: https://github.com/tensorflow/tensorflow/issues/61668
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61670/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61670/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61669
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61669/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61669/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61669/events
https://github.com/tensorflow/tensorflow/issues/61669
1,861,059,138
I_kwDOArmXAs5u7YJC
61,669
Please help !
{ "login": "MilesTheProwler", "id": 134680400, "node_id": "U_kgDOCAcPUA", "avatar_url": "https://avatars.githubusercontent.com/u/134680400?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MilesTheProwler", "html_url": "https://github.com/MilesTheProwler", "followers_url": "https://api.github.com/users/MilesTheProwler/followers", "following_url": "https://api.github.com/users/MilesTheProwler/following{/other_user}", "gists_url": "https://api.github.com/users/MilesTheProwler/gists{/gist_id}", "starred_url": "https://api.github.com/users/MilesTheProwler/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MilesTheProwler/subscriptions", "organizations_url": "https://api.github.com/users/MilesTheProwler/orgs", "repos_url": "https://api.github.com/users/MilesTheProwler/repos", "events_url": "https://api.github.com/users/MilesTheProwler/events{/privacy}", "received_events_url": "https://api.github.com/users/MilesTheProwler/received_events", "type": "User", "site_admin": false }
[ { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 1161789751, "node_id": "MDU6TGFiZWwxMTYxNzg5NzUx", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%201.13", "name": "TF 1.13", "color": "7dedc4", "default": false, "description": "Issues related to TF 1.13" }, { "id": 1205615612, "node_id": "MDU6TGFiZWwxMjA1NjE1NjEy", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/subtype:%20ubuntu/linux", "name": "subtype: ubuntu/linux", "color": "b619ea", "default": false, "description": "Ubuntu/Linux Build/Installation Issues" } ]
closed
false
{ "login": "Varsha-anjanappa", "id": 137163810, "node_id": "U_kgDOCCz0Ig", "avatar_url": "https://avatars.githubusercontent.com/u/137163810?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Varsha-anjanappa", "html_url": "https://github.com/Varsha-anjanappa", "followers_url": "https://api.github.com/users/Varsha-anjanappa/followers", "following_url": "https://api.github.com/users/Varsha-anjanappa/following{/other_user}", "gists_url": "https://api.github.com/users/Varsha-anjanappa/gists{/gist_id}", "starred_url": "https://api.github.com/users/Varsha-anjanappa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Varsha-anjanappa/subscriptions", "organizations_url": "https://api.github.com/users/Varsha-anjanappa/orgs", "repos_url": "https://api.github.com/users/Varsha-anjanappa/repos", "events_url": "https://api.github.com/users/Varsha-anjanappa/events{/privacy}", "received_events_url": "https://api.github.com/users/Varsha-anjanappa/received_events", "type": "User", "site_admin": false }
[ { "login": "Varsha-anjanappa", "id": 137163810, "node_id": "U_kgDOCCz0Ig", "avatar_url": "https://avatars.githubusercontent.com/u/137163810?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Varsha-anjanappa", "html_url": "https://github.com/Varsha-anjanappa", "followers_url": "https://api.github.com/users/Varsha-anjanappa/followers", "following_url": "https://api.github.com/users/Varsha-anjanappa/following{/other_user}", "gists_url": "https://api.github.com/users/Varsha-anjanappa/gists{/gist_id}", "starred_url": "https://api.github.com/users/Varsha-anjanappa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Varsha-anjanappa/subscriptions", "organizations_url": "https://api.github.com/users/Varsha-anjanappa/orgs", "repos_url": "https://api.github.com/users/Varsha-anjanappa/repos", "events_url": "https://api.github.com/users/Varsha-anjanappa/events{/privacy}", "received_events_url": "https://api.github.com/users/Varsha-anjanappa/received_events", "type": "User", "site_admin": false } ]
null
[ "@NaToh5 You're encountering compatibility issues with TensorFlow 1.13.1, your RTX 3060 GPU, and the CUDA 10.0 version. The primary recommendation is to upgrade TensorFlow to a more recent version that is better suited for your RTX 3060 GPU and CUDA 10.0. TensorFlow 1.13.1 predates this hardware and might not work optimally. Keep in mind that upgrading TensorFlow might require some code adjustments due to changes in the API and the way TensorFlow's updated version handles certain operations.", "@AyushChauhan-ui Thank you for your reply. Can I use tensorflow-gpu 1.15.0 with my RTX 3060 and cuda version 10 or 11? I cannot use more advance tensorflow version on that Octopus model because that model is quite old and only working on tensorflow-gpu old version. \r\n\r\nOr how can I use tensorflow-gpu 1.13.1 ? Should I change my GPU and cuda?", "Hi @NaToh5 ,\r\n\r\nFor tensorflow-gpu version 1.13.1 and above, the CUDA version has to be 10.\r\nPlease refer the built configurations [here](https://www.tensorflow.org/install/source#gpu).\r\n\r\nThank you!!", "@Varsha-anjanappa so the issue is coming from my RTX 3060 GPU card or cuda ? I already install cuda 10.0 and still not working. ", "@NaToh5 CUDA 10 may not be compatible with RTX3060. Tensorflow 1.15.0 might work. You can try a newer version of CUDA.", "@AyushChauhan-ui thank you for your reply. The model cannot change to tensorflow upgraded version. Look like only working on tensorflow -gpu 1.13.1 . Do you think it might work when I upgrade to cuda 11 version with tensorflow 1.13.1 ?", "@NaToh5 Well Tensorflow 1.13.1 supports only upto CUDA 10. This combination will work but your RTX3060 will not be compatible with them.", "@AyushChauhan-ui It's working well on my old laptop with cuda 10 (tensorflow 1.13.1). Do you think 1.15.0 will work on cuda 11 ? ", "@NaToh5 Tensorflow 1.13.1 works well with CUDA 10 but they are not compatible with RTX3060.", "@NaToh5 Sorry I mean tensorflow-gpu 1.15.0 will compatible with cuda 11.5? ", "@NaToh5 Check the compatibility combinations here (https://www.tensorflow.org/install/source#gpu)", "@AyushChauhan-ui Thank you!!", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61669\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61669\">No</a>\n" ]
2023-08-22T09:38:14
2023-08-23T08:16:32
2023-08-23T08:16:29
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source source ### TensorFlow version 1.13.1 ### Custom code Yes ### OS platform and distribution Linux Ubuntu 20.0 ### Mobile device _No response_ ### Python version 3.6 ### Bazel version _No response_ ### GCC/compiler version 10.5.0 ### CUDA/cuDNN version 10 ### GPU model and memory RTX 3060 12G ### Current behavior? I am running the Octopus repo (https://github.com/thmoa/octopus) which use tensorflow-gpu version 1.13.1 . When I run that model with python, I got some errors from tensorflow. Please help me. ### Standalone code to reproduce the issue ```shell import os import argparse import tensorflow as tf import keras.backend as K from glob import glob from lib.io import openpose_from_file, read_segmentation, write_mesh from model.octopus import Octopus def main(weights, name, segm_dir, pose_dir, out_dir, opt_pose_steps, opt_shape_steps): segm_files = sorted(glob(os.path.join(segm_dir, '*.png'))) pose_files = sorted(glob(os.path.join(pose_dir, '*.json'))) if len(segm_files) != len(pose_files) or len(segm_files) == len(pose_files) == 0: exit('Inconsistent input.') K.set_session(tf.Session(config=tf.ConfigProto(gpu_options=tf.GPUOptions(allow_growth=True)))) model = Octopus(num=len(segm_files)) model.load(weights) segmentations = [read_segmentation(f) for f in segm_files] joints_2d, face_2d = [], [] for f in pose_files: j, f = openpose_from_file(f) assert(len(j) == 25) assert(len(f) == 70) joints_2d.append(j) face_2d.append(f) if opt_pose_steps: print('Optimizing for pose...') model.opt_pose(segmentations, joints_2d, opt_steps=opt_pose_steps) if opt_shape_steps: print('Optimizing for shape...') model.opt_shape(segmentations, joints_2d, face_2d, opt_steps=opt_shape_steps) print('Estimating shape...') pred = model.predict(segmentations, joints_2d) write_mesh('{}/{}.obj'.format(out_dir, name), pred['vertices'][0], pred['faces']) print('Done.') if __name__ == '__main__': parser = argparse.ArgumentParser() parser.add_argument( 'name', type=str, help="Sample name") parser.add_argument( 'segm_dir', type=str, help="Segmentation images directory") parser.add_argument( 'pose_dir', type=str, help="2D pose keypoints directory") parser.add_argument( '--opt_steps_pose', '-p', default=5, type=int, help="Optimization steps pose") parser.add_argument( '--opt_steps_shape', '-s', default=15, type=int, help="Optimization steps") parser.add_argument( '--out_dir', '-od', default='out', help='Output directory') parser.add_argument( '--weights', '-w', default='weights/octopus_weights.hdf5', help='Model weights file (*.hdf5)') args = parser.parse_args() main(args.weights, args.name, args.segm_dir, args.pose_dir, args.out_dir, args.opt_steps_pose, args.opt_steps_shape) ``` ### Relevant log output ```shell Processing sample... > Optimizing for pose... 0%| | 0/10 [00:00<?, ?it/s]2023-08-22 16:24:18.296359: I tensorflow/stream_executor/dso_loader.cc:152] successfully opened CUDA library libcublas.so.10.0 locally 2023-08-22 16:25:50.156420: I tensorflow/core/kernels/cuda_solvers.cc:159] Creating CudaSolver handles for stream 0x55fa094fdcf0 2023-08-22 16:26:08.284736: E tensorflow/stream_executor/cuda/cuda_blas.cc:698] failed to run cuBLAS routine cublasGemmBatchedEx: CUBLAS_STATUS_EXECUTION_FAILED 2023-08-22 16:26:08.284773: E tensorflow/stream_executor/cuda/cuda_blas.cc:2620] Internal: failed BLAS call, see log for details 2023-08-22 16:26:08.326578: I tensorflow/stream_executor/stream.cc:5014] [stream=0x55fa0950bb90,impl=0x55fa093dbf20] did not memcpy device-to-host; source: 0x813bc6700 2023-08-22 16:26:08.326623: F tensorflow/core/framework/op_kernel.cc:1408] Check failed: nullptr == ctx->op_kernel().AsAsync() (nullptr vs. 0x55fa38108400)Use OP_REQUIRES_ASYNC in AsyncOpKernel implementations. Aborted ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61669/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61669/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61668
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61668/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61668/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61668/events
https://github.com/tensorflow/tensorflow/issues/61668
1,861,025,387
I_kwDOArmXAs5u7P5r
61,668
TF Quantizer breaks pip package
{ "login": "elfringham", "id": 10442001, "node_id": "MDQ6VXNlcjEwNDQyMDAx", "avatar_url": "https://avatars.githubusercontent.com/u/10442001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/elfringham", "html_url": "https://github.com/elfringham", "followers_url": "https://api.github.com/users/elfringham/followers", "following_url": "https://api.github.com/users/elfringham/following{/other_user}", "gists_url": "https://api.github.com/users/elfringham/gists{/gist_id}", "starred_url": "https://api.github.com/users/elfringham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/elfringham/subscriptions", "organizations_url": "https://api.github.com/users/elfringham/orgs", "repos_url": "https://api.github.com/users/elfringham/repos", "events_url": "https://api.github.com/users/elfringham/events{/privacy}", "received_events_url": "https://api.github.com/users/elfringham/received_events", "type": "User", "site_admin": false }
[ { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 1478826728, "node_id": "MDU6TGFiZWwxNDc4ODI2NzI4", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:core", "name": "comp:core", "color": "024391", "default": false, "description": "issues related to core part of tensorflow" } ]
closed
false
{ "login": "tilakrayal", "id": 81610181, "node_id": "MDQ6VXNlcjgxNjEwMTgx", "avatar_url": "https://avatars.githubusercontent.com/u/81610181?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tilakrayal", "html_url": "https://github.com/tilakrayal", "followers_url": "https://api.github.com/users/tilakrayal/followers", "following_url": "https://api.github.com/users/tilakrayal/following{/other_user}", "gists_url": "https://api.github.com/users/tilakrayal/gists{/gist_id}", "starred_url": "https://api.github.com/users/tilakrayal/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tilakrayal/subscriptions", "organizations_url": "https://api.github.com/users/tilakrayal/orgs", "repos_url": "https://api.github.com/users/tilakrayal/repos", "events_url": "https://api.github.com/users/tilakrayal/events{/privacy}", "received_events_url": "https://api.github.com/users/tilakrayal/received_events", "type": "User", "site_admin": false }
[ { "login": "tilakrayal", "id": 81610181, "node_id": "MDQ6VXNlcjgxNjEwMTgx", "avatar_url": "https://avatars.githubusercontent.com/u/81610181?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tilakrayal", "html_url": "https://github.com/tilakrayal", "followers_url": "https://api.github.com/users/tilakrayal/followers", "following_url": "https://api.github.com/users/tilakrayal/following{/other_user}", "gists_url": "https://api.github.com/users/tilakrayal/gists{/gist_id}", "starred_url": "https://api.github.com/users/tilakrayal/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tilakrayal/subscriptions", "organizations_url": "https://api.github.com/users/tilakrayal/orgs", "repos_url": "https://api.github.com/users/tilakrayal/repos", "events_url": "https://api.github.com/users/tilakrayal/events{/privacy}", "received_events_url": "https://api.github.com/users/tilakrayal/received_events", "type": "User", "site_admin": false } ]
null
[ "@cfRod @nSircombe @penpornk @thaink ", "@elfringham From your comparison, what is the main difference between those two libs?", "@thaink \r\nWhen running ldd on pywrap_saved_model.so you get\r\n_pywrap_tensorflow_internal.so => /workspace/venv_bad/lib/python3.11/site-packages/tensorflow/python/saved_model/../_pywrap_tensorflow_internal.so (0x0000ffffa1c0a000)\r\n\r\nWhen running ldd on pywrap_quantize_model.so you get\r\n_pywrap_tensorflow_internal.so => not found\r\nSo it looks like RPATH is not set correctly.", "@thaink \r\nYes, RPATH does not contain the location of _pywrap_tensorflow_internal.so\r\n\r\n$ ls -l venv_bad/lib/python3.11/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so\r\n-rwxrwxr-x 1 andrew andrew 2513424 Aug 18 14:23 venv_bad/lib/python3.11/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so\r\n$ patchelf --print-rpath venv_bad/lib/python3.11/site-packages/tensorflow/compiler/mlir/quantization/tensorflow/python/pywrap_quantize_model.so\r\n$ORIGIN/../../../../../../_solib_local/_U_S_Stensorflow_Clibtensorflow_Uframework_Uimport_Ulib___Utensorflow:$ORIGIN/pywrap_quantize_model.so.runfiles/org_tensorflow/_solib_local/_U_S_Stensorflow_Clibtensorflow_Uframework_Uimport_Ulib___Utensorflow:$ORIGIN/../../../../../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal_Ulinux___Utensorflow_Spython:$ORIGIN/pywrap_quantize_model.so.runfiles/org_tensorflow/_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal_Ulinux___Utensorflow_Spython:$ORIGIN/:$ORIGIN/..:$ORIGIN/../..:$ORIGIN/../../..:$ORIGIN/../../../..:$ORIGIN/../../../../..", "Thanks for reporting and fixing @elfringham ", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61668\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61668\">No</a>\n" ]
2023-08-22T09:20:30
2023-08-23T07:20:10
2023-08-23T07:20:08
CONTRIBUTOR
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source source ### TensorFlow version git HEAD ### Custom code No ### OS platform and distribution Ubuntu 20.04 ### Mobile device n/a ### Python version 3.9.16 ### Bazel version 6.1.0 ### GCC/compiler version 16.0.6 ### CUDA/cuDNN version n/a ### GPU model and memory n/a ### Current behavior? The commit https://github.com/tensorflow/tensorflow/commit/fee881376914381062deb767759d144d0f07d760 added pywrap_quantize_model.so to the pip package but the build fails to set the RPATH for _pywrap_tensorflow_internal.so in the new .so leading to a failure in auditwheel when attempting to 'repair' to make it manylinux2014 compatible. ### Standalone code to reproduce the issue ```shell $ python3 -m auditwheel repair --plat manylinux2014_aarch64 ./tensorflow-pkg/tensorflow_aarch64-2.15.0-cp311-cp311-linux_aarch64.whl --wheel-dir ./whl/ ``` ### Relevant log output ```shell $ python3 -m auditwheel repair --plat manylinux2014_aarch64 ./tensorflow-pkg/tensorflow_aarch64-2.15.0-cp311-cp311-linux_aarch64.whl --wheel-dir ./whl/ INFO:auditwheel.main_repair:Repairing tensorflow_aarch64-2.15.0-cp311-cp311-linux_aarch64.whl Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/usr/local/lib/python3.11/dist-packages/auditwheel/__main__.py", line 6, in <module> sys.exit(main()) ^^^^^^ File "/usr/local/lib/python3.11/dist-packages/auditwheel/main.py", line 59, in main rval = args.func(args, p) ^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/auditwheel/main_repair.py", line 173, in execute out_wheel = repair_wheel( ^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/auditwheel/repair.py", line 80, in repair_wheel raise ValueError( ValueError: Cannot repair wheel, because required library "_pywrap_tensorflow_internal.so" could not be located Also $ ldd venv_bad/lib/python3.11/site-packages/tensorflow/compiler/mlir/quantization/tensorflow/python/pywrap_quantize_model.so linux-vdso.so.1 (0x0000ffffb8af9000) libtensorflow_framework.so.2 => /workspace/venv_bad/lib/python3.11/site-packages/tensorflow/compiler/mlir/quantization/tensorflow/python/../../../../../libtensorflow_framework.so.2 (0x0000ffffb6800000) _pywrap_tensorflow_internal.so => not found libdl.so.2 => /lib/aarch64-linux-gnu/libdl.so.2 (0x0000ffffb8923000) libpthread.so.0 => /lib/aarch64-linux-gnu/libpthread.so.0 (0x0000ffffb88f2000) libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x0000ffffb8847000) libstdc++.so.6 => /lib/aarch64-linux-gnu/libstdc++.so.6 (0x0000ffffb661b000) libgcc_s.so.1 => /lib/aarch64-linux-gnu/libgcc_s.so.1 (0x0000ffffb8823000) libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000ffffb64a8000) /lib/ld-linux-aarch64.so.1 (0x0000ffffb8ac9000) librt.so.1 => /lib/aarch64-linux-gnu/librt.so.1 (0x0000ffffb8809000) Compare with $ ldd venv_bad/lib/python3.11/site-packages/tensorflow/python/saved_model/pywrap_saved_model.so linux-vdso.so.1 (0x0000ffffa40a2000) libtensorflow_framework.so.2 => /workspace/venv_bad/lib/python3.11/site-packages/tensorflow/python/saved_model/../../libtensorflow_framework.so.2 (0x0000ffffa1e00000) _pywrap_tensorflow_internal.so => /workspace/venv_bad/lib/python3.11/site-packages/tensorflow/python/saved_model/../_pywrap_tensorflow_internal.so (0x0000ffffa1c0a000) libdl.so.2 => /lib/aarch64-linux-gnu/libdl.so.2 (0x0000ffffa3ee5000) libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x0000ffffa3e3a000) libpthread.so.0 => /lib/aarch64-linux-gnu/libpthread.so.0 (0x0000ffffa3e09000) libstdc++.so.6 => /lib/aarch64-linux-gnu/libstdc++.so.6 (0x0000ffffa1a25000) libgcc_s.so.1 => /lib/aarch64-linux-gnu/libgcc_s.so.1 (0x0000ffffa3de5000) libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000ffffa18b2000) /lib/ld-linux-aarch64.so.1 (0x0000ffffa4072000) librt.so.1 => /lib/aarch64-linux-gnu/librt.so.1 (0x0000ffffa3dcd000) libtensorflow_cc.so.2 => /workspace/venv_bad/lib/python3.11/site-packages/tensorflow/python/saved_model/../../libtensorflow_cc.so.2 (0x0000ffff8be00000) libml_dtypes.so.so => /workspace/venv_bad/lib/python3.11/site-packages/tensorflow/python/saved_model/../../tsl/python/lib/core/libml_dtypes.so.so (0x0000ffffa3d99000) libomp.so.5 => /usr/lib/llvm-16/lib/libomp.so.5 (0x0000ffff8bcc0000) ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61668/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61668/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61667
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61667/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61667/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61667/events
https://github.com/tensorflow/tensorflow/issues/61667
1,860,972,189
I_kwDOArmXAs5u7C6d
61,667
Android NDK Prefabs for Tensorflow Lite
{ "login": "mrousavy", "id": 15199031, "node_id": "MDQ6VXNlcjE1MTk5MDMx", "avatar_url": "https://avatars.githubusercontent.com/u/15199031?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mrousavy", "html_url": "https://github.com/mrousavy", "followers_url": "https://api.github.com/users/mrousavy/followers", "following_url": "https://api.github.com/users/mrousavy/following{/other_user}", "gists_url": "https://api.github.com/users/mrousavy/gists{/gist_id}", "starred_url": "https://api.github.com/users/mrousavy/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mrousavy/subscriptions", "organizations_url": "https://api.github.com/users/mrousavy/orgs", "repos_url": "https://api.github.com/users/mrousavy/repos", "events_url": "https://api.github.com/users/mrousavy/events{/privacy}", "received_events_url": "https://api.github.com/users/mrousavy/received_events", "type": "User", "site_admin": false }
[ { "id": 404586594, "node_id": "MDU6TGFiZWw0MDQ1ODY1OTQ=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20tensorflower", "name": "stat:awaiting tensorflower", "color": "f4b400", "default": false, "description": "Status - Awaiting response from tensorflower" }, { "id": 473173272, "node_id": "MDU6TGFiZWw0NzMxNzMyNzI=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:feature", "name": "type:feature", "color": "159b2e", "default": false, "description": "Feature requests" }, { "id": 473173351, "node_id": "MDU6TGFiZWw0NzMxNzMzNTE=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:build/install", "name": "type:build/install", "color": "159b2e", "default": false, "description": "Build and install issues" }, { "id": 750616506, "node_id": "MDU6TGFiZWw3NTA2MTY1MDY=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:lite", "name": "comp:lite", "color": "0052cc", "default": false, "description": "TF Lite related issues" }, { "id": 5508003926, "node_id": "LA_kwDOArmXAs8AAAABSE14Vg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13", "name": "TF 2.13", "color": "B13ACB", "default": false, "description": "For issues related to Tensorflow 2.13" } ]
open
false
{ "login": "arfaian", "id": 1106365, "node_id": "MDQ6VXNlcjExMDYzNjU=", "avatar_url": "https://avatars.githubusercontent.com/u/1106365?v=4", "gravatar_id": "", "url": "https://api.github.com/users/arfaian", "html_url": "https://github.com/arfaian", "followers_url": "https://api.github.com/users/arfaian/followers", "following_url": "https://api.github.com/users/arfaian/following{/other_user}", "gists_url": "https://api.github.com/users/arfaian/gists{/gist_id}", "starred_url": "https://api.github.com/users/arfaian/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/arfaian/subscriptions", "organizations_url": "https://api.github.com/users/arfaian/orgs", "repos_url": "https://api.github.com/users/arfaian/repos", "events_url": "https://api.github.com/users/arfaian/events{/privacy}", "received_events_url": "https://api.github.com/users/arfaian/received_events", "type": "User", "site_admin": false }
[ { "login": "arfaian", "id": 1106365, "node_id": "MDQ6VXNlcjExMDYzNjU=", "avatar_url": "https://avatars.githubusercontent.com/u/1106365?v=4", "gravatar_id": "", "url": "https://api.github.com/users/arfaian", "html_url": "https://github.com/arfaian", "followers_url": "https://api.github.com/users/arfaian/followers", "following_url": "https://api.github.com/users/arfaian/following{/other_user}", "gists_url": "https://api.github.com/users/arfaian/gists{/gist_id}", "starred_url": "https://api.github.com/users/arfaian/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/arfaian/subscriptions", "organizations_url": "https://api.github.com/users/arfaian/orgs", "repos_url": "https://api.github.com/users/arfaian/repos", "events_url": "https://api.github.com/users/arfaian/events{/privacy}", "received_events_url": "https://api.github.com/users/arfaian/received_events", "type": "User", "site_admin": false }, { "login": "pkgoogle", "id": 132095473, "node_id": "U_kgDOB9-d8Q", "avatar_url": "https://avatars.githubusercontent.com/u/132095473?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pkgoogle", "html_url": "https://github.com/pkgoogle", "followers_url": "https://api.github.com/users/pkgoogle/followers", "following_url": "https://api.github.com/users/pkgoogle/following{/other_user}", "gists_url": "https://api.github.com/users/pkgoogle/gists{/gist_id}", "starred_url": "https://api.github.com/users/pkgoogle/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pkgoogle/subscriptions", "organizations_url": "https://api.github.com/users/pkgoogle/orgs", "repos_url": "https://api.github.com/users/pkgoogle/repos", "events_url": "https://api.github.com/users/pkgoogle/events{/privacy}", "received_events_url": "https://api.github.com/users/pkgoogle/received_events", "type": "User", "site_admin": false } ]
null
[ "Hi @mrousavy \r\n\r\nAs per the [documentation](https://www.tensorflow.org/lite/android/development#tflite_c_api_2), \r\n\r\nCurrently, there is no straightforward way to extract all header files needed, we need include all header files manually.\r\n\r\n@pkgoogle Could you please look at this request?\r\n\r\nThanks.\r\n", "Hi @mrousavy, I can't find any documentation that we have a prefab available, should we take this as a feature request?", "Hey - yea sorry this was a question at first, but if that's not a feature then it's a feature request I guess :)\r\n\r\nHappy to help here - but prefabs are really making things a lot easier for us C++ developers. Thanks!", "Hi @arfaian, can you please take a look? Thanks." ]
2023-08-22T08:55:49
2023-08-25T20:55:49
null
NONE
null
null
null
Hey all! I'm trying to use Tensorflow Lite in an Android NDK/C++ environment. My `build.gradle` looks something like this: ```groovy ... android { ... buildFeatures { prefab true } } dependencies { ... implementation "org.tensorflow:tensorflow-lite:2.13.0" } ``` And in my `CMakeLists.txt` I try to find `tensorflow-lite` as a prefab: ```cmake ... find_package(tensorflow-lite REQUIRED CONFIG) ... target_link_libraries( ${PACKAGE_NAME} ... tensorflow-lite::tensorflow-lite ) ``` However, CMake is not able to find the package: ``` CMake Error at CMakeLists.txt:10 (find_package): Could not find a package configuration file provided by "tensorflow-lite" with any of the following names: tensorflow-liteConfig.cmake tensorflow-lite-config.cmake Add the installation prefix of "tensorflow-lite" to CMAKE_PREFIX_PATH or set "tensorflow-lite_DIR" to a directory containing one of the above files. If "tensorflow-lite" provides a separate development package or SDK, be sure it has been installed. ``` Does TensorFlow Lite not provide a prefab publish? This would make it a lot easier to integrate in such environments. Now I have to manually extract the .aar/zip and incldue the headers.
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61667/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61667/timeline
null
null
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61666
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61666/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61666/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61666/events
https://github.com/tensorflow/tensorflow/issues/61666
1,860,803,385
I_kwDOArmXAs5u6Zs5
61,666
python3.11.3 mismatch with tensorflow 2.13.0
{ "login": "danche354", "id": 11846497, "node_id": "MDQ6VXNlcjExODQ2NDk3", "avatar_url": "https://avatars.githubusercontent.com/u/11846497?v=4", "gravatar_id": "", "url": "https://api.github.com/users/danche354", "html_url": "https://github.com/danche354", "followers_url": "https://api.github.com/users/danche354/followers", "following_url": "https://api.github.com/users/danche354/following{/other_user}", "gists_url": "https://api.github.com/users/danche354/gists{/gist_id}", "starred_url": "https://api.github.com/users/danche354/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/danche354/subscriptions", "organizations_url": "https://api.github.com/users/danche354/orgs", "repos_url": "https://api.github.com/users/danche354/repos", "events_url": "https://api.github.com/users/danche354/events{/privacy}", "received_events_url": "https://api.github.com/users/danche354/received_events", "type": "User", "site_admin": false }
[ { "id": 386191887, "node_id": "MDU6TGFiZWwzODYxOTE4ODc=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response", "name": "stat:awaiting response", "color": "f4b400", "default": false, "description": "Status - Awaiting response from author" }, { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 474725938, "node_id": "MDU6TGFiZWw0NzQ3MjU5Mzg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stale", "name": "stale", "color": "d4c5f9", "default": false, "description": "This label marks the issue/pr stale - to be closed automatically if no activity" }, { "id": 1205765054, "node_id": "MDU6TGFiZWwxMjA1NzY1MDU0", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/subtype:macOS", "name": "subtype:macOS", "color": "b619ea", "default": false, "description": "macOS Build/Installation issues" }, { "id": 5508003926, "node_id": "LA_kwDOArmXAs8AAAABSE14Vg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13", "name": "TF 2.13", "color": "B13ACB", "default": false, "description": "For issues related to Tensorflow 2.13" } ]
closed
false
{ "login": "sushreebarsa", "id": 84765720, "node_id": "MDQ6VXNlcjg0NzY1NzIw", "avatar_url": "https://avatars.githubusercontent.com/u/84765720?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sushreebarsa", "html_url": "https://github.com/sushreebarsa", "followers_url": "https://api.github.com/users/sushreebarsa/followers", "following_url": "https://api.github.com/users/sushreebarsa/following{/other_user}", "gists_url": "https://api.github.com/users/sushreebarsa/gists{/gist_id}", "starred_url": "https://api.github.com/users/sushreebarsa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sushreebarsa/subscriptions", "organizations_url": "https://api.github.com/users/sushreebarsa/orgs", "repos_url": "https://api.github.com/users/sushreebarsa/repos", "events_url": "https://api.github.com/users/sushreebarsa/events{/privacy}", "received_events_url": "https://api.github.com/users/sushreebarsa/received_events", "type": "User", "site_admin": false }
[ { "login": "sushreebarsa", "id": 84765720, "node_id": "MDQ6VXNlcjg0NzY1NzIw", "avatar_url": "https://avatars.githubusercontent.com/u/84765720?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sushreebarsa", "html_url": "https://github.com/sushreebarsa", "followers_url": "https://api.github.com/users/sushreebarsa/followers", "following_url": "https://api.github.com/users/sushreebarsa/following{/other_user}", "gists_url": "https://api.github.com/users/sushreebarsa/gists{/gist_id}", "starred_url": "https://api.github.com/users/sushreebarsa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sushreebarsa/subscriptions", "organizations_url": "https://api.github.com/users/sushreebarsa/orgs", "repos_url": "https://api.github.com/users/sushreebarsa/repos", "events_url": "https://api.github.com/users/sushreebarsa/events{/privacy}", "received_events_url": "https://api.github.com/users/sushreebarsa/received_events", "type": "User", "site_admin": false } ]
null
[ "You seem to be running TensorFlow that was installed for Python 3.9 but using Python 3.11 interpreter. Of course it fails.", "What is the output of `python -m pip list; python -c \"import tensorflow as tf; print(tf)\"`?\r\n\r\n(replace `python` with `python3` / `python3.9` / `python3.11`, accordingly)", "@danche354 Could you please make sure that you are using compatible version as mentioned [here](https://www.tensorflow.org/install/source) under tested build configuration and followed the exact steps? \r\nPlease cross check the python version you are using!\r\nThank you!", "This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.", "This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61666\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61666\">No</a>\n" ]
2023-08-22T07:36:21
2023-09-07T01:47:24
2023-09-07T01:47:22
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source binary ### TensorFlow version 2.13.0 ### Custom code No ### OS platform and distribution macOS Venture 13.4 ### Mobile device _No response_ ### Python version 3.11.3 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? ![image](https://github.com/tensorflow/tensorflow/assets/11846497/3459b246-e377-499d-9d9f-e5f666fb7957) ### Standalone code to reproduce the issue ```shell import tensorflow ``` ### Relevant log output _No response_
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61666/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61666/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61665
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61665/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61665/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61665/events
https://github.com/tensorflow/tensorflow/issues/61665
1,860,636,268
I_kwDOArmXAs5u5w5s
61,665
`GLIBCXX_3.4.30' not found
{ "login": "andrewkim-pkt", "id": 28991376, "node_id": "MDQ6VXNlcjI4OTkxMzc2", "avatar_url": "https://avatars.githubusercontent.com/u/28991376?v=4", "gravatar_id": "", "url": "https://api.github.com/users/andrewkim-pkt", "html_url": "https://github.com/andrewkim-pkt", "followers_url": "https://api.github.com/users/andrewkim-pkt/followers", "following_url": "https://api.github.com/users/andrewkim-pkt/following{/other_user}", "gists_url": "https://api.github.com/users/andrewkim-pkt/gists{/gist_id}", "starred_url": "https://api.github.com/users/andrewkim-pkt/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/andrewkim-pkt/subscriptions", "organizations_url": "https://api.github.com/users/andrewkim-pkt/orgs", "repos_url": "https://api.github.com/users/andrewkim-pkt/repos", "events_url": "https://api.github.com/users/andrewkim-pkt/events{/privacy}", "received_events_url": "https://api.github.com/users/andrewkim-pkt/received_events", "type": "User", "site_admin": false }
[ { "id": 386191887, "node_id": "MDU6TGFiZWwzODYxOTE4ODc=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response", "name": "stat:awaiting response", "color": "f4b400", "default": false, "description": "Status - Awaiting response from author" }, { "id": 473173351, "node_id": "MDU6TGFiZWw0NzMxNzMzNTE=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:build/install", "name": "type:build/install", "color": "159b2e", "default": false, "description": "Build and install issues" }, { "id": 474725938, "node_id": "MDU6TGFiZWw0NzQ3MjU5Mzg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stale", "name": "stale", "color": "d4c5f9", "default": false, "description": "This label marks the issue/pr stale - to be closed automatically if no activity" }, { "id": 1205615612, "node_id": "MDU6TGFiZWwxMjA1NjE1NjEy", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/subtype:%20ubuntu/linux", "name": "subtype: ubuntu/linux", "color": "b619ea", "default": false, "description": "Ubuntu/Linux Build/Installation Issues" }, { "id": 5508003926, "node_id": "LA_kwDOArmXAs8AAAABSE14Vg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13", "name": "TF 2.13", "color": "B13ACB", "default": false, "description": "For issues related to Tensorflow 2.13" } ]
closed
false
{ "login": "Varsha-anjanappa", "id": 137163810, "node_id": "U_kgDOCCz0Ig", "avatar_url": "https://avatars.githubusercontent.com/u/137163810?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Varsha-anjanappa", "html_url": "https://github.com/Varsha-anjanappa", "followers_url": "https://api.github.com/users/Varsha-anjanappa/followers", "following_url": "https://api.github.com/users/Varsha-anjanappa/following{/other_user}", "gists_url": "https://api.github.com/users/Varsha-anjanappa/gists{/gist_id}", "starred_url": "https://api.github.com/users/Varsha-anjanappa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Varsha-anjanappa/subscriptions", "organizations_url": "https://api.github.com/users/Varsha-anjanappa/orgs", "repos_url": "https://api.github.com/users/Varsha-anjanappa/repos", "events_url": "https://api.github.com/users/Varsha-anjanappa/events{/privacy}", "received_events_url": "https://api.github.com/users/Varsha-anjanappa/received_events", "type": "User", "site_admin": false }
[ { "login": "Varsha-anjanappa", "id": 137163810, "node_id": "U_kgDOCCz0Ig", "avatar_url": "https://avatars.githubusercontent.com/u/137163810?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Varsha-anjanappa", "html_url": "https://github.com/Varsha-anjanappa", "followers_url": "https://api.github.com/users/Varsha-anjanappa/followers", "following_url": "https://api.github.com/users/Varsha-anjanappa/following{/other_user}", "gists_url": "https://api.github.com/users/Varsha-anjanappa/gists{/gist_id}", "starred_url": "https://api.github.com/users/Varsha-anjanappa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Varsha-anjanappa/subscriptions", "organizations_url": "https://api.github.com/users/Varsha-anjanappa/orgs", "repos_url": "https://api.github.com/users/Varsha-anjanappa/repos", "events_url": "https://api.github.com/users/Varsha-anjanappa/events{/privacy}", "received_events_url": "https://api.github.com/users/Varsha-anjanappa/received_events", "type": "User", "site_admin": false } ]
null
[ "Hi @andrewkim-pkt ,\r\n\r\nTry using Clang instead of GCC, as from tf v2.13 it supports compiler Clang. Please refer the documentation [here](https://www.tensorflow.org/install/source#cpu) for reference. Let us know if the issue still exists. \r\n\r\nThank you!!", "GCC 11.4 build with tr v2.13 works fine but GCC 12.2 got this issue.\r\nNever tried it with Clang, can you please share the steps for this to save time.\r\n\r\nFrom: Varsha-anjanappa ***@***.***>\r\nSent: Monday, August 21, 2023 11:54 PM\r\nTo: tensorflow/tensorflow ***@***.***>\r\nCc: Kim, Andrew ***@***.***>; Mention ***@***.***>\r\nSubject: Re: [tensorflow/tensorflow] `GLIBCXX_3.4.30' not found (Issue #61665)\r\n\r\n\r\nHi @andrewkim-pkt<https://github.com/andrewkim-pkt> ,\r\n\r\nTry using Clang instead of GCC, as from tf v2.13 it supports compiler Clang. Please refer the documentation here<https://www.tensorflow.org/install/source#cpu> for reference. Let us know if the issue still exists.\r\n\r\nThank you!!\r\n\r\n—\r\nReply to this email directly, view it on GitHub<https://github.com/tensorflow/tensorflow/issues/61665#issuecomment-1687580470>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AG5F7EB4IKY6IVIB35Q2SULXWRJRHANCNFSM6AAAAAA3ZLZ6XU>.\r\nYou are receiving this because you were mentioned.Message ID: ***@***.******@***.***>>\r\n", "Hi @andrewkim-pkt ,\r\n\r\nPlease follow the build from source steps [here](https://www.tensorflow.org/install/source).\r\nTo install clang please refer [here](https://www.tensorflow.org/install/source#install_clang_recommended_linux_only).\r\nConfigure the build and select Y to use Clang to build TensorFlow. Refer [here](https://www.tensorflow.org/install/source#expandable-1)\r\n\r\nThank you!!", "This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.", "This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61665\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61665\">No</a>\n" ]
2023-08-22T06:02:09
2023-09-07T01:47:27
2023-09-07T01:47:23
NONE
null
null
null
### Issue type Build/Install ### Have you reproduced the bug with TensorFlow Nightly? No ### Source source ### TensorFlow version r2.13 ### Custom code No ### OS platform and distribution amazon linux 2023 ### Mobile device _No response_ ### Python version 3.9 ### Bazel version 5.3.0 ### GCC/compiler version gcc 12.2 ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? ERROR: /root/tensorflow/tensorflow/core/transforms/remapper/BUILD:14:18: TdGenerate tensorflow/core/transforms/remapper/pdll/MklPDLLPatterns.h.inc [for host] failed: (Exit 1): mlir-pdll failed: error executing command bazel-out/host/bin/external/llvm-project/mlir/mlir-pdll '-x=cpp' tensorflow/core/transforms/remapper/pdll/mkl_patterns.pdll -I ./tensorflow/core/transforms/include -I ... (remaining 15 arguments skipped) bazel-out/host/bin/external/llvm-project/mlir/mlir-pdll: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by bazel-out/host/bin/external/llvm-project/mlir/mlir-pdll) ### Standalone code to reproduce the issue ```shell ERROR: /root/tensorflow/tensorflow/core/transforms/remapper/BUILD:14:18: TdGenerate tensorflow/core/transforms/remapper/pdll/MklPDLLPatterns.h.inc [for host] failed: (Exit 1): mlir-pdll failed: error executing command bazel-out/host/bin/external/llvm-project/mlir/mlir-pdll '-x=cpp' tensorflow/core/transforms/remapper/pdll/mkl_patterns.pdll -I ./tensorflow/core/transforms/include -I ... (remaining 15 arguments skipped) bazel-out/host/bin/external/llvm-project/mlir/mlir-pdll: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by bazel-out/host/bin/external/llvm-project/mlir/mlir-pdll) ``` ### Relevant log output ```shell ERROR: /root/tensorflow/tensorflow/core/transforms/remapper/BUILD:14:18: TdGenerate tensorflow/core/transforms/remapper/pdll/MklPDLLPatterns.h.inc [for host] failed: (Exit 1): mlir-pdll failed: error executing command bazel-out/host/bin/external/llvm-project/mlir/mlir-pdll '-x=cpp' tensorflow/core/transforms/remapper/pdll/mkl_patterns.pdll -I ./tensorflow/core/transforms/include -I ... (remaining 15 arguments skipped) bazel-out/host/bin/external/llvm-project/mlir/mlir-pdll: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by bazel-out/host/bin/external/llvm-project/mlir/mlir-pdll) ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61665/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61665/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61664
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61664/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61664/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61664/events
https://github.com/tensorflow/tensorflow/issues/61664
1,860,448,866
I_kwDOArmXAs5u5DJi
61,664
File "/usr/local/lib/python3.8/dist-packages/tensorflow/lite/python/interpreter.py", line 915, in invoke self._interpreter.Invoke() RuntimeError: tensorflow/lite/kernels/concatenation.cc:158 t->dims->data[d] != t0->dims->data[d] (1 != 2)Node number 304 (CONCATENATION) failed to prepare.
{ "login": "Mayi-Keiji", "id": 35233355, "node_id": "MDQ6VXNlcjM1MjMzMzU1", "avatar_url": "https://avatars.githubusercontent.com/u/35233355?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Mayi-Keiji", "html_url": "https://github.com/Mayi-Keiji", "followers_url": "https://api.github.com/users/Mayi-Keiji/followers", "following_url": "https://api.github.com/users/Mayi-Keiji/following{/other_user}", "gists_url": "https://api.github.com/users/Mayi-Keiji/gists{/gist_id}", "starred_url": "https://api.github.com/users/Mayi-Keiji/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Mayi-Keiji/subscriptions", "organizations_url": "https://api.github.com/users/Mayi-Keiji/orgs", "repos_url": "https://api.github.com/users/Mayi-Keiji/repos", "events_url": "https://api.github.com/users/Mayi-Keiji/events{/privacy}", "received_events_url": "https://api.github.com/users/Mayi-Keiji/received_events", "type": "User", "site_admin": false }
[ { "id": 386191887, "node_id": "MDU6TGFiZWwzODYxOTE4ODc=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response", "name": "stat:awaiting response", "color": "f4b400", "default": false, "description": "Status - Awaiting response from author" }, { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 474725938, "node_id": "MDU6TGFiZWw0NzQ3MjU5Mzg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stale", "name": "stale", "color": "d4c5f9", "default": false, "description": "This label marks the issue/pr stale - to be closed automatically if no activity" }, { "id": 750616506, "node_id": "MDU6TGFiZWw3NTA2MTY1MDY=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:lite", "name": "comp:lite", "color": "0052cc", "default": false, "description": "TF Lite related issues" }, { "id": 1661751498, "node_id": "MDU6TGFiZWwxNjYxNzUxNDk4", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TFLiteConverter", "name": "TFLiteConverter", "color": "bfdadc", "default": false, "description": "For issues related to TFLite converter" }, { "id": 4032183365, "node_id": "LA_kwDOArmXAs7wVjxF", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.9", "name": "TF 2.9", "color": "1CF842", "default": false, "description": "Issues found in the TF 2.9 release (or RCs)" } ]
closed
false
{ "login": "pjpratik", "id": 118897289, "node_id": "U_kgDOBxY6iQ", "avatar_url": "https://avatars.githubusercontent.com/u/118897289?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pjpratik", "html_url": "https://github.com/pjpratik", "followers_url": "https://api.github.com/users/pjpratik/followers", "following_url": "https://api.github.com/users/pjpratik/following{/other_user}", "gists_url": "https://api.github.com/users/pjpratik/gists{/gist_id}", "starred_url": "https://api.github.com/users/pjpratik/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pjpratik/subscriptions", "organizations_url": "https://api.github.com/users/pjpratik/orgs", "repos_url": "https://api.github.com/users/pjpratik/repos", "events_url": "https://api.github.com/users/pjpratik/events{/privacy}", "received_events_url": "https://api.github.com/users/pjpratik/received_events", "type": "User", "site_admin": false }
[ { "login": "pjpratik", "id": 118897289, "node_id": "U_kgDOBxY6iQ", "avatar_url": "https://avatars.githubusercontent.com/u/118897289?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pjpratik", "html_url": "https://github.com/pjpratik", "followers_url": "https://api.github.com/users/pjpratik/followers", "following_url": "https://api.github.com/users/pjpratik/following{/other_user}", "gists_url": "https://api.github.com/users/pjpratik/gists{/gist_id}", "starred_url": "https://api.github.com/users/pjpratik/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pjpratik/subscriptions", "organizations_url": "https://api.github.com/users/pjpratik/orgs", "repos_url": "https://api.github.com/users/pjpratik/repos", "events_url": "https://api.github.com/users/pjpratik/events{/privacy}", "received_events_url": "https://api.github.com/users/pjpratik/received_events", "type": "User", "site_admin": false } ]
null
[ "Hi @Mayi-Keiji \r\n\r\nThe input shape of the Keras model is observed as `(None,None,None,3)` and when converted to TFLite model it becomes shape `(1,1,1,3)`\r\n\r\nIf you want to run a model with dynamic input shape, resize the input shape before running inference. Otherwise, the None shape in Tensorflow models will be replaced by a placeholder of 1 in TFLite models.\r\n\r\nResizing the tensor with specific shape should solve the problem.\r\n\r\n```\r\ninterpreter = tf.lite.Interpreter(model_path=\"model.tflite\")\r\ninterpreter.resize_tensor_input(interpreter.get_input_details()[0]['index'], [1,224,224,3])\r\ninterpreter.allocate_tensors()\r\n\r\n# Get input and output tensors.\r\ninput_details = interpreter.get_input_details()\r\noutput_details = interpreter.get_output_details()\r\nprint(input_details)\r\n\r\n# Test the model on random input data.\r\ninput_shape = [1,224,224,3]\r\ninput_data = np.array(np.random.random_sample(input_shape), dtype=np.float32)\r\ninterpreter.set_tensor(input_details[0]['index'], input_data)\r\n\r\ninterpreter.invoke()\r\n\r\n# The function `get_tensor()` returns a copy of the tensor data.\r\n# Use `tensor()` in order to get a pointer to the tensor.\r\noutput_data = interpreter.get_tensor(output_details[0]['index'])\r\nprint(output_data)\r\n```\r\n\r\nPlease find this resolved [gist](https://colab.research.google.com/gist/pjpratik/d4c86f7ccf73cb2d82ee592dd83e7ed9/61664.ipynb) for the same and let us know if it helps.\r\n\r\nThanks.", "This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.", "I had the same issue and it was related to the input shape. @pjpratik thanks for helping me realise that!", "@NIKovachev Glad it helped.\r\n\r\n@Mayi-Keiji Feel free to close the issue if it is resolved.\r\n\r\nThanks.", "This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61664\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61664\">No</a>\n" ]
2023-08-22T02:41:46
2023-09-13T01:47:32
2023-09-13T01:47:30
NONE
null
null
null
### 1. System information ![image](https://github.com/tensorflow/tensorflow/assets/35233355/cfc8e9d3-9790-4a89-86db-062b97d3bbbc) - OS Platform and Distribution (Linux Ubuntu 20.04): - TensorFlow installation (2.9.1+nv22.9): ### 2. Code `import numpy as np import tensorflow as tf def main(): # Load the TFLite model and allocate tensors. interpreter = tf.lite.Interpreter(model_path="model.tflite") interpreter.allocate_tensors() #return # Get input and output tensors. input_details = interpreter.get_input_details() output_details = interpreter.get_output_details() # Test the model on random input data. input_shape = input_details[0]['shape'] input_data = np.array(np.random.random_sample(input_shape), dtype=np.float32) #interpreter.set_tensor(input_details[0]['index'], input_data) signatures = interpreter.get_signature_list() print(signatures) interpreter.invoke() return # The function `get_tensor()` returns a copy of the tensor data. # Use `tensor()` in order to get a pointer to the tensor. output_data = interpreter.get_tensor(output_details[0]['index']) print(output_data) if __name__ == '__main__': main()` **How to get the model:** I used a library here to get a unet with efficientnetb0 as encoder https://github.com/qubvel/segmentation_models. So you can try to use my script to get the model: ` BACKBONE = 'efficientnetb0' BATCH_SIZE = 1 CLASSES = ["background", "target", "others"] LR = 0.0001 EPOCHS = 10 preprocess_input = sm.get_preprocessing(BACKBONE) # define network parameters n_classes = 1 if len(CLASSES) == 1 else (len(CLASSES) + 1) # case for binary and multiclass segmentation activation = 'sigmoid' if n_classes == 1 else 'softmax' #create model model = sm.Unet(BACKBONE, classes=n_classes, activation=activation)`
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61664/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61664/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61663
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61663/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61663/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61663/events
https://github.com/tensorflow/tensorflow/pull/61663
1,860,433,378
PR_kwDOArmXAs5YcYu4
61,663
Enable rsync working on windows
{ "login": "mraunak", "id": 83710963, "node_id": "MDQ6VXNlcjgzNzEwOTYz", "avatar_url": "https://avatars.githubusercontent.com/u/83710963?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mraunak", "html_url": "https://github.com/mraunak", "followers_url": "https://api.github.com/users/mraunak/followers", "following_url": "https://api.github.com/users/mraunak/following{/other_user}", "gists_url": "https://api.github.com/users/mraunak/gists{/gist_id}", "starred_url": "https://api.github.com/users/mraunak/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mraunak/subscriptions", "organizations_url": "https://api.github.com/users/mraunak/orgs", "repos_url": "https://api.github.com/users/mraunak/repos", "events_url": "https://api.github.com/users/mraunak/events{/privacy}", "received_events_url": "https://api.github.com/users/mraunak/received_events", "type": "User", "site_admin": false }
[ { "id": 390482148, "node_id": "MDU6TGFiZWwzOTA0ODIxNDg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/awaiting%20review", "name": "awaiting review", "color": "bc3869", "default": false, "description": "Pull request awaiting review" }, { "id": 987666414, "node_id": "MDU6TGFiZWw5ODc2NjY0MTQ=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/ready%20to%20pull", "name": "ready to pull", "color": "2cd643", "default": false, "description": "PR ready for merge process" }, { "id": 1169364259, "node_id": "MDU6TGFiZWwxMTY5MzY0MjU5", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:XS", "name": "size:XS", "color": "adafea", "default": false, "description": "CL Change Size: Extra Small" } ]
closed
false
{ "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false }
[ { "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false } ]
null
[]
2023-08-22T02:22:21
2023-08-22T19:34:08
2023-08-22T19:34:07
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61663", "html_url": "https://github.com/tensorflow/tensorflow/pull/61663", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61663.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61663.patch", "merged_at": "2023-08-22T19:34:07" }
Running the 'rsync' command to transfer files to the destination failed on the Windows platform due to incompatibility with the Windows path as an input to the rsync command The error observed: ssh: Could not resolve hostname c: No such host is known. rsync: [sender] safe_read failed to read 4 bytes: Connection reset by peer (104) rsync error: error in rsync protocol data stream (code 12) at io.c(276) [sender=3.2.3] 1 [sig] rsync 2009! sigpacket::process: Suppressing signal 30 to win32 process (pid 20560) Resolution: Change the format of the file path which is input to the rsync, from Windows-compatible to Linux-compatible to resolve the issue
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61663/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61663/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61662
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61662/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61662/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61662/events
https://github.com/tensorflow/tensorflow/issues/61662
1,860,321,837
I_kwDOArmXAs5u4kIt
61,662
Ops listed in 'experimental_select_user_tf_ops' not being recognized by tf lite converter
{ "login": "anselmo0v", "id": 74565306, "node_id": "MDQ6VXNlcjc0NTY1MzA2", "avatar_url": "https://avatars.githubusercontent.com/u/74565306?v=4", "gravatar_id": "", "url": "https://api.github.com/users/anselmo0v", "html_url": "https://github.com/anselmo0v", "followers_url": "https://api.github.com/users/anselmo0v/followers", "following_url": "https://api.github.com/users/anselmo0v/following{/other_user}", "gists_url": "https://api.github.com/users/anselmo0v/gists{/gist_id}", "starred_url": "https://api.github.com/users/anselmo0v/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/anselmo0v/subscriptions", "organizations_url": "https://api.github.com/users/anselmo0v/orgs", "repos_url": "https://api.github.com/users/anselmo0v/repos", "events_url": "https://api.github.com/users/anselmo0v/events{/privacy}", "received_events_url": "https://api.github.com/users/anselmo0v/received_events", "type": "User", "site_admin": false }
[ { "id": 404586594, "node_id": "MDU6TGFiZWw0MDQ1ODY1OTQ=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20tensorflower", "name": "stat:awaiting tensorflower", "color": "f4b400", "default": false, "description": "Status - Awaiting response from tensorflower" }, { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 473173351, "node_id": "MDU6TGFiZWw0NzMxNzMzNTE=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:build/install", "name": "type:build/install", "color": "159b2e", "default": false, "description": "Build and install issues" }, { "id": 750616506, "node_id": "MDU6TGFiZWw3NTA2MTY1MDY=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:lite", "name": "comp:lite", "color": "0052cc", "default": false, "description": "TF Lite related issues" }, { "id": 1661751498, "node_id": "MDU6TGFiZWwxNjYxNzUxNDk4", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TFLiteConverter", "name": "TFLiteConverter", "color": "bfdadc", "default": false, "description": "For issues related to TFLite converter" }, { "id": 4989164230, "node_id": "LA_kwDOArmXAs8AAAABKWCaxg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/Android", "name": "Android", "color": "e99695", "default": false, "description": "" }, { "id": 5508003926, "node_id": "LA_kwDOArmXAs8AAAABSE14Vg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13", "name": "TF 2.13", "color": "B13ACB", "default": false, "description": "For issues related to Tensorflow 2.13" } ]
open
false
{ "login": "terryheo", "id": 2908505, "node_id": "MDQ6VXNlcjI5MDg1MDU=", "avatar_url": "https://avatars.githubusercontent.com/u/2908505?v=4", "gravatar_id": "", "url": "https://api.github.com/users/terryheo", "html_url": "https://github.com/terryheo", "followers_url": "https://api.github.com/users/terryheo/followers", "following_url": "https://api.github.com/users/terryheo/following{/other_user}", "gists_url": "https://api.github.com/users/terryheo/gists{/gist_id}", "starred_url": "https://api.github.com/users/terryheo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/terryheo/subscriptions", "organizations_url": "https://api.github.com/users/terryheo/orgs", "repos_url": "https://api.github.com/users/terryheo/repos", "events_url": "https://api.github.com/users/terryheo/events{/privacy}", "received_events_url": "https://api.github.com/users/terryheo/received_events", "type": "User", "site_admin": false }
[ { "login": "terryheo", "id": 2908505, "node_id": "MDQ6VXNlcjI5MDg1MDU=", "avatar_url": "https://avatars.githubusercontent.com/u/2908505?v=4", "gravatar_id": "", "url": "https://api.github.com/users/terryheo", "html_url": "https://github.com/terryheo", "followers_url": "https://api.github.com/users/terryheo/followers", "following_url": "https://api.github.com/users/terryheo/following{/other_user}", "gists_url": "https://api.github.com/users/terryheo/gists{/gist_id}", "starred_url": "https://api.github.com/users/terryheo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/terryheo/subscriptions", "organizations_url": "https://api.github.com/users/terryheo/orgs", "repos_url": "https://api.github.com/users/terryheo/repos", "events_url": "https://api.github.com/users/terryheo/events{/privacy}", "received_events_url": "https://api.github.com/users/terryheo/received_events", "type": "User", "site_admin": false }, { "login": "pkgoogle", "id": 132095473, "node_id": "U_kgDOB9-d8Q", "avatar_url": "https://avatars.githubusercontent.com/u/132095473?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pkgoogle", "html_url": "https://github.com/pkgoogle", "followers_url": "https://api.github.com/users/pkgoogle/followers", "following_url": "https://api.github.com/users/pkgoogle/following{/other_user}", "gists_url": "https://api.github.com/users/pkgoogle/gists{/gist_id}", "starred_url": "https://api.github.com/users/pkgoogle/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pkgoogle/subscriptions", "organizations_url": "https://api.github.com/users/pkgoogle/orgs", "repos_url": "https://api.github.com/users/pkgoogle/repos", "events_url": "https://api.github.com/users/pkgoogle/events{/privacy}", "received_events_url": "https://api.github.com/users/pkgoogle/received_events", "type": "User", "site_admin": false } ]
null
[ "Hi @anselmo0v \r\n\r\nAs per the [documentation](https://www.tensorflow.org/lite/api_docs/python/tf/lite/TargetSpec#attributes), it should only be used if we are using TF ops that may not be linked in by default with the TF ops that are provided when using the SELECT_TF_OPS path.\r\n\r\nI guess adding the regular select ops flag does the similar job as `RandomUniform` and `Mul `are already a part of [Select TF Ops](https://www.tensorflow.org/lite/guide/op_select_allowlist#tensorflow_core_operators). Please check this [gist](https://colab.research.google.com/gist/pjpratik/7860512ac86d586c96365cad4bf9d711/61662.ipynb).\r\n\r\nFor reducing the binary size of the TFLite model consider https://www.tensorflow.org/lite/guide/reduce_binary_size\r\n\r\nThanks.", "Hi @pjpratik, thank you very much for your response.\r\n\r\nSo, I understand what I am doing is not the intended use for the experimental_select_user_tf_ops flag. I had checked the guide to reduce binary size before, the thing is my laptop is freezing in the middle of the build with bazel when I set SELECT_TF_OPS, and that's why I wanted to reduce the number of ops included. \r\n\r\nAny chance there is a method to manually specify just some ops from the tf_ops set to be included in the build?", "Hi @anselmo0v \r\n\r\nThanks for the information.\r\n\r\nAs of now, we can only reduce the binary size by model, not using the list of ops. Selective building will include the necessary operators for your models.\r\n\r\n> I had checked the guide to reduce binary size before, the thing is my laptop is freezing in the middle of the build with bazel when I set SELECT_TF_OPS\r\n\r\nRegarding freezing issues during Bazel builds with the SELECT_TF_OPS flag, it's advisable to consider using a more powerful machine with robust CPU and memory configurations for smooth compilation of model, incase they are complex. \r\n\r\nIs it possible to share the error stack trace and TFLite model to reproduce the issue?\r\n\r\nThanks.\r\n\r\n", "Hi @pjpratik,\r\n\r\nI'll try to find a better machine to run the build and contact again with error trace if any. \r\n\r\nThank you very much for your help.", "Hi @anselmo0v \r\n\r\nDid you get a chance to run the build?\r\n\r\nThanks.", "Hi @pjpratik.\r\n\r\nYes, I have been following the reduce binary size [guide](https://www.tensorflow.org/lite/guide/reduce_binary_size) in various machines both Mac and Linux with no sucess at building tensorflowlite_flex. \r\n\r\nI decided to use an AWS EC2 instance with Docker to avoid possible dependency conflicts, but still the build fails. The instance has this specifications:\r\n\r\nRAM: 32GB\r\nvCPU: 16\r\nArchitecture: x86_64\r\nOS: Ubuntu 22.0.4 Server\r\n\r\nI use the same simple model of my first comment, previously converted and saved to a .tflite, setting _tf.lite.OpsSet.TFLITE_BUILTINS_ and _tf.lite.OpsSet.SELECT_TF_OPS_ .\r\n\r\nThese are the BUILD file inside the created _tmp_ folder and the Dockerfile I am using:\r\n[Dockerfile.txt](https://github.com/tensorflow/tensorflow/files/12551233/Dockerfile.txt)\r\n[BUILD.txt](https://github.com/tensorflow/tensorflow/files/12551234/BUILD.txt)\r\n\r\nThis is the error I get:\r\n[error_logs.txt](https://github.com/tensorflow/tensorflow/files/12551260/error_logs.txt)\r\n\r\nIt seems to be a consistent error in all the Intel - Linux machines I've tried. At lines _52 to 60_ of my Dockerfile I tried to solve this issue by including the source files from oneAPI into the source files of Tensorflow, but the same error keeps showing.\r\n\r\nI appreciate your help.", "Hi @pjpratik .\r\n\r\nSo I followed the [guide](https://www.tensorflow.org/lite/android/lite_build) to build .aar files for Java from the AWS EC2 instance I mentioned before and it was successful. \r\n\r\nNow I've tried to follow similar steps to build for C++. I've copied and modified the build_aar.sh file:\r\n[build_tf_flex.sh](https://github.com/tensorflow/tensorflow/files/12591917/build_tf_flex.txt)\r\n\r\nAnd divided my previous BUILD file into to different files:\r\n[BUILD_tfliteops](https://github.com/tensorflow/tensorflow/files/12591931/BUILD_tfliteops.txt)\r\n[BUILD_tfops](https://github.com/tensorflow/tensorflow/files/12591925/BUILD_tfops.txt)\r\n\r\nI also deleted lines _52 to 60_ (that added oneapi source files) from my Dockerfile:\r\n[Dockerfile](https://github.com/tensorflow/tensorflow/files/12591937/Dockerfile.txt)\r\n\r\nThe _tensorflowlite.so_ file is successfully created, but I get a lot of undefined reference errors when building the _tensorflowlite_flex.so_ file:\r\n[stderr-2](https://github.com/tensorflow/tensorflow/files/12591997/stderr-2.txt)\r\n\r\nThis is the command I'm using from the Docker container to build:\r\n`bash custom_files/build_tf_flex.sh --input_models=custom_files/cpp_tf_test.tflite --target_archs=arm64-v8a` Not sure if this is the correct target when building .so files for android, since other guides say you should use _android_arm64_.\r\n\r\nI can work for now with the .aar files but the reason I need to build for C++ is because I'm looking for cross platform integration.\r\n\r\nI really appreciate any help you can provide.\r\n\r\n\r\n\r\n\r\n", "Hi @anselmo0v \r\n\r\nSorry for the delayed response. Thanks for the information.\r\n\r\nJust wanted to know if you tried with just `--config=andorid_arm64` without monolithic build?\r\n\r\n```\r\nbazel build -c opt --cxxopt=--std=c++17 --config=android_arm64 --host_crosstool_top=@bazel_tools//tools/cpp:toolchain //tmp:tensorflowlite_flex \r\n```\r\n\r\nThanks.\r\n\r\n", "Hi @pjpratik.\r\n\r\nI retried as suggested, no `--config=monolithic` option and using `--confing=android_arm64` as target.\r\n\r\nThis is my new .sh file:\r\n[build_tf_flex.sh](https://github.com/tensorflow/tensorflow/files/12694149/build_tf_flex_2.txt)\r\n\r\nIt is back to the error related to missing dnnl files:\r\n[error_logs](https://github.com/tensorflow/tensorflow/files/12694147/error_logs_2.txt)\r\n\r\n", "Hi @anselmo0v \r\n\r\nThanks for the information.\r\n\r\n@pkgoogle Could you please check this issue?\r\n", "Hi @anselmo0v, Can you review this and see if it helps you.\r\nhttps://www.tensorflow.org/lite/guide/ops_select#cc\r\nhttps://www.tensorflow.org/lite/android/development#tools_for_building_with_c_and_c\r\n\r\nif that doesn't work can you please give me your exact steps (as if you are writing a shell script or Dockerfile) to reproduce the issue you are seeing. There's probably a way to get it from all the above but putting it all into one message will make things easier to debug.", "Hi @pkgoogle, thanks for taking a look at this issue. These are the steps I'm following:\r\n\r\n**1.** I create my .tflite file from this Google Colab Notebook [here](https://github.com/anselmo0v/test-tf-lite/blob/main/tflite_dummy_model.ipynb).\r\n\r\n**2.** I connect my local terminal by ssh to the AWS EC2 instance I use (RAM: 32GB, vCPU: 16, Architecture: x86_64, OS: Ubuntu 22.0.4 Server).\r\n\r\n**3.** I clone [my files](https://github.com/anselmo0v/test-tf-lite/tree/main/tf-builder-docker) from terminal.\r\n\r\n**4.** Then I build the docker image from my [Dockerfile](https://github.com/anselmo0v/test-tf-lite/blob/main/tf-builder-docker/Dockerfile):\r\n```\r\n cd tf-builder-docker\r\n sudo docker build . -t tf-builder -f Dockerfile\r\n```\r\n\r\n**5.** Next I run the container and go inside it:\r\n`sudo docker run -it -v $PWD:/host_dir tf-builder bash`\r\n\r\n**6.** Inside the running container, I go to the tensorflow source folder:\r\n`cd home/tensorflow-2.13.0`\r\n\r\n**7.** From there, I run my [build_tf_flex.sh](https://github.com/anselmo0v/test-tf-lite/blob/main/tf-builder-docker/build_tf_flex.sh) file:\r\n`bash custom_files/build_tf_flex.sh --input_models=custom_files/cpp_tf_test.tflite --target_archs=android_arm64`\r\n\r\nThe custom_files folder is created at my Dockerfile and contains the BUILD files, the build_tf_flex.sh file and the .tflite model. \r\n\r\nThe build_tf_flex.sh file is a customized file I made by taking the build_aar.sh file from tensorflow source code and modifying it to:\r\n\r\n - Build the tensorflowlite.so with the command: \r\n bazel ${CACHE_DIR_FLAG} build -c opt --cxxopt='--std=c++17' --config=${TARGET_ARCHS} //tmp:tensorflowlite --verbose_failures\r\n \r\n - Build the tensorflowlite_flex.so with the command:\r\n bazel ${CACHE_DIR_FLAG} build -c opt --cxxopt='--std=c++17' --config=${TARGET_ARCHS} --host_crosstool_top=@bazel_tools//tools/cpp:toolchain //tmp:tensorflowlite_flex --verbose_failures\r\n\r\nThe tensorflowlite.so file is successfully created, but at the tensorflowlite_flex.so building step I obtain the mentioned error:\r\n`fatal error: dnnl.hpp: No such file or directory`\r\n\r\nThis is the log file: \r\n[error_logs](https://github.com/tensorflow/tensorflow/files/12743392/error_logs_2.txt)\r\n", "Hi @anselmo0v,\r\n\r\nI was able to replicate your issue with the following steps:\r\n\r\n```\r\ngit clone https://github.com/anselmo0v/test-tf-lite.git\r\ncd test-tf-lite/tf-builder-docker\r\nsudo docker build . -t tf-builder -f Dockerfile\r\nsudo docker run -it -v $PWD:/host_dir tf-builder bash\r\ncd home/tensorflow-2.13.0\r\nbash custom_files/build_tf_flex.sh --input_models=custom_files/cpp_tf_test.tflite --target_archs=android_arm64\r\n```\r\n\r\nIt seems like that header (dnnl.hpp) is only included with some build_with_mkl flags, I tried a couple of different things but they all failed as well.\r\n\r\nI added a --define=build_with_mkl=true flag but that wasn't it, but it seems it got further\r\n```\r\n+ bazel-bin/tensorflow/lite/tools/list_flex_ops_no_kernel_main --graphs=custom_files/cpp_tf_test.tflite\r\n++ cat /home/tensorflow-2.13.0/tmp//ops_list.txt\r\n+ [[ [\"Mul\",\"RandomUniform\"] != \\[\\] ]]\r\n+ generate_flex_so\r\n+ pushd /home/tensorflow-2.13.0/tmp/\r\n/home/tensorflow-2.13.0/tmp /home/tensorflow-2.13.0\r\n+ cp /home/tensorflow-2.13.0/custom_files/BUILD_tfops /home/tensorflow-2.13.0/tmp//BUILD\r\n+ popd\r\n/home/tensorflow-2.13.0\r\n+ bazel --output_user_root=/home/bazel-results/cache build -c opt --cxxopt=--std=c++17 --config=android_arm64 --host_crosstool_top=@bazel_tools//tools/cpp:toolchain --define=build_with_mkl=true //tmp:tensorflowlite_flex --verbose_failures\r\n```\r\nproduces eventually:\r\n```\r\ntensorflow/core/kernels/mkl/mkl_avgpooling_op.cc:19:10: fatal error: dnnl.hpp: No such file or directory\r\n 19 | #include \"dnnl.hpp\"\r\n | ^~~~~~~~~~\r\ncompilation terminated.\r\nTarget //tmp:tensorflowlite_flex failed to build\r\nINFO: Elapsed time: 55.406s, Critical Path: 39.28s\r\nINFO: 776 processes: 50 internal, 726 local.\r\n```\r\n\r\n@terryheo, can you please take a look? Thanks.", "Hi @pkgoogle , @terryheo. \r\n\r\nJust checking if you have any updates on this issue.\r\n\r\nThanks." ]
2023-08-21T23:40:13
2023-10-17T13:41:31
null
NONE
null
null
null
### 1. System information - Google Colab Notebook ### 2. Code _#### Model Definition ---------_ ``` class CppTfTest(tf.Module): def __init__(self, name=None): super().__init__(name=name) @tf.function def call(self): frames = tf.range(600) bpm = tf.random.uniform( tf.TensorShape([600,]), minval=0, maxval=90, dtype=tf.dtypes.float64 ) return bpm, frames ``` _#### Model Saving ------------_ ``` cpp_tf_test = CppTfTest() tf.saved_model.save( cpp_tf_test, 'cpp_tf_test', signatures=cpp_tf_test.call.get_concrete_function() ) ``` _#### Model Conversion -----------_ ``` converter = tf.lite.TFLiteConverter.from_saved_model('cpp_tf_test') converter.target_spec = tf.lite.TargetSpec( supported_ops=[tf.lite.OpsSet.TFLITE_BUILTINS], experimental_select_user_tf_ops=[ 'RandomUniform', 'Mul' ] ) tflite_model = converter.convert() with open('cpp_tf_test.tflite', 'wb') as f: f.write(tflite_model) ``` --------------------------------------------------------------------------- > > ConverterError Traceback (most recent call last) > > [<ipython-input-88-4a7f170f3f72>](https://localhost:8080/#) in <cell line: 47>() > 45 #converter.allow_custom_ops=True > 46 > ---> 47 tflite_model = converter.convert() > 48 > 49 with open('cpp_tf_test.tflite', 'wb') as f: > > 7 frames > > [/usr/local/lib/python3.10/dist-packages/tensorflow/lite/python/lite.py](https://localhost:8080/#) in wrapper(self, *args, **kwargs) > 960 def wrapper(self, *args, **kwargs): > 961 # pylint: disable=protected-access > --> 962 return self._convert_and_export_metrics(convert_func, *args, **kwargs) > 963 # pylint: enable=protected-access > 964 > > [/usr/local/lib/python3.10/dist-packages/tensorflow/lite/python/lite.py](https://localhost:8080/#) in _convert_and_export_metrics(self, convert_func, *args, **kwargs) > 938 self._save_conversion_params_metric() > 939 start_time = time.process_time() > --> 940 result = convert_func(self, *args, **kwargs) > 941 elapsed_time_ms = (time.process_time() - start_time) * 1000 > 942 if result: > > [/usr/local/lib/python3.10/dist-packages/tensorflow/lite/python/lite.py](https://localhost:8080/#) in convert(self) > 1245 graph_def) > 1246 > -> 1247 return self._convert_from_saved_model(graph_def) > 1248 > 1249 > > [/usr/local/lib/python3.10/dist-packages/tensorflow/lite/python/lite.py](https://localhost:8080/#) in _convert_from_saved_model(self, graph_def) > 1128 converter_kwargs.update(quant_mode.converter_flags()) > 1129 > -> 1130 result = _convert_saved_model(**converter_kwargs) > 1131 return self._optimize_tflite_model( > 1132 result, quant_mode, quant_io=self.experimental_new_quantizer) > > [/usr/local/lib/python3.10/dist-packages/tensorflow/lite/python/convert_phase.py](https://localhost:8080/#) in wrapper(*args, **kwargs) > 210 else: > 211 report_error_message(str(converter_error)) > --> 212 raise converter_error from None # Re-throws the exception. > 213 except Exception as error: > 214 report_error_message(str(error)) > > [/usr/local/lib/python3.10/dist-packages/tensorflow/lite/python/convert_phase.py](https://localhost:8080/#) in wrapper(*args, **kwargs) > 203 def wrapper(*args, **kwargs): > 204 try: > --> 205 return func(*args, **kwargs) > 206 except ConverterError as converter_error: > 207 if converter_error.errors: > > [/usr/local/lib/python3.10/dist-packages/tensorflow/lite/python/convert.py](https://localhost:8080/#) in convert_saved_model(**kwargs) > 830 model_flags = build_model_flags(**kwargs) > 831 conversion_flags = build_conversion_flags(**kwargs) > --> 832 data = convert( > 833 model_flags.SerializeToString(), > 834 conversion_flags.SerializeToString(), > > [/usr/local/lib/python3.10/dist-packages/tensorflow/lite/python/convert.py](https://localhost:8080/#) in convert(model_flags_str, conversion_flags_str, input_data_str, debug_info_str, enable_mlir_converter) > 320 for error_data in _metrics_wrapper.retrieve_collected_errors(): > 321 converter_error.append_error(error_data) > --> 322 raise converter_error > 323 > 324 return _run_deprecated_conversion_binary(model_flags_str, > > ConverterError: <unknown>:0: error: loc(callsite(callsite(fused["RandomUniform:", "random_uniform/RandomUniform@__inference_call_11165"] at fused["StatefulPartitionedCall:", "StatefulPartitionedCall@__inference_signature_wrapper_11173"]) at fused["StatefulPartitionedCall:", "StatefulPartitionedCall"])): 'tf.RandomUniform' op is neither a custom op nor a flex op > <unknown>:0: note: loc(fused["StatefulPartitionedCall:", "StatefulPartitionedCall"]): called from > <unknown>:0: note: loc(callsite(callsite(fused["RandomUniform:", "random_uniform/RandomUniform@__inference_call_11165"] at fused["StatefulPartitionedCall:", "StatefulPartitionedCall@__inference_signature_wrapper_11173"]) at fused["StatefulPartitionedCall:", "StatefulPartitionedCall"])): Error code: ERROR_NEEDS_FLEX_OPS > <unknown>:0: error: loc(callsite(callsite(fused["Mul:", "random_uniform/Mul@__inference_call_11165"] at fused["StatefulPartitionedCall:", "StatefulPartitionedCall@__inference_signature_wrapper_11173"]) at fused["StatefulPartitionedCall:", "StatefulPartitionedCall"])): 'tf.Mul' op is neither a custom op nor a flex op > <unknown>:0: note: loc(fused["StatefulPartitionedCall:", "StatefulPartitionedCall"]): called from > <unknown>:0: note: loc(callsite(callsite(fused["Mul:", "random_uniform/Mul@__inference_call_11165"] at fused["StatefulPartitionedCall:", "StatefulPartitionedCall@__inference_signature_wrapper_11173"]) at fused["StatefulPartitionedCall:", "StatefulPartitionedCall"])): Error code: ERROR_NEEDS_FLEX_OPS > <unknown>:0: error: failed while converting: 'main': > Some ops are not supported by the native TFLite runtime, you can enable TF kernels fallback using TF Select. See instructions: https://www.tensorflow.org/lite/guide/ops_select > TF Select ops: Mul, RandomUniform > Details: > tf.Mul(tensor<600xf64>, tensor<f64>) -> (tensor<600xf64>) : {device = ""} > tf.RandomUniform(tensor<1xi32>) -> (tensor<600xf64>) : {device = "", seed = 0 : i64, seed2 = 0 : i64} I'm trying to convert this simple model to Tensorflow Lite using the _experimental_select_user_tf_ops_ flag to tell the converter what operations from the tf_ops set to include. I need this to run with just a subset of the tf_ops set since I have a bigger model that I need to optimize for a mobile app. I've try many things but the _experimental_select_user_tf_ops_ flag just doesn't seem to work.
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61662/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61662/timeline
null
null
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61661
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61661/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61661/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61661/events
https://github.com/tensorflow/tensorflow/issues/61661
1,859,814,287
I_kwDOArmXAs5u2oOP
61,661
ERROR: C:/users/ayush/_bazel_ayush/xv6zejqw/external/llvm_openmp/BUILD.bazel:233:34: Compiling external/llvm_openmp/z_Windows_NT-586_asm.S failed: not all outputs were created or valid
{ "login": "AyushShahh", "id": 71313814, "node_id": "MDQ6VXNlcjcxMzEzODE0", "avatar_url": "https://avatars.githubusercontent.com/u/71313814?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AyushShahh", "html_url": "https://github.com/AyushShahh", "followers_url": "https://api.github.com/users/AyushShahh/followers", "following_url": "https://api.github.com/users/AyushShahh/following{/other_user}", "gists_url": "https://api.github.com/users/AyushShahh/gists{/gist_id}", "starred_url": "https://api.github.com/users/AyushShahh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/AyushShahh/subscriptions", "organizations_url": "https://api.github.com/users/AyushShahh/orgs", "repos_url": "https://api.github.com/users/AyushShahh/repos", "events_url": "https://api.github.com/users/AyushShahh/events{/privacy}", "received_events_url": "https://api.github.com/users/AyushShahh/received_events", "type": "User", "site_admin": false }
[ { "id": 386191887, "node_id": "MDU6TGFiZWwzODYxOTE4ODc=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response", "name": "stat:awaiting response", "color": "f4b400", "default": false, "description": "Status - Awaiting response from author" }, { "id": 473173351, "node_id": "MDU6TGFiZWw0NzMxNzMzNTE=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:build/install", "name": "type:build/install", "color": "159b2e", "default": false, "description": "Build and install issues" }, { "id": 474725938, "node_id": "MDU6TGFiZWw0NzQ3MjU5Mzg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stale", "name": "stale", "color": "d4c5f9", "default": false, "description": "This label marks the issue/pr stale - to be closed automatically if no activity" }, { "id": 1188421838, "node_id": "MDU6TGFiZWwxMTg4NDIxODM4", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/subtype:windows", "name": "subtype:windows", "color": "b619ea", "default": false, "description": "Windows Build/Installation Issues" }, { "id": 5508003926, "node_id": "LA_kwDOArmXAs8AAAABSE14Vg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13", "name": "TF 2.13", "color": "B13ACB", "default": false, "description": "For issues related to Tensorflow 2.13" } ]
closed
false
{ "login": "sachinprasadhs", "id": 73069040, "node_id": "MDQ6VXNlcjczMDY5MDQw", "avatar_url": "https://avatars.githubusercontent.com/u/73069040?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sachinprasadhs", "html_url": "https://github.com/sachinprasadhs", "followers_url": "https://api.github.com/users/sachinprasadhs/followers", "following_url": "https://api.github.com/users/sachinprasadhs/following{/other_user}", "gists_url": "https://api.github.com/users/sachinprasadhs/gists{/gist_id}", "starred_url": "https://api.github.com/users/sachinprasadhs/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sachinprasadhs/subscriptions", "organizations_url": "https://api.github.com/users/sachinprasadhs/orgs", "repos_url": "https://api.github.com/users/sachinprasadhs/repos", "events_url": "https://api.github.com/users/sachinprasadhs/events{/privacy}", "received_events_url": "https://api.github.com/users/sachinprasadhs/received_events", "type": "User", "site_admin": false }
[ { "login": "sachinprasadhs", "id": 73069040, "node_id": "MDQ6VXNlcjczMDY5MDQw", "avatar_url": "https://avatars.githubusercontent.com/u/73069040?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sachinprasadhs", "html_url": "https://github.com/sachinprasadhs", "followers_url": "https://api.github.com/users/sachinprasadhs/followers", "following_url": "https://api.github.com/users/sachinprasadhs/following{/other_user}", "gists_url": "https://api.github.com/users/sachinprasadhs/gists{/gist_id}", "starred_url": "https://api.github.com/users/sachinprasadhs/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sachinprasadhs/subscriptions", "organizations_url": "https://api.github.com/users/sachinprasadhs/orgs", "repos_url": "https://api.github.com/users/sachinprasadhs/repos", "events_url": "https://api.github.com/users/sachinprasadhs/events{/privacy}", "received_events_url": "https://api.github.com/users/sachinprasadhs/received_events", "type": "User", "site_admin": false } ]
null
[ "@AyushShahh Could you please make sure to follow the steps mentioned [here](https://www.tensorflow.org/install/source_windows). FYI, GPU support on native-Windows is only available for 2.10 or earlier versions, starting in TF 2.11, CUDA build is not supported for Windows. For using TensorFlow GPU on Windows, you will need to build/install TensorFlow in [WSL2](https://www.tensorflow.org/install/pip#windows-wsl2) or use tensorflow-cpu with TensorFlow-DirectML-Plugin.\r\n\r\nThank you! ", "I followed all the steps and I am not building the tensorflow-gpu, I am building the normal version only", "@mraunak , Could you please take a look into this. Thanks!", "Hi @AyushShahh, --config=mkl is not supported on Windows, if you remove that, it should work.\r\nPlease let me know if you face any further issues. Moreover, for more information regarding config and inputs to the compiler or linker, you can refer to this link https://github.com/tensorflow/tensorflow/blob/master/.bazelrc", "This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.", "This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61661\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61661\">No</a>\n" ]
2023-08-21T17:19:33
2023-09-26T01:47:44
2023-09-26T01:47:41
NONE
null
null
null
### Issue type Build/Install ### Have you reproduced the bug with TensorFlow Nightly? No ### Source source ### TensorFlow version 2.13 ### Custom code No ### OS platform and distribution Windows 10 ### Mobile device _No response_ ### Python version 3.11.4 ### Bazel version 5.3.0 ### GCC/compiler version Visual Studio Build Tools 2019 with C++ tools ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? It was fetching, extracting and compiling everything was going well and afterwards suddenly it outputs failed to build ### Standalone code to reproduce the issue ```shell C:\tensorflow>echo %BAZEL_VS% C:/Program Files(x86)/Microsoft Visual Studio/2019/BuildTools C:\tensorflow>set BAZEL_VC=C:/Program Files(x86)/Microsoft Visual Studio/2019/BuildTools/VC C:\tensorflow>set BAZEL_SH=C:/msys64/usr/bin/bash.exe C:\tensorflow>set BAZEL_WINSDK_FULL_VERSION=10.0.19041.0 C:\tensorflow>git checkout r2.13 Updating files: 100% (6982/6982), done. Switched to a new branch 'r2.13' branch 'r2.13' set up to track 'origin/r2.13'. C:\tensorflow>set PYTHON_BIN_PATH=C:\Users\Ayush\AppData\Local\Programs\Python\Python311\python.exe C:\tensorflow>set PYTHON_LIB_PATH=C:\Users\Ayush\AppData\Local\Programs\Python\Python311\Lib\site-packages C:\tensorflow>set PYTHON_DIRECTORY=C:\Users\Ayush\AppData\Local\Programs\Python\Python311 C:\tensorflow>python configure.py You have bazel 5.3.0 installed. Do you wish to build TensorFlow with ROCm support? [y/N]: n No ROCm support will be enabled for TensorFlow. WARNING: Cannot build with CUDA support on Windows. Starting in TF 2.11, CUDA build is not supported for Windows. For using TensorFlow GPU on Windows, you will need to build/install TensorFlow in WSL2. Please specify optimization flags to use during compilation when bazel option "--config=opt" is specified [Default is /arch:AVX]: Would you like to override eigen strong inline for some C++ compilation to reduce the compilation time? [Y/n]: y Eigen strong inline overridden. Would you like to interactively configure ./WORKSPACE for Android builds? [y/N]: n Not configuring the WORKSPACE for Android builds. Preconfigured Bazel build configs. You can use any of the below by adding "--config=<>" to your build command. See .bazelrc for more details. --config=mkl # Build with MKL support. --config=mkl_aarch64 # Build with oneDNN and Compute Library for the Arm Architecture (ACL). --config=monolithic # Config for mostly static monolithic build. --config=numa # Build with NUMA support. --config=dynamic_kernels # (Experimental) Build kernels into separate shared objects. --config=v1 # Build with TensorFlow 1 API instead of TF 2 API. Preconfigured Bazel build configs to DISABLE default on features: --config=nogcp # Disable GCP support. --config=nonccl # Disable NVIDIA NCCL support. C:\tensorflow>bazel build --config=opt --config=mkl --copt=-msse --copt=-msse2 --copt=-msse3 --copt=-msse4.1 --copt=-msse4.2 //tensorflow/tools/pip_package:build_pip_package ``` ### Relevant log output ```shell INFO: Analyzed target //tensorflow/tools/pip_package:build_pip_package (614 packages loaded, 36592 targets configured). INFO: Found 1 target... ERROR: C:/users/ayush/_bazel_ayush/xv6zejqw/external/llvm_openmp/BUILD.bazel:233:34: output 'external/llvm_openmp/_objs/libiomp5md.dll/z_Windows_NT-586_asm.obj' was not created ERROR: C:/users/ayush/_bazel_ayush/xv6zejqw/external/llvm_openmp/BUILD.bazel:233:34: Compiling external/llvm_openmp/z_Windows_NT-586_asm.S failed: not all outputs were created or valid MASM : warning A4018:invalid command-line option : /bigobj MASM : warning A4018:invalid command-line option : /Zm500 MASM : warning A4018:invalid command-line option : /Z500 MASM : warning A4018:invalid command-line option : /Z00 MASM : warning A4018:invalid command-line option : /Z0 MASM : warning A4018:invalid command-line option : /EHsc MASM : warning A4018:invalid command-line option : /wd4351 MASM : warning A4018:invalid command-line option : /wd4291 MASM : warning A4018:invalid command-line option : /wd4250 MASM : warning A4018:invalid command-line option : /wd4996 MASM : warning A4018:invalid command-line option : /showIncludes Assembling: bazel-out/x64_windows-opt/bin/external/llvm_openmp/z_Windows_NT-586_asm.S Target //tensorflow/tools/pip_package:build_pip_package failed to build INFO: Elapsed time: 6810.134s, Critical Path: 970.02s INFO: 1408 processes: 307 internal, 1101 local. FAILED: Build did NOT complete successfully ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61661/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61661/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61660
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61660/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61660/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61660/events
https://github.com/tensorflow/tensorflow/pull/61660
1,859,805,380
PR_kwDOArmXAs5YaPQG
61,660
New TFL-to-tensor pass
{ "login": "rafaelubalmw", "id": 133914350, "node_id": "U_kgDOB_te7g", "avatar_url": "https://avatars.githubusercontent.com/u/133914350?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rafaelubalmw", "html_url": "https://github.com/rafaelubalmw", "followers_url": "https://api.github.com/users/rafaelubalmw/followers", "following_url": "https://api.github.com/users/rafaelubalmw/following{/other_user}", "gists_url": "https://api.github.com/users/rafaelubalmw/gists{/gist_id}", "starred_url": "https://api.github.com/users/rafaelubalmw/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rafaelubalmw/subscriptions", "organizations_url": "https://api.github.com/users/rafaelubalmw/orgs", "repos_url": "https://api.github.com/users/rafaelubalmw/repos", "events_url": "https://api.github.com/users/rafaelubalmw/events{/privacy}", "received_events_url": "https://api.github.com/users/rafaelubalmw/received_events", "type": "User", "site_admin": false }
[ { "id": 1169365682, "node_id": "MDU6TGFiZWwxMTY5MzY1Njgy", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:L", "name": "size:L", "color": "adafea", "default": false, "description": "CL Change Size: Large" } ]
closed
false
{ "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false }
[ { "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false } ]
null
[ "@jpienaar I did my best to address your comments. Let me know if there's anything else you'd like me to take care of.", "Hi @rafaelubalmw Can you please resolve conflicts? Thank you!\r\n", "This PR is stale because it has been open for 14 days with no activity. It will be closed if no further activity occurs. Thank you.", "Hi @rafaelubalmw Can you please resolve conflicts? Thank you!" ]
2023-08-21T17:13:23
2023-11-21T16:36:03
2023-11-21T16:36:03
NONE
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61660", "html_url": "https://github.com/tensorflow/tensorflow/pull/61660", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61660.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61660.patch", "merged_at": null }
This pull request introduces a new pass called `tensor-legalize-tfl` aimed at lowering the TFL dialect into *standard* MLIR dialects (`arith`, `builtin`, `func`, `index`, `linalg`, `math`, `memref`, or `tensor`). The pass includes a first conversion pattern aimed at lowering the `tfl.reshape` operation. ## 1. Organization The current support to convert the TFL dialect into lower-level MLIR dialects is concentrated in pass `tosa-legalize-tfl`, which uses TOSA as the target dialect. A limitation of this pass is posed by the fact that some TFL ops are representable in TOSA only for some combinations of their input operands, while other TFL ops are not representable in TOSA at all. To successfully lower such ops, one must rely on a richer variety of lower-level ops from MLIR standard dialects. After several discussions on the topic, it has been concluded that introducing a separate pass independent from TOSA is the most appropriate course of action. This pull request introduces pass `tensor-legalize-tfl`. While the name of this pass suggests that the `tensor` dialect is the conversion target, the pass may generate operation in any MLIR standard dialect other than `tosa`. These are some reasons that justify the choice of the `tensor` prefix in the pass name: - It is likely that the emitted code for a given conversion pattern uses an operation in the `tensor` dialect as its centerpiece. This is the case of the first lowering pattern introduced in this pull request, where op `tfl.reshape` is lowered directly into `tensor.reshape` in some straightforward corner cases, although the general case involves the introduction of significantly more complex logic in other dialects. - The proposed implementation aims at a parallel structure between the existing TFL-to-TOSA and the new TFL-to-tensor pass, regarding pass names (`tosa-legalize-tfl` vs `tensor-legalize-tfl`), directory hierarchy (directories `tosa` vs `tensor` under `tensorflow/compiler/mlir`), and file structure (files `legalize_tfl.cc`, `legalize_utils.cc`, `passes.td`, `passes.h`, unit tests, etc.). ## 2. Design principles The following principles have governed implementation decisions in the present pull request, and are also intended to determine future decisions in new conversion patterns added to the new `tensor-legalize-tfl` pass: - Pass `tensor-legalize-tfl` is intended as a complete pass to fully lower the TFL dialect in such a way that the resulting IR can be picked up by the MLIR repository for further lowering. - Every new conversion pattern introduced in `tensor-legalize-tfl` is intended to support every possible combination of input arguments for a given TFL operation, as described in the corresponding section of the TFL dialect specification. In some cases, this will introduce redundant lowering routes for the same TFL op (TFL -> TOSA -> standard dialects vs. TFL -> standard dialects). However, an independent design of the TFL-to-tensor pass provides valuable flexibility that frees us from having to reason about the semantic limitations of TOSA. - In spite of the independent design of `tosa-legalize-tfl` and `tensor-legalize-tfl`, development of new conversion patterns in `tensor-legalize-tfl` should focus on operations that are currently not supported (or that are only partially supported) in `tosa-legalize-tfl`. Such roadmap will speed up the ability for a user to connect Tensorflow with standard MLIR dialects for arbitrary sets of TFL ops by running passes TFL-to-TOSA and TFL-to-tensor sequentially. ## 3. Lowering `tfl.reshape` This lowering is intended to support any combination of valid operands for `tfl.reshape`, according to its somewhat ambiguous specification available [here](https://www.tensorflow.org/mlir/tfl_ops#tflreshape_tflreshapeop) and the less ambiguous and (presumably) intended counterpart in the TF dialect (`tf.Reshape`) available [here](https://www.tensorflow.org/mlir/tf_ops#tfreshape_tfreshapeop). The examples below illustrate the conversion strategy for various combinations of input arguments. The converted code has been formatted with descriptive SSA value names and detailed comments to break down intermediate steps. ### Constant shape When the shape tensor is constant, operation `tfl.reshape` has a direct conversion to `tensor.reshape`. TFL code ``` func.func @test_reshape(%arg0: tensor<13x21x3xf32>) -> tensor<*xf32> { %cst = arith.constant dense<[1, 819]> : tensor<2xi32> %0 = "tfl.reshape"(%arg0, %cst) : (tensor<13x21x3xf32>, tensor<2xi32>) -> tensor<*xf32> func.return %0 : tensor<*xf32> } ``` converts to ``` func.func @test_reshape(%arg0: tensor<13x21x3xf32>) -> tensor<*xf32> { %cst = arith.constant dense<[1, 819]> : tensor<2xi32> %reshape = tensor.reshape %arg0(%cst) : (tensor<13x21x3xf32>, tensor<2xi32>) -> tensor<*xf32> return %reshape : tensor<*xf32> } ``` ### Constant shape with wildcard The `tfl.reshape` operation allows for the shape tensor to include at most one wildcard value set to -1. If such value is present, it must be substituted with the intended dimension size of the shape tensor. If the input tensor has a static shape and the shape tensor is a constant, the wildcard substitution may happen at compile time. In the example below, size 819 is deduced for the second dimension of the shape tensor after conversion. TFL code ``` func.func @test_reshape(%arg0: tensor<13x21x3xf32>) -> tensor<*xf32> { %cst = arith.constant dense<[1, -1]> : tensor<2xi32> %0 = "tfl.reshape"(%arg0, %cst) : (tensor<13x21x3xf32>, tensor<2xi32>) -> tensor<*xf32> func.return %0 : tensor<*xf32> } ``` converts to ``` func.func @test_reshape(%arg0: tensor<13x21x3xf32>) -> tensor<*xf32> { %cst = arith.constant dense<[1, 819]> : tensor<2xi32> %reshape = tensor.reshape %arg0(%cst) : (tensor<13x21x3xf32>, tensor<2xi32>) -> tensor<*xf32> return %reshape : tensor<*xf32> } ``` ### Variable shape When the target shape is not a constant, new logic must be generated to determine whether the shape tensor has a wildcard value of -1 present in one of its components. When present, this wildcard must be substituted with the appropriate value at runtime. The substituting value is computed as the total size of the input tensor divided by each value TFL code ``` func.func @test_reshape_variable(%arg0: tensor<?xf32>, %arg1: tensor<2xi32>) -> tensor<?x?xf32> { %0 = "tfl.reshape"(%arg0, %arg1) : (tensor<?xf32>, tensor<2xi32>) -> tensor<?x?xf32> return %0 : tensor<?x?xf32> } ``` converts to ``` func.func @test_reshape_variable(%arg0: tensor<?xf32>, %arg1: tensor<2xi32>) -> tensor<?x?xf32> { // Constants %const_0 = arith.constant 0 : index %const_0_i32 = arith.constant 0 : i32 %const_1 = arith.constant 1 : index %const_1_tensor = arith.constant dense<1> : tensor<i32>} %const_minus_1_splat = arith.constant dense<-1> tensor<2xi32> // Calculate product of all element in the shape %shape_product_tensor = linalg.reduce ins(%arg1 : tensor<2xi32>) outs(%const_1_tensor : tensor<i32>) dimensions = [0] (%in: i32, %init: i32) { %temp_product = arith.muli %in, %init : i32 linalg.yield %temp_product : i32 } %shape_product = tensor.extract %shape_product_tensor[] : tensor<i32> // Check if the shape product is negative. Since there can be at most one // shape component set to -1, a negative product indicates that such shape // wildcard was present. shape_is_negative = arith.cmpi slt, %shape_product, %const_0_i32 : i32 shape_no_wildcard = scf.if shape_is_negative -> (tensor<2xi32>) { // Calculate size of input tensor input_size = scf.for %i = %const_0 to %const_1 step %const_1 iter_args(%acc_size = %const_1) -> (index) { %dim = tensor.dim %arg0, %i : tensor<?xf32> %temp_size = arith.muli %acc_size, %dim : index scf.yield %temp_size : index } input_size_i32 = arith.index_cast input_size : index to i32 // Calculate the missing shape item by diving input tensor size by all other // shape components. Then broadcast it into a tensor with as many elements as // the shape tensor. shape_product_abs = math.absi %shape_product : i32 shape_wildcard_value = arith.divsi input_size_i32, shape_product_abs : i32 shape_wildcard_splat = tensor.splat shape_wildcard_value : tensor<2xi32> // Create a mask for the shape tensor. This mask contains a 1 only at that // position where wildcard -1 is located in the shape tensor. shape_wildcard_mask = arith.cmpi eq, %arg1, %const_minus_1_splat : tensor<2xi32> // Use the mask to replace the wildcard with the computed size in the shape // tensor. %resolved_shape = arith.select shape_wildcard_mask, shape_wildcard_splat, %arg1 : tensor<2xi1>, tensor<2xi32> scf.yield %resolved_shape : tensor<2xi32> } else { // Shape has no wildcard and need not be modified. scf.yield %arg1 : tensor<2xi32> } // Now that we have a shape with no wildcard, it is safe to use // 'tensor.reshape'. %result = tensor.reshape %arg0(shape_no_wildcard) : (tensor<?xf32>, tensor<2xi32>) -> tensor<?x?xf32> return %result : tensor<?x?xf32> } ``` ### Unranked tensors Additional considerations are involved in lowering `tfl.reshape` when either the input or the shape tensor is unranked, as illustrated in the following example. The converted code includes comments prefixed with `NEW` to highlight the differences over the ranked case. TFL code ``` func.func @test_reshape_unranked(%arg0: tensor<*xf32>, %arg1: tensor<*xi32>) -> tensor<*xf32> { %0 = "tfl.reshape"(%arg0, %arg1) : (tensor<*xf32>, tensor<*xi32>) -> tensor<*xf32> return %0 : tensor<*xf32> } ``` converts to ``` func.func @test_reshape_unranked(%arg0: tensor<*xf32>, %arg1: tensor<*xi32>) -> tensor<*xf32> { %0 = arith.constant dense<-1> : tensor<i32> %c1 = arith.constant 1 : index %c0 = arith.constant 0 : index %1 = arith.constant dense<1> : tensor<i32>}> %c0_i32 = arith.constant 0 : i32 // NEW: Cast shape tensor into a 1D ranked tensor. %cast = tensor.cast %arg1 : tensor<*xi32> to tensor<?xi32> %reduced = linalg.reduce ins(%cast : tensor<?xi32>) outs(%1 : tensor<i32>) dimensions = [0] (%in: i32, %init: i32) { %4 = arith.muli %in, %init : i32 linalg.yield %4 : i32 } %extracted = tensor.extract %reduced[] : tensor<i32> %2 = arith.cmpi slt, %extracted, %c0_i32 : i32 %3 = scf.if %2 -> (tensor<?xi32>) { // NEW: Query the input tensor rank in order to calculate its total size. %rank = tensor.rank %arg0 : tensor<*xf32> %4 = scf.for %arg2 = %c0 to %rank step %c1 iter_args(%arg3 = %c1) -> (index) { %dim_1 = tensor.dim %arg0, %arg2 : tensor<*xf32> %12 = arith.muli %arg3, %dim_1 : index scf.yield %12 : index } %5 = arith.index_cast %4 : index to i32 %6 = math.absi %extracted : i32 %dim = tensor.dim %cast, %c0 : tensor<?xi32> %7 = arith.divsi %5, %6 : i32 %from_elements = tensor.from_elements %7 : tensor<i32> // NEW: When the size of the shape tensor is not known at compile time, // tensor splats are computed dynamically with a 'linalg.broadcast' op, // instead of 'tensor.splat'. %8 = tensor.empty(%dim) : tensor<?xi32> %broadcasted = linalg.broadcast ins(%from_elements : tensor<i32>) outs(%8 : tensor<?xi32>) dimensions = [0] %9 = tensor.empty(%dim) : tensor<?xi32> %broadcasted_0 = linalg.broadcast ins(%0 : tensor<i32>) outs(%9 : tensor<?xi32>) dimensions = [0] %10 = arith.cmpi eq, %cast, %broadcasted_0 : tensor<?xi32> %11 = arith.select %10, %broadcasted, %cast : tensor<?xi1>, tensor<?xi32> scf.yield %11 : tensor<?xi32> } else { scf.yield %cast : tensor<?xi32> } %reshape = tensor.reshape %arg0(%3) : (tensor<*xf32>, tensor<?xi32>) -> tensor<*xf32> return %reshape : tensor<*xf32> } ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61660/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61660/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61659
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61659/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61659/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61659/events
https://github.com/tensorflow/tensorflow/issues/61659
1,859,765,042
I_kwDOArmXAs5u2cMy
61,659
Error in PredictCost() for the op: op: "CropAndResize" attr
{ "login": "kvnsng", "id": 24256356, "node_id": "MDQ6VXNlcjI0MjU2MzU2", "avatar_url": "https://avatars.githubusercontent.com/u/24256356?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kvnsng", "html_url": "https://github.com/kvnsng", "followers_url": "https://api.github.com/users/kvnsng/followers", "following_url": "https://api.github.com/users/kvnsng/following{/other_user}", "gists_url": "https://api.github.com/users/kvnsng/gists{/gist_id}", "starred_url": "https://api.github.com/users/kvnsng/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kvnsng/subscriptions", "organizations_url": "https://api.github.com/users/kvnsng/orgs", "repos_url": "https://api.github.com/users/kvnsng/repos", "events_url": "https://api.github.com/users/kvnsng/events{/privacy}", "received_events_url": "https://api.github.com/users/kvnsng/received_events", "type": "User", "site_admin": false }
[ { "id": 386191887, "node_id": "MDU6TGFiZWwzODYxOTE4ODc=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response", "name": "stat:awaiting response", "color": "f4b400", "default": false, "description": "Status - Awaiting response from author" }, { "id": 1093464312, "node_id": "MDU6TGFiZWwxMDkzNDY0MzEy", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:others", "name": "type:others", "color": "159b2e", "default": false, "description": "issues not falling in bug, perfromance, support, build and install or feature" }, { "id": 1097547147, "node_id": "MDU6TGFiZWwxMDk3NTQ3MTQ3", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:ops", "name": "comp:ops", "color": "0052cc", "default": false, "description": "OPs related issues" }, { "id": 5508003926, "node_id": "LA_kwDOArmXAs8AAAABSE14Vg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13", "name": "TF 2.13", "color": "B13ACB", "default": false, "description": "For issues related to Tensorflow 2.13" } ]
closed
false
{ "login": "sachinprasadhs", "id": 73069040, "node_id": "MDQ6VXNlcjczMDY5MDQw", "avatar_url": "https://avatars.githubusercontent.com/u/73069040?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sachinprasadhs", "html_url": "https://github.com/sachinprasadhs", "followers_url": "https://api.github.com/users/sachinprasadhs/followers", "following_url": "https://api.github.com/users/sachinprasadhs/following{/other_user}", "gists_url": "https://api.github.com/users/sachinprasadhs/gists{/gist_id}", "starred_url": "https://api.github.com/users/sachinprasadhs/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sachinprasadhs/subscriptions", "organizations_url": "https://api.github.com/users/sachinprasadhs/orgs", "repos_url": "https://api.github.com/users/sachinprasadhs/repos", "events_url": "https://api.github.com/users/sachinprasadhs/events{/privacy}", "received_events_url": "https://api.github.com/users/sachinprasadhs/received_events", "type": "User", "site_admin": false }
[ { "login": "sachinprasadhs", "id": 73069040, "node_id": "MDQ6VXNlcjczMDY5MDQw", "avatar_url": "https://avatars.githubusercontent.com/u/73069040?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sachinprasadhs", "html_url": "https://github.com/sachinprasadhs", "followers_url": "https://api.github.com/users/sachinprasadhs/followers", "following_url": "https://api.github.com/users/sachinprasadhs/following{/other_user}", "gists_url": "https://api.github.com/users/sachinprasadhs/gists{/gist_id}", "starred_url": "https://api.github.com/users/sachinprasadhs/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sachinprasadhs/subscriptions", "organizations_url": "https://api.github.com/users/sachinprasadhs/orgs", "repos_url": "https://api.github.com/users/sachinprasadhs/repos", "events_url": "https://api.github.com/users/sachinprasadhs/events{/privacy}", "received_events_url": "https://api.github.com/users/sachinprasadhs/received_events", "type": "User", "site_admin": false } ]
null
[ "@kvnsng Could you please confirm the python version you are using?\r\nPlease make sure to use the [compatible](https://www.tensorflow.org/install/source#ubuntu) versions when you are upgrading TF version. \r\nIn order to expedite the trouble-shooting process, please provide a code snippet to reproduce the issue reported here. Thank you!", "@sushreebarsa `tensorflow==2.4.1` was used with `python 3.8` and `tensorflow==2.13.0` was with `python 3.10`. I used a docker image from tensorflow dockerhub, so I imagine it all had the correct TF versions.\r\n\r\nI'll try to prep a small code snippet that could reproduce the issue. Thanks!", "@kvnsng Is there any update on this issue?\r\nThank you!", "@sushreebarsa apologies for the delay but work has been crazy. I'll work on getting a code snippet together by the end of this week. Thanks!", "Hi @kvnsng ,\r\n\r\nThe version difference is huge from 2.4 to 2.14, many things have changed since then, it is difficult to point to the specific change without any reproducible code.\r\n\r\nIf you are not able to provide the reproducible code, I would suggest you to go through our release notes https://github.com/tensorflow/tensorflow/blob/master/RELEASE.md which could help you to identify the changes made.\r\n\r\nIf you have managed to identify the source file of the module you are using, you can check the commit history to identify the changes made.", "@sachinprasadhs \r\n\r\nI tried to recreate the error by writing sample codes, but have not been able to. I can't share the full code due to legal reasons. I'll go ahead and close this since I can't provide a reproducible code.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61659\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61659\">No</a>\n" ]
2023-08-21T16:50:23
2023-10-11T14:02:46
2023-10-11T14:02:42
NONE
null
null
null
### Issue type Others ### Have you reproduced the bug with TensorFlow Nightly? No ### Source source ### TensorFlow version tf 2.13.0 ### Custom code Yes ### OS platform and distribution Ubuntu 20.04 ### Mobile device _No response_ ### Python version 3.10 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? We have a model that used to run on python 3.7 + tensorflow 2.4.1. When upgrading to tensorflow 2.13.0, we're seeing this error message, which seems to correlate with the degradation of our model performance. Any idea what might be leading to this error and what could be changed? It does seem like when I remove `tf.function` decorator, this error message goes away. So, I'm assuming it has something to do with tracing, but not entirely sure why it's erroring out in tf 2.13 and not in 2.4.1... ``` Error in PredictCost() for the op: op: "CropAndResize" attr { key: "T" value { type: DT_FLOAT } } attr { key: "extrapolation_value" value { f: 0 } } attr { key: "method" value { s: "bilinear" } } inputs { dtype: DT_FLOAT shape { dim { size: -569 } dim { size: 128 } dim { size: 224 } dim { size: 2 } } } inputs { dtype: DT_FLOAT shape { dim { size: -16 } dim { size: 4 } } } inputs { dtype: DT_INT32 shape { dim { size: -16 } } } inputs { dtype: DT_INT32 shape { dim { size: 2 } } value { dtype: DT_INT32 tensor_shape { dim { size: 2 } } tensor_content: "\030\000\000\000\020\000\000\000" } } device { type: "GPU" vendor: "NVIDIA" model: "Tesla V100-SXM2-16GB" frequency: 1530 num_cores: 80 environment { key: "architecture" value: "7.0" } environment { key: "cuda" value: "11080" } environment { key: "cudnn" value: "8600" } num_registers: 65536 l1_cache_size: 24576 l2_cache_size: 6291456 shared_memory_size_per_multiprocessor: 98304 memory_size: 11614814208 bandwidth: 898048000 } outputs { dtype: DT_FLOAT shape { dim { size: -16 } dim { size: 24 } dim { size: 16 } dim { size: 2 } } } ``` ### Standalone code to reproduce the issue ```shell I don't have a standalone code to reproduce the issue, but would just like some feedback on what might be causing the above issue... ``` ### Relevant log output _No response_
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61659/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61659/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61658
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61658/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61658/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61658/events
https://github.com/tensorflow/tensorflow/issues/61658
1,859,596,163
I_kwDOArmXAs5u1y-D
61,658
Unable to serialize VariableSpec
{ "login": "Ella-Adu", "id": 72527404, "node_id": "MDQ6VXNlcjcyNTI3NDA0", "avatar_url": "https://avatars.githubusercontent.com/u/72527404?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Ella-Adu", "html_url": "https://github.com/Ella-Adu", "followers_url": "https://api.github.com/users/Ella-Adu/followers", "following_url": "https://api.github.com/users/Ella-Adu/following{/other_user}", "gists_url": "https://api.github.com/users/Ella-Adu/gists{/gist_id}", "starred_url": "https://api.github.com/users/Ella-Adu/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Ella-Adu/subscriptions", "organizations_url": "https://api.github.com/users/Ella-Adu/orgs", "repos_url": "https://api.github.com/users/Ella-Adu/repos", "events_url": "https://api.github.com/users/Ella-Adu/events{/privacy}", "received_events_url": "https://api.github.com/users/Ella-Adu/received_events", "type": "User", "site_admin": false }
[ { "id": 386191887, "node_id": "MDU6TGFiZWwzODYxOTE4ODc=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response", "name": "stat:awaiting response", "color": "f4b400", "default": false, "description": "Status - Awaiting response from author" }, { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 474725938, "node_id": "MDU6TGFiZWw0NzQ3MjU5Mzg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stale", "name": "stale", "color": "d4c5f9", "default": false, "description": "This label marks the issue/pr stale - to be closed automatically if no activity" }, { "id": 5508003926, "node_id": "LA_kwDOArmXAs8AAAABSE14Vg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13", "name": "TF 2.13", "color": "B13ACB", "default": false, "description": "For issues related to Tensorflow 2.13" } ]
closed
false
{ "login": "tilakrayal", "id": 81610181, "node_id": "MDQ6VXNlcjgxNjEwMTgx", "avatar_url": "https://avatars.githubusercontent.com/u/81610181?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tilakrayal", "html_url": "https://github.com/tilakrayal", "followers_url": "https://api.github.com/users/tilakrayal/followers", "following_url": "https://api.github.com/users/tilakrayal/following{/other_user}", "gists_url": "https://api.github.com/users/tilakrayal/gists{/gist_id}", "starred_url": "https://api.github.com/users/tilakrayal/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tilakrayal/subscriptions", "organizations_url": "https://api.github.com/users/tilakrayal/orgs", "repos_url": "https://api.github.com/users/tilakrayal/repos", "events_url": "https://api.github.com/users/tilakrayal/events{/privacy}", "received_events_url": "https://api.github.com/users/tilakrayal/received_events", "type": "User", "site_admin": false }
[ { "login": "tilakrayal", "id": 81610181, "node_id": "MDQ6VXNlcjgxNjEwMTgx", "avatar_url": "https://avatars.githubusercontent.com/u/81610181?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tilakrayal", "html_url": "https://github.com/tilakrayal", "followers_url": "https://api.github.com/users/tilakrayal/followers", "following_url": "https://api.github.com/users/tilakrayal/following{/other_user}", "gists_url": "https://api.github.com/users/tilakrayal/gists{/gist_id}", "starred_url": "https://api.github.com/users/tilakrayal/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tilakrayal/subscriptions", "organizations_url": "https://api.github.com/users/tilakrayal/orgs", "repos_url": "https://api.github.com/users/tilakrayal/repos", "events_url": "https://api.github.com/users/tilakrayal/events{/privacy}", "received_events_url": "https://api.github.com/users/tilakrayal/received_events", "type": "User", "site_admin": false } ]
null
[ "The warning message, is a strong indication that the Lambda layer should be rewritten as a subclassed Layer, suggests that there might be an issue with a Lambda layer in your code. Try rewriting the Lambda layer using the tf.keras.layers.Layer subclassing approach instead of using a Lambda layer directly.", "@Ella-Adu,\r\ntf.keras.Lambda: Note that if variables are involved in the layer created by this method, the variable will not be automatically added to the variable set for gradient calculation. Therefore, if there are parameters to be trained in the user-defined layer, it is recommended to customize the model layer based on the base class.\r\n\r\n```\r\nweights = tf.Variable(tf.random.normal((4, 2)), name='w')\r\nbias = tf.ones((1, 2), name='b')\r\nprint(bias)\r\nx_input = tf.range(12.).numpy().reshape(-1, 4)\r\n\r\n# lambda custom layer\r\nmylayer1 = tf.keras.layers.Lambda(lambda x: tf.add(tf.matmul(x, weights),\r\n bias), name='lambda1')\r\nmylayer1(x_input)\r\n\r\ntf.Tensor([[1. 1.]], shape=(1, 2), dtype=float32)\r\n```\r\nAlso please have a look at this [blog](https://programming.vip/docs/day-6-tensorflow2-model-subclassing-api.html) for reference. Thank you!", "This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.", "This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61658\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61658\">No</a>\n" ]
2023-08-21T15:11:42
2023-09-06T01:47:09
2023-09-06T01:47:07
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source source ### TensorFlow version tf 2.13.0 ### Custom code Yes ### OS platform and distribution windows 11 ### Mobile device _No response_ ### Python version 3.11.4 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? A graph ### Standalone code to reproduce the issue ```shell from models import * from conftest import DDPGAgent import matplotlib as plt import pytest import time # Just disables the warning, doesn't take advantage of AVX/FMA to run faster import os os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' # setting for hidden layers Layer1 = 400 Layer2 = 300 class MecTer(object): """ MEC terminal parent class """ def __init__(self, user_config, train_config): self.rate = user_config['rate'] self.dis = user_config['dis'] self.id = user_config['id'] self.state_dim = user_config['state_dim'] self.action_dim = user_config['action_dim'] self.action_bound = user_config['action_bound'] self.data_buf_size = user_config['data_buf_size'] self.t_factor = user_config['t_factor'] self.penalty = user_config['penalty'] self.sigma2 = train_config['sigma2'] self.init_path = '' self.isUpdateActor = True self.init_seqCnt = 0 if 'model' not in user_config: self.channelModel = MarkovModel(self.dis, seed=train_config['random_seed']) else: n_t = 1 n_r = user_config['num_r'] self.channelModel = ARModel(self.dis, n_t, n_r, seed=train_config['random_seed']) self.DataBuf = 0 self.Channel = self.channelModel.getCh() self.SNR = 0 self.Power = np.zeros(self.action_dim) self.Reward = 0 self.State = [] # some pre-defined parameters self.k = 1e-27 self.t = 0.001 self.L = 500 def localProc(self, p): return np.power(p / self.k, 1.0 / 3.0) * self.t / self.L / 1000 def localProcRev(self, b): return np.power(b * 1000 * self.L / self.t, 3.0) * self.k def offloadRev(self, b): return (np.power(2.0, b) - 1) * self.sigma2 / np.power(np.linalg.norm(self.Channel), 2) def offloadRev2(self, b): return self.action_bound if self.SNR <= 1e-12 else (np.power(2.0, b) - 1) / self.SNR def getCh(self): return self.Channel def setSNR(self, snr): self.SNR = snr self.sampleCh() channel_gain = np.power(np.linalg.norm(self.Channel), 2) / self.sigma2 self.State = np.array([self.DataBuf, snr, channel_gain]) def sampleData(self): data_t = np.log2(1 + self.Power[0] * self.SNR) data_p = self.localProc(self.Power[1]) over_power = 0 self.DataBuf -= data_t + data_p if self.DataBuf < 0: over_power = self.Power[1] - self.localProcRev(np.fmax(0, self.DataBuf + data_p)) self.DataBuf = 0 data_r = np.random.poisson(self.rate) self.DataBuf += data_r return data_t, data_p, data_r, over_power def sampleCh(self): # self.Channel = self.channelModel.sampleCh() # Calculate channel gain using channel quantization raw_channel_gain = np.linalg.norm(self.channelModel.sampleCh()) min_val = np.min(self.Channel) max_val = np.max(self.Channel) # Quantize the channel gain into 10 levels quantized_channel_gain = min_val + (max_val - min_val) * (raw_channel_gain - min_val) / (max_val - min_val) quantized_channel_gain = np.clip(quantized_channel_gain, min_val, max_val) self.Channel = quantized_channel_gain return self.Channel def reset(self, rate, seqCount): self.rate = rate self.DataBuf = np.random.randint(0, self.data_buf_size - 1) / 2.0 self.sampleCh() if seqCount >= self.init_seqCnt: self.isUpdateActor = True return self.DataBuf class MecTermRL(MecTer): """ MEC terminal class using RL """ # rate:packet poisson arrival, dis: distance in meters def __init__(self, user_config, train_config): MecTer.__init__(self, user_config, train_config) self.agent = DDPGAgent(user_config, train_config) if 'init_path' in user_config and len(user_config['init_path']) > 0: self.init_path = user_config['init_path'] self.init_seqCnt = user_config['init_seqCnt'] self.isUpdateActor = False def feedback(self, snr, done): isOverflow = 0 self.SNR = snr # update the data buffer [data_t, data_p, data_r, over_power] = self.sampleData() # get the reward for the current slot self.Reward = -self.t_factor * np.sum(self.Power) * 10 - (1 - self.t_factor) * self.DataBuf # estimate the channel for next slot self.sampleCh() # update the actor and critic network channel_gain = np.power(np.linalg.norm(self.Channel), 2) / self.sigma2 next_state = np.array([self.DataBuf, snr, channel_gain]) self.agent.update(self.State, self.Power, self.Reward, done, next_state, self.isUpdateActor) # update system state self.State = next_state # return the reward in this slot sum_power = np.sum(self.Power) - over_power return self.Reward, sum_power, over_power, data_t, data_p, data_r, self.DataBuf, channel_gain, isOverflow def predict(self, isRandom): power, noise = self.agent.predict(self.State, self.isUpdateActor) self.Power = np.fmax(0, np.fmin(self.action_bound, power)) return self.Power, noise class MecSvrEnv(object): """ Simulation environment """ def __init__(self, user_list, num_att, sigma2, max_len): self.user_list = user_list self.num_user = len(user_list) self.num_att = num_att self.sigma2 = sigma2 self.count = 0 self.seqCount = 0 self.max_len = max_len # specially designed for Greedy agent training # self.data_set = [] def init_target_network(self): for user in self.user_list: user.critic.init_target_network(path='data_set_OGD.npz') def plot_channel_gains_histogram(self): # Get the channel gains for all users channel_gains = [np.abs(user.getCh()) for user in self.user_list] # Flatten the channel gains to a 1D array flat_channel_gains = np.concatenate(channel_gains) # plot a histogram for the channel gains plt.hist(np.abs(flat_channel_gains), bins=20, edgecolor='black') plt.title("Channel Gains Histogram") plt.xlabel("Channel Gain Magnitude") plt.ylabel("Frequency") plt.show() def step_transmit(self, isRandom=True): # get the channel vectors channels = np.transpose([user.getCh() for user in self.user_list]) # get the transmit powers powers = [] noises = [] for i in range(self.num_user): p, n = self.user_list[i].predict(isRandom) powers.append(p.copy()) noises.append(n.copy()) # compute the snr for each user powers = np.array(powers) noises = np.array(noises) snr_list = self.compute_snr(channels, powers[:, 0]) rewards = np.zeros(self.num_user) powers = np.zeros(self.num_user) over_powers = np.zeros(self.num_user) data_ts = np.zeros(self.num_user) data_ps = np.zeros(self.num_user) data_rs = np.zeros(self.num_user) data_buf_sizes = np.zeros(self.num_user) next_channels = np.zeros(self.num_user) isOverflows = np.zeros(self.num_user) self.count += 1 # feedback the snr to each user for i in range(self.num_user): [rewards[i], powers[i], over_powers[i], data_ts[i], data_ps[i], data_rs[i], data_buf_sizes[i], next_channels[i], isOverflows[i]] = self.user_list[i].feedback(snr_list[i], self.count >= self.max_len) return rewards, self.count >= self.max_len, powers, over_powers, noises, data_ts, data_ps, data_rs, data_buf_sizes, next_channels, isOverflows def compute_snr(self, channels, powers): # FDD - Computing SNR H_inv = np.linalg.pinv(channels) total_signal_power = np.power(np.linalg.norm(channels, axis=1), 2) noise = np.power(np.linalg.norm(H_inv, axis=1), 2) * self.sigma2 snr_list = total_signal_power / noise return snr_list def reset(self, isTrain=True): self.count = 0 if isTrain: init_data_buf_size = [user.reset(user.rate, self.seqCount) for user in self.user_list] # get the channel vectors channels = np.transpose([user.getCh() for user in self.user_list]) # get the transmit powers to start powers = [np.random.uniform(0, user.action_bound) for user in self.user_list] # compute the snr for each user snr_list = self.compute_snr(channels, powers) else: init_data_buf_size = [0 for user in self.user_list] snr_list = [0 for user in self.user_list] for i in range(self.num_user): self.user_list[i].setSNR(snr_list[i]) self.seqCount += 1 return init_data_buf_size # Create the environment # def env(): # envi = MecSvrEnv(user_list, NUM_R, SIGMA2, MAX_EPISODE_LEN) # return envi # env = MecSvrEnv(user_list, NUM_R, SIGMA2, MAX_EPISODE_LEN) # env.init_target_network() train_config = { 'sigma2': 0.01, 'minibatch_size': 64, 'actor_lr': 0.0001, 'tau': 0.001, 'critic_lr': 0.001, 'gamma': 0.99, 'buffer_size': 250000, 'random_seed': int(time.perf_counter() * 1000 % 1000), 'noise_sigma': 0.12 } # Define user_list_info with user information user_list_info = [ {'state_dim': 3, 'action_dim': 1, 'id': '1', 'action_bound': 1, 'model': 'AR', 'num_r': 4, 'rate': 3.0, 'dis': 100, 'data_buf_size': 100, 't_factor': 1.0, 'penalty': 1000, } ] # sess = tf.compat.v1.Session() # Create instances of the User class from the dictionary in user_list user_list = [ MecTermRL(user_config=user_info, train_config=train_config) for user_info in user_list_info ] # Initialize variables for user in user_list: user.agent.init_target_network() # ( # path="C:/Users/USER/PycharmProjects/mec_drl-masterr/mec_drl-master/mec_drl-master/data_set_OGD.npz" # ) @pytest.fixture def env(): # Create and return the environment object # Make sure to adjust this to properly create your environment instance return MecSvrEnv(user_list, NUM_R, SIGMA2, MAX_EPISODE_LEN) ``` ### Relevant log output ```shell WARNING:tensorflow:The following Variables were used in a Lambda layer's call (tf.__operators__.add_1), but are not present in its tracked objects: <tf.Variable 'dense_5/bias:0' shape=(300,) dtype=float32>. This is a strong indication that the Lambda layer should be rewritten as a subclassed Layer. Traceback (most recent call last): File "C:\Users\USER\anaconda3\Lib\site-packages\keras\src\saving\legacy\saved_model\json_utils.py", line 207, in get_json_type type_spec_name = type_spec_registry.get_name(type(obj)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\USER\anaconda3\Lib\site-packages\tensorflow\python\framework\type_spec_registry.py", line 75, in get_name raise ValueError("TypeSpec %s.%s has not been registered." % ValueError: TypeSpec tensorflow.python.ops.resource_variable_ops.VariableSpec has not been registered. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\USER\PycharmProjects\mec_drl-masterr\mec_drl-master\mec_drl-master\test.py", line 303, in <module> user_list = [ ^ File "C:\Users\USER\PycharmProjects\mec_drl-masterr\mec_drl-master\mec_drl-master\test.py", line 304, in <listcomp> MecTermRL(user_config=user_info, train_config=train_config) File "C:\Users\USER\PycharmProjects\mec_drl-masterr\mec_drl-master\mec_drl-master\test.py", line 125, in __init__ self.agent = DDPGAgent(user_config, train_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\USER\PycharmProjects\mec_drl-masterr\mec_drl-master\mec_drl-master\conftest.py", line 24, in __init__ self.critic = CriticNetwork(self.state_dim, self.action_dim, float(train_config['critic_lr']), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\USER\PycharmProjects\mec_drl-masterr\mec_drl-master\mec_drl-master\ddpg.py", line 102, in __init__ self.target_model = tf.keras.models.clone_model(self.model) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\USER\anaconda3\Lib\site-packages\keras\src\models\cloning.py", line 539, in clone_model return _clone_functional_model( ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\USER\anaconda3\Lib\site-packages\keras\src\models\cloning.py", line 222, in _clone_functional_model model_configs, created_layers = _clone_layers_and_model_config( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\USER\anaconda3\Lib\site-packages\keras\src\models\cloning.py", line 298, in _clone_layers_and_model_config config = functional.get_network_config( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\USER\anaconda3\Lib\site-packages\keras\src\engine\functional.py", line 1583, in get_network_config node_data = node.serialize( ^^^^^^^^^^^^^^^ File "C:\Users\USER\anaconda3\Lib\site-packages\keras\src\engine\node.py", line 219, in serialize kwargs = tf.nest.map_structure(_serialize_keras_tensor, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\USER\anaconda3\Lib\site-packages\tensorflow\python\util\nest.py", line 624, in map_structure return nest_util.map_structure( ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\USER\anaconda3\Lib\site-packages\tensorflow\python\util\nest_util.py", line 1054, in map_structure return _tf_core_map_structure(func, *structure, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\USER\anaconda3\Lib\site-packages\tensorflow\python\util\nest_util.py", line 1094, in _tf_core_map_structure [func(*x) for x in entries], ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\USER\anaconda3\Lib\site-packages\tensorflow\python\util\nest_util.py", line 1094, in <listcomp> [func(*x) for x in entries], ^^^^^^^^ File "C:\Users\USER\anaconda3\Lib\site-packages\keras\src\engine\node.py", line 215, in _serialize_keras_tensor return (_COMPOSITE_TYPE, json_utils.Encoder().encode(t)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\USER\anaconda3\Lib\site-packages\keras\src\saving\legacy\saved_model\json_utils.py", line 55, in encode return super().encode(_encode_tuple(obj)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\USER\anaconda3\Lib\json\encoder.py", line 200, in encode chunks = self.iterencode(o, _one_shot=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\USER\anaconda3\Lib\json\encoder.py", line 258, in iterencode return _iterencode(o, 0) ^^^^^^^^^^^^^^^^^ File "C:\Users\USER\anaconda3\Lib\site-packages\keras\src\saving\legacy\saved_model\json_utils.py", line 52, in default return get_json_type(obj) ^^^^^^^^^^^^^^^^^^ File "C:\Users\USER\anaconda3\Lib\site-packages\keras\src\saving\legacy\saved_model\json_utils.py", line 225, in get_json_type "spec": get_json_type(spec), ^^^^^^^^^^^^^^^^^^^ File "C:\Users\USER\anaconda3\Lib\site-packages\keras\src\saving\legacy\saved_model\json_utils.py", line 214, in get_json_type raise ValueError( ValueError: Unable to serialize VariableSpec(shape=(300,), dtype=tf.float32, trainable=True, alias_id=None) to JSON, because the TypeSpec class <class 'tensorflow.python.ops.resource_variable_ops.VariableSpec'> has not been registered. ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61658/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61658/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61657
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61657/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61657/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61657/events
https://github.com/tensorflow/tensorflow/pull/61657
1,859,402,051
PR_kwDOArmXAs5YY2IJ
61,657
First Commit
{ "login": "AdityaGoel01", "id": 142800953, "node_id": "U_kgDOCIL4OQ", "avatar_url": "https://avatars.githubusercontent.com/u/142800953?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AdityaGoel01", "html_url": "https://github.com/AdityaGoel01", "followers_url": "https://api.github.com/users/AdityaGoel01/followers", "following_url": "https://api.github.com/users/AdityaGoel01/following{/other_user}", "gists_url": "https://api.github.com/users/AdityaGoel01/gists{/gist_id}", "starred_url": "https://api.github.com/users/AdityaGoel01/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/AdityaGoel01/subscriptions", "organizations_url": "https://api.github.com/users/AdityaGoel01/orgs", "repos_url": "https://api.github.com/users/AdityaGoel01/repos", "events_url": "https://api.github.com/users/AdityaGoel01/events{/privacy}", "received_events_url": "https://api.github.com/users/AdityaGoel01/received_events", "type": "User", "site_admin": false }
[ { "id": 1169364259, "node_id": "MDU6TGFiZWwxMTY5MzY0MjU5", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:XS", "name": "size:XS", "color": "adafea", "default": false, "description": "CL Change Size: Extra Small" } ]
closed
false
{ "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false }
[ { "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false } ]
null
[ "Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).\n\nView this [failed invocation](https://github.com/tensorflow/tensorflow/pull/61657/checks?check_run_id=16069742225) of the CLA check for more information.\n\nFor the most up to date status, view the checks section at the bottom of the pull request." ]
2023-08-21T13:41:31
2023-08-21T14:14:10
2023-08-21T14:14:10
NONE
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61657", "html_url": "https://github.com/tensorflow/tensorflow/pull/61657", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61657.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61657.patch", "merged_at": null }
null
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61657/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61657/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61656
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61656/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61656/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61656/events
https://github.com/tensorflow/tensorflow/issues/61656
1,859,005,343
I_kwDOArmXAs5uziuf
61,656
W tensorflow/core/grappler/costs/op_level_cost_estimator.cc:689] Error in PredictCost() for the op: op: "Conv2D" attr { key: "T" value { type: DT_FLOAT } } attr { key: "data_format" value { s: "NCHW" } } attr { key: "dilations" value
{ "login": "dsnsabari", "id": 46018083, "node_id": "MDQ6VXNlcjQ2MDE4MDgz", "avatar_url": "https://avatars.githubusercontent.com/u/46018083?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dsnsabari", "html_url": "https://github.com/dsnsabari", "followers_url": "https://api.github.com/users/dsnsabari/followers", "following_url": "https://api.github.com/users/dsnsabari/following{/other_user}", "gists_url": "https://api.github.com/users/dsnsabari/gists{/gist_id}", "starred_url": "https://api.github.com/users/dsnsabari/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dsnsabari/subscriptions", "organizations_url": "https://api.github.com/users/dsnsabari/orgs", "repos_url": "https://api.github.com/users/dsnsabari/repos", "events_url": "https://api.github.com/users/dsnsabari/events{/privacy}", "received_events_url": "https://api.github.com/users/dsnsabari/received_events", "type": "User", "site_admin": false }
[ { "id": 386191887, "node_id": "MDU6TGFiZWwzODYxOTE4ODc=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response", "name": "stat:awaiting response", "color": "f4b400", "default": false, "description": "Status - Awaiting response from author" }, { "id": 474725938, "node_id": "MDU6TGFiZWw0NzQ3MjU5Mzg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stale", "name": "stale", "color": "d4c5f9", "default": false, "description": "This label marks the issue/pr stale - to be closed automatically if no activity" }, { "id": 1093464312, "node_id": "MDU6TGFiZWwxMDkzNDY0MzEy", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:others", "name": "type:others", "color": "159b2e", "default": false, "description": "issues not falling in bug, perfromance, support, build and install or feature" }, { "id": 1097545273, "node_id": "MDU6TGFiZWwxMDk3NTQ1Mjcz", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:grappler", "name": "comp:grappler", "color": "0052cc", "default": false, "description": "Grappler related issues" }, { "id": 3531398540, "node_id": "LA_kwDOArmXAs7SfN2M", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.7", "name": "TF 2.7", "color": "77237D", "default": false, "description": "Issues related to TF 2.7.0" } ]
closed
false
{ "login": "SuryanarayanaY", "id": 116063290, "node_id": "U_kgDOBur8Og", "avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SuryanarayanaY", "html_url": "https://github.com/SuryanarayanaY", "followers_url": "https://api.github.com/users/SuryanarayanaY/followers", "following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}", "gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}", "starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions", "organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs", "repos_url": "https://api.github.com/users/SuryanarayanaY/repos", "events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}", "received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events", "type": "User", "site_admin": false }
[ { "login": "SuryanarayanaY", "id": 116063290, "node_id": "U_kgDOBur8Og", "avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SuryanarayanaY", "html_url": "https://github.com/SuryanarayanaY", "followers_url": "https://api.github.com/users/SuryanarayanaY/followers", "following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}", "gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}", "starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions", "organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs", "repos_url": "https://api.github.com/users/SuryanarayanaY/repos", "events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}", "received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events", "type": "User", "site_admin": false } ]
null
[ "Hi @dsnsabari ,\r\n\r\nThe warnings related to grappler observed in older versions.These are warnings only and hence code execution and predictions not affected. Please find relevant issue [here](https://github.com/tensorflow/tensorflow/issues/50575) where the issue might have fixed with latest versions.\r\n\r\nAs there is no minimal code snippet I can't able to test it. Could you please provide minimal code snippet to reproduce the issue or test your model with latest TF versions preferably 2.12v or higher and let us know if same warnings still persists.\r\n\r\nThanks!\r\n\r\n", "hi @SuryanarayanaY , Still the error exists in the latest TensorFlow version. Did you check his comment? \r\n\r\nhttps://github.com/tensorflow/tensorflow/issues/50575#issuecomment-1670905587\r\n", "Hi @dsnsabari ,\r\n\r\nCould you please submit a minimal code snippet to replicate the reported behaviour. Thanks!", "This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.", "This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61656\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61656\">No</a>\n" ]
2023-08-21T09:46:00
2023-09-07T01:47:30
2023-09-07T01:47:25
NONE
null
null
null
### Issue type Others ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source source ### TensorFlow version tf.2.7.0 ### Custom code Yes ### OS platform and distribution Windows 10 ### Mobile device _No response_ ### Python version 3.9.12 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version 11.6 ### GPU model and memory GPU 8 / NVIDIA SMI 512.98 ### Current behavior? I am getting the below error message while loading the model on tf 2.7.0. But there is no issue with the prediction. I have converted Keras model into tf2 and loaded them in production. ### Standalone code to reproduce the issue ```shell : W tensorflow/core/grappler/costs/op_level_cost_estimator.cc:689] Error in PredictCost() for the op: op: "Conv2D" attr { key: "T" value { type: DT_FLOAT } } attr { key: "data_format" value { s: "NCHW" } } attr { key: "dilations" value { list { i: 1 i: 1 i: 1 i: 1 } } } attr { key: "explicit_paddings" value { list { } } } attr { key: "padding" value { s: "SAME" } } attr { key: "strides" value { list { i: 1 i: 1 i: 1 i: 1 } } } attr { key: "use_cudnn_on_gpu" value { b: true } } inputs { dtype: DT_FLOAT shape { dim { } dim { size: 62 } dim { size: 4 } dim { size: 4 } } } inputs { dtype: DT_FLOAT shape { dim { size: 1 } dim { size: 1 } dim { size: 62 } dim { size: 31 } } } device { type: "GPU" vendor: "NVIDIA" model: "NVIDIA GeForce GTX 1070" frequency: 1695 num_cores: 16 environment { key: "architecture" value: "6.1" } environment { key: "cuda" value: "11020" } environment { key: "cudnn" value: "8100" } num_registers: 65536 l1_cache_size: 24576 l2_cache_size: 2097152 shared_memory_size_per_multiprocessor: 98304 memory_size: 6952124416 bandwidth: 256256000 } outputs { dtype: DT_FLOAT shape { dim { } dim { size: 31 } dim { size: 4 } dim { size: 4 } } } ``` ### Relevant log output _No response_
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61656/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61656/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61655
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61655/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61655/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61655/events
https://github.com/tensorflow/tensorflow/issues/61655
1,858,882,906
I_kwDOArmXAs5uzE1a
61,655
Compiling src/amalgam/gen/neonfp16arith.c failed: (Exit 70): clang failed: error executing command (from target @XNNPACK//:neonfp16arith_amalgam_microkernels) external/androidndk/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang '-D__ANDROID_API__=26' -isystemexternal/androidndk/ndk/sysroot/usr/include/arm-linux-androideabi -target ... (remaining 71 arguments skipped)
{ "login": "B-JackMao", "id": 57884144, "node_id": "MDQ6VXNlcjU3ODg0MTQ0", "avatar_url": "https://avatars.githubusercontent.com/u/57884144?v=4", "gravatar_id": "", "url": "https://api.github.com/users/B-JackMao", "html_url": "https://github.com/B-JackMao", "followers_url": "https://api.github.com/users/B-JackMao/followers", "following_url": "https://api.github.com/users/B-JackMao/following{/other_user}", "gists_url": "https://api.github.com/users/B-JackMao/gists{/gist_id}", "starred_url": "https://api.github.com/users/B-JackMao/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/B-JackMao/subscriptions", "organizations_url": "https://api.github.com/users/B-JackMao/orgs", "repos_url": "https://api.github.com/users/B-JackMao/repos", "events_url": "https://api.github.com/users/B-JackMao/events{/privacy}", "received_events_url": "https://api.github.com/users/B-JackMao/received_events", "type": "User", "site_admin": false }
[ { "id": 404586594, "node_id": "MDU6TGFiZWw0MDQ1ODY1OTQ=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20tensorflower", "name": "stat:awaiting tensorflower", "color": "f4b400", "default": false, "description": "Status - Awaiting response from tensorflower" }, { "id": 473173351, "node_id": "MDU6TGFiZWw0NzMxNzMzNTE=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:build/install", "name": "type:build/install", "color": "159b2e", "default": false, "description": "Build and install issues" }, { "id": 750616506, "node_id": "MDU6TGFiZWw3NTA2MTY1MDY=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:lite", "name": "comp:lite", "color": "0052cc", "default": false, "description": "TF Lite related issues" }, { "id": 1205615612, "node_id": "MDU6TGFiZWwxMjA1NjE1NjEy", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/subtype:%20ubuntu/linux", "name": "subtype: ubuntu/linux", "color": "b619ea", "default": false, "description": "Ubuntu/Linux Build/Installation Issues" }, { "id": 5508003926, "node_id": "LA_kwDOArmXAs8AAAABSE14Vg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13", "name": "TF 2.13", "color": "B13ACB", "default": false, "description": "For issues related to Tensorflow 2.13" } ]
open
false
{ "login": "miaout17", "id": 22063, "node_id": "MDQ6VXNlcjIyMDYz", "avatar_url": "https://avatars.githubusercontent.com/u/22063?v=4", "gravatar_id": "", "url": "https://api.github.com/users/miaout17", "html_url": "https://github.com/miaout17", "followers_url": "https://api.github.com/users/miaout17/followers", "following_url": "https://api.github.com/users/miaout17/following{/other_user}", "gists_url": "https://api.github.com/users/miaout17/gists{/gist_id}", "starred_url": "https://api.github.com/users/miaout17/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/miaout17/subscriptions", "organizations_url": "https://api.github.com/users/miaout17/orgs", "repos_url": "https://api.github.com/users/miaout17/repos", "events_url": "https://api.github.com/users/miaout17/events{/privacy}", "received_events_url": "https://api.github.com/users/miaout17/received_events", "type": "User", "site_admin": false }
[ { "login": "miaout17", "id": 22063, "node_id": "MDQ6VXNlcjIyMDYz", "avatar_url": "https://avatars.githubusercontent.com/u/22063?v=4", "gravatar_id": "", "url": "https://api.github.com/users/miaout17", "html_url": "https://github.com/miaout17", "followers_url": "https://api.github.com/users/miaout17/followers", "following_url": "https://api.github.com/users/miaout17/following{/other_user}", "gists_url": "https://api.github.com/users/miaout17/gists{/gist_id}", "starred_url": "https://api.github.com/users/miaout17/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/miaout17/subscriptions", "organizations_url": "https://api.github.com/users/miaout17/orgs", "repos_url": "https://api.github.com/users/miaout17/repos", "events_url": "https://api.github.com/users/miaout17/events{/privacy}", "received_events_url": "https://api.github.com/users/miaout17/received_events", "type": "User", "site_admin": false }, { "login": "pkgoogle", "id": 132095473, "node_id": "U_kgDOB9-d8Q", "avatar_url": "https://avatars.githubusercontent.com/u/132095473?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pkgoogle", "html_url": "https://github.com/pkgoogle", "followers_url": "https://api.github.com/users/pkgoogle/followers", "following_url": "https://api.github.com/users/pkgoogle/following{/other_user}", "gists_url": "https://api.github.com/users/pkgoogle/gists{/gist_id}", "starred_url": "https://api.github.com/users/pkgoogle/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pkgoogle/subscriptions", "organizations_url": "https://api.github.com/users/pkgoogle/orgs", "repos_url": "https://api.github.com/users/pkgoogle/repos", "events_url": "https://api.github.com/users/pkgoogle/events{/privacy}", "received_events_url": "https://api.github.com/users/pkgoogle/received_events", "type": "User", "site_admin": false } ]
null
[ "I was able to reproduce this issue with TF2.13 and master branch as well. \r\n\r\n@pkgoogle Could you please check this issue?\r\n\r\nThanks.\r\n\r\n<img width=\"562\" alt=\"Screenshot 2023-08-24 at 11 42 14 AM\" src=\"https://github.com/tensorflow/tensorflow/assets/118897289/22eac763-6f5e-43fa-aefe-0ea32d287dcf\">\r\n", "Hi @B-JackMao, \r\n\r\nI'm actually getting a different error:\r\n```\r\nINFO: Found applicable config definition build:dynamic_kernels in file /usr/local/google/home/xxxxxx/tensorflow/.bazelrc: --define=dynamic_loaded_kernels=true --copt=-DAUTOLOAD_DYNAMIC_KERNELS\r\nERROR: /usr/local/google/home/xxxxxx/tensorflow/tensorflow/lite/java/BUILD:297:16: While resolving toolchains for target //tensorflow/lite/java:tensorflowlite_gpu_impl: no matching toolchains found for types @bazel_tools//tools/android:sdk_toolchain_type\r\nERROR: Analysis of target '//tensorflow/lite/java:tensorflow-lite-gpu' failed; build aborted: \r\nINFO: Elapsed time: 24.188s\r\nINFO: 0 processes.\r\nFAILED: Build did NOT complete successfully (51 packages loaded, 242 targets configured)\r\n```\r\ncan you please provide exact steps. I.e. are you using the configure script? If so, what options did you specify? Are you following this [resource](https://www.tensorflow.org/lite/android/lite_build) at all? or any other resource? Are you using the docker file or something else?\r\n\r\nPreferably write the steps as you would edit a Dockerfile or a shell script.\r\nexample:\r\n```sh\r\ngit clone https://github.com/tensorflow/tensorflow.git\r\ncd tensorflow\r\ngit switch r2.13\r\ngit pull\r\nbazel build -c opt --fat_apk_cpu=x86,x86_64,arm64-v8a,armeabi-v7a --host_crosstool_top=@bazel_tools//tools/cpp:toolchain //tensorflow/lite/java:tensorflow-lite-gpu\r\n```", "# install python and prerequisites sudo apt install python-dev python-pip pip install -U --user pip six numpy wheel mock pip install -U --user keras_applications==1.0.6 --no-deps pip install -U --user keras_preprocessing==1.0.5 --no-deps # install openjdk-8 sudo apt-get install openjdk-8-jdk \r\n\r\n\r\n# install bazel 6.1.0\r\n# install the prerequisites sudo apt-get install pkg-config zip g++ zlib1g-dev unzip python chmod +x bazel-6.1.0-installer-linux-x86_64.sh ./bazel-6.1.0-installer-linux-x86_64.sh --user # setup environment export PATH=\"$PATH:$HOME/bin\"\r\n\r\n\r\n##Android\r\nmkdir ~/Android cd Android #NDK use ndk r19c unzip android-ndk-r19c-linux-x86_64.zip mkdir Sdk mv android-ndk-r19c Sdk/ndk-bundle #SDK wget https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip unzip sdk-tools-linux-4333796.zip mv tools/ Sdk/ # Platform tools wget https://dl.google.com/android/repository/platform-tools-latest-linux.zip unzip platform-tools-latest-linux.zip mv platform-tools Sdk/ # Using sdkmanager to install tools cd Sdk chmod a+x tools/bin/sdkmanager ./tools/bin/sdkmanager \"platform-tools\" \"platforms;android-27\" \"platforms;android-28\" \"platforms;android-29\" \"platforms;android-30\" \"build-tools;30.0.0\" \"build-tools;29.0.3\" \r\n\r\n\r\n\r\n download tensorflow code git clone https://github.com/tensorflow/tensorflow.git cd tensorflow ./configure\r\n\r\n\r\nabout\"y/N\",only \"WORKSPACES\"choose y,other choose \"N\",Choose the default configuration for the rest\r\n\r\n\r\nrun command “bazel build -c opt --fat_apk_cpu=x86,x86_64,arm64-v8a,armeabi-v7a ***@***.***_tools//tools/cpp:toolchain //tensorflow/lite/java:tensorflow-lite-gpu” and want to build \"tensorflow-lite-gpu.aar\" \r\n\r\n\r\n\r\n\r\nand error occurred.\r\n\r\n\r\n\r\n\r\n\r\n\r\n------------------&nbsp;原始邮件&nbsp;------------------\r\n发件人: ***@***.***&gt;; \r\n发送时间: 2023年8月25日(星期五) 凌晨1:31\r\n收件人: ***@***.***&gt;; \r\n抄送: ***@***.***&gt;; ***@***.***&gt;; \r\n主题: Re: [tensorflow/tensorflow] Compiling src/amalgam/gen/neonfp16arith.c failed: (Exit 70): clang failed: error executing command (from target @XNNPACK//:neonfp16arith_amalgam_microkernels) external/androidndk/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang &#39;-D__ANDROID_API__=26&#39; -isystemexternal/androidndk/ndk/sysroot/usr/include/arm-linux-androideabi -target ... (remaining 71 arguments skipped) (Issue #61655)\r\n\r\n\r\n\r\n\r\n\r\n \r\nHi @B-JackMao,\r\n \r\nI'm actually getting a different error:\r\n INFO: Found applicable config definition build:dynamic_kernels in file /usr/local/google/home/xxxxxx/tensorflow/.bazelrc: --define=dynamic_loaded_kernels=true --copt=-DAUTOLOAD_DYNAMIC_KERNELS ERROR: /usr/local/google/home/xxxxxx/tensorflow/tensorflow/lite/java/BUILD:297:16: While resolving toolchains for target //tensorflow/lite/java:tensorflowlite_gpu_impl: no matching toolchains found for types @bazel_tools//tools/android:sdk_toolchain_type ERROR: Analysis of target '//tensorflow/lite/java:tensorflow-lite-gpu' failed; build aborted: INFO: Elapsed time: 24.188s INFO: 0 processes. FAILED: Build did NOT complete successfully (51 packages loaded, 242 targets configured) \r\ncan you please provide exact steps. I.e. are you using the configure script? If so, what options did you specify? Are you following this resource at all? or any other resource? Are you using the docker file or something else?\r\n \r\nPreferably write the steps as you would edit a Dockerfile or a shell script.\r\n example:\r\n git clone https://github.com/tensorflow/tensorflow.git cd tensorflow git switch r2.13 git pull bazel build -c opt --fat_apk_cpu=x86,x86_64,arm64-v8a,armeabi-v7a ***@***.***_tools//tools/cpp:toolchain //tensorflow/lite/java:tensorflow-lite-gpu\r\n \r\n—\r\nReply to this email directly, view it on GitHub, or unsubscribe.\r\nYou are receiving this because you were mentioned.Message ID: ***@***.***&gt;", "I am able to reproduce with the following modifications:\r\n\r\nSet API level = 30 when asked during configuration, the final command for reproducibility was:\r\n```sh\r\nbazel build -c opt --fat_apk_cpu=x86,x86_64,arm64-v8a,armeabi-v7a --host_crosstool_top=@bazel_tools//tools/cpp:toolchain //tensorflow/lite/java:tensorflow-lite-gpu\r\n```\r\n\r\n```sh\r\nERROR: /usr/local/google/home/xxxxxx/.cache/bazel/_bazel_xxxxxx/caf3a5af5fd2180c9e3e5a21b39f1c0d/external/XNNPACK/BUILD.bazel:3046:19: Compiling src/amalgam/gen/neonfp16arith.c failed: (Exit 70): clang failed: error executing command (from target @XNNPACK//:neonfp16arith_amalgam_microkernels) \r\n (cd /usr/local/google/home/xxxxxx/.cache/bazel/_bazel_xxxxxx/caf3a5af5fd2180c9e3e5a21b39f1c0d/execroot/org_tensorflow && \\\r\n exec env - \\\r\n ANDROID_BUILD_TOOLS_VERSION=30.0.3 \\\r\n ANDROID_NDK_API_LEVEL=26 \\\r\n ANDROID_NDK_HOME=/usr/local/google/home/xxxxxx/Android/Sdk/ndk/android-ndk-r19c \\\r\n ANDROID_SDK_API_LEVEL=30 \\\r\n ANDROID_SDK_HOME=/usr/local/google/home/xxxxxx/Android/Sdk \\\r\n LD_LIBRARY_PATH=/usr/lib/mesa-diverted/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/mesa:/usr/lib/x86_64-linux-gnu/dri:/usr/lib/x86_64-linux-gnu/gallium-pipe \\\r\n PATH=/usr/local/google/home/xxxxxx/.cache/bazelisk/downloads/bazelbuild/bazel-6.1.0-linux-x86_64/bin:/usr/local/google/home/xxxxxxx/miniconda3/envs/61655/bin:/usr/local/google/home/xxxxxx/miniconda3/condabin:/usr/local/google/home/xxxxxx/.local/bin:/usr/lib/google-golang/bin:/usr/local/buildtools/java/jdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin \\\r\n PWD=/proc/self/cwd \\\r\n PYTHON_BIN_PATH=/usr/local/google/home/xxxxxx/miniconda3/envs/61655/bin/python3 \\\r\n PYTHON_LIB_PATH=/usr/local/google/home/xxxxxxx/miniconda3/envs/61655/lib/python3.11/site-packages \\\r\n TF2_BEHAVIOR=1 \\\r\n external/androidndk/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang '-D__ANDROID_API__=26' -isystemexternal/androidndk/ndk/sysroot/usr/include/arm-linux-androideabi -target armv7-none-linux-androideabi '-march=armv7-a' '-mfloat-abi=softfp' '-mfpu=vfpv3-d16' -gcc-toolchain external/androidndk/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64 -fpic -no-canonical-prefixes -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -funwind-tables -fstack-protector-strong -fno-addrsig '-Werror=return-type' '-Werror=int-to-pointer-cast' '-Werror=pointer-to-int-cast' '-Werror=implicit-function-declaration' -mthumb -Os -g -DNDEBUG -MD -MF bazel-out/android-armeabi-v7a-opt/bin/external/XNNPACK/_objs/neonfp16arith_amalgam_microkernels/neonfp16arith.pic.d '-frandom-seed=bazel-out/android-armeabi-v7a-opt/bin/external/XNNPACK/_objs/neonfp16arith_amalgam_microkernels/neonfp16arith.pic.o' -fPIC '-DBAZEL_CURRENT_REPOSITORY=\"XNNPACK\"' -iquote external/XNNPACK -iquote bazel-out/android-armeabi-v7a-opt/bin/external/XNNPACK -isystem external/XNNPACK/include -isystem bazel-out/android-armeabi-v7a-opt/bin/external/XNNPACK/include -isystem external/XNNPACK/src -isystem bazel-out/android-armeabi-v7a-opt/bin/external/XNNPACK/src -Wno-all -Wno-extra -Wno-deprecated -Wno-deprecated-declarations -Wno-ignored-attributes -Wno-array-bounds -Wunused-result '-Werror=unused-result' -Wswitch '-Werror=switch' '-Wno-error=unused-but-set-variable' -DAUTOLOAD_DYNAMIC_KERNELS -Iinclude -Isrc -marm '-march=armv8.2-a+fp16' '-mfpu=neon-fp-armv8' '-std=c99' -O2 '--sysroot=external/androidndk/ndk/platforms/android-26/arch-arm' -isystem external/androidndk/ndk/sources/cxx-stl/llvm-libc++/include -isystem external/androidndk/ndk/sources/cxx-stl/llvm-libc++abi/include -isystem external/androidndk/ndk/sources/android/support/include -isystemexternal/androidndk/ndk/sysroot/usr/include -c external/XNNPACK/src/amalgam/gen/neonfp16arith.c -o bazel-out/android-armeabi-v7a-opt/bin/external/XNNPACK/_objs/neonfp16arith_amalgam_microkernels/neonfp16arith.pic.o)\r\n# Configuration: ee5ef3675746c4253f216a2d59070e2657d7f9037448cc2d2289ec75605ec73c\r\n# Execution platform: @local_execution_config_platform//:platform\r\nwarning: unknown warning option '-Werror=unused-but-set-variable'; did you mean '-Werror=unused-const-variable'? [-Wunknown-warning-option]\r\nfatal error: error in backend: Cannot select: 0x65727a8: v8f16 = bitcast 0x656f438, external/XNNPACK/src/amalgam/gen/neonfp16arith.c:51:28\r\n 0x656f438: v8i16,ch = ARMISD::VLD1DUP<(load 2 from %ir.17)> 0x68b7628, 0x6572608, Constant:i32<2>, external/XNNPACK/src/amalgam/gen/neonfp16arith.c:51:50\r\n 0x6572608: i32 = add nuw 0x656fcc0, Constant:i32<2>, external/XNNPACK/src/amalgam/gen/neonfp16arith.c:51:50\r\n 0x656fcc0: i32,ch = load<(load 4 from %fixed-stack.0, align 8)> 0x68b7628, FrameIndex:i32<-7>, undef:i32\r\n 0x656fc58: i32 = FrameIndex<-7>\r\n 0x656f778: i32 = undef\r\n 0x65725a0: i32 = Constant<2>\r\n 0x65725a0: i32 = Constant<2>\r\nIn function: xnn_f16_avgpool_minmax_ukernel_9p8x__neonfp16arith_c8\r\nclang: error: clang frontend command failed with exit code 70 (use -v to see invocation)\r\nAndroid (5058415 based on r339409) clang version 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec746213857d083c0e8b0abb568790) (https://android.googlesource.com/toolchain/llvm 7a6618d69e7e8111e1d49dc9e7813767c5ca756a) (based on LLVM 8.0.2svn)\r\nTarget: armv7-none-linux-android\r\nThread model: posix\r\nInstalledDir: external/androidndk/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin\r\nclang: note: diagnostic msg: PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.\r\nclang: note: diagnostic msg: \r\n********************\r\n\r\nPLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:\r\nPreprocessed source(s) and associated run script(s) are located at:\r\nclang: note: diagnostic msg: /tmp/neonfp16arith-2b5d8a.c\r\nclang: note: diagnostic msg: /tmp/neonfp16arith-2b5d8a.sh\r\nclang: note: diagnostic msg: \r\n\r\n********************\r\nTarget //tensorflow/lite/java:tensorflow-lite-gpu failed to build\r\nINFO: Elapsed time: 3.274s, Critical Path: 2.56s\r\nINFO: 288 processes: 175 internal, 113 local.\r\nFAILED: Build did NOT complete successfully\r\n```\r\n\r\nHi @miaout17, can you please take a look? Thanks." ]
2023-08-21T08:35:36
2023-08-25T21:45:21
null
NONE
null
null
null
### Issue type Build/Install ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source source ### TensorFlow version 2.13 ### Custom code Yes ### OS platform and distribution Ubuntu18.04 ### Mobile device pixel 4 ### Python version 3.6 ### Bazel version 6.1.0 ### GCC/compiler version null ### CUDA/cuDNN version null ### GPU model and memory null ### Current behavior? I run the following command “bazel build -c opt --fat_apk_cpu=x86,x86_64,arm64-v8a,armeabi-v7a --host_crosstool_top=@bazel_tools//tools/cpp:toolchain //tensorflow/lite/java:tensorflow-lite-gpu” and want to build "tensorflow-lite-gpu.aar",But the following error occurred. ### Standalone code to reproduce the issue ```shell I run the following command “bazel build -c opt --fat_apk_cpu=x86,x86_64,arm64-v8a,armeabi-v7a --host_crosstool_top=@bazel_tools//tools/cpp:toolchain //tensorflow/lite/java:tensorflow-lite-gpu” and want to build "tensorflow-lite-gpu.aar",But the following error occurred. ``` ### Relevant log output ```shell ERROR: /home/ferey/.cache/bazel/_bazel_ferey/b105c31c70ad75e6928e90fd6d84ab22/external/XNNPACK/BUILD.bazel:3480:19: Compiling src/amalgam/gen/neonfp16arith.c failed: (Exit 70): clang failed: error executing command (from target @XNNPACK//:neonfp16arith_amalgam_microkernels) external/androidndk/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang '-D__ANDROID_API__=26' -isystemexternal/androidndk/ndk/sysroot/usr/include/arm-linux-androideabi -target ... (remaining 71 arguments skipped) warning: unknown warning option '-Werror=unused-but-set-variable'; did you mean '-Werror=unused-const-variable'? [-Wunknown-warning-option] fatal error: error in backend: Cannot select: 0x5e9cd18: v8f16 = bitcast 0x5e999a8, external/XNNPACK/src/amalgam/gen/neonfp16arith.c:51:28 0x5e999a8: v8i16,ch = ARMISD::VLD1DUP<(load 2 from %ir.17)> 0x5e16428, 0x5e9cb78, Constant:i32<2>, external/XNNPACK/src/amalgam/gen/neonfp16arith.c:51:50 0x5e9cb78: i32 = add nuw 0x5e9a230, Constant:i32<2>, external/XNNPACK/src/amalgam/gen/neonfp16arith.c:51:50 0x5e9a230: i32,ch = load<(load 4 from %fixed-stack.0, align 8)> 0x5e16428, FrameIndex:i32<-7>, undef:i32 0x5e9a1c8: i32 = FrameIndex<-7> 0x5e99ce8: i32 = undef 0x5e9cb10: i32 = Constant<2> 0x5e9cb10: i32 = Constant<2> In function: xnn_f16_avgpool_minmax_ukernel_9p8x__neonfp16arith_c8 clang: error: clang frontend command failed with exit code 70 (use -v to see invocation) Android (5058415 based on r339409) clang version 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec746213857d083c0e8b0abb568790) (https://android.googlesource.com/toolchain/llvm 7a6618d69e7e8111e1d49dc9e7813767c5ca756a) (based on LLVM 8.0.2svn) Target: armv7-none-linux-android Thread model: posix InstalledDir: external/androidndk/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin clang: note: diagnostic msg: PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. clang: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang: note: diagnostic msg: /tmp/neonfp16arith-376495.c clang: note: diagnostic msg: /tmp/neonfp16arith-376495.sh clang: note: diagnostic msg: ******************** Target //tensorflow/lite/java:tensorflow-lite-gpu failed to build Use --verbose_failures to see the command lines of failed build steps. INFO: Elapsed time: 224.110s, Critical Path: 19.33s INFO: 335 processes: 3 internal, 332 local. FAILED: Build did NOT complete successfully ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61655/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61655/timeline
null
null
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61654
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61654/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61654/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61654/events
https://github.com/tensorflow/tensorflow/issues/61654
1,858,583,056
I_kwDOArmXAs5ux7oQ
61,654
SIGBUS from libc on Android during inference
{ "login": "SichangHe", "id": 84777573, "node_id": "MDQ6VXNlcjg0Nzc3NTcz", "avatar_url": "https://avatars.githubusercontent.com/u/84777573?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SichangHe", "html_url": "https://github.com/SichangHe", "followers_url": "https://api.github.com/users/SichangHe/followers", "following_url": "https://api.github.com/users/SichangHe/following{/other_user}", "gists_url": "https://api.github.com/users/SichangHe/gists{/gist_id}", "starred_url": "https://api.github.com/users/SichangHe/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SichangHe/subscriptions", "organizations_url": "https://api.github.com/users/SichangHe/orgs", "repos_url": "https://api.github.com/users/SichangHe/repos", "events_url": "https://api.github.com/users/SichangHe/events{/privacy}", "received_events_url": "https://api.github.com/users/SichangHe/received_events", "type": "User", "site_admin": false }
[ { "id": 750616506, "node_id": "MDU6TGFiZWw3NTA2MTY1MDY=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:lite", "name": "comp:lite", "color": "0052cc", "default": false, "description": "TF Lite related issues" }, { "id": 1661751498, "node_id": "MDU6TGFiZWwxNjYxNzUxNDk4", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TFLiteConverter", "name": "TFLiteConverter", "color": "bfdadc", "default": false, "description": "For issues related to TFLite converter" }, { "id": 4989164230, "node_id": "LA_kwDOArmXAs8AAAABKWCaxg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/Android", "name": "Android", "color": "e99695", "default": false, "description": "" }, { "id": 5508003926, "node_id": "LA_kwDOArmXAs8AAAABSE14Vg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13", "name": "TF 2.13", "color": "B13ACB", "default": false, "description": "For issues related to Tensorflow 2.13" } ]
closed
false
{ "login": "pkgoogle", "id": 132095473, "node_id": "U_kgDOB9-d8Q", "avatar_url": "https://avatars.githubusercontent.com/u/132095473?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pkgoogle", "html_url": "https://github.com/pkgoogle", "followers_url": "https://api.github.com/users/pkgoogle/followers", "following_url": "https://api.github.com/users/pkgoogle/following{/other_user}", "gists_url": "https://api.github.com/users/pkgoogle/gists{/gist_id}", "starred_url": "https://api.github.com/users/pkgoogle/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pkgoogle/subscriptions", "organizations_url": "https://api.github.com/users/pkgoogle/orgs", "repos_url": "https://api.github.com/users/pkgoogle/repos", "events_url": "https://api.github.com/users/pkgoogle/events{/privacy}", "received_events_url": "https://api.github.com/users/pkgoogle/received_events", "type": "User", "site_admin": false }
[ { "login": "pkgoogle", "id": 132095473, "node_id": "U_kgDOB9-d8Q", "avatar_url": "https://avatars.githubusercontent.com/u/132095473?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pkgoogle", "html_url": "https://github.com/pkgoogle", "followers_url": "https://api.github.com/users/pkgoogle/followers", "following_url": "https://api.github.com/users/pkgoogle/following{/other_user}", "gists_url": "https://api.github.com/users/pkgoogle/gists{/gist_id}", "starred_url": "https://api.github.com/users/pkgoogle/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pkgoogle/subscriptions", "organizations_url": "https://api.github.com/users/pkgoogle/orgs", "repos_url": "https://api.github.com/users/pkgoogle/repos", "events_url": "https://api.github.com/users/pkgoogle/events{/privacy}", "received_events_url": "https://api.github.com/users/pkgoogle/received_events", "type": "User", "site_admin": false } ]
null
[ "Hi @SichangHe, Can you provide more detailed instructions on how to replicate? I have created the model with your scripts but when I attempt to run the Android Studio Project for the client I get this issue:\r\n\r\n![image](https://github.com/tensorflow/tensorflow/assets/132095473/ae10b32f-944e-48f8-a60d-197c81cb863c)\r\n\r\nI am unfamiliar with Flutter/Dart so I'm probably just missing some steps, please let me know so that we may be able to reproduce your issue effectively. The more details you include the less back and forth we have to go through to reproduce your issue. Thanks for your help!", "Hi @pkgoogle.\r\n\r\nGlad that the model generation script worked for you.\r\n\r\nI will create a repository without Flutter to help you reproduce this issue.\r\n", "I've created https://github.com/SichangHe/reproduce_tensorflow_tensorflow_issue_61654, but it doesn't crash… I'm not sure why.", "The original app did not crash neither during my testing earlier today. I will talk to my colleague.", "@SichangHe, Thanks for checking, hope it helps!", "My colleague reproduced it again.\r\n\r\nIn the log, it seems that the sequence is `fit - evaluate - fit - eval… crash`. I will make it so that one could alter fit & evaluate so maybe we would be able to reproduce it.\r\n\r\nAnother take is to use the real data we used, but I'm not sure that is really relevant.", "I cycled through fitting and evaluation and used the data lead to the previous crash but it still didn't crash… I also cannot reproduce the crash using our app on my device any more, but my colleague still get crashes using our app on his device.\r\n\r\nAny ideas why this inconsistency happens and how to help reproduce the crash?", "Hi @SichangHe, as you can imagine this is a tough situation haha. What device is your colleague using? Can you include logging for your app and give us the crash report? That is probably the best way to move forward. Thank you for your help.", "@Beilong-Tang, could you provide the above information?", "Unfortunately, we could not reproduce this issue any more. So, I'm closing this.\r\n\r\n@pkgoogle, thanks for sticking around and helping!" ]
2023-08-21T04:54:37
2023-08-26T07:30:17
2023-08-26T07:30:17
NONE
null
null
null
### 1. System information Server that generated the TFLite file: - OS Platform and Distribution: `Linux debian 6.1.0-9-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.27-1 (2023-05-08) x86_64 GNU/Linux`. - TensorFlow installation: Pip. - TensorFlow library: tensorflow 2.13.0. Android client that interprets this TFLite file and crashed: - OS Platform and Distribution: Huawei `Hebe-BD00` running version 12.0.1 (presumably HarmonyOS). - TensorFlow library: [Gradle dependencies on latest TFLite, GPU, support, and select TF Ops](https://github.com/FedCampus/FedKit/blob/f1ba4d438d19b5d984fe8d0fc6defd3710cc5892/android/fed_kit_train/build.gradle.kts). ### 2. Code #### Option B: Paste your code here or provide a link to a custom end-to-end colab This code is [under `gen_tflite` in FedKit](https://github.com/FedCampus/FedKit/tree/f1ba4d438d19b5d984fe8d0fc6defd3710cc5892/gen_tflite). It is used to create [the TFLite files](https://github.com/FedCampus/FedKit/files/12391810/fed_mcrnn1.tflite.zip). <details> <summary>gen_tflite/__init__.py</summary> ```python import tensorflow as tf SAVED_MODEL_DIR = "saved_model" def red(string: str) -> str: return f"\033[91m{string}\033[0m" class BaseTFLiteModel(tf.Module): """Base TFLite model class to inherit from. # Usage Inherent from this class and then annotate with `@tflite_model_class`. Override these attributes: - `X_SHAPE`: Shape of the input to the model. - `Y_SHAPE`: Shape of the output from the model. - `model`: A `tf.keras.Model` initialized in `__init__`. # Functionality Provides default implementation of `train`, `infer`, `parameters`, `restore`. These methods are not annotated with `@tf.function`; they are supposed to be converted by `@tflite_model_class`.""" X_SHAPE: list[int] Y_SHAPE: list[int] model: tf.keras.Model def train(self, x, y): return self.model.train_step((x, y)) def infer(self, x): return {"logits": self.model(x)} def parameters(self): return { f"a{index}": weight.read_value() for index, weight in enumerate(self.model.weights) } def restore(self, **parameters): for index, weight in enumerate(self.model.weights): parameter = parameters[f"a{index}"] weight.assign(parameter) assert self.parameters is not None return self.parameters() def tflite_model_class(cls): """Convert `cls` that inherits from `BaseTFLiteModel` to a TFLite model class. Convert `cls`'s methods using `@tf.function` with proper `input_signature` according to `X_SHAPE` and `Y_SHAPE`. The converted methods are `train`, `infer`, `parameters`, `restore`. Only `restore`'s `input_signature` is not specified because it need to be determined after examples of parameters are given.""" cls.x_spec = tf.TensorSpec([None] + cls.X_SHAPE, tf.float32) # type: ignore cls.y_spec = tf.TensorSpec([None] + cls.Y_SHAPE, tf.float32) # type: ignore cls.train = tf.function( cls.train, input_signature=[cls.x_spec, cls.y_spec], ) cls.infer = tf.function( cls.infer, input_signature=[cls.x_spec], ) cls.parameters = tf.function(cls.parameters, input_signature=[]) cls.restore = tf.function(cls.restore) return cls def save_model(model, saved_model_dir): parameters = model.parameters.get_concrete_function() init_params = parameters() print(f"Initial parameters is {init_params}.") restore = model.restore.get_concrete_function(**init_params) restore_test = restore(**init_params) print(f"Restore test result: {restore_test}.") tf.saved_model.save( model, saved_model_dir, signatures={ "train": model.train.get_concrete_function(), "infer": model.infer.get_concrete_function(), "parameters": parameters, "restore": restore, }, ) converted_params = [ param.numpy() for param in parameters_from_raw_dict(init_params) ] shape = f"{[list(param.shape) for param in converted_params]}" print(f"Model parameter shape: {red(shape)}.") byte_sizes = f"{[param.size * param.itemsize for param in converted_params]}" print(f"Model parameter sizes in bytes: {red(byte_sizes)}.") return converted_params def convert_saved_model(saved_model_dir): converter = tf.lite.TFLiteConverter.from_saved_model(saved_model_dir) converter.target_spec.supported_ops = [ tf.lite.OpsSet.TFLITE_BUILTINS, # enable TensorFlow Lite ops. tf.lite.OpsSet.SELECT_TF_OPS, # enable TensorFlow ops. ] converter.experimental_enable_resource_variables = True tflite_model = converter.convert() return tflite_model def parameters_from_raw_dict(raw_dict): parameters = [] index = 0 while True: parameter = raw_dict.get(f"a{index}") if parameter is None: break parameters.append(parameter) index += 1 return parameters def save_tflite_model(tflite_model, tflite_file): with open(tflite_file, "wb") as model_file: return model_file.write(tflite_model) ``` </details> <details> <summary>gen_tflite/fed_mcrnn_eg/run.py</summary> ```python from os import path from .. import * from . import FedMCRNNModel DIR = path.dirname(__file__) TFLITE_FILE = f"fed_mcrnn1.tflite" def main(): model = FedMCRNNModel() save_model(model, SAVED_MODEL_DIR) tflite_model = convert_saved_model(SAVED_MODEL_DIR) save_tflite_model(tflite_model, TFLITE_FILE) main() if __name__ == "__main__" else None ``` </details> <details> <summary>gen_tflite/fed_mcrnn_eg/__init__.py</summary> ```python from tensorflow import keras from .. import * @tflite_model_class class FedMCRNNModel(BaseTFLiteModel): X_SHAPE = [7, 8] Y_SHAPE = [1] def __init__(self): self.model = self.build_model() def build_model(self): """Written and tuned by Aicha Slaitane in Aug 2023.""" model = keras.Sequential() # For the first LSTM layer, specify the input_shape model.add( keras.layers.LSTM( # Tune number of units separately. units=384, input_shape=self.X_SHAPE, return_sequences=True, ) ) model.add(keras.layers.LeakyReLU(0.523629795960645)) model.add(keras.layers.Dropout(0.372150795833)) # For subsequent LSTM layers, no need to specify input_shape model.add( keras.layers.LSTM( units=64, return_sequences=True, ) ) model.add(keras.layers.LeakyReLU(0.523629795960645)) model.add(keras.layers.Dropout(0.372150795833)) model.add( keras.layers.LSTM( units=480, return_sequences=True, ) ) model.add(keras.layers.LeakyReLU(0.523629795960645)) model.add(keras.layers.Dropout(0.372150795833)) model.add(keras.layers.Flatten()) model.add(keras.layers.Dense(1)) model.compile( optimizer=keras.optimizers.Adam(learning_rate=0.00668472266354), loss="mean_squared_error", metrics=["mean_absolute_error"], ) return model ``` </details> Command to build the TFLite file: `python3 -m gen_tflite.fed_mcrnn_eg.run`. --- Code used on the Android side is [in `FlowerClient.kt` in FedKit](https://github.com/FedCampus/FedKit/blob/f1ba4d438d19b5d984fe8d0fc6defd3710cc5892/android/fed_kit_train/src/main/java/org/eu/fedcampus/fed_kit_train/FlowerClient.kt). <details> <summary>Relevant code</summary> ```kotlin /** * Flower client that handles TensorFlow Lite model [Interpreter] and sample data. * @param tfliteFileBuffer TensorFlow Lite model file. * @param spec Specification for the samples, see [SampleSpec]. */ class FlowerClient<X : Any, Y : Any>( tfliteFileBuffer: MappedByteBuffer, val layersSizes: IntArray, val spec: SampleSpec<X, Y>, ) : AutoCloseable { val interpreter = Interpreter(tfliteFileBuffer) val interpreterLock = ReentrantLock() val trainingSamples = mutableListOf<Sample<X, Y>>() val testSamples = mutableListOf<Sample<X, Y>>() val trainSampleLock = ReentrantReadWriteLock() val testSampleLock = ReentrantReadWriteLock() /** * Run inference on [x] using [interpreter] and return the result. */ fun inference(x: Array<X>): Array<Y> { val inputs = mapOf("x" to x) val logits = spec.emptyY(x.size) val outputs = mapOf("logits" to logits) runSignatureLocked(inputs, outputs, "infer") return logits } private fun runSignatureLocked( inputs: Map<String, Any>, outputs: Map<String, Any>, signatureKey: String ) { interpreterLock.withLock { interpreter.runSignature(inputs, outputs, signatureKey) } } } ``` </details> ### 3. Failure after conversion See also [issue `Training Fatel Signal` on FedKit](https://github.com/FedCampus/FedKit/issues/15): <details> <summary>Crash log</summary> ```ruby F/libc (25011): Fatal signal 7 (SIGBUS), code 2 (BUS_ADRERR), fault addr 0x77db8b7690 in tid 10606 (DefaultDispatch), pid 25011 (.cuhk.fedcampus) *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Build fingerprint: 'Hinova/TINA-AN00/TS-TINA-Q:11/HinovaHebe-BD00/102.0.1.166C11:user/release-keys' Revision: '0' ABI: 'arm64' Timestamp: 2023-08-21 09:42:39+0800 pid: 25011, tid: 10606, name: DefaultDispatch >>> com.cuhk.fedcampus <<< uid: 10263 signal 7 (SIGBUS), code 2 (BUS_ADRERR), fault addr 0x77db8b7690 x0 b4000077a668b344 x1 00000077db8b7690 x2 0000000000000004 x3 0000000000000001 x4 00000077db8b7694 x5 b4000077a668b348 x6 0000000000000008 x7 0000000000000008 x8 00000077db8b7690 x9 0000000000000000 x10 b4000077da4d1bc0 x11 00000077db8b7690 x12 3ddde2cdbc34570b x13 3deefded3df00685 x14 0000000000000003 x15 00000000ebad6a89 x16 00000077ce7e1ed0 x17 00000078ef4d8c40 x18 00000077d1238000 x19 0000000000000004 x20 b4000077a668b340 x21 b4000077f8cc3b10 x22 0000000000000000 x23 0000000000000001 x24 0000000000000001 x25 0000000000000001 x26 0000000000000001 x27 0000000000000001 x28 0000000000000002 x29 00000078589791f0 lr 00000077ce5999ec sp 0000007858979110 pc 00000078ef4d8b44 pst 0000000080001000 backtrace: #00 pc 0000000000086b44 /apex/com.android.runtime/lib64/bionic/libc.so (__memcpy+116) (BuildId: ed6fa1d1056492860af901caffabe1a6) #01 pc 000000000014e9e8 /data/app/~~jOMJSmliax2W9nG0uNnx0g==/com.cuhk.fedcampus-KOBIK4l5h_A1eePLjPC9Jg==/base.apk!libtensorflowlite_jni.so (offset 0x8263000) #02 pc 00000000002d5d68 /data/app/~~jOMJSmliax2W9nG0uNnx0g==/com.cuhk.fedcampus-KOBIK4l5h_A1eePLjPC9Jg==/base.apk!libtensorflowlite_jni.so (offset 0x8263000) #03 pc 00000000002d575c /data/app/~~jOMJSmliax2W9nG0uNnx0g==/com.cuhk.fedcampus-KOBIK4l5h_A1eePLjPC9Jg==/base.apk!libtensorflowlite_jni.so (offset 0x8263000) #04 pc 00000000002c25a8 /data/app/~~jOMJSmliax2W9nG0uNnx0g==/com.cuhk.fedcampus-KOBIK4l5h_A1eePLjPC9Jg==/base.apk!libtensorflowlite_jni.so (offset 0x8263000) #05 pc 0000000000025668 /data/app/~~jOMJSmliax2W9nG0uNnx0g==/com.cuhk.fedcampus-KOBIK4l5h_A1eePLjPC9Jg==/base.apk!libtensorflowlite_jni.so (offset 0x8263000) (Java_org_tensorflow_lite_NativeInterpreterWrapper_run+100) #06 pc 000000000014fed4 /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+148) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #07 pc 00000000001467e8 /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+568) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #08 pc 00000000001bc26c /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+236) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #09 pc 00000000003361cc /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+376) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #10 pc 000000000032c440 /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+996) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #11 pc 00000000006ce704 /apex/com.android.art/lib64/libart.so (MterpInvokeStatic+548) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #12 pc 0000000000140994 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #13 pc 00000000003f9aea [anon:dalvik-classes.dex extracted in memory from /data/app/~~jOMJSmliax2W9nG0uNnx0g==/com.cuhk.fedcampus-KOBIK4l5h_A1eePLjPC9Jg==/base.apk] (org.tensorflow.lite.NativeInterpreterWrapper.run+122) #14 pc 00000000003236fc /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.15210458325005997145)+348) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #15 pc 00000000006abad0 /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+780) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #16 pc 000000000014fff8 /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #17 pc 000000000206b0f4 /memfd:jit-cache (deleted) (offset 0x2000000) (org.tensorflow.lite.NativeInterpreterWrapper.runSignature+1044) #18 pc 0000000000146564 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #19 pc 00000000001bc250 /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+208) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #20 pc 00000000003361cc /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+376) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #21 pc 000000000032c440 /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+996) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #22 pc 00000000006cb78c /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+848) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #23 pc 0000000000140814 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #24 pc 00000000003f8e14 [anon:dalvik-classes.dex extracted in memory from /data/app/~~jOMJSmliax2W9nG0uNnx0g==/com.cuhk.fedcampus-KOBIK4l5h_A1eePLjPC9Jg==/base.apk] (org.tensorflow.lite.Interpreter.runSignature+36) #25 pc 00000000006cba2c /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #26 pc 0000000000140814 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #27 pc 00000000003f6440 [anon:dalvik-classes.dex extracted in memory from /data/app/~~jOMJSmliax2W9nG0uNnx0g==/com.cuhk.fedcampus-KOBIK4l5h_A1eePLjPC9Jg==/base.apk] (org.eu.fedcampus.fed_kit_train.FlowerClient.runSignatureLocked+20) #28 pc 00000000006ce0c8 /apex/com.android.art/lib64/libart.so (MterpInvokeDirect+1248) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #29 pc 0000000000140914 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_direct+20) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #30 pc 00000000003f5aa0 [anon:dalvik-classes.dex extracted in memory from /data/app/~~jOMJSmliax2W9nG0uNnx0g==/com.cuhk.fedcampus-KOBIK4l5h_A1eePLjPC9Jg==/base.apk] (org.eu.fedcampus.fed_kit_train.FlowerClient.inference+84) #31 pc 00000000006cba2c /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #32 pc 0000000000140814 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #33 pc 00000000003f616e [anon:dalvik-classes.dex extracted in memory from /data/app/~~jOMJSmliax2W9nG0uNnx0g==/com.cuhk.fedcampus-KOBIK4l5h_A1eePLjPC9Jg==/base.apk] (org.eu.fedcampus.fed_kit_train.FlowerClient.evaluate+146) #34 pc 00000000006cba2c /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #35 pc 0000000000140814 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #36 pc 0000000000001284 [anon:dalvik-classes7.dex extracted in memory from /data/app/~~jOMJSmliax2W9nG0uNnx0g==/com.cuhk.fedcampus-KOBIK4l5h_A1eePLjPC9Jg==/base.apk!classes7.dex] (com.cuhk.fedcampus.train.FedmcrnnClient$evaluate$1.invokeSuspend+52) #37 pc 00000000006cba2c /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #38 pc 0000000000140814 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #39 pc 0000000000001234 [anon:dalvik-classes7.dex extracted in memory from /data/app/~~jOMJSmliax2W9nG0uNnx0g==/com.cuhk.fedcampus-KOBIK4l5h_A1eePLjPC9Jg==/base.apk!classes7.dex] (com.cuhk.fedcampus.train.FedmcrnnClient$evaluate$1.invoke+16) #40 pc 00000000006cba2c /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #41 pc 0000000000140814 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #42 pc0000000000001208 [anon:dalvik-classes7.dex extracted in memory from /data/app/~~jOMJSmliax2W9nG0uNnx0g==/com.cuhk.fedcampus-KOBIK4l5h_A1eePLjPC9Jg==/base.apk!classes7.dex] (com.cuhk.fedcampus.train.FedmcrnnClient$evaluate$1.invoke+4) #43 pc 00000000006cd464 /apex/com.android.art/lib64/libart.so (MterpInvokeInterface+1808) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #44 pc 0000000000140a14 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #45 pc 0000000000001b00 [anon:dalvik-classes7.dex extracted in memory from /data/app/~~jOMJSmliax2W9nG0uNnx0g==/com.cuhk.fedcampus-KOBIK4l5h_A1eePLjPC9Jg==/base.apk!classes7.dex] (com.cuhk.fedcampus.train.FedmcrnnClient$tryLaunch$1.invokeSuspend+72) #46 pc 00000000006cba2c /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #47 pc 0000000000140814 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #48 pc 0000000000363596 [anon:dalvik-classes.dex extracted in memory from /data/app/~~jOMJSmliax2W9nG0uNnx0g==/com.cuhk.fedcampus-KOBIK4l5h_A1eePLjPC9Jg==/base.apk] (kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith+42) #49 pc 00000000006cd464 /apex/com.android.art/lib64/libart.so (MterpInvokeInterface+1808) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #50 pc 0000000000140a14 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #51 pc 00000000003a9a98 [anon:dalvik-classes.dex extracted in memory from /data/app/~~jOMJSmliax2W9nG0uNnx0g==/com.cuhk.fedcampus-KOBIK4l5h_A1eePLjPC9Jg==/base.apk] (kotlinx.coroutines.DispatchedTask.run+448) #52 pc 00000000006cba2c /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #53 pc 0000000000140814 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #54 pc 00000000003ea81e [anon:dalvik-classes.dex extracted in memory from /data/app/~~jOMJSmliax2W9nG0uNnx0g==/com.cuhk.fedcampus-KOBIK4l5h_A1eePLjPC9Jg==/base.apk] (kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely+2) #55 pc 00000000006cba2c /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #56 pc 0000000000140814 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #57 pc 00000000003e93fa [anon:dalvik-classes.dex extracted in memory from /data/app/~~jOMJSmliax2W9nG0uNnx0g==/com.cuhk.fedcampus-KOBIK4l5h_A1eePLjPC9Jg==/base.apk] (kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask+34) #58 pc 00000000006ce0c8 /apex/com.android.art/lib64/libart.so (MterpInvokeDirect+1248) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #59 pc 0000000000140914 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_direct+20) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #60 pc 00000000003e9528 [anon:dalvik-classes.dex extracted in memory from /data/app/~~jOMJSmliax2W9nG0uNnx0g==/com.cuhk.fedcampus-KOBIK4l5h_A1eePLjPC9Jg==/base.apk] (kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker+56) #61 pc 00000000006ce0c8 /apex/com.android.art/lib64/libart.so (MterpInvokeDirect+1248) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #62 pc 0000000000140914 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_direct+20) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #63 pc 00000000003e94d8 [anon:dalvik-classes.dex extracted in memory from /data/app/~~jOMJSmliax2W9nG0uNnx0g==/com.cuhk.fedcampus-KOBIK4l5h_A1eePLjPC9Jg==/base.apk] (kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run) #64 pc 00000000003236fc /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.15210458325005997145)+348) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #65 pc 00000000006abad0 /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+780) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #66 pc 000000000014fff8 /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #67 pc 0000000000146564 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #68 pc 00000000001bc250 /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+208) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #69 pc 0000000000591268 /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, jvalue const*)+460) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #70 pc 00000000005e3bd0 /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallback(void*)+1364) (BuildId: c83b725cb502ebcf2b3b28039ccfbfa6) #71 pc 00000000000ed068 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64) (BuildId: ed6fa1d1056492860af901caffabe1a6) #72 pc 000000000008d5e0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: ed6fa1d1056492860af901caffabe1a6) Lost connection to device. Exited (sigterm) ``` </details>
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61654/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61654/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61653
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61653/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61653/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61653/events
https://github.com/tensorflow/tensorflow/issues/61653
1,858,568,805
I_kwDOArmXAs5ux4Jl
61,653
Check failed when running tensorflow.python.ops.gen_nn_ops.max_pool_grad_with_argmax
{ "login": "dmc1778", "id": 17060581, "node_id": "MDQ6VXNlcjE3MDYwNTgx", "avatar_url": "https://avatars.githubusercontent.com/u/17060581?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmc1778", "html_url": "https://github.com/dmc1778", "followers_url": "https://api.github.com/users/dmc1778/followers", "following_url": "https://api.github.com/users/dmc1778/following{/other_user}", "gists_url": "https://api.github.com/users/dmc1778/gists{/gist_id}", "starred_url": "https://api.github.com/users/dmc1778/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmc1778/subscriptions", "organizations_url": "https://api.github.com/users/dmc1778/orgs", "repos_url": "https://api.github.com/users/dmc1778/repos", "events_url": "https://api.github.com/users/dmc1778/events{/privacy}", "received_events_url": "https://api.github.com/users/dmc1778/received_events", "type": "User", "site_admin": false }
[ { "id": 386191887, "node_id": "MDU6TGFiZWwzODYxOTE4ODc=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response", "name": "stat:awaiting response", "color": "f4b400", "default": false, "description": "Status - Awaiting response from author" }, { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 474725938, "node_id": "MDU6TGFiZWw0NzQ3MjU5Mzg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stale", "name": "stale", "color": "d4c5f9", "default": false, "description": "This label marks the issue/pr stale - to be closed automatically if no activity" }, { "id": 1097547147, "node_id": "MDU6TGFiZWwxMDk3NTQ3MTQ3", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:ops", "name": "comp:ops", "color": "0052cc", "default": false, "description": "OPs related issues" }, { "id": 5508003926, "node_id": "LA_kwDOArmXAs8AAAABSE14Vg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13", "name": "TF 2.13", "color": "B13ACB", "default": false, "description": "For issues related to Tensorflow 2.13" } ]
closed
false
{ "login": "tilakrayal", "id": 81610181, "node_id": "MDQ6VXNlcjgxNjEwMTgx", "avatar_url": "https://avatars.githubusercontent.com/u/81610181?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tilakrayal", "html_url": "https://github.com/tilakrayal", "followers_url": "https://api.github.com/users/tilakrayal/followers", "following_url": "https://api.github.com/users/tilakrayal/following{/other_user}", "gists_url": "https://api.github.com/users/tilakrayal/gists{/gist_id}", "starred_url": "https://api.github.com/users/tilakrayal/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tilakrayal/subscriptions", "organizations_url": "https://api.github.com/users/tilakrayal/orgs", "repos_url": "https://api.github.com/users/tilakrayal/repos", "events_url": "https://api.github.com/users/tilakrayal/events{/privacy}", "received_events_url": "https://api.github.com/users/tilakrayal/received_events", "type": "User", "site_admin": false }
[ { "login": "tilakrayal", "id": 81610181, "node_id": "MDQ6VXNlcjgxNjEwMTgx", "avatar_url": "https://avatars.githubusercontent.com/u/81610181?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tilakrayal", "html_url": "https://github.com/tilakrayal", "followers_url": "https://api.github.com/users/tilakrayal/followers", "following_url": "https://api.github.com/users/tilakrayal/following{/other_user}", "gists_url": "https://api.github.com/users/tilakrayal/gists{/gist_id}", "starred_url": "https://api.github.com/users/tilakrayal/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tilakrayal/subscriptions", "organizations_url": "https://api.github.com/users/tilakrayal/orgs", "repos_url": "https://api.github.com/users/tilakrayal/repos", "events_url": "https://api.github.com/users/tilakrayal/events{/privacy}", "received_events_url": "https://api.github.com/users/tilakrayal/received_events", "type": "User", "site_admin": false } ]
null
[ "@dmc1778,\r\nI was able to reproduce the issue on colab using TF v2.12, 2.13, tf-nightly. Please find the attached [gist](https://colab.research.google.com/gist/tilakrayal/9f8239ce2a78438cb1af73973f495bb6/untitled1332.ipynb).\r\n\r\nSince Segmentation faults can be considered as potential security vulnerabilities please read [SECURITY.md](https://github.com/tensorflow/tensorflow/blob/master/SECURITY.md) and report them through proper channel as mentioned in SECURITY.md. If you want to stick to a specific version then please follow [this](https://github.com/tensorflow/tensorflow/blob/master/README.md#patching-guidelines) and create your own patch to resolve such issues.\r\n\r\nThank you!", "This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.", "This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61653\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61653\">No</a>\n" ]
2023-08-21T04:37:48
2023-09-06T01:47:12
2023-09-06T01:47:09
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source binary ### TensorFlow version 2.13.0 ### Custom code Yes ### OS platform and distribution 22.04 ### Mobile device _No response_ ### Python version 3.9 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version nvidia-cudnn-cu11==8.6.0.163, cudatoolkit=11.8.0 ### GPU model and memory _No response_ ### Current behavior? Specific input combination is caused check failure. ### Standalone code to reproduce the issue ```shell import tensorflow as tf import numpy as np from tensorflow.python.ops import gen_nn_ops try: try: with tf.device('/CPU'): arg_0_tensor = tf.random.uniform([2, 3, 3, 1], dtype=tf.float32) arg_0 = tf.identity(arg_0_tensor) arg_1_tensor = tf.random.uniform([2, 2, 2, 1], dtype=tf.float32) arg_1 = tf.identity(arg_1_tensor) arg_2_tensor = tf.random.uniform([2, 2, 2, 1], minval=-256, maxval=257, dtype=tf.int64) arg_2 = tf.identity(arg_2_tensor) ksize_0 = 1 ksize_1 = 2 ksize_2 = 2 ksize_3 = 1 ksize = [ksize_0,ksize_1,ksize_2,ksize_3,] strides_0 = 1 strides_1 = 1 strides_2 = 1 strides_3 = 1 strides = [strides_0,strides_1,strides_2,strides_3,] padding = "VALID" include_batch_in_index = False out = gen_nn_ops.max_pool_grad_with_argmax(arg_0,arg_1,arg_2,ksize=ksize,strides=strides,padding=padding,include_batch_in_index=include_batch_in_index,) except Exception as e: print("Error:"+str(e)) try: with tf.device('/GPU:0'): arg_0 = tf.identity(arg_0_tensor) arg_0 = tf.cast(arg_0, tf.float32) arg_1 = tf.identity(arg_1_tensor) arg_1 = tf.cast(arg_1, tf.float32) arg_2 = tf.identity(arg_2_tensor) arg_2 = tf.cast(arg_2, tf.int64) ksize = [ksize_0,ksize_1,ksize_2,ksize_3,] strides = [strides_0,strides_1,strides_2,strides_3,] gen_nn_ops.max_pool_grad_with_argmax(arg_0,arg_1,arg_2,ksize=ksize,strides=strides,padding=padding,include_batch_in_index=include_batch_in_index,) except Exception as e: print("Error:"+str(e)) except Exception as e: print("Error:"+str(e)) ``` ``` ### Relevant log output ```shell 2023-08-21 00:36:14.553160: F tensorflow/core/kernels/maxpooling_op.cc:1081] Check failed: grad_out_index >= output_start && grad_out_index < output_end Invalid output gradient index: 77, 0, 18 Aborted ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61653/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61653/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61652
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61652/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61652/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61652/events
https://github.com/tensorflow/tensorflow/issues/61652
1,858,560,241
I_kwDOArmXAs5ux2Dx
61,652
Check failed when running tensorflow.python.ops.gen_nn_ops.max_pool_grad_with_argmax (colab+local)
{ "login": "dmc1778", "id": 17060581, "node_id": "MDQ6VXNlcjE3MDYwNTgx", "avatar_url": "https://avatars.githubusercontent.com/u/17060581?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmc1778", "html_url": "https://github.com/dmc1778", "followers_url": "https://api.github.com/users/dmc1778/followers", "following_url": "https://api.github.com/users/dmc1778/following{/other_user}", "gists_url": "https://api.github.com/users/dmc1778/gists{/gist_id}", "starred_url": "https://api.github.com/users/dmc1778/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmc1778/subscriptions", "organizations_url": "https://api.github.com/users/dmc1778/orgs", "repos_url": "https://api.github.com/users/dmc1778/repos", "events_url": "https://api.github.com/users/dmc1778/events{/privacy}", "received_events_url": "https://api.github.com/users/dmc1778/received_events", "type": "User", "site_admin": false }
[ { "id": 404586594, "node_id": "MDU6TGFiZWw0MDQ1ODY1OTQ=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20tensorflower", "name": "stat:awaiting tensorflower", "color": "f4b400", "default": false, "description": "Status - Awaiting response from tensorflower" }, { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 1097547147, "node_id": "MDU6TGFiZWwxMDk3NTQ3MTQ3", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:ops", "name": "comp:ops", "color": "0052cc", "default": false, "description": "OPs related issues" }, { "id": 5508003926, "node_id": "LA_kwDOArmXAs8AAAABSE14Vg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13", "name": "TF 2.13", "color": "B13ACB", "default": false, "description": "For issues related to Tensorflow 2.13" } ]
open
false
{ "login": "SuryanarayanaY", "id": 116063290, "node_id": "U_kgDOBur8Og", "avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SuryanarayanaY", "html_url": "https://github.com/SuryanarayanaY", "followers_url": "https://api.github.com/users/SuryanarayanaY/followers", "following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}", "gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}", "starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions", "organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs", "repos_url": "https://api.github.com/users/SuryanarayanaY/repos", "events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}", "received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events", "type": "User", "site_admin": false }
[ { "login": "SuryanarayanaY", "id": 116063290, "node_id": "U_kgDOBur8Og", "avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SuryanarayanaY", "html_url": "https://github.com/SuryanarayanaY", "followers_url": "https://api.github.com/users/SuryanarayanaY/followers", "following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}", "gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}", "starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions", "organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs", "repos_url": "https://api.github.com/users/SuryanarayanaY/repos", "events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}", "received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events", "type": "User", "site_admin": false } ]
null
[ "Hi @dmc1778 ,\r\n\r\nI have replicated the reported behaviour with Tf2.13v and tf-nightly also. Attached screenshot below for reference.\r\n\r\n<img width=\"1497\" alt=\"Screenshot 2023-08-22 at 4 02 45 PM\" src=\"https://github.com/tensorflow/tensorflow/assets/116063290/0d6acdef-55af-4e3b-bd0d-f71b10390c8c\">\r\n\r\nPlease report security issues using the proper channels as mentioned in [SECURITY.md](https://github.com/tensorflow/tensorflow/blob/master/SECURITY.md) .\r\n" ]
2023-08-21T04:27:24
2023-08-23T11:07:10
null
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source binary ### TensorFlow version 2.13.0 ### Custom code Yes ### OS platform and distribution 22.04 ### Mobile device _No response_ ### Python version 3.9 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version nvidia-cudnn-cu11==8.6.0.163, cudatoolkit=11.8.0 ### GPU model and memory _No response_ ### Current behavior? probably due to negative large input tensor ### Standalone code to reproduce the issue ```shell import tensorflow as tf import numpy as np from tensorflow.python.ops import gen_nn_ops try: try: with tf.device('/CPU'): arg_0_tensor = tf.constant(-105687333925307, shape=[2, 3, 3, 1], dtype=tf.float32,) arg_0 = tf.identity(arg_0_tensor) arg_1_tensor = tf.random.uniform([2, 2, 2, 1], dtype=tf.float32) arg_1 = tf.identity(arg_1_tensor) arg_2_tensor = tf.random.uniform([2, 2, 2, 1], minval=-256, maxval=257, dtype=tf.int64) arg_2 = tf.identity(arg_2_tensor) ksize_0 = 1 ksize_1 = 2 ksize_2 = 2 ksize_3 = 1 ksize = [ksize_0,ksize_1,ksize_2,ksize_3,] strides_0 = 1 strides_1 = 1 strides_2 = 1 strides_3 = 1 strides = [strides_0,strides_1,strides_2,strides_3,] padding = "VALID" include_batch_in_index = False out = gen_nn_ops.max_pool_grad_with_argmax(arg_0,arg_1,arg_2,ksize=ksize,strides=strides,padding=padding,include_batch_in_index=include_batch_in_index,) except Exception as e: print("Error:"+str(e)) try: with tf.device('/GPU:0'): arg_0 = tf.identity(arg_0_tensor) arg_0 = tf.cast(arg_0, tf.float32) arg_1 = tf.identity(arg_1_tensor) arg_1 = tf.cast(arg_1, tf.float32) arg_2 = tf.identity(arg_2_tensor) arg_2 = tf.cast(arg_2, tf.int64) ksize = [ksize_0,ksize_1,ksize_2,ksize_3,] strides = [strides_0,strides_1,strides_2,strides_3,] gen_nn_ops.max_pool_grad_with_argmax(arg_0,arg_1,arg_2,ksize=ksize,strides=strides,padding=padding,include_batch_in_index=include_batch_in_index,) except Exception as e: print("Error:"+str(e)) except Exception as e: print("Error:"+str(e)) ``` ``` ### Relevant log output ```shell 2023-08-21 00:24:51.784661: F tensorflow/core/kernels/maxpooling_op.cc:1081] Check failed: grad_out_index >= output_start && grad_out_index < output_end Invalid output gradient index: 205, 0, 18 Aborted ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61652/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61652/timeline
null
null
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61651
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61651/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61651/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61651/events
https://github.com/tensorflow/tensorflow/issues/61651
1,858,258,054
I_kwDOArmXAs5uwsSG
61,651
Tensorflow on Manjaro
{ "login": "Gadrawingz", "id": 50759844, "node_id": "MDQ6VXNlcjUwNzU5ODQ0", "avatar_url": "https://avatars.githubusercontent.com/u/50759844?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Gadrawingz", "html_url": "https://github.com/Gadrawingz", "followers_url": "https://api.github.com/users/Gadrawingz/followers", "following_url": "https://api.github.com/users/Gadrawingz/following{/other_user}", "gists_url": "https://api.github.com/users/Gadrawingz/gists{/gist_id}", "starred_url": "https://api.github.com/users/Gadrawingz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Gadrawingz/subscriptions", "organizations_url": "https://api.github.com/users/Gadrawingz/orgs", "repos_url": "https://api.github.com/users/Gadrawingz/repos", "events_url": "https://api.github.com/users/Gadrawingz/events{/privacy}", "received_events_url": "https://api.github.com/users/Gadrawingz/received_events", "type": "User", "site_admin": false }
[ { "id": 386191887, "node_id": "MDU6TGFiZWwzODYxOTE4ODc=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response", "name": "stat:awaiting response", "color": "f4b400", "default": false, "description": "Status - Awaiting response from author" }, { "id": 473173351, "node_id": "MDU6TGFiZWw0NzMxNzMzNTE=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:build/install", "name": "type:build/install", "color": "159b2e", "default": false, "description": "Build and install issues" }, { "id": 474725938, "node_id": "MDU6TGFiZWw0NzQ3MjU5Mzg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stale", "name": "stale", "color": "d4c5f9", "default": false, "description": "This label marks the issue/pr stale - to be closed automatically if no activity" }, { "id": 1205615612, "node_id": "MDU6TGFiZWwxMjA1NjE1NjEy", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/subtype:%20ubuntu/linux", "name": "subtype: ubuntu/linux", "color": "b619ea", "default": false, "description": "Ubuntu/Linux Build/Installation Issues" }, { "id": 3797168204, "node_id": "LA_kwDOArmXAs7iVDBM", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.8", "name": "TF 2.8", "color": "5DC9D0", "default": false, "description": "" } ]
closed
false
{ "login": "sushreebarsa", "id": 84765720, "node_id": "MDQ6VXNlcjg0NzY1NzIw", "avatar_url": "https://avatars.githubusercontent.com/u/84765720?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sushreebarsa", "html_url": "https://github.com/sushreebarsa", "followers_url": "https://api.github.com/users/sushreebarsa/followers", "following_url": "https://api.github.com/users/sushreebarsa/following{/other_user}", "gists_url": "https://api.github.com/users/sushreebarsa/gists{/gist_id}", "starred_url": "https://api.github.com/users/sushreebarsa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sushreebarsa/subscriptions", "organizations_url": "https://api.github.com/users/sushreebarsa/orgs", "repos_url": "https://api.github.com/users/sushreebarsa/repos", "events_url": "https://api.github.com/users/sushreebarsa/events{/privacy}", "received_events_url": "https://api.github.com/users/sushreebarsa/received_events", "type": "User", "site_admin": false }
[ { "login": "sushreebarsa", "id": 84765720, "node_id": "MDQ6VXNlcjg0NzY1NzIw", "avatar_url": "https://avatars.githubusercontent.com/u/84765720?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sushreebarsa", "html_url": "https://github.com/sushreebarsa", "followers_url": "https://api.github.com/users/sushreebarsa/followers", "following_url": "https://api.github.com/users/sushreebarsa/following{/other_user}", "gists_url": "https://api.github.com/users/sushreebarsa/gists{/gist_id}", "starred_url": "https://api.github.com/users/sushreebarsa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sushreebarsa/subscriptions", "organizations_url": "https://api.github.com/users/sushreebarsa/orgs", "repos_url": "https://api.github.com/users/sushreebarsa/repos", "events_url": "https://api.github.com/users/sushreebarsa/events{/privacy}", "received_events_url": "https://api.github.com/users/sushreebarsa/received_events", "type": "User", "site_admin": false } ]
null
[ "@Gadrawingz For setting up the TF and installing the build tools to configure your development environment, please follow these steps as mentioned [here](https://www.tensorflow.org/install/source#setup_for_linux_and_macos). Thank you!\r\n\r\n", "This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.", "This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61651\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61651\">No</a>\n" ]
2023-08-20T20:22:39
2023-09-06T01:47:15
2023-09-06T01:47:10
NONE
null
null
null
### Issue type Support ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source source ### TensorFlow version tf 2.8 ### Custom code Yes ### OS platform and distribution Linux Manjaro ### Mobile device Android ### Python version 3.11 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? How to setup and perform main configuration on Manjaro platform ### Standalone code to reproduce the issue ```shell I see nothin expected... ``` ### Relevant log output _No response_
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61651/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61651/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61650
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61650/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61650/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61650/events
https://github.com/tensorflow/tensorflow/issues/61650
1,858,228,628
I_kwDOArmXAs5uwlGU
61,650
Activation function of a Dense hidden layer not getting invoked.
{ "login": "therealsachin", "id": 2357424, "node_id": "MDQ6VXNlcjIzNTc0MjQ=", "avatar_url": "https://avatars.githubusercontent.com/u/2357424?v=4", "gravatar_id": "", "url": "https://api.github.com/users/therealsachin", "html_url": "https://github.com/therealsachin", "followers_url": "https://api.github.com/users/therealsachin/followers", "following_url": "https://api.github.com/users/therealsachin/following{/other_user}", "gists_url": "https://api.github.com/users/therealsachin/gists{/gist_id}", "starred_url": "https://api.github.com/users/therealsachin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/therealsachin/subscriptions", "organizations_url": "https://api.github.com/users/therealsachin/orgs", "repos_url": "https://api.github.com/users/therealsachin/repos", "events_url": "https://api.github.com/users/therealsachin/events{/privacy}", "received_events_url": "https://api.github.com/users/therealsachin/received_events", "type": "User", "site_admin": false }
[ { "id": 386191887, "node_id": "MDU6TGFiZWwzODYxOTE4ODc=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response", "name": "stat:awaiting response", "color": "f4b400", "default": false, "description": "Status - Awaiting response from author" }, { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 474725938, "node_id": "MDU6TGFiZWw0NzQ3MjU5Mzg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stale", "name": "stale", "color": "d4c5f9", "default": false, "description": "This label marks the issue/pr stale - to be closed automatically if no activity" }, { "id": 1205765054, "node_id": "MDU6TGFiZWwxMjA1NzY1MDU0", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/subtype:macOS", "name": "subtype:macOS", "color": "b619ea", "default": false, "description": "macOS Build/Installation issues" }, { "id": 5508003926, "node_id": "LA_kwDOArmXAs8AAAABSE14Vg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13", "name": "TF 2.13", "color": "B13ACB", "default": false, "description": "For issues related to Tensorflow 2.13" } ]
closed
false
{ "login": "SuryanarayanaY", "id": 116063290, "node_id": "U_kgDOBur8Og", "avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SuryanarayanaY", "html_url": "https://github.com/SuryanarayanaY", "followers_url": "https://api.github.com/users/SuryanarayanaY/followers", "following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}", "gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}", "starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions", "organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs", "repos_url": "https://api.github.com/users/SuryanarayanaY/repos", "events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}", "received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events", "type": "User", "site_admin": false }
[ { "login": "SuryanarayanaY", "id": 116063290, "node_id": "U_kgDOBur8Og", "avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SuryanarayanaY", "html_url": "https://github.com/SuryanarayanaY", "followers_url": "https://api.github.com/users/SuryanarayanaY/followers", "following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}", "gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}", "starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions", "organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs", "repos_url": "https://api.github.com/users/SuryanarayanaY/repos", "events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}", "received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events", "type": "User", "site_admin": false } ]
null
[ "NOTE: \r\nWhen I downgraded tf from 2.13.0 to 2.12.0, the code worked as expected.\r\n\r\nThe output with tf 2.12.0. The final decoder layer is outputting values [0.5, 0.5, 0.5] as expected.\r\n\r\n```\r\nPython 3.8.17 (default, Jul 5 2023, 15:35:58) \r\n[Clang 14.0.6 ]\r\nPython Platform: macOS-13.4-arm64-arm-64bit\r\nTensor Flow Version: 2.12.0\r\nGPU is NOT AVAILABLE\r\n2023-08-21 00:18:53.489119: W tensorflow/tsl/platform/profile_utils/cpu_utils.cc:128] Failed to get CPU frequency: 0 Hz\r\n1/1 [==============================] - 0s 25ms/step\r\n[[0.5 0.5 0.5]]\r\n```", "Hi @therealsachin ,\r\n\r\nI have tested the provided code with Tf2.13v on both Linux and Macos and both are generating same output for me.\r\n\r\nPlease refer the result on colab [gist](https://colab.sandbox.google.com/gist/SuryanarayanaY/fea0b501ffcac2bc214e59a405cfbd48/61650_linux-tf2-13v.ipynb#scrollTo=NEyqZ0JD0pxk).\r\n\r\nPlease refer the attached logs on Macos.\r\n\r\n```\r\n(tf-metal) suryanarayanay-macbookpro:Downloads suryanarayanay$ python 61650_macos.py\r\nPython 3.9.16 (main, Mar 8 2023, 04:29:24) \r\n[Clang 14.0.6 ]\r\nPython Platform: macOS-13.5-arm64-arm-64bit\r\nTensor Flow Version: 2.13.0\r\nGPU is available\r\nMetal device set to: Apple M1 Pro\r\n\r\nsystemMemory: 16.00 GB\r\nmaxCacheSize: 5.33 GB\r\n\r\n1/1 [==============================] - 0s 320ms/step\r\n[[0.5 0.5 0.5]]\r\n(tf-metal) suryanarayanay-macbookpro:Downloads suryanarayanay$ python 61650_macos.py\r\nPython 3.9.16 (main, Mar 8 2023, 04:29:24) \r\n[Clang 14.0.6 ]\r\nPython Platform: macOS-13.5-arm64-arm-64bit\r\nTensor Flow Version: 2.13.0\r\nGPU is available\r\nMetal device set to: Apple M1 Pro\r\n\r\nsystemMemory: 16.00 GB\r\nmaxCacheSize: 5.33 GB\r\n\r\n1/1 [==============================] - 0s 50ms/step\r\n[[0.5 0.5 0.5]]\r\n(tf-metal) suryanarayanay-macbookpro:Downloads suryanarayanay$ cat 61650_macos.py \r\n# -*- coding: utf-8 -*-\r\n\"\"\"61650_macos(TF2.13v).ipynb\r\n\r\nAutomatically generated by Colaboratory.\r\n\r\nOriginal file is located at\r\n https://colab.research.google.com/drive/1pHTvZjMFeqpRTuX_ShlFwGfDOUQl3AId?resourcekey=0-0g-rwvb7Fa9-4Kuw0eIlRA\r\n\"\"\"\r\n\r\n# !pip install tensorflow==2.13.*\r\n\r\nimport tensorflow as tf\r\nimport tensorflow.keras\r\nimport tensorflow as tf\r\nimport platform\r\nimport sys\r\nfrom tensorflow.keras.layers import Input, Dense, Layer\r\nfrom tensorflow.keras.models import Model\r\n\r\n# Print versions:\r\nprint(f\"Python {sys.version}\")\r\nprint(f\"Python Platform: {platform.platform()}\")\r\nprint(f\"Tensor Flow Version: {tf.__version__}\")\r\ngpu = len(tf.config.list_physical_devices('GPU'))>0\r\nprint(\"GPU is\", \"available\" if gpu else \"NOT AVAILABLE\")\r\n\r\n# Setup input\r\nimport numpy as np\r\nX_check = np.array([[1, 0, 0]])\r\n\r\n# Setup autoencoder model\r\ninput_layer = Input(shape=(X_check.shape[1]))\r\nbottleneck = Dense(2, activation='relu', name='bottleneck')(input_layer)\r\noutput = Dense(X_check.shape[1], activation='sigmoid', name='output')(bottleneck)\r\nautoencoder = Model(input_layer, output)\r\n\r\n# Set encoder layer weights to all negative.\r\nlayer = autoencoder.layers[1]\r\nweights = np.array([[-1, -1],[-1, -1], [-1, -1]])\r\nbiases = np.array([0, 0])\r\nlayer.set_weights([weights, biases])\r\n\r\n# create encoder model.\r\nencoder = Model(input_layer, bottleneck)\r\n\r\n# create decoder model.\r\ndecoder_input = Input(shape=(2,), name='decoder_input')\r\ndecoder_layer = autoencoder.layers[-1]\r\ndecoder = Model(decoder_input, decoder_layer(decoder_input))\r\n\r\n# Run auto-encoder, with [1, 0, 0], since encoder has all negative weights,\r\n# and has 'relu' activation o/p of enocder should all be zeros. And that being\r\n# the input of next sigmod we should get output [0.5, 0.5, 0.5]\r\noutput_data = autoencoder.predict(X_check)\r\nprint(output_data)(tf-metal) suryanarayanay-macbookpro:Downloads suryanarayanay$ \r\n```", "Hi @SuryanarayanaY ,\r\n\r\nFYI. I am running on Apple M2 Max, 64 GB, macOS Ventura Version 13.4 (22F66).\r\n\r\nI can replicate the issue on my machine. Is there anything that I can do to debug this more? Like, run all tests locally and see if any of the tests fails? Or do something else.\r\n\r\nWhen I set to eager execution to true the bug does not manifest. So I am guessing this has something to do with the execution graph optimization. ", "Hi @therealsachin ,\r\n\r\nI have disable V2 behaviour using `tf.compat.v1.disable_v2_behavior()`to disable eager execution and added `print(tf.executing_eagerly())` at last. Then executed the code again it's not replicating reported behaviour.Please refer attached logs.\r\n\r\n```\r\n(base) suryanarayanay-macbookpro:Downloads suryanarayanay$ python 61650_graph_mode_macos_tf2_13v.py\r\nWARNING:tensorflow:From /Users/suryanarayanay/miniconda/lib/python3.10/site-packages/tensorflow/python/compat/v2_compat.py:107: disable_resource_variables (from tensorflow.python.ops.variable_scope) is deprecated and will be removed in a future version.\r\nInstructions for updating:\r\nnon-resource variables are not supported in the long term\r\nPython 3.10.9 (main, Jan 11 2023, 09:18:18) [Clang 14.0.6 ]\r\nPython Platform: macOS-13.5.1-arm64-arm-64bit\r\nTensor Flow Version: 2.13.0\r\nGPU is available\r\nMetal device set to: Apple M1 Pro\r\n\r\nsystemMemory: 16.00 GB\r\nmaxCacheSize: 5.33 GB\r\n\r\n2023-09-06 14:54:16.368497: I tensorflow/core/common_runtime/pluggable_device/pluggable_device_factory.cc:303] Could not identify NUMA node of platform GPU ID 0, defaulting to 0. Your kernel may not have been built with NUMA support.\r\n2023-09-06 14:54:16.368700: I tensorflow/core/common_runtime/pluggable_device/pluggable_device_factory.cc:269] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 0 MB memory) -> physical PluggableDevice (device: 0, name: METAL, pci bus id: <undefined>)\r\n2023-09-06 14:54:16.371797: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:375] MLIR V1 optimization pass is not enabled\r\n2023-09-06 14:54:16.379867: I tensorflow/core/grappler/optimizers/custom_graph_optimizer_registry.cc:114] Plugin optimizer for device_type GPU is enabled.\r\n2023-09-06 14:54:16.397685: W tensorflow/c/c_api.cc:304] Operation '{name:'output/kernel/Assign' id:33 op device:{requested: '', assigned: ''} def:{{{node output/kernel/Assign}} = AssignVariableOp[_has_manual_control_dependencies=true, dtype=DT_FLOAT, validate_shape=false](output/kernel, output/kernel/Initializer/random_uniform)}}' was changed by setting attribute after it was run by a session. This mutation will have no effect, and will trigger an error in the future. Either don't modify nodes after running them or create a new session.\r\n2023-09-06 14:54:16.398514: I tensorflow/core/grappler/optimizers/custom_graph_optimizer_registry.cc:114] Plugin optimizer for device_type GPU is enabled.\r\n2023-09-06 14:54:16.469451: I tensorflow/core/grappler/optimizers/custom_graph_optimizer_registry.cc:114] Plugin optimizer for device_type GPU is enabled.\r\n/Users/suryanarayanay/miniconda/lib/python3.10/site-packages/keras/src/engine/training_v1.py:2359: UserWarning: `Model.state_updates` will be removed in a future version. This property should not be used in TensorFlow 2.0, as `updates` are applied automatically.\r\n updates=self.state_updates,\r\n2023-09-06 14:54:16.478393: W tensorflow/c/c_api.cc:304] Operation '{name:'output/Sigmoid' id:44 op device:{requested: '', assigned: ''} def:{{{node output/Sigmoid}} = Sigmoid[T=DT_FLOAT, _has_manual_control_dependencies=true](output/BiasAdd)}}' was changed by setting attribute after it was run by a session. This mutation will have no effect, and will trigger an error in the future. Either don't modify nodes after running them or create a new session.\r\n2023-09-06 14:54:16.479109: I tensorflow/core/grappler/optimizers/custom_graph_optimizer_registry.cc:114] Plugin optimizer for device_type GPU is enabled.\r\n[[0.5 0.5 0.5]]\r\nFalse\r\n(base) suryanarayanay-macbookpro:Downloads suryanarayanay$ \r\n```\r\nThe bug doesn't manifest without Eager execution also. Did you tried with any alternate method? \r\n\r\nThanks!", "This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.", "This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61650\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61650\">No</a>\n" ]
2023-08-20T18:45:47
2023-09-23T01:46:30
2023-09-23T01:46:28
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source binary ### TensorFlow version v2.13.0-rc2-7-g1cb1a030a62 2.13.0 ### Custom code Yes ### OS platform and distribution MacOS 13.4, MacBook Pro M2 Max ### Mobile device _No response_ ### Python version 3.8.17 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? Issue: In the given auto-encoder setup, the encoder layers activation function (relu) is not getting invoked. 1. We create a simple auto-encoder, with Input size 3, hidden size 2, and output back to 3. 2. The activation function of the encoder layer is set a relu. 3. The weights of the encoder layers are all made negative. Idea is, if input is +ve, all the neutrons will have negative value and relu will o/p zero. 4. Give input as [1, 0, 0]. 5. We expect the final decoder o/p layer, which has sigmoid activation, to o/p all [0.5, 0.5, 0.5] as the input to this layer from the encoder should have been [0, 0, 0]. 6. But we find that is not the case, which clearly shows that 'relu' activation of the hidden layer is not getting invoked. Installation: pip install tensorflow-macos pip install tensorflow-metal ### Standalone code to reproduce the issue ```shell # https://colab.research.google.com/drive/14KKrdiBg8FT2cdUC5pjqJHi5S3BkTOHi?usp=sharing # The above colab will run fine, but the same code on Mac with the said config has issue. # Copying the code here for quick reference. import tensorflow as tf import tensorflow.keras import tensorflow as tf import platform import sys from tensorflow.keras.layers import Input, Dense, Layer from tensorflow.keras.models import Model # Print versions: print(f"Python {sys.version}") print(f"Python Platform: {platform.platform()}") print(f"Tensor Flow Version: {tf.__version__}") gpu = len(tf.config.list_physical_devices('GPU'))>0 print("GPU is", "available" if gpu else "NOT AVAILABLE") # Setup input import numpy as np X_check = np.array([[1, 0, 0]]) # Setup autoencoder model input_layer = Input(shape=(X_check.shape[1])) bottleneck = Dense(2, activation='relu', name='bottleneck')(input_layer) output = Dense(X_check.shape[1], activation='sigmoid', name='output')(bottleneck) autoencoder = Model(input_layer, output) # Set encoder layer weights to all negative. layer = autoencoder.layers[1] weights = np.array([[-1, -1],[-1, -1], [-1, -1]]) biases = np.array([0, 0]) layer.set_weights([weights, biases]) # create encoder model. encoder = Model(input_layer, bottleneck) # create decoder model. decoder_input = Input(shape=(2,), name='decoder_input') decoder_layer = autoencoder.layers[-1] decoder = Model(decoder_input, decoder_layer(decoder_input)) # Run auto-encoder, with [1, 0, 0], since encoder has all negative weights, # and has 'relu' activation o/p of enocder should all be zeros. And that being # the input of next sigmod we should get output [0.5, 0.5, 0.5] output_data = autoencoder.predict(X_check) print(output_data) ``` ### Relevant log output ```shell Python 3.8.17 (default, Jul 5 2023, 15:45:03) [Clang 14.0.6 ] Python Platform: macOS-13.4-arm64-arm-64bit Tensor Flow Version: 2.13.0 GPU is available 1/1 [==============================] - 0s 38ms/step [[0.287966 0.85427195 0.28276426]] ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61650/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61650/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61649
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61649/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61649/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61649/events
https://github.com/tensorflow/tensorflow/issues/61649
1,858,215,517
I_kwDOArmXAs5uwh5d
61,649
GPU error Tensorflow with 2.1
{ "login": "junaidjawaid1", "id": 138015606, "node_id": "U_kgDOCDnzdg", "avatar_url": "https://avatars.githubusercontent.com/u/138015606?v=4", "gravatar_id": "", "url": "https://api.github.com/users/junaidjawaid1", "html_url": "https://github.com/junaidjawaid1", "followers_url": "https://api.github.com/users/junaidjawaid1/followers", "following_url": "https://api.github.com/users/junaidjawaid1/following{/other_user}", "gists_url": "https://api.github.com/users/junaidjawaid1/gists{/gist_id}", "starred_url": "https://api.github.com/users/junaidjawaid1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/junaidjawaid1/subscriptions", "organizations_url": "https://api.github.com/users/junaidjawaid1/orgs", "repos_url": "https://api.github.com/users/junaidjawaid1/repos", "events_url": "https://api.github.com/users/junaidjawaid1/events{/privacy}", "received_events_url": "https://api.github.com/users/junaidjawaid1/received_events", "type": "User", "site_admin": false }
[ { "id": 386191887, "node_id": "MDU6TGFiZWwzODYxOTE4ODc=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response", "name": "stat:awaiting response", "color": "f4b400", "default": false, "description": "Status - Awaiting response from author" }, { "id": 474725938, "node_id": "MDU6TGFiZWw0NzQ3MjU5Mzg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stale", "name": "stale", "color": "d4c5f9", "default": false, "description": "This label marks the issue/pr stale - to be closed automatically if no activity" }, { "id": 1093464312, "node_id": "MDU6TGFiZWwxMDkzNDY0MzEy", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:others", "name": "type:others", "color": "159b2e", "default": false, "description": "issues not falling in bug, perfromance, support, build and install or feature" }, { "id": 1097547538, "node_id": "MDU6TGFiZWwxMDk3NTQ3NTM4", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:gpu", "name": "comp:gpu", "color": "0052cc", "default": false, "description": "GPU related issues" }, { "id": 1605791310, "node_id": "MDU6TGFiZWwxNjA1NzkxMzEw", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.1", "name": "TF 2.1", "color": "c2e0c6", "default": false, "description": "for tracking issues in 2.1 release" } ]
closed
false
{ "login": "tilakrayal", "id": 81610181, "node_id": "MDQ6VXNlcjgxNjEwMTgx", "avatar_url": "https://avatars.githubusercontent.com/u/81610181?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tilakrayal", "html_url": "https://github.com/tilakrayal", "followers_url": "https://api.github.com/users/tilakrayal/followers", "following_url": "https://api.github.com/users/tilakrayal/following{/other_user}", "gists_url": "https://api.github.com/users/tilakrayal/gists{/gist_id}", "starred_url": "https://api.github.com/users/tilakrayal/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tilakrayal/subscriptions", "organizations_url": "https://api.github.com/users/tilakrayal/orgs", "repos_url": "https://api.github.com/users/tilakrayal/repos", "events_url": "https://api.github.com/users/tilakrayal/events{/privacy}", "received_events_url": "https://api.github.com/users/tilakrayal/received_events", "type": "User", "site_admin": false }
[ { "login": "tilakrayal", "id": 81610181, "node_id": "MDQ6VXNlcjgxNjEwMTgx", "avatar_url": "https://avatars.githubusercontent.com/u/81610181?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tilakrayal", "html_url": "https://github.com/tilakrayal", "followers_url": "https://api.github.com/users/tilakrayal/followers", "following_url": "https://api.github.com/users/tilakrayal/following{/other_user}", "gists_url": "https://api.github.com/users/tilakrayal/gists{/gist_id}", "starred_url": "https://api.github.com/users/tilakrayal/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tilakrayal/subscriptions", "organizations_url": "https://api.github.com/users/tilakrayal/orgs", "repos_url": "https://api.github.com/users/tilakrayal/repos", "events_url": "https://api.github.com/users/tilakrayal/events{/privacy}", "received_events_url": "https://api.github.com/users/tilakrayal/received_events", "type": "User", "site_admin": false } ]
null
[ "@junaidjawaid1,\r\nHave you installed CUDA from the [official site](https://developer.nvidia.com/cuda-downloads)? And have you installed the right version? The [current one is 11.8](https://www.tensorflow.org/install/source#gpu).\r\n\r\nAlso you are trying with tensorflow v2.1 which is a pretty older version. It's unlikely for TF 2.1 version to receive any bug fixes except when we have security patches. There is a high possibility that this was fixed with later TF versions. Perhaps you can use the latest tf versions for your case. \r\nhttps://www.tensorflow.org/install\r\nThank you!", "> \r\n\r\nThank you so much for the response. I am using v2.1 cause LMS support is only available with this version. If you can guide me regarding memory swapping in the latest versions that would really helpful.\r\nThank you.", "@junaidjawaid1,\r\nTensorflow v2.1 is compatible with python 2.7, 3.5-3.7, compile GCC 7.3.1, Bazel 0.27.1, CUDA 7.6, cuDNN 10.1. \r\nhttps://www.tensorflow.org/install/source#gpu\r\nAlso as the error(ModuleNotFoundError: No module named 'nvidia') stated, this error occurred due to Nvidia and not from the tensorflow. Thank you!\r\n\r\n\r\n", "This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.", "This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61649\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61649\">No</a>\n", "> Are you satisfied with the resolution of your issue? [Yes](https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61649) [No](https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61649)\r\n\r\nyes, I am satisfied. Thank you all for your response." ]
2023-08-20T17:59:51
2023-09-18T08:41:23
2023-09-15T01:47:38
NONE
null
null
null
### Issue type Others ### Have you reproduced the bug with TensorFlow Nightly? No ### Source source ### TensorFlow version 2.1 ### Custom code Yes ### OS platform and distribution CentOS Linux release 7.4.1708 ### Mobile device _No response_ ### Python version 3.6 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version 10/7 ### GPU model and memory Nvidia A100 partitioned virtually in two 40GB GPUs, I am using one of them ### Current behavior? I am working on 3D_ U-net. I am getting the ptax error with Tensorflow 2.1 when I run the 3D U-net , I am using tensorflow-large-model-support to scale the algorithm ### Standalone code to reproduce the issue ```shell https://github.com/junaidjawaid1/3d_U-Net-TFLMS/tree/main``` ### Relevant log output ```shell Traceback (most recent call last): File "<string>", line 1, in <module> ModuleNotFoundError: No module named 'nvidia' dirname: missing operand Try 'dirname --help' for more information. /opt/gridengine/default/spool/compute-0-3/job_scripts/108258: line 8: $'\342\200\213': command not found /opt/gridengine/default/spool/compute-0-3/job_scripts/108258: line 10: $'\342\200\213': command not found Traceback (most recent call last): File "<string>", line 1, in <module> ModuleNotFoundError: No module named 'nvidia' dirname: missing operand Try 'dirname --help' for more information. 2023-08-18 18:25:55.025052: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.2 2023-08-18 18:25:56.869820: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libnvinfer.so.7 2023-08-18 18:25:56.881355: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libnvinfer_plugin.so.7 2023-08-18 18:26:00.093020: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2023-08-18 18:26:00.188610: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:981] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-18 18:26:00.192419: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1558] Found device 0 with properties: pciBusID: 2c8f7:00:00.0 name: NVIDIA A100 80GB PCIe MIG 1c.4g.40gb computeCapability: 8.0 coreClock: 1.41GHz coreCount: 14 deviceMemorySize: 39.25GiB deviceMemoryBandwidth: 901.22GiB/s 2023-08-18 18:26:00.192453: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.2 2023-08-18 18:26:00.192490: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2023-08-18 18:26:00.218166: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2023-08-18 18:26:00.304953: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2023-08-18 18:26:00.356784: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2023-08-18 18:26:00.396554: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2023-08-18 18:26:00.396599: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2023-08-18 18:26:00.396731: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:981] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-18 18:26:00.398058: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:981] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-18 18:26:00.399160: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1700] Adding visible gpu devices: 0 2023-08-18 18:26:00.411267: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 AVX512F FMA 2023-08-18 18:26:00.434767: I tensorflow/core/platform/profile_utils/cpu_utils.cc:101] CPU Frequency: 2249595000 Hz 2023-08-18 18:26:00.439151: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x55fc06e5d220 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2023-08-18 18:26:00.439189: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2023-08-18 18:26:00.648000: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:981] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-18 18:26:00.648956: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x55fc06ec3b80 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2023-08-18 18:26:00.648984: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA A100 80GB PCIe MIG 1c.4g.40gb, Compute Capability 8.0 2023-08-18 18:26:00.649332: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:981] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-18 18:26:00.650184: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1558] Found device 0 with properties: pciBusID: 2c8f7:00:00.0 name: NVIDIA A100 80GB PCIe MIG 1c.4g.40gb computeCapability: 8.0 coreClock: 1.41GHz coreCount: 14 deviceMemorySize: 39.25GiB deviceMemoryBandwidth: 901.22GiB/s 2023-08-18 18:26:00.650216: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.2 2023-08-18 18:26:00.650232: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2023-08-18 18:26:00.650249: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2023-08-18 18:26:00.650258: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2023-08-18 18:26:00.650267: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2023-08-18 18:26:00.650276: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2023-08-18 18:26:00.650294: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2023-08-18 18:26:00.650351: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:981] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-18 18:26:00.651127: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:981] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-18 18:26:00.651846: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1700] Adding visible gpu devices: 0 2023-08-18 18:26:00.651877: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.2 2023-08-18 18:32:04.446608: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1099] Device interconnect StreamExecutor with strength 1 edge matrix: 2023-08-18 18:32:04.446938: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1105] 0 2023-08-18 18:32:04.446953: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1118] 0: N 2023-08-18 18:32:04.447365: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:981] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-18 18:32:04.448403: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:981] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-18 18:32:04.449678: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1244] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 120000 MB memory) -> physical GPU (device: 0, name: NVIDIA A100 80GB PCIe MIG 1c.4g.40gb, pci bus id: 2c8f7:00:00.0, compute capability: 8.0) 2023-08-18 18:32:04.460014: I tensorflow/stream_executor/cuda/cuda_driver.cc:801] failed to allocate 117.19G (125829120000 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2023-08-18 18:32:04.464233: I tensorflow/stream_executor/cuda/cuda_driver.cc:801] failed to allocate 105.47G (113246208000 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2023-08-18 18:32:04.468360: I tensorflow/stream_executor/cuda/cuda_driver.cc:801] failed to allocate 94.92G (101921587200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2023-08-18 18:32:04.472455: I tensorflow/stream_executor/cuda/cuda_driver.cc:801] failed to allocate 85.43G (91729428480 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2023-08-18 18:32:04.476553: I tensorflow/stream_executor/cuda/cuda_driver.cc:801] failed to allocate 76.89G (82556485632 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2023-08-18 18:32:04.480809: I tensorflow/stream_executor/cuda/cuda_driver.cc:801] failed to allocate 69.20G (74300833792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2023-08-18 18:32:04.484893: I tensorflow/stream_executor/cuda/cuda_driver.cc:801] failed to allocate 62.28G (66870747136 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2023-08-18 18:32:04.488957: I tensorflow/stream_executor/cuda/cuda_driver.cc:801] failed to allocate 56.05G (60183670784 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2023-08-18 18:32:04.493121: I tensorflow/stream_executor/cuda/cuda_driver.cc:801] failed to allocate 50.45G (54165303296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2023-08-18 18:32:04.497205: I tensorflow/stream_executor/cuda/cuda_driver.cc:801] failed to allocate 45.40G (48748773376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2023-08-18 18:32:04.501259: I tensorflow/stream_executor/cuda/cuda_driver.cc:801] failed to allocate 40.86G (43873894400 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory WARNING:tensorflow:sample_weight modes were coerced from ... to ['...'] WARNING:tensorflow:sample_weight modes were coerced from ... to ['...'] 2023-08-18 18:33:25.857187: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2023-08-18 18:35:29.287470: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2023-08-18 18:46:02.247907: W tensorflow/stream_executor/gpu/redzone_allocator.cc:312] Internal: ptxas exited with non-zero error code 65280, output: ptxas fatal : Value 'sm_80' is not defined for option 'gpu-name' Relying on driver to perform ptx compilation. This message will be only logged once. 2023-08-18 18:46:36.474700: F tensorflow/stream_executor/cuda/cuda_dnn.cc:516] Check failed: cudnnSetTensorNdDescriptor(handle_.get(), elem_type, nd, [dims.data](https://dims.data/)(), [strides.data](https://strides.data/)()) == CUDNN_STATUS_SUCCESS (3 vs. 0)batch_descriptor: {count: 7 feature_map_count: 146 spatial: 64 0 64 value_min: 0.000000 value_max: 0.000000 layout: BatchDepthYX} /opt/gridengine/default/spool/compute-0-3/job_scripts/108258: line 13: 237129 Aborted python $PYTHON_SCRIPT ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61649/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61649/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61648
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61648/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61648/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61648/events
https://github.com/tensorflow/tensorflow/issues/61648
1,858,129,058
I_kwDOArmXAs5uwMyi
61,648
Cannot build tensorflow from source
{ "login": "thinhdinh25", "id": 75488819, "node_id": "MDQ6VXNlcjc1NDg4ODE5", "avatar_url": "https://avatars.githubusercontent.com/u/75488819?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thinhdinh25", "html_url": "https://github.com/thinhdinh25", "followers_url": "https://api.github.com/users/thinhdinh25/followers", "following_url": "https://api.github.com/users/thinhdinh25/following{/other_user}", "gists_url": "https://api.github.com/users/thinhdinh25/gists{/gist_id}", "starred_url": "https://api.github.com/users/thinhdinh25/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/thinhdinh25/subscriptions", "organizations_url": "https://api.github.com/users/thinhdinh25/orgs", "repos_url": "https://api.github.com/users/thinhdinh25/repos", "events_url": "https://api.github.com/users/thinhdinh25/events{/privacy}", "received_events_url": "https://api.github.com/users/thinhdinh25/received_events", "type": "User", "site_admin": false }
[ { "id": 386191887, "node_id": "MDU6TGFiZWwzODYxOTE4ODc=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response", "name": "stat:awaiting response", "color": "f4b400", "default": false, "description": "Status - Awaiting response from author" }, { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 473173351, "node_id": "MDU6TGFiZWw0NzMxNzMzNTE=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:build/install", "name": "type:build/install", "color": "159b2e", "default": false, "description": "Build and install issues" }, { "id": 474725938, "node_id": "MDU6TGFiZWw0NzQ3MjU5Mzg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stale", "name": "stale", "color": "d4c5f9", "default": false, "description": "This label marks the issue/pr stale - to be closed automatically if no activity" }, { "id": 1205615612, "node_id": "MDU6TGFiZWwxMjA1NjE1NjEy", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/subtype:%20ubuntu/linux", "name": "subtype: ubuntu/linux", "color": "b619ea", "default": false, "description": "Ubuntu/Linux Build/Installation Issues" } ]
closed
false
{ "login": "sachinprasadhs", "id": 73069040, "node_id": "MDQ6VXNlcjczMDY5MDQw", "avatar_url": "https://avatars.githubusercontent.com/u/73069040?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sachinprasadhs", "html_url": "https://github.com/sachinprasadhs", "followers_url": "https://api.github.com/users/sachinprasadhs/followers", "following_url": "https://api.github.com/users/sachinprasadhs/following{/other_user}", "gists_url": "https://api.github.com/users/sachinprasadhs/gists{/gist_id}", "starred_url": "https://api.github.com/users/sachinprasadhs/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sachinprasadhs/subscriptions", "organizations_url": "https://api.github.com/users/sachinprasadhs/orgs", "repos_url": "https://api.github.com/users/sachinprasadhs/repos", "events_url": "https://api.github.com/users/sachinprasadhs/events{/privacy}", "received_events_url": "https://api.github.com/users/sachinprasadhs/received_events", "type": "User", "site_admin": false }
[ { "login": "sachinprasadhs", "id": 73069040, "node_id": "MDQ6VXNlcjczMDY5MDQw", "avatar_url": "https://avatars.githubusercontent.com/u/73069040?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sachinprasadhs", "html_url": "https://github.com/sachinprasadhs", "followers_url": "https://api.github.com/users/sachinprasadhs/followers", "following_url": "https://api.github.com/users/sachinprasadhs/following{/other_user}", "gists_url": "https://api.github.com/users/sachinprasadhs/gists{/gist_id}", "starred_url": "https://api.github.com/users/sachinprasadhs/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sachinprasadhs/subscriptions", "organizations_url": "https://api.github.com/users/sachinprasadhs/orgs", "repos_url": "https://api.github.com/users/sachinprasadhs/repos", "events_url": "https://api.github.com/users/sachinprasadhs/events{/privacy}", "received_events_url": "https://api.github.com/users/sachinprasadhs/received_events", "type": "User", "site_admin": false } ]
null
[ "Python 3.8 is no longer supported. You must use Python 3.9, 3.10 or 3.11.\r\nAlso you appear to be building as root. Don't do that.", "Please create a new environment and make sure Bazel and other dependencies are installed properly as per the tested build configuration mentioned below. \r\nhttps://www.tensorflow.org/install/source#cpu", "This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.", "This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61648\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61648\">No</a>\n" ]
2023-08-20T13:40:36
2023-09-09T01:57:00
2023-09-09T01:56:58
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source source ### TensorFlow version latest ### Custom code Yes ### OS platform and distribution Debian 12 ### Mobile device _No response_ ### Python version Python 3.8 ### Bazel version Latest ### GCC/compiler version Clang 16 ### CUDA/cuDNN version Dont have ### GPU model and memory Dont have ### Current behavior? I tried several times, still same error. Searched on google found nothing ### Standalone code to reproduce the issue ```shell I follow the guide from tensorflow.com but still faced this error. Please help ``` ### Relevant log output ```shell (myenv) root@drowsiness:~/tensorflow# bazel build -j 2 --local_ram_resources=3000 --config=opt --verbose_failures //tensorflow/tools/pip_package:build_pip_package INFO: Options provided by the client: Inherited 'common' options: --isatty=1 --terminal_columns=189 INFO: Reading rc options for 'build' from /root/tensorflow/.bazelrc: Inherited 'common' options: --experimental_repo_remote_exec INFO: Reading rc options for 'build' from /root/tensorflow/.bazelrc: 'build' options: --define framework_shared_object=true --define tsl_protobuf_header_only=true --define=use_fast_cpp_protos=true --define=allow_oversize_protos=true --spawn_strategy=standalone -c opt --announce_rc --define=grpc_no_ares=true --noincompatible_remove_legacy_whole_archive --features=-force_no_whole_archive --enable_platform_specific_config --define=with_xla_support=true --config=short_logs --config=v2 --define=no_aws_support=true --define=no_hdfs_support=true --experimental_cc_shared_library --experimental_link_static_libraries_once=false --incompatible_enforce_config_setting_visibility INFO: Reading rc options for 'build' from /root/tensorflow/.tf_configure.bazelrc: 'build' options: --action_env PYTHON_BIN_PATH=/root/anaconda3/envs/myenv/bin/python3 --action_env PYTHON_LIB_PATH=/root/anaconda3/envs/myenv/lib/python3.8/site-packages --python_path=/root/anaconda3/envs/myenv/bin/python3 --action_env CLANG_COMPILER_PATH=/usr/lib/llvm-16/bin/clang --repo_env=CC=/usr/lib/llvm-16/bin/clang --repo_env=BAZEL_COMPILER=/usr/lib/llvm-16/bin/clang --copt=-Wno-gnu-offsetof-extensions INFO: Found applicable config definition build:short_logs in file /root/tensorflow/.bazelrc: --output_filter=DONT_MATCH_ANYTHING INFO: Found applicable config definition build:v2 in file /root/tensorflow/.bazelrc: --define=tf_api_version=2 --action_env=TF2_BEHAVIOR=1 INFO: Found applicable config definition build:opt in file /root/tensorflow/.tf_configure.bazelrc: --copt=-Wno-sign-compare --host_copt=-Wno-sign-compare INFO: Found applicable config definition build:linux in file /root/tensorflow/.bazelrc: --host_copt=-w --copt=-Wno-all --copt=-Wno-extra --copt=-Wno-deprecated --copt=-Wno-deprecated-declarations --copt=-Wno-ignored-attributes --copt=-Wno-array-bounds --copt=-Wunused-result --copt=-Werror=unused-result --copt=-Wswitch --copt=-Werror=switch --copt=-Wno-error=unused-but-set-variable --define=PREFIX=/usr --define=LIBDIR=$(PREFIX)/lib --define=INCLUDEDIR=$(PREFIX)/include --define=PROTOBUF_INCLUDE_PATH=$(PREFIX)/include --cxxopt=-std=c++17 --host_cxxopt=-std=c++17 --config=dynamic_kernels --experimental_guard_against_concurrent_changes INFO: Found applicable config definition build:dynamic_kernels in file /root/tensorflow/.bazelrc: --define=dynamic_loaded_kernels=true --copt=-DAUTOLOAD_DYNAMIC_KERNELS INFO: Analyzed target //tensorflow/tools/pip_package:build_pip_package (648 packages loaded, 42257 targets configured). INFO: Found 1 target... INFO: Deleting stale sandbox base /root/.cache/bazel/_bazel_root/efb88f6336d9c4a18216fb94287b8d97/sandbox ERROR: /root/tensorflow/tensorflow/compiler/mlir/tensorflow/BUILD:475:11: Compiling tensorflow/compiler/mlir/tensorflow/ir/tf_ops.cc failed: (Killed): clang failed: error executing command (from target //tensorflow/compiler/mlir/tensorflow:tensorflow_ops) (cd /root/.cache/bazel/_bazel_root/efb88f6336d9c4a18216fb94287b8d97/execroot/org_tensorflow && \ exec env - \ CLANG_COMPILER_PATH=/usr/lib/llvm-16/bin/clang \ PATH=/root/.cache/bazelisk/downloads/bazelbuild/bazel-6.1.0-linux-x86_64/bin:/root/anaconda3/envs/myenv/bin:/root/anaconda3/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \ PWD=/proc/self/cwd \ PYTHON_BIN_PATH=/root/anaconda3/envs/myenv/bin/python3 \ PYTHON_LIB_PATH=/root/anaconda3/envs/myenv/lib/python3.8/site-packages \ TF2_BEHAVIOR=1 \ /usr/lib/llvm-16/bin/clang -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wunused-but-set-parameter -Wno-free-nonheap-object -fcolor-diagnostics -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections -fdata-sections '-std=c++0x' -MD -MF bazel-out/k8-opt/bin/tensorflow/compiler/mlir/tensorflow/_objs/tensorflow_ops/tf_ops.pic.d '-frandom-seed=bazel-out/k8-opt/bin/tensorflow/compiler/mlir/tensorflow/_objs/tensorflow_ops/tf_ops.pic.o' -fPIC '-DLLVM_ON_UNIX=1' '-DHAVE_BACKTRACE=1' '-DBACKTRACE_HEADER=<execinfo.h>' '-DLTDL_SHLIB_EXT=".so"' '-DLLVM_PLUGIN_EXT=".so"' '-DLLVM_ENABLE_THREADS=1' '-DHAVE_DEREGISTER_FRAME=1' '-DHAVE_LIBPTHREAD=1' '-DHAVE_PTHREAD_GETNAME_NP=1' '-DHAVE_PTHREAD_H=1' '-DHAVE_PTHREAD_SETNAME_NP=1' '-DHAVE_REGISTER_FRAME=1' '-DHAVE_SETENV_R=1' '-DHAVE_STRERROR_R=1' '-DHAVE_SYSEXITS_H=1' '-DHAVE_UNISTD_H=1' -D_GNU_SOURCE '-DHAVE_LINK_H=1' '-DHAVE_MALLINFO=1' '-DHAVE_SBRK=1' '-DHAVE_STRUCT_STAT_ST_MTIM_TV_NSEC=1' '-DLLVM_NATIVE_ARCH="X86"' '-DLLVM_NATIVE_ASMPARSER=LLVMInitializeX86AsmParser' '-DLLVM_NATIVE_ASMPRINTER=LLVMInitializeX86AsmPrinter' '-DLLVM_NATIVE_DISASSEMBLER=LLVMInitializeX86Disassembler' '-DLLVM_NATIVE_TARGET=LLVMInitializeX86Target' '-DLLVM_NATIVE_TARGETINFO=LLVMInitializeX86TargetInfo' '-DLLVM_NATIVE_TARGETMC=LLVMInitializeX86TargetMC' '-DLLVM_NATIVE_TARGETMCA=LLVMInitializeX86TargetMCA' '-DLLVM_HOST_TRIPLE="x86_64-unknown-linux-gnu"' '-DLLVM_DEFAULT_TARGET_TRIPLE="x86_64-unknown-linux-gnu"' '-DLLVM_VERSION_MAJOR=18' '-DLLVM_VERSION_MINOR=0' '-DLLVM_VERSION_PATCH=0' '-DLLVM_VERSION_STRING="18.0.0git"' -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS '-DBLAKE3_USE_NEON=0' -DBLAKE3_NO_AVX2 -DBLAKE3_NO_AVX512 -DBLAKE3_NO_SSE2 -DBLAKE3_NO_SSE41 -DEIGEN_MPL2_ONLY '-DEIGEN_MAX_ALIGN_BYTES=64' -DHAVE_SYS_UIO_H -DTF_USE_SNAPPY '-DBAZEL_CURRENT_REPOSITORY=""' -iquote . -iquote bazel-out/k8-opt/bin -iquote external/com_google_absl -iquote bazel-out/k8-opt/bin/external/com_google_absl -iquote external/llvm-project -iquote bazel-out/k8-opt/bin/external/llvm-project -iquote external/nsync -iquote bazel-out/k8-opt/bin/external/nsync -iquote external/com_google_protobuf -iquote bazel-out/k8-opt/bin/external/com_google_protobuf -iquote external/gif -iquote bazel-out/k8-opt/bin/external/gif -iquote external/libjpeg_turbo -iquote bazel-out/k8-opt/bin/external/libjpeg_turbo -iquote external/com_googlesource_code_re2 -iquote bazel-out/k8-opt/bin/external/com_googlesource_code_re2 -iquote external/farmhash_archive -iquote bazel-out/k8-opt/bin/external/farmhash_archive -iquote external/fft2d -iquote bazel-out/k8-opt/bin/external/fft2d -iquote external/highwayhash -iquote bazel-out/k8-opt/bin/external/highwayhash -iquote external/zlib -iquote bazel-out/k8-opt/bin/external/zlib -iquote external/eigen_archive -iquote bazel-out/k8-opt/bin/external/eigen_archive -iquote external/ml_dtypes -iquote bazel-out/k8-opt/bin/external/ml_dtypes -iquote external/double_conversion -iquote bazel-out/k8-opt/bin/external/double_conversion -iquote external/snappy -iquote bazel-out/k8-opt/bin/external/snappy -Ibazel-out/k8-opt/bin/external/llvm-project/mlir/_virtual_includes/ArithCanonicalizationIncGen -Ibazel-out/k8-opt/bin/external/llvm-project/mlir/_virtual_includes/AsmParserTokenKinds -isystem external/llvm-project/llvm/include -isystem bazel-out/k8-opt/bin/external/llvm-project/llvm/include -isystem external/llvm-project/mlir/include -isystem bazel-out/k8-opt/bin/external/llvm-project/mlir/include -isystem external/nsync/public -isystem bazel-out/k8-opt/bin/external/nsync/public -isystem external/com_google_protobuf/src -isystem bazel-out/k8-opt/bin/external/com_google_protobuf/src -isystem external/gif -isystem bazel-out/k8-opt/bin/external/gif -isystem external/farmhash_archive/src -isystem bazel-out/k8-opt/bin/external/farmhash_archive/src -isystem external/zlib -isystem bazel-out/k8-opt/bin/external/zlib -isystem third_party/eigen3/mkl_include -isystem bazel-out/k8-opt/bin/third_party/eigen3/mkl_include -isystem external/eigen_archive -isystem bazel-out/k8-opt/bin/external/eigen_archive -isystem external/ml_dtypes -isystem bazel-out/k8-opt/bin/external/ml_dtypes -isystem external/ml_dtypes/ml_dtypes -isystem bazel-out/k8-opt/bin/external/ml_dtypes/ml_dtypes -Wno-all -Wno-extra -Wno-deprecated -Wno-deprecated-declarations -Wno-ignored-attributes -Wno-array-bounds -Wunused-result '-Werror=unused-result' -Wswitch '-Werror=switch' '-Wno-error=unused-but-set-variable' -DAUTOLOAD_DYNAMIC_KERNELS -Wno-gnu-offsetof-extensions -Wno-sign-compare '-std=c++17' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -c tensorflow/compiler/mlir/tensorflow/ir/tf_ops.cc -o bazel-out/k8-opt/bin/tensorflow/compiler/mlir/tensorflow/_objs/tensorflow_ops/tf_ops.pic.o) # Configuration: 4332b06bceb8e99a0d8ed4f75fa26218a779c66acf683ffad0936df1e9f625df # Execution platform: @local_execution_config_platform//:platform In file included from tensorflow/compiler/mlir/tensorflow/ir/tf_ops.cc:16: In file included from ./tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h:38: In file included from ./tensorflow/compiler/mlir/tensorflow/ir/tf_attributes.h:21: In file included from ./tensorflow/core/ir/types/dialect.h:31: bazel-out/k8-opt/bin/tensorflow/core/ir/types/dialect.h.inc:31:19: warning: 'parseType' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] ::mlir::Type parseType(::mlir::DialectAsmParser &parser) const; ^ external/llvm-project/mlir/include/mlir/IR/Dialect.h:107:16: note: overridden virtual function is here virtual Type parseType(DialectAsmParser &parser) const; ^ In file included from tensorflow/compiler/mlir/tensorflow/ir/tf_ops.cc:16: In file included from ./tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h:38: In file included from ./tensorflow/compiler/mlir/tensorflow/ir/tf_attributes.h:21: In file included from ./tensorflow/core/ir/types/dialect.h:31: bazel-out/k8-opt/bin/tensorflow/core/ir/types/dialect.h.inc:32:11: warning: 'printType' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void printType(::mlir::Type type, ::mlir::DialectAsmPrinter &printer) const; ^ external/llvm-project/mlir/include/mlir/IR/Dialect.h:110:16: note: overridden virtual function is here virtual void printType(Type, DialectAsmPrinter &) const { ^ Target //tensorflow/tools/pip_package:build_pip_package failed to build INFO: Elapsed time: 3990.011s, Critical Path: 343.16s INFO: 991 processes: 3 internal, 988 local. FAILED: Build did NOT complete successfully ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61648/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61648/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61647
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61647/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61647/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61647/events
https://github.com/tensorflow/tensorflow/issues/61647
1,857,920,164
I_kwDOArmXAs5uvZyk
61,647
docs: spurious favicon in template
{ "login": "wolfgang42", "id": 2261204, "node_id": "MDQ6VXNlcjIyNjEyMDQ=", "avatar_url": "https://avatars.githubusercontent.com/u/2261204?v=4", "gravatar_id": "", "url": "https://api.github.com/users/wolfgang42", "html_url": "https://github.com/wolfgang42", "followers_url": "https://api.github.com/users/wolfgang42/followers", "following_url": "https://api.github.com/users/wolfgang42/following{/other_user}", "gists_url": "https://api.github.com/users/wolfgang42/gists{/gist_id}", "starred_url": "https://api.github.com/users/wolfgang42/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wolfgang42/subscriptions", "organizations_url": "https://api.github.com/users/wolfgang42/orgs", "repos_url": "https://api.github.com/users/wolfgang42/repos", "events_url": "https://api.github.com/users/wolfgang42/events{/privacy}", "received_events_url": "https://api.github.com/users/wolfgang42/received_events", "type": "User", "site_admin": false }
[ { "id": 284443156, "node_id": "MDU6TGFiZWwyODQ0NDMxNTY=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:docs-bug", "name": "type:docs-bug", "color": "159b2e", "default": false, "description": "Document issues" }, { "id": 404586594, "node_id": "MDU6TGFiZWw0MDQ1ODY1OTQ=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20tensorflower", "name": "stat:awaiting tensorflower", "color": "f4b400", "default": false, "description": "Status - Awaiting response from tensorflower" } ]
open
false
{ "login": "sachinprasadhs", "id": 73069040, "node_id": "MDQ6VXNlcjczMDY5MDQw", "avatar_url": "https://avatars.githubusercontent.com/u/73069040?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sachinprasadhs", "html_url": "https://github.com/sachinprasadhs", "followers_url": "https://api.github.com/users/sachinprasadhs/followers", "following_url": "https://api.github.com/users/sachinprasadhs/following{/other_user}", "gists_url": "https://api.github.com/users/sachinprasadhs/gists{/gist_id}", "starred_url": "https://api.github.com/users/sachinprasadhs/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sachinprasadhs/subscriptions", "organizations_url": "https://api.github.com/users/sachinprasadhs/orgs", "repos_url": "https://api.github.com/users/sachinprasadhs/repos", "events_url": "https://api.github.com/users/sachinprasadhs/events{/privacy}", "received_events_url": "https://api.github.com/users/sachinprasadhs/received_events", "type": "User", "site_admin": false }
[ { "login": "sachinprasadhs", "id": 73069040, "node_id": "MDQ6VXNlcjczMDY5MDQw", "avatar_url": "https://avatars.githubusercontent.com/u/73069040?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sachinprasadhs", "html_url": "https://github.com/sachinprasadhs", "followers_url": "https://api.github.com/users/sachinprasadhs/followers", "following_url": "https://api.github.com/users/sachinprasadhs/following{/other_user}", "gists_url": "https://api.github.com/users/sachinprasadhs/gists{/gist_id}", "starred_url": "https://api.github.com/users/sachinprasadhs/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sachinprasadhs/subscriptions", "organizations_url": "https://api.github.com/users/sachinprasadhs/orgs", "repos_url": "https://api.github.com/users/sachinprasadhs/repos", "events_url": "https://api.github.com/users/sachinprasadhs/events{/privacy}", "received_events_url": "https://api.github.com/users/sachinprasadhs/received_events", "type": "User", "site_admin": false } ]
null
[ "Hello, @wolfgang42! Could you please point here the page where the link didn't work for you so that we could fix it. Thank you!", "Some examples include https://www.tensorflow.org/ and https://www.tensorflow.org/js , but I didn’t do an exhaustive search.", "@wolfgang42 Thank you for your response!\r\nCould you please give the exact sorce file where you found this [link](https://www.tensorflow.org/static/en/site-assets/images/marketing/favicon.png) as it will be easier for us to clean up such broken links from website. Thank you! ", "If by “sorce file” you mean pages where you can “View source” and see the link:\r\n\r\n> Some examples include https://www.tensorflow.org/ and https://www.tensorflow.org/js\r\n\r\nAnd if you mean the file where this problem originates:\r\n\r\n> I can’t work out where the template for this lives\r\n", "Hi,\r\nIt is a TensorFlow logo which will be rendered in the website and below attached is the image.\r\n\r\n![image](https://github.com/tensorflow/tensorflow/assets/73069040/4b0e4ce3-ed14-4d1d-adbe-d1bc71b93d8c)\r\n\r\nI don't see any issue here, feel free to close the issue. Thanks!\r\n", "I don’t know what that screenshot is of, but if you follow the [actual link](https://www.tensorflow.org/static/en/site-assets/images/marketing/favicon.png) as embedded in the page, you’ll find that it returns a 404." ]
2023-08-20T01:35:20
2023-09-01T18:44:52
null
NONE
null
null
null
I can’t work out where the template for this lives, but the Tensorflow docs (at least the homepage and a couple of random pages I spot-checked) have a spurious favicon link to an image that doesn’t exist: <pre>&lt;link href="<a href="https://www.tensorflow.org/static/en/site-assets/images/marketing/favicon.png">/static/en/site-assets/images/marketing/favicon.png</a>" rel="shortcut icon"/&gt;</pre> This is shadowed by another `<link>` page earlier in the head and so doesn’t seem to be causing any immediate problems, but it still seems like it might be a good idea to clean it up.
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61647/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61647/timeline
null
null
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61646
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61646/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61646/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61646/events
https://github.com/tensorflow/tensorflow/issues/61646
1,857,895,069
I_kwDOArmXAs5uvTqd
61,646
Check failure when running tf.config.experimental_connect_to_host
{ "login": "dmc1778", "id": 17060581, "node_id": "MDQ6VXNlcjE3MDYwNTgx", "avatar_url": "https://avatars.githubusercontent.com/u/17060581?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmc1778", "html_url": "https://github.com/dmc1778", "followers_url": "https://api.github.com/users/dmc1778/followers", "following_url": "https://api.github.com/users/dmc1778/following{/other_user}", "gists_url": "https://api.github.com/users/dmc1778/gists{/gist_id}", "starred_url": "https://api.github.com/users/dmc1778/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmc1778/subscriptions", "organizations_url": "https://api.github.com/users/dmc1778/orgs", "repos_url": "https://api.github.com/users/dmc1778/repos", "events_url": "https://api.github.com/users/dmc1778/events{/privacy}", "received_events_url": "https://api.github.com/users/dmc1778/received_events", "type": "User", "site_admin": false }
[ { "id": 386191887, "node_id": "MDU6TGFiZWwzODYxOTE4ODc=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response", "name": "stat:awaiting response", "color": "f4b400", "default": false, "description": "Status - Awaiting response from author" }, { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 474725938, "node_id": "MDU6TGFiZWw0NzQ3MjU5Mzg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stale", "name": "stale", "color": "d4c5f9", "default": false, "description": "This label marks the issue/pr stale - to be closed automatically if no activity" }, { "id": 1097547147, "node_id": "MDU6TGFiZWwxMDk3NTQ3MTQ3", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:ops", "name": "comp:ops", "color": "0052cc", "default": false, "description": "OPs related issues" }, { "id": 5508003926, "node_id": "LA_kwDOArmXAs8AAAABSE14Vg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13", "name": "TF 2.13", "color": "B13ACB", "default": false, "description": "For issues related to Tensorflow 2.13" } ]
closed
false
{ "login": "Varsha-anjanappa", "id": 137163810, "node_id": "U_kgDOCCz0Ig", "avatar_url": "https://avatars.githubusercontent.com/u/137163810?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Varsha-anjanappa", "html_url": "https://github.com/Varsha-anjanappa", "followers_url": "https://api.github.com/users/Varsha-anjanappa/followers", "following_url": "https://api.github.com/users/Varsha-anjanappa/following{/other_user}", "gists_url": "https://api.github.com/users/Varsha-anjanappa/gists{/gist_id}", "starred_url": "https://api.github.com/users/Varsha-anjanappa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Varsha-anjanappa/subscriptions", "organizations_url": "https://api.github.com/users/Varsha-anjanappa/orgs", "repos_url": "https://api.github.com/users/Varsha-anjanappa/repos", "events_url": "https://api.github.com/users/Varsha-anjanappa/events{/privacy}", "received_events_url": "https://api.github.com/users/Varsha-anjanappa/received_events", "type": "User", "site_admin": false }
[ { "login": "Varsha-anjanappa", "id": 137163810, "node_id": "U_kgDOCCz0Ig", "avatar_url": "https://avatars.githubusercontent.com/u/137163810?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Varsha-anjanappa", "html_url": "https://github.com/Varsha-anjanappa", "followers_url": "https://api.github.com/users/Varsha-anjanappa/followers", "following_url": "https://api.github.com/users/Varsha-anjanappa/following{/other_user}", "gists_url": "https://api.github.com/users/Varsha-anjanappa/gists{/gist_id}", "starred_url": "https://api.github.com/users/Varsha-anjanappa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Varsha-anjanappa/subscriptions", "organizations_url": "https://api.github.com/users/Varsha-anjanappa/orgs", "repos_url": "https://api.github.com/users/Varsha-anjanappa/repos", "events_url": "https://api.github.com/users/Varsha-anjanappa/events{/privacy}", "received_events_url": "https://api.github.com/users/Varsha-anjanappa/received_events", "type": "User", "site_admin": false } ]
null
[ "Hi @dmc1778,\r\nI was able to reproduce the issue on colab using TF v2.13, tf-nightly. Please find the attached [gist](https://colab.sandbox.google.com/gist/Varsha-anjanappa/d8e29e7afd36fba18f4d1f168770b17c/61646.ipynb).\r\n\r\nSince Segmentation faults can be considered as potential security vulnerabilities please read [SECURITY.md](https://github.com/tensorflow/tensorflow/blob/master/SECURITY.md) and report them through proper channel as mentioned in SECURITY.md.\r\n\r\nThank you.", "This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.", "This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61646\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61646\">No</a>\n" ]
2023-08-19T23:04:06
2023-09-06T01:47:18
2023-09-06T01:47:12
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source source ### TensorFlow version 2.13.0 ### Custom code Yes ### OS platform and distribution 22.04 ### Mobile device _No response_ ### Python version 3.9 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version nvidia-cudnn-cu11==8.6.0.163, cudatoolkit=11.8.0 ### GPU model and memory GTX 1660 TI ### Current behavior? Due to feeding NaN input Argument ### Standalone code to reproduce the issue ```shell import tensorflow as tf import numpy as np try: try: with tf.device('/CPU'): arg_0 = "nan" out = tf.config.experimental_connect_to_host(arg_0,) except Exception as e: print("Error:"+str(e)) try: with tf.device('/GPU:0'): tf.config.experimental_connect_to_host(arg_0,) except Exception as e: print("Error:"+str(e)) except Exception as e: print("Error:"+str(e)) ``` ``` ### Relevant log output ```shell 2023-08-19 19:02:09.775956: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations. To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. 2023-08-19 19:02:10.305057: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT 2023-08-19 19:02:10.742608: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-19 19:02:10.761041: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-19 19:02:10.761185: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-19 19:02:10.762359: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-19 19:02:10.762491: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-19 19:02:10.762611: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-19 19:02:10.826641: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-19 19:02:10.826771: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-19 19:02:10.826888: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-19 19:02:10.826971: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1639] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 3389 MB memory: -> device: 0, name: NVIDIA GeForce GTX 1660 Ti, pci bus id: 0000:01:00.0, compute capability: 7.5 2023-08-19 19:02:10.829417: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-19 19:02:10.829515: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-19 19:02:10.829601: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-19 19:02:10.829701: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-19 19:02:10.829789: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-19 19:02:10.829854: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1639] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 3389 MB memory: -> device: 0, name: NVIDIA GeForce GTX 1660 Ti, pci bus id: 0000:01:00.0, compute capability: 7.5 2023-08-19 19:02:10.838878: E tensorflow/core/distributed_runtime/rpc/grpc_server_lib.cc:600] INVALID_ARGUMENT: Could not interpret "nan" as a host-port pair. E0819 19:02:10.839114974 187448 completion_queue.cc:244] assertion failed: queue.num_items() == 0 Aborted ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61646/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61646/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61645
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61645/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61645/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61645/events
https://github.com/tensorflow/tensorflow/issues/61645
1,857,606,791
I_kwDOArmXAs5uuNSH
61,645
CKPT to TFLite
{ "login": "md-rifatkhan", "id": 102645154, "node_id": "U_kgDOBh49og", "avatar_url": "https://avatars.githubusercontent.com/u/102645154?v=4", "gravatar_id": "", "url": "https://api.github.com/users/md-rifatkhan", "html_url": "https://github.com/md-rifatkhan", "followers_url": "https://api.github.com/users/md-rifatkhan/followers", "following_url": "https://api.github.com/users/md-rifatkhan/following{/other_user}", "gists_url": "https://api.github.com/users/md-rifatkhan/gists{/gist_id}", "starred_url": "https://api.github.com/users/md-rifatkhan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/md-rifatkhan/subscriptions", "organizations_url": "https://api.github.com/users/md-rifatkhan/orgs", "repos_url": "https://api.github.com/users/md-rifatkhan/repos", "events_url": "https://api.github.com/users/md-rifatkhan/events{/privacy}", "received_events_url": "https://api.github.com/users/md-rifatkhan/received_events", "type": "User", "site_admin": false }
[ { "id": 386191887, "node_id": "MDU6TGFiZWwzODYxOTE4ODc=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response", "name": "stat:awaiting response", "color": "f4b400", "default": false, "description": "Status - Awaiting response from author" }, { "id": 473184161, "node_id": "MDU6TGFiZWw0NzMxODQxNjE=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:support", "name": "type:support", "color": "159b2e", "default": false, "description": "Support issues" }, { "id": 474725938, "node_id": "MDU6TGFiZWw0NzQ3MjU5Mzg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stale", "name": "stale", "color": "d4c5f9", "default": false, "description": "This label marks the issue/pr stale - to be closed automatically if no activity" }, { "id": 750616506, "node_id": "MDU6TGFiZWw3NTA2MTY1MDY=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:lite", "name": "comp:lite", "color": "0052cc", "default": false, "description": "TF Lite related issues" }, { "id": 1661751498, "node_id": "MDU6TGFiZWwxNjYxNzUxNDk4", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TFLiteConverter", "name": "TFLiteConverter", "color": "bfdadc", "default": false, "description": "For issues related to TFLite converter" } ]
closed
false
{ "login": "pjpratik", "id": 118897289, "node_id": "U_kgDOBxY6iQ", "avatar_url": "https://avatars.githubusercontent.com/u/118897289?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pjpratik", "html_url": "https://github.com/pjpratik", "followers_url": "https://api.github.com/users/pjpratik/followers", "following_url": "https://api.github.com/users/pjpratik/following{/other_user}", "gists_url": "https://api.github.com/users/pjpratik/gists{/gist_id}", "starred_url": "https://api.github.com/users/pjpratik/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pjpratik/subscriptions", "organizations_url": "https://api.github.com/users/pjpratik/orgs", "repos_url": "https://api.github.com/users/pjpratik/repos", "events_url": "https://api.github.com/users/pjpratik/events{/privacy}", "received_events_url": "https://api.github.com/users/pjpratik/received_events", "type": "User", "site_admin": false }
[ { "login": "pjpratik", "id": 118897289, "node_id": "U_kgDOBxY6iQ", "avatar_url": "https://avatars.githubusercontent.com/u/118897289?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pjpratik", "html_url": "https://github.com/pjpratik", "followers_url": "https://api.github.com/users/pjpratik/followers", "following_url": "https://api.github.com/users/pjpratik/following{/other_user}", "gists_url": "https://api.github.com/users/pjpratik/gists{/gist_id}", "starred_url": "https://api.github.com/users/pjpratik/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pjpratik/subscriptions", "organizations_url": "https://api.github.com/users/pjpratik/orgs", "repos_url": "https://api.github.com/users/pjpratik/repos", "events_url": "https://api.github.com/users/pjpratik/events{/privacy}", "received_events_url": "https://api.github.com/users/pjpratik/received_events", "type": "User", "site_admin": false } ]
null
[ "1.Convert your TensorFlow checkpoint files to a SavedModel format. This is typically done using the tf.saved_model.save function. Here's an example:\r\n\r\nimport tensorflow as tf\r\n\r\n# Load the model architecture and checkpoint\r\nmodel = ... # Load or define your model here\r\ncheckpoint_path = 'path/to/your/model.ckpt'\r\ncheckpoint = tf.train.Checkpoint(model=model)\r\ncheckpoint.restore(checkpoint_path).expect_partial()\r\n\r\n# Save the model in SavedModel format\r\nsaved_model_path = 'path/to/save/saved_model'\r\ntf.saved_model.save(model, saved_model_path)\r\n\r\n2.After exporting the model to the SavedModel format, you can then use the TensorFlow Lite Converter (tf.lite.TFLiteConverter) to convert the SavedModel to TFLite format:\r\n\r\n# Convert SavedModel to TFLite\r\ntflite_converter = tf.lite.TFLiteConverter.from_saved_model(saved_model_path)\r\ntflite_model = tflite_converter.convert()\r\n\r\n3.Finally, save the TFLite model to a .tflite file:\r\n\r\ntflite_model_path = 'path/to/save/model.tflite'\r\nwith open(tflite_model_path, 'wb') as f:\r\n f.write(tflite_model)\r\n\r\n\r\n", "Hi @md-rifatkhan \r\n\r\nAs @Sourabh20022002 suggested, we need to save the checkpoints in SavedModel format and convert it to the TFLite model.\r\n\r\nIn addition to that, you can also use concrete functions to convert into TFLite model once you load the checkpoints in TF Model.\r\n\r\nPlease check these [examples](https://www.tensorflow.org/lite/models/convert/convert_models#convert_a_savedmodel_recommended_) for both the cases.\r\n\r\nThanks.\r\n", "This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.", "This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61645\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61645\">No</a>\n", "> How can I convert ckpt file to TF Lite, while I've only .ckpt file. No meta-file present\r\n\r\nThe convert can be achieved? I tried the metod, but still exists warning\r\n\r\nWARNING:tensorflow:Skipping full serialization of Keras layer <mlp_test.MLP object at 0x7faed0788f10>, because it is not built." ]
2023-08-19T06:53:28
2024-01-12T02:48:51
2023-09-07T01:47:27
NONE
null
null
null
How can I convert ckpt file to TF Lite, while I've only .ckpt file. No meta-file present
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61645/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61645/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61644
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61644/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61644/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61644/events
https://github.com/tensorflow/tensorflow/issues/61644
1,857,575,219
I_kwDOArmXAs5uuFkz
61,644
`tf.image.crop_to_bounding_box()` assumes `tf.int32` arguments, but not documented as such
{ "login": "agkphysics", "id": 5217766, "node_id": "MDQ6VXNlcjUyMTc3NjY=", "avatar_url": "https://avatars.githubusercontent.com/u/5217766?v=4", "gravatar_id": "", "url": "https://api.github.com/users/agkphysics", "html_url": "https://github.com/agkphysics", "followers_url": "https://api.github.com/users/agkphysics/followers", "following_url": "https://api.github.com/users/agkphysics/following{/other_user}", "gists_url": "https://api.github.com/users/agkphysics/gists{/gist_id}", "starred_url": "https://api.github.com/users/agkphysics/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/agkphysics/subscriptions", "organizations_url": "https://api.github.com/users/agkphysics/orgs", "repos_url": "https://api.github.com/users/agkphysics/repos", "events_url": "https://api.github.com/users/agkphysics/events{/privacy}", "received_events_url": "https://api.github.com/users/agkphysics/received_events", "type": "User", "site_admin": false }
[ { "id": 390482148, "node_id": "MDU6TGFiZWwzOTA0ODIxNDg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/awaiting%20review", "name": "awaiting review", "color": "bc3869", "default": false, "description": "Pull request awaiting review" }, { "id": 473173272, "node_id": "MDU6TGFiZWw0NzMxNzMyNzI=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:feature", "name": "type:feature", "color": "159b2e", "default": false, "description": "Feature requests" }, { "id": 2012480497, "node_id": "MDU6TGFiZWwyMDEyNDgwNDk3", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:docs-feature", "name": "type:docs-feature", "color": "159b2e", "default": false, "description": "Doc issues for new feature, or clarifications about functionality" }, { "id": 5508003926, "node_id": "LA_kwDOArmXAs8AAAABSE14Vg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13", "name": "TF 2.13", "color": "B13ACB", "default": false, "description": "For issues related to Tensorflow 2.13" } ]
closed
false
{ "login": "SuryanarayanaY", "id": 116063290, "node_id": "U_kgDOBur8Og", "avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SuryanarayanaY", "html_url": "https://github.com/SuryanarayanaY", "followers_url": "https://api.github.com/users/SuryanarayanaY/followers", "following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}", "gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}", "starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions", "organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs", "repos_url": "https://api.github.com/users/SuryanarayanaY/repos", "events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}", "received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events", "type": "User", "site_admin": false }
[ { "login": "SuryanarayanaY", "id": 116063290, "node_id": "U_kgDOBur8Og", "avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SuryanarayanaY", "html_url": "https://github.com/SuryanarayanaY", "followers_url": "https://api.github.com/users/SuryanarayanaY/followers", "following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}", "gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}", "starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions", "organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs", "repos_url": "https://api.github.com/users/SuryanarayanaY/repos", "events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}", "received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events", "type": "User", "site_admin": false } ]
null
[ "Hi @agkphysics ,\r\n\r\nThanks for reporting this. Yes I have tested the API **`tf.image.crop_to_bounding_box`** with all `tf.dtypes` `tf.uint8,tf.uint16,tf.uint32,tf.uint64,tf.int32,tf.int64, tf.float32, tf.float64,tf.bfloat16,tf.float16`\r\n\r\nOnly `tf.int32` is acceptable dtype for the arguments `offset_height, offset_width, target_height, target_width`. This is not documented well.\r\n\r\nAlso I have tested with **Python** `int` and `float` it's only works with python int but not float.\r\n\r\nAll the testing can be found in attached [gist](https://colab.sandbox.google.com/gist/SuryanarayanaY/953076ea1179b3db0a0ef0fc518a84a3/61644.ipynb) here.\r\n\r\nI may raise a PR for documenting this.\r\n\r\nThanks!" ]
2023-08-19T05:24:59
2023-08-23T17:18:57
2023-08-23T17:18:57
NONE
null
null
null
### Issue type Documentation Feature Request ### Have you reproduced the bug with TensorFlow Nightly? No ### Source binary ### TensorFlow version 2.13.0 ### Custom code No ### OS platform and distribution Linux Ubuntu 22.04 (WSL 2) ### Mobile device _No response_ ### Python version 3.10 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? `tf.image.crop_to_bounding_box()` implicitly assumes that the target width and height are `tf.int32`, but this is not documented anywhere. The cause for this is using `tf.shape()` which has the default `dtype` of `tf.int32`, in a stack operation: https://github.com/tensorflow/tensorflow/blob/c9fafed9bc8cb0238a775fd4a0680e648c06b5b6/tensorflow/python/ops/image_ops_impl.py#L1250-L1254 ### Standalone code to reproduce the issue ```python import tensorflow as tf image = tf.zeros([1000, 2000, 3], dtype=tf.uint8) offset = tf.constant([0, 0], dtype=tf.int64) size = tf.constant([900, 1500], dtype=tf.int64) tf.image.crop_to_bounding_box(image, offset[0], offset[1], size[0], size[1]) ``` ### Relevant log output ```shell Traceback (most recent call last): File "/.../test.py", line 6, in <module> tf.image.crop_to_bounding_box(image, offset[0], offset[1], size[0], size[1]) File "/.../.venv/lib/python3.10/site-packages/tensorflow/python/util/traceback_utils.py", line 153, in error_handler raise e.with_traceback(filtered_tb) from None File "/.../.venv/lib/python3.10/site-packages/tensorflow/python/framework/ops.py", line 6656, in raise_from_not_ok_status raise core._status_to_exception(e) from None # pylint: disable=protected-access tensorflow.python.framework.errors_impl.InvalidArgumentError: cannot compute Pack as input #1(zero-based) was expected to be a int32 tensor but is a int64 tensor [Op:Pack] name: stack ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61644/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61644/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61643
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61643/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61643/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61643/events
https://github.com/tensorflow/tensorflow/issues/61643
1,857,494,031
I_kwDOArmXAs5utxwP
61,643
Check failure when running tf.keras.layers.RepeatVector
{ "login": "dmc1778", "id": 17060581, "node_id": "MDQ6VXNlcjE3MDYwNTgx", "avatar_url": "https://avatars.githubusercontent.com/u/17060581?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmc1778", "html_url": "https://github.com/dmc1778", "followers_url": "https://api.github.com/users/dmc1778/followers", "following_url": "https://api.github.com/users/dmc1778/following{/other_user}", "gists_url": "https://api.github.com/users/dmc1778/gists{/gist_id}", "starred_url": "https://api.github.com/users/dmc1778/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmc1778/subscriptions", "organizations_url": "https://api.github.com/users/dmc1778/orgs", "repos_url": "https://api.github.com/users/dmc1778/repos", "events_url": "https://api.github.com/users/dmc1778/events{/privacy}", "received_events_url": "https://api.github.com/users/dmc1778/received_events", "type": "User", "site_admin": false }
[ { "id": 404586594, "node_id": "MDU6TGFiZWw0MDQ1ODY1OTQ=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20tensorflower", "name": "stat:awaiting tensorflower", "color": "f4b400", "default": false, "description": "Status - Awaiting response from tensorflower" }, { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 1097547147, "node_id": "MDU6TGFiZWwxMDk3NTQ3MTQ3", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:ops", "name": "comp:ops", "color": "0052cc", "default": false, "description": "OPs related issues" }, { "id": 1097547538, "node_id": "MDU6TGFiZWwxMDk3NTQ3NTM4", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:gpu", "name": "comp:gpu", "color": "0052cc", "default": false, "description": "GPU related issues" }, { "id": 5508003926, "node_id": "LA_kwDOArmXAs8AAAABSE14Vg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13", "name": "TF 2.13", "color": "B13ACB", "default": false, "description": "For issues related to Tensorflow 2.13" } ]
open
false
{ "login": "SuryanarayanaY", "id": 116063290, "node_id": "U_kgDOBur8Og", "avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SuryanarayanaY", "html_url": "https://github.com/SuryanarayanaY", "followers_url": "https://api.github.com/users/SuryanarayanaY/followers", "following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}", "gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}", "starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions", "organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs", "repos_url": "https://api.github.com/users/SuryanarayanaY/repos", "events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}", "received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events", "type": "User", "site_admin": false }
[ { "login": "SuryanarayanaY", "id": 116063290, "node_id": "U_kgDOBur8Og", "avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SuryanarayanaY", "html_url": "https://github.com/SuryanarayanaY", "followers_url": "https://api.github.com/users/SuryanarayanaY/followers", "following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}", "gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}", "starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions", "organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs", "repos_url": "https://api.github.com/users/SuryanarayanaY/repos", "events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}", "received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events", "type": "User", "site_admin": false } ]
null
[ "@dmc1778 The issue is not getting replicated on colab using TF v2.13 and tf-nightly, please find the [gist](https://colab.research.google.com/gist/sushreebarsa/1ac4bd8ac80db3c5453fca1d9e36f14d/61643.ipynb) here. Thank you! ", "> @dmc1778 The issue is not getting replicated on colab using TF v2.13 and tf-nightly, please find the [gist](https://colab.research.google.com/gist/sushreebarsa/1ac4bd8ac80db3c5453fca1d9e36f14d/61643.ipynb) here. Thank you!\r\n\r\nThanks @sushreebarsa . My session on colab still getting crashed, probably due to check failure, please find the log message below:\r\n\r\n```\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.866 NotebookApp] Searching ['/root/.jupyter', '/root/.local/etc/jupyter', '/usr/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files\",\"time\":\"2023-08-21T05:53:09.867Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.866 NotebookApp] Searching ['/root/.jupyter', '/root/.local/etc/jupyter', '/usr/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files\",\"time\":\"2023-08-21T05:53:09.870Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.866 NotebookApp] Looking for jupyter_config in /etc/jupyter\",\"time\":\"2023-08-21T05:53:09.868Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.878 NotebookApp] Looking for jupyter_config in /usr/local/etc/jupyter\",\"time\":\"2023-08-21T05:53:09.882Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.883 NotebookApp] Looking for jupyter_config in /usr/etc/jupyter\",\"time\":\"2023-08-21T05:53:09.887Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.883 NotebookApp] Looking for jupyter_config in /root/.local/etc/jupyter\",\"time\":\"2023-08-21T05:53:09.887Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.884 NotebookApp] Looking for jupyter_config in /root/.jupyter\",\"time\":\"2023-08-21T05:53:09.887Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.866 NotebookApp] Looking for jupyter_config in /etc/jupyter\",\"time\":\"2023-08-21T05:53:09.871Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.869 NotebookApp] Looking for jupyter_config in /usr/local/etc/jupyter\",\"time\":\"2023-08-21T05:53:09.873Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.870 NotebookApp] Looking for jupyter_config in /usr/etc/jupyter\",\"time\":\"2023-08-21T05:53:09.882Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.870 NotebookApp] Looking for jupyter_config in /root/.local/etc/jupyter\",\"time\":\"2023-08-21T05:53:09.882Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.871 NotebookApp] Looking for jupyter_config in /root/.jupyter\",\"time\":\"2023-08-21T05:53:09.883Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.871 NotebookApp] Looking for jupyter_notebook_config in /etc/jupyter\",\"time\":\"2023-08-21T05:53:09.883Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.875 NotebookApp] Loaded config file: /etc/jupyter/jupyter_notebook_config.py\",\"time\":\"2023-08-21T05:53:09.884Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.876 NotebookApp] Looking for jupyter_notebook_config in /usr/local/etc/jupyter\",\"time\":\"2023-08-21T05:53:09.886Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.876 NotebookApp] Loaded config file: /usr/local/etc/jupyter/jupyter_notebook_config.json\",\"time\":\"2023-08-21T05:53:09.886Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.877 NotebookApp] Looking for jupyter_notebook_config in /usr/etc/jupyter\",\"time\":\"2023-08-21T05:53:09.887Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.877 NotebookApp] Looking for jupyter_notebook_config in /root/.local/etc/jupyter\",\"time\":\"2023-08-21T05:53:09.888Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.877 NotebookApp] Looking for jupyter_notebook_config in /root/.jupyter\",\"time\":\"2023-08-21T05:53:09.891Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.879 NotebookApp] Loaded config file: /root/.jupyter/jupyter_notebook_config.py\",\"time\":\"2023-08-21T05:53:09.891Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.889 NotebookApp] Looking for jupyter_notebook_config in /etc/jupyter\",\"time\":\"2023-08-21T05:53:09.889Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.889 NotebookApp] Loaded config file: /etc/jupyter/jupyter_notebook_config.py\",\"time\":\"2023-08-21T05:53:09.891Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.890 NotebookApp] Looking for jupyter_notebook_config in /usr/local/etc/jupyter\",\"time\":\"2023-08-21T05:53:09.892Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.890 NotebookApp] Loaded config file: /usr/local/etc/jupyter/jupyter_notebook_config.json\",\"time\":\"2023-08-21T05:53:09.892Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.890 NotebookApp] Looking for jupyter_notebook_config in /usr/etc/jupyter\",\"time\":\"2023-08-21T05:53:09.892Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.890 NotebookApp] Looking for jupyter_notebook_config in /root/.local/etc/jupyter\",\"time\":\"2023-08-21T05:53:09.892Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.890 NotebookApp] Looking for jupyter_notebook_config in /root/.jupyter\",\"time\":\"2023-08-21T05:53:09.892Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.891 NotebookApp] Loaded config file: /root/.jupyter/jupyter_notebook_config.py\",\"time\":\"2023-08-21T05:53:09.895Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\" \\t/etc/jupyter/jupyter_notebook_config.json\",\"time\":\"2023-08-21T05:53:10.735Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\" \\t/usr/local/etc/jupyter/jupyter_notebook_config.d/panel-client-jupyter.json\",\"time\":\"2023-08-21T05:53:10.745Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\" \\t/usr/local/etc/jupyter/jupyter_notebook_config.json\",\"time\":\"2023-08-21T05:53:10.745Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\" \\t/usr/etc/jupyter/jupyter_notebook_config.json\",\"time\":\"2023-08-21T05:53:10.746Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\" \\t/root/.local/etc/jupyter/jupyter_notebook_config.json\",\"time\":\"2023-08-21T05:53:10.747Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\" \\t/root/.jupyter/jupyter_notebook_config.json\",\"time\":\"2023-08-21T05:53:10.747Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":30,\"msg\":\"Writing notebook server cookie secret to /root/.local/share/jupyter/runtime/notebook_cookie_secret\",\"time\":\"2023-08-21T05:53:10.765Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":30,\"msg\":\"Authentication of /metrics is OFF, since other authentication is disabled.\",\"time\":\"2023-08-21T05:53:10.771Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":30,\"msg\":\"google.colab serverextension initialized.\",\"time\":\"2023-08-21T05:53:10.836Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\" \\t/etc/jupyter/jupyter_notebook_config.json\",\"time\":\"2023-08-21T05:53:10.878Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\" \\t/usr/local/etc/jupyter/jupyter_notebook_config.d/panel-client-jupyter.json\",\"time\":\"2023-08-21T05:53:10.880Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\" \\t/usr/local/etc/jupyter/jupyter_notebook_config.json\",\"time\":\"2023-08-21T05:53:10.880Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\" \\t/usr/etc/jupyter/jupyter_notebook_config.json\",\"time\":\"2023-08-21T05:53:10.882Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\" \\t/root/.local/etc/jupyter/jupyter_notebook_config.json\",\"time\":\"2023-08-21T05:53:10.883Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\" \\t/root/.jupyter/jupyter_notebook_config.json\",\"time\":\"2023-08-21T05:53:10.884Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":30,\"msg\":\"Writing notebook server cookie secret to /root/.local/share/jupyter/runtime/notebook_cookie_secret\",\"time\":\"2023-08-21T05:53:10.893Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":30,\"msg\":\"Authentication of /metrics is OFF, since other authentication is disabled.\",\"time\":\"2023-08-21T05:53:10.894Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":30,\"msg\":\"google.colab serverextension initialized.\",\"time\":\"2023-08-21T05:53:10.945Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":30,\"msg\":\"Serving notebooks from local directory: /\",\"time\":\"2023-08-21T05:53:15.513Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":30,\"msg\":\"Jupyter Notebook 6.5.5 is running at:\",\"time\":\"2023-08-21T05:53:15.514Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":30,\"msg\":\"Serving notebooks from local directory: /\",\"time\":\"2023-08-21T05:53:15.521Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":30,\"msg\":\"Jupyter Notebook 6.5.5 is running at:\",\"time\":\"2023-08-21T05:53:15.521Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":30,\"msg\":\"http://172.28.0.2:9000/\",\"time\":\"2023-08-21T05:53:15.521Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":30,\"msg\":\"Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).\",\"time\":\"2023-08-21T05:53:15.522Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":30,\"msg\":\"http://172.28.0.12:9000/\",\"time\":\"2023-08-21T05:53:15.523Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":30,\"msg\":\"Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).\",\"time\":\"2023-08-21T05:53:15.523Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":30,\"msg\":\"Kernel started: 7be3ebb5-8079-41dd-a058-72f1e271f55f, name: python3\",\"time\":\"2023-08-21T05:53:32.402Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:53:38.426472: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.\",\"time\":\"2023-08-21T05:53:38.426Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"To enable the following instructions: AVX2 AVX512F FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.\",\"time\":\"2023-08-21T05:53:38.426Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:53:39.614903: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT\",\"time\":\"2023-08-21T05:53:39.615Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:53:43.858531: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\",\"time\":\"2023-08-21T05:53:43.858Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:53:44.410103: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\",\"time\":\"2023-08-21T05:53:44.410Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:53:44.410567: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\",\"time\":\"2023-08-21T05:53:44.410Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:53:44.413324: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\",\"time\":\"2023-08-21T05:53:44.413Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:53:44.413957: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\",\"time\":\"2023-08-21T05:53:44.414Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:53:44.414476: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\",\"time\":\"2023-08-21T05:53:44.414Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:53:48.373843: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\",\"time\":\"2023-08-21T05:53:48.374Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:53:48.380854: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\",\"time\":\"2023-08-21T05:53:48.381Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:53:48.381791: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\",\"time\":\"2023-08-21T05:53:48.381Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:53:48.382383: W tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:47] Overriding orig_value setting because the TF_FORCE_GPU_ALLOW_GROWTH environment variable is set. Original config value was 0.\",\"time\":\"2023-08-21T05:53:48.382Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:53:48.382464: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1635] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 13664 MB memory: -> device: 0, name: Tesla T4, pci bus id: 0000:00:04.0, compute capability: 7.5\",\"time\":\"2023-08-21T05:53:48.382Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:53:53.331521: I tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:424] Loaded cuDNN version 8900\",\"time\":\"2023-08-21T05:53:53.331Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:53:53.332580: F tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:959] Check failed: cudnnSetPoolingNdDescriptor( handle_.get(), (pooling_descriptor.mode() == dnn::PoolingMode::kMaximum ? cudnn_max_pooling_mode : CUDNN_POOLING_AVERAGE_COUNT_EXCLUDE_PADDING), propagate_nans ? CUDNN_PROPAGATE_NAN : CUDNN_NOT_PROPAGATE_NAN, nd, shape.data(), padding.data(), strides.data()) == CUDNN_STATUS_SUCCESS (3 vs. 0)\",\"time\":\"2023-08-21T05:53:53.332Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":30,\"msg\":\"KernelRestarter: restarting kernel (1/5), keep random ports\",\"time\":\"2023-08-21T05:53:56.402Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"WARNING:root:kernel 7be3ebb5-8079-41dd-a058-72f1e271f55f restarted\",\"time\":\"2023-08-21T05:53:56.402Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:59:13.376745: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.\",\"time\":\"2023-08-21T05:59:13.376Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"To enable the following instructions: AVX2 AVX512F FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.\",\"time\":\"2023-08-21T05:59:13.377Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:59:16.272217: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT\",\"time\":\"2023-08-21T05:59:16.272Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:59:33.700495: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\",\"time\":\"2023-08-21T05:59:33.700Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:59:34.230690: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\",\"time\":\"2023-08-21T05:59:34.230Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:59:34.231162: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\",\"time\":\"2023-08-21T05:59:34.231Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:59:34.238614: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\",\"time\":\"2023-08-21T05:59:34.238Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:59:34.242007: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\",\"time\":\"2023-08-21T05:59:34.242Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:59:34.242295: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\",\"time\":\"2023-08-21T05:59:34.242Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:59:35.389137: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\",\"time\":\"2023-08-21T05:59:35.389Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:59:35.389644: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\",\"time\":\"2023-08-21T05:59:35.390Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:59:35.390313: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\",\"time\":\"2023-08-21T05:59:35.390Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:59:35.390544: W tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:47] Overriding orig_value setting because the TF_FORCE_GPU_ALLOW_GROWTH environment variable is set. Original config value was 0.\",\"time\":\"2023-08-21T05:59:35.390Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:59:35.390622: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1639] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 13692 MB memory: -> device: 0, name: Tesla T4, pci bus id: 0000:00:04.0, compute capability: 7.5\",\"time\":\"2023-08-21T05:59:35.390Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:59:39.054266: I tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:432] Loaded cuDNN version 8900\",\"time\":\"2023-08-21T05:59:39.054Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:59:39.054436: F tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:983] Check failed: cudnnSetPoolingNdDescriptor( handle_.get(), (pooling_descriptor.mode() == dnn::PoolingMode::kMaximum ? cudnn_max_pooling_mode : CUDNN_POOLING_AVERAGE_COUNT_EXCLUDE_PADDING), propagate_nans ? CUDNN_PROPAGATE_NAN : CUDNN_NOT_PROPAGATE_NAN, nd, shape.data(), padding.data(), strides.data()) == CUDNN_STATUS_SUCCESS (3 vs. 0)\",\"time\":\"2023-08-21T05:59:39.055Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":30,\"msg\":\"KernelRestarter: restarting kernel (1/5), keep random ports\",\"time\":\"2023-08-21T05:59:41.410Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"WARNING:root:kernel 7be3ebb5-8079-41dd-a058-72f1e271f55f restarted\",\"time\":\"2023-08-21T05:59:41.410Z\",\"v\":0}\r\n```", "@dmc1778 That's an error that is being returned to the user instead of performing bad computations.\r\nCould you please report this in the proper channel as mentioned [here](https://github.com/tensorflow/tensorflow/blob/master/SECURITY.md). Thank you!", "@sushreebarsa , in the [last error log](https://github.com/tensorflow/tensorflow/issues/61643#issuecomment-1685700653) there is a CHECK failure, not an error that is being returned to the user.\r\n\r\nThe difference is that an error being returned to the user could be caught in a `try`-`catch`, would not crash the Python interpreter, etc, whereas the `CHECK` failure could result in a denial of service (which does not constitute a significant security issue, though it should be fixed)", "Hi @dmc1778 ,\r\n\r\nI have replicated the error with **GPU** environment. The behaviour is random. At first run the execution is success and when rerun it got the **CUDA_ERROR_ILLEGAL_ADDRESS** below.\r\n\r\n`E tensorflow/compiler/xla/stream_executor/cuda/cuda_event.cc:29] Error polling for event status: failed to query event: CUDA_ERROR_ILLEGAL_ADDRESS: an illegal memory access was encountered`\r\n\r\nAttached screenshot below for same. This needs to be fixed.\r\n\r\n\r\n<img width=\"1508\" alt=\"Screenshot 2023-08-23 at 5 34 45 PM\" src=\"https://github.com/tensorflow/tensorflow/assets/116063290/b58454d4-3303-4fd4-9481-13d73c5c8c26\">\r\n" ]
2023-08-19T02:33:17
2023-08-25T09:04:03
null
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source binary ### TensorFlow version 2.13.0 ### Custom code Yes ### OS platform and distribution _No response_ ### Mobile device _No response_ ### Python version _No response_ ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? Due to a very large integer variable as input to the API ### Standalone code to reproduce the issue ```shell import tensorflow as tf import os import numpy as np try: n = 1152921504606846975 arg_class = tf.keras.layers.RepeatVector(n=n,) arg_input_0_tensor = tf.random.uniform([2, 2], dtype=tf.float32) arg_input_0 = tf.identity(arg_input_0_tensor) arg_input = [arg_input_0,] out = arg_class(*arg_input) except Exception as e: print("Error:"+str(e)) ``` ``` ### Relevant log output ```shell 023-08-18 22:31:57.943444: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations. To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. 2023-08-18 22:31:58.502559: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT 2023-08-18 22:31:58.969005: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-18 22:31:58.987690: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-18 22:31:58.987833: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-18 22:31:58.989274: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-18 22:31:58.989436: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-18 22:31:58.989557: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-18 22:31:59.044537: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-18 22:31:59.044666: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-18 22:31:59.044756: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-18 22:31:59.044834: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1639] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 4249 MB memory: -> device: 0, name: NVIDIA GeForce GTX 1660 Ti, pci bus id: 0000:01:00.0, compute capability: 7.5 {} 2023-08-18 22:31:59.138979: F tensorflow/tsl/framework/bfc_allocator.cc:797] Check failed: c->in_use() && (c->bin_num == kInvalidBinNum) Aborted ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61643/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61643/timeline
null
null
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61642
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61642/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61642/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61642/events
https://github.com/tensorflow/tensorflow/issues/61642
1,857,491,404
I_kwDOArmXAs5utxHM
61,642
Check failure when running tf.compat.v1.layers.MaxPooling1D
{ "login": "dmc1778", "id": 17060581, "node_id": "MDQ6VXNlcjE3MDYwNTgx", "avatar_url": "https://avatars.githubusercontent.com/u/17060581?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmc1778", "html_url": "https://github.com/dmc1778", "followers_url": "https://api.github.com/users/dmc1778/followers", "following_url": "https://api.github.com/users/dmc1778/following{/other_user}", "gists_url": "https://api.github.com/users/dmc1778/gists{/gist_id}", "starred_url": "https://api.github.com/users/dmc1778/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmc1778/subscriptions", "organizations_url": "https://api.github.com/users/dmc1778/orgs", "repos_url": "https://api.github.com/users/dmc1778/repos", "events_url": "https://api.github.com/users/dmc1778/events{/privacy}", "received_events_url": "https://api.github.com/users/dmc1778/received_events", "type": "User", "site_admin": false }
[ { "id": 404586594, "node_id": "MDU6TGFiZWw0MDQ1ODY1OTQ=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20tensorflower", "name": "stat:awaiting tensorflower", "color": "f4b400", "default": false, "description": "Status - Awaiting response from tensorflower" }, { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 1097547147, "node_id": "MDU6TGFiZWwxMDk3NTQ3MTQ3", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:ops", "name": "comp:ops", "color": "0052cc", "default": false, "description": "OPs related issues" }, { "id": 5508003926, "node_id": "LA_kwDOArmXAs8AAAABSE14Vg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13", "name": "TF 2.13", "color": "B13ACB", "default": false, "description": "For issues related to Tensorflow 2.13" } ]
open
false
{ "login": "SuryanarayanaY", "id": 116063290, "node_id": "U_kgDOBur8Og", "avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SuryanarayanaY", "html_url": "https://github.com/SuryanarayanaY", "followers_url": "https://api.github.com/users/SuryanarayanaY/followers", "following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}", "gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}", "starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions", "organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs", "repos_url": "https://api.github.com/users/SuryanarayanaY/repos", "events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}", "received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events", "type": "User", "site_admin": false }
[ { "login": "SuryanarayanaY", "id": 116063290, "node_id": "U_kgDOBur8Og", "avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SuryanarayanaY", "html_url": "https://github.com/SuryanarayanaY", "followers_url": "https://api.github.com/users/SuryanarayanaY/followers", "following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}", "gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}", "starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions", "organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs", "repos_url": "https://api.github.com/users/SuryanarayanaY/repos", "events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}", "received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events", "type": "User", "site_admin": false } ]
null
[ "Hi @dmc1778,\r\n\r\nI have tested the code with tf version 2.12 and tf-nightly and its working fine by raising exception, please find the [gist](https://colab.sandbox.google.com/gist/Varsha-anjanappa/a9cbdf4d498596ff6c234d194ad7ae33/61642.ipynb) here. \r\n\r\nThank you!", "> \r\n\r\nThanks @Varsha-anjanappa. On my side (2.13.0):\r\n\r\n```\r\n2023-08-21 01:03:23.808421: I tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:432] Loaded cuDNN version 8600\r\n2023-08-21 01:03:23.808473: F tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:983] Check failed: cudnnSetPoolingNdDescriptor( handle_.get(), (pooling_descriptor.mode() == dnn::PoolingMode::kMaximum ? cudnn_max_pooling_mode : CUDNN_POOLING_AVERAGE_COUNT_EXCLUDE_PADDING), propagate_nans ? CUDNN_PROPAGATE_NAN : CUDNN_NOT_PROPAGATE_NAN, nd, shape.data(), padding.data(), strides.data()) == CUDNN_STATUS_SUCCESS (3 vs. 0)\r\nAborted\r\n```", "Hi @dmc1778 ,\r\n\r\nTested the code on colab with tf version 2.13 as well, it is working fine. Please find the [gist](https://colab.sandbox.google.com/gist/Varsha-anjanappa/7eb2785fcf9750d1bb628a877be1f624/61642_v2.ipynb).\r\n\r\nThank you!!\r\n\r\n", "> \r\n\r\nMy session on Colab is still crashing. Please find the attached snapshot:\r\n![Screenshot from 2023-08-21 01-54-10](https://github.com/tensorflow/tensorflow/assets/17060581/17f02afd-c995-48c9-bf4e-df7970b9458d)\r\n\r\nLog:\r\n\r\n```\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.866 NotebookApp] Searching ['/root/.jupyter', '/root/.local/etc/jupyter', '/usr/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files\",\"time\":\"2023-08-21T05:53:09.867Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.866 NotebookApp] Searching ['/root/.jupyter', '/root/.local/etc/jupyter', '/usr/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files\",\"time\":\"2023-08-21T05:53:09.870Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.866 NotebookApp] Looking for jupyter_config in /etc/jupyter\",\"time\":\"2023-08-21T05:53:09.868Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.878 NotebookApp] Looking for jupyter_config in /usr/local/etc/jupyter\",\"time\":\"2023-08-21T05:53:09.882Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.883 NotebookApp] Looking for jupyter_config in /usr/etc/jupyter\",\"time\":\"2023-08-21T05:53:09.887Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.883 NotebookApp] Looking for jupyter_config in /root/.local/etc/jupyter\",\"time\":\"2023-08-21T05:53:09.887Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.884 NotebookApp] Looking for jupyter_config in /root/.jupyter\",\"time\":\"2023-08-21T05:53:09.887Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.866 NotebookApp] Looking for jupyter_config in /etc/jupyter\",\"time\":\"2023-08-21T05:53:09.871Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.869 NotebookApp] Looking for jupyter_config in /usr/local/etc/jupyter\",\"time\":\"2023-08-21T05:53:09.873Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.870 NotebookApp] Looking for jupyter_config in /usr/etc/jupyter\",\"time\":\"2023-08-21T05:53:09.882Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.870 NotebookApp] Looking for jupyter_config in /root/.local/etc/jupyter\",\"time\":\"2023-08-21T05:53:09.882Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.871 NotebookApp] Looking for jupyter_config in /root/.jupyter\",\"time\":\"2023-08-21T05:53:09.883Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.871 NotebookApp] Looking for jupyter_notebook_config in /etc/jupyter\",\"time\":\"2023-08-21T05:53:09.883Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.875 NotebookApp] Loaded config file: /etc/jupyter/jupyter_notebook_config.py\",\"time\":\"2023-08-21T05:53:09.884Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.876 NotebookApp] Looking for jupyter_notebook_config in /usr/local/etc/jupyter\",\"time\":\"2023-08-21T05:53:09.886Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.876 NotebookApp] Loaded config file: /usr/local/etc/jupyter/jupyter_notebook_config.json\",\"time\":\"2023-08-21T05:53:09.886Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.877 NotebookApp] Looking for jupyter_notebook_config in /usr/etc/jupyter\",\"time\":\"2023-08-21T05:53:09.887Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.877 NotebookApp] Looking for jupyter_notebook_config in /root/.local/etc/jupyter\",\"time\":\"2023-08-21T05:53:09.888Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.877 NotebookApp] Looking for jupyter_notebook_config in /root/.jupyter\",\"time\":\"2023-08-21T05:53:09.891Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.879 NotebookApp] Loaded config file: /root/.jupyter/jupyter_notebook_config.py\",\"time\":\"2023-08-21T05:53:09.891Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.889 NotebookApp] Looking for jupyter_notebook_config in /etc/jupyter\",\"time\":\"2023-08-21T05:53:09.889Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.889 NotebookApp] Loaded config file: /etc/jupyter/jupyter_notebook_config.py\",\"time\":\"2023-08-21T05:53:09.891Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.890 NotebookApp] Looking for jupyter_notebook_config in /usr/local/etc/jupyter\",\"time\":\"2023-08-21T05:53:09.892Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.890 NotebookApp] Loaded config file: /usr/local/etc/jupyter/jupyter_notebook_config.json\",\"time\":\"2023-08-21T05:53:09.892Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.890 NotebookApp] Looking for jupyter_notebook_config in /usr/etc/jupyter\",\"time\":\"2023-08-21T05:53:09.892Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.890 NotebookApp] Looking for jupyter_notebook_config in /root/.local/etc/jupyter\",\"time\":\"2023-08-21T05:53:09.892Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.890 NotebookApp] Looking for jupyter_notebook_config in /root/.jupyter\",\"time\":\"2023-08-21T05:53:09.892Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"[D 05:53:09.891 NotebookApp] Loaded config file: /root/.jupyter/jupyter_notebook_config.py\",\"time\":\"2023-08-21T05:53:09.895Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\" \\t/etc/jupyter/jupyter_notebook_config.json\",\"time\":\"2023-08-21T05:53:10.735Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\" \\t/usr/local/etc/jupyter/jupyter_notebook_config.d/panel-client-jupyter.json\",\"time\":\"2023-08-21T05:53:10.745Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\" \\t/usr/local/etc/jupyter/jupyter_notebook_config.json\",\"time\":\"2023-08-21T05:53:10.745Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\" \\t/usr/etc/jupyter/jupyter_notebook_config.json\",\"time\":\"2023-08-21T05:53:10.746Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\" \\t/root/.local/etc/jupyter/jupyter_notebook_config.json\",\"time\":\"2023-08-21T05:53:10.747Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\" \\t/root/.jupyter/jupyter_notebook_config.json\",\"time\":\"2023-08-21T05:53:10.747Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":30,\"msg\":\"Writing notebook server cookie secret to /root/.local/share/jupyter/runtime/notebook_cookie_secret\",\"time\":\"2023-08-21T05:53:10.765Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":30,\"msg\":\"Authentication of /metrics is OFF, since other authentication is disabled.\",\"time\":\"2023-08-21T05:53:10.771Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":30,\"msg\":\"google.colab serverextension initialized.\",\"time\":\"2023-08-21T05:53:10.836Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\" \\t/etc/jupyter/jupyter_notebook_config.json\",\"time\":\"2023-08-21T05:53:10.878Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\" \\t/usr/local/etc/jupyter/jupyter_notebook_config.d/panel-client-jupyter.json\",\"time\":\"2023-08-21T05:53:10.880Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\" \\t/usr/local/etc/jupyter/jupyter_notebook_config.json\",\"time\":\"2023-08-21T05:53:10.880Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\" \\t/usr/etc/jupyter/jupyter_notebook_config.json\",\"time\":\"2023-08-21T05:53:10.882Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\" \\t/root/.local/etc/jupyter/jupyter_notebook_config.json\",\"time\":\"2023-08-21T05:53:10.883Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\" \\t/root/.jupyter/jupyter_notebook_config.json\",\"time\":\"2023-08-21T05:53:10.884Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":30,\"msg\":\"Writing notebook server cookie secret to /root/.local/share/jupyter/runtime/notebook_cookie_secret\",\"time\":\"2023-08-21T05:53:10.893Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":30,\"msg\":\"Authentication of /metrics is OFF, since other authentication is disabled.\",\"time\":\"2023-08-21T05:53:10.894Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":30,\"msg\":\"google.colab serverextension initialized.\",\"time\":\"2023-08-21T05:53:10.945Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":30,\"msg\":\"Serving notebooks from local directory: /\",\"time\":\"2023-08-21T05:53:15.513Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":30,\"msg\":\"Jupyter Notebook 6.5.5 is running at:\",\"time\":\"2023-08-21T05:53:15.514Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":30,\"msg\":\"Serving notebooks from local directory: /\",\"time\":\"2023-08-21T05:53:15.521Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":30,\"msg\":\"Jupyter Notebook 6.5.5 is running at:\",\"time\":\"2023-08-21T05:53:15.521Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":30,\"msg\":\"http://172.28.0.2:9000/\",\"time\":\"2023-08-21T05:53:15.521Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":30,\"msg\":\"Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).\",\"time\":\"2023-08-21T05:53:15.522Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":30,\"msg\":\"http://172.28.0.12:9000/\",\"time\":\"2023-08-21T05:53:15.523Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":30,\"msg\":\"Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).\",\"time\":\"2023-08-21T05:53:15.523Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":30,\"msg\":\"Kernel started: 7be3ebb5-8079-41dd-a058-72f1e271f55f, name: python3\",\"time\":\"2023-08-21T05:53:32.402Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:53:38.426472: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.\",\"time\":\"2023-08-21T05:53:38.426Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"To enable the following instructions: AVX2 AVX512F FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.\",\"time\":\"2023-08-21T05:53:38.426Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:53:39.614903: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT\",\"time\":\"2023-08-21T05:53:39.615Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:53:43.858531: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\",\"time\":\"2023-08-21T05:53:43.858Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:53:44.410103: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\",\"time\":\"2023-08-21T05:53:44.410Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:53:44.410567: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\",\"time\":\"2023-08-21T05:53:44.410Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:53:44.413324: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\",\"time\":\"2023-08-21T05:53:44.413Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:53:44.413957: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\",\"time\":\"2023-08-21T05:53:44.414Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:53:44.414476: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\",\"time\":\"2023-08-21T05:53:44.414Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:53:48.373843: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\",\"time\":\"2023-08-21T05:53:48.374Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:53:48.380854: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\",\"time\":\"2023-08-21T05:53:48.381Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:53:48.381791: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\",\"time\":\"2023-08-21T05:53:48.381Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:53:48.382383: W tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:47] Overriding orig_value setting because the TF_FORCE_GPU_ALLOW_GROWTH environment variable is set. Original config value was 0.\",\"time\":\"2023-08-21T05:53:48.382Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:53:48.382464: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1635] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 13664 MB memory: -> device: 0, name: Tesla T4, pci bus id: 0000:00:04.0, compute capability: 7.5\",\"time\":\"2023-08-21T05:53:48.382Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:53:53.331521: I tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:424] Loaded cuDNN version 8900\",\"time\":\"2023-08-21T05:53:53.331Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"2023-08-21 05:53:53.332580: F tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:959] Check failed: cudnnSetPoolingNdDescriptor( handle_.get(), (pooling_descriptor.mode() == dnn::PoolingMode::kMaximum ? cudnn_max_pooling_mode : CUDNN_POOLING_AVERAGE_COUNT_EXCLUDE_PADDING), propagate_nans ? CUDNN_PROPAGATE_NAN : CUDNN_NOT_PROPAGATE_NAN, nd, shape.data(), padding.data(), strides.data()) == CUDNN_STATUS_SUCCESS (3 vs. 0)\",\"time\":\"2023-08-21T05:53:53.332Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":30,\"msg\":\"KernelRestarter: restarting kernel (1/5), keep random ports\",\"time\":\"2023-08-21T05:53:56.402Z\",\"v\":0}\r\n{\"pid\":7,\"type\":\"jupyter\",\"level\":40,\"msg\":\"WARNING:root:kernel 7be3ebb5-8079-41dd-a058-72f1e271f55f restarted\",\"time\":\"2023-08-21T05:53:56.402Z\",\"v\":0}\r\n```", "Hi @dmc1778 ,\r\n\r\nAs you can see the below snapshot, It is executing as expected, please refer to the gist given [here](https://github.com/tensorflow/tensorflow/issues/61642#issuecomment-1685691779).\r\n\r\n![image](https://github.com/tensorflow/tensorflow/assets/137163810/7caad80a-20cf-41b2-ac84-cf66513f3234)\r\n\r\nThank you!!\r\n", "> Hi @dmc1778 ,\r\n> \r\n> As you can see the below snapshot, It is executing as expected, please refer to the gist given [here](https://github.com/tensorflow/tensorflow/issues/61642#issuecomment-1685691779).\r\n> \r\n> ![image](https://user-images.githubusercontent.com/137163810/262218562-7caad80a-20cf-41b2-ac84-cf66513f3234.png)\r\n> \r\n> Thank you!!\r\n\r\nThis is a serious issue as we get different outputs. ", "Hi @dmc1778 ,\r\n\r\nWith CPU runtime the code executes fine and attached [gist](https://colab.sandbox.google.com/gist/SuryanarayanaY/267620ee9839af8f75f15797c51356a4/61642_cpu.ipynb) for reference.\r\n\r\nWith GPU runtime check fail followed by crash happening. Attached screenshot for below.\r\n\r\n<img width=\"1506\" alt=\"Screenshot 2023-08-23 at 4 46 03 PM\" src=\"https://github.com/tensorflow/tensorflow/assets/116063290/6ff947dc-d562-44e9-b8bc-57e980fa6aef\">\r\n\r\n" ]
2023-08-19T02:28:18
2023-08-23T11:56:05
null
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source binary ### TensorFlow version 2.13.0 ### Custom code Yes ### OS platform and distribution _No response_ ### Mobile device _No response_ ### Python version _No response_ ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? Due to feeding Large list elements ### Standalone code to reproduce the issue ```shell import tensorflow as tf import os import numpy as np try: pool_size_0 = 1e+38 pool_size = [pool_size_0,] strides_0 = 2 strides = [strides_0,] padding = "same" data_format = "channels_last" arg_class = tf.compat.v1.layers.MaxPooling1D(pool_size=pool_size,strides=strides,padding=padding,data_format=data_format,) arg_input_0_tensor = tf.random.uniform([1, 5, 4], dtype=tf.float32) arg_input_0 = tf.identity(arg_input_0_tensor) arg_input = [arg_input_0,] out = arg_class(*arg_input) except Exception as e: print("Error:"+str(e)) ``` ``` ### Relevant log output ```shell 023-08-18 22:04:07.309328: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations. To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. 2023-08-18 22:04:07.824681: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT 2023-08-18 22:04:08.293378: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-18 22:04:08.311735: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-18 22:04:08.311868: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-18 22:04:08.313249: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-18 22:04:08.313383: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-18 22:04:08.313504: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-18 22:04:08.379287: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-18 22:04:08.379413: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-18 22:04:08.379501: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-18 22:04:08.379578: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1639] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 4308 MB memory: -> device: 0, name: NVIDIA GeForce GTX 1660 Ti, pci bus id: 0000:01:00.0, compute capability: 7.5 2023-08-18 22:04:08.473502: I tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:432] Loaded cuDNN version 8600 2023-08-18 22:04:08.473555: F tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:983] Check failed: cudnnSetPoolingNdDescriptor( handle_.get(), (pooling_descriptor.mode() == dnn::PoolingMode::kMaximum ? cudnn_max_pooling_mode : CUDNN_POOLING_AVERAGE_COUNT_EXCLUDE_PADDING), propagate_nans ? CUDNN_PROPAGATE_NAN : CUDNN_NOT_PROPAGATE_NAN, nd, shape.data(), padding.data(), strides.data()) == CUDNN_STATUS_SUCCESS (3 vs. 0) Aborted ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61642/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61642/timeline
null
null
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61641
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61641/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61641/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61641/events
https://github.com/tensorflow/tensorflow/pull/61641
1,857,445,854
PR_kwDOArmXAs5YSbbP
61,641
Minor clarification for `Dataset.prefetch` docs
{ "login": "matangover", "id": 5028956, "node_id": "MDQ6VXNlcjUwMjg5NTY=", "avatar_url": "https://avatars.githubusercontent.com/u/5028956?v=4", "gravatar_id": "", "url": "https://api.github.com/users/matangover", "html_url": "https://github.com/matangover", "followers_url": "https://api.github.com/users/matangover/followers", "following_url": "https://api.github.com/users/matangover/following{/other_user}", "gists_url": "https://api.github.com/users/matangover/gists{/gist_id}", "starred_url": "https://api.github.com/users/matangover/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/matangover/subscriptions", "organizations_url": "https://api.github.com/users/matangover/orgs", "repos_url": "https://api.github.com/users/matangover/repos", "events_url": "https://api.github.com/users/matangover/events{/privacy}", "received_events_url": "https://api.github.com/users/matangover/received_events", "type": "User", "site_admin": false }
[ { "id": 1114343535, "node_id": "MDU6TGFiZWwxMTE0MzQzNTM1", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:data", "name": "comp:data", "color": "0052cc", "default": false, "description": "tf.data related issues" }, { "id": 1169364259, "node_id": "MDU6TGFiZWwxMTY5MzY0MjU5", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:XS", "name": "size:XS", "color": "adafea", "default": false, "description": "CL Change Size: Extra Small" } ]
closed
false
{ "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false }
[ { "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false } ]
null
[ "Hi, I don't work on tf data so I don't think I'm the right reviewer for this PR, could you please find a different reviewer? Thanks!", "Hi @aaudiber Can you please review this PR ? Thank you!", "@wilsingosti My proposed change does not remove the concept of elements. After my change, the note reads:\r\n\r\n> Note: Like other `Dataset` methods, prefetch operates on the elements of the input dataset. It has no concept of examples vs. batches. `examples.prefetch(2)` will prefetch 2 examples, while `examples.batch(20).prefetch(2)` will prefetch 40 examples (2 batches, of 20 examples each).\r\n\r\nStill includes the concept of elements, and in my opinion the wording is now clearer. However if you think the current wording is clearer please close my PR.", "@matangover You are right. Your proposed change does not remove the concept of elements. However, I think the current wording fine and I would like to keep it. Thanks for contributing." ]
2023-08-19T01:01:42
2023-11-05T03:48:15
2023-11-05T03:48:12
NONE
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61641", "html_url": "https://github.com/tensorflow/tensorflow/pull/61641", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61641.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61641.patch", "merged_at": null }
I found the existing wording somewhat confusing ("XXX will prefetch two elements, while XXX will prefetch two elements"). The new wording makes the difference clearer.
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61641/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61641/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61640
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61640/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61640/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61640/events
https://github.com/tensorflow/tensorflow/pull/61640
1,856,884,276
PR_kwDOArmXAs5YQhYi
61,640
Add CPU and GPU behavior notice and example to tf.nn.embedding_lookup function
{ "login": "harshavardhan-b20", "id": 113964278, "node_id": "U_kgDOBsr09g", "avatar_url": "https://avatars.githubusercontent.com/u/113964278?v=4", "gravatar_id": "", "url": "https://api.github.com/users/harshavardhan-b20", "html_url": "https://github.com/harshavardhan-b20", "followers_url": "https://api.github.com/users/harshavardhan-b20/followers", "following_url": "https://api.github.com/users/harshavardhan-b20/following{/other_user}", "gists_url": "https://api.github.com/users/harshavardhan-b20/gists{/gist_id}", "starred_url": "https://api.github.com/users/harshavardhan-b20/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/harshavardhan-b20/subscriptions", "organizations_url": "https://api.github.com/users/harshavardhan-b20/orgs", "repos_url": "https://api.github.com/users/harshavardhan-b20/repos", "events_url": "https://api.github.com/users/harshavardhan-b20/events{/privacy}", "received_events_url": "https://api.github.com/users/harshavardhan-b20/received_events", "type": "User", "site_admin": false }
[ { "id": 390482148, "node_id": "MDU6TGFiZWwzOTA0ODIxNDg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/awaiting%20review", "name": "awaiting review", "color": "bc3869", "default": false, "description": "Pull request awaiting review" }, { "id": 987666414, "node_id": "MDU6TGFiZWw5ODc2NjY0MTQ=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/ready%20to%20pull", "name": "ready to pull", "color": "2cd643", "default": false, "description": "PR ready for merge process" }, { "id": 1097547147, "node_id": "MDU6TGFiZWwxMDk3NTQ3MTQ3", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:ops", "name": "comp:ops", "color": "0052cc", "default": false, "description": "OPs related issues" }, { "id": 1169364458, "node_id": "MDU6TGFiZWwxMTY5MzY0NDU4", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:S", "name": "size:S", "color": "adafea", "default": false, "description": "CL Change Size: Small" } ]
closed
false
{ "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false }
[ { "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false } ]
null
[ "Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).\n\nView this [failed invocation](https://github.com/tensorflow/tensorflow/pull/61640/checks?check_run_id=16015812030) of the CLA check for more information.\n\nFor the most up to date status, view the checks section at the bottom of the pull request.", "Hi @cantonios Can you please review this PR ? Thank you!" ]
2023-08-18T15:10:16
2023-10-04T07:23:16
2023-10-04T07:23:16
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61640", "html_url": "https://github.com/tensorflow/tensorflow/pull/61640", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61640.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61640.patch", "merged_at": "2023-10-04T07:23:16" }
Title: Add CPU and GPU Behavior Notice and Example to tf.nn.embedding_lookup Function Description: This pull request addresses issue #17417. Changes Made: Added a notice and example directly to the source code of the tf.nn.embedding_lookup function to highlight the behavior difference between CPU and GPU usage. The added notice explains that on a GPU, out-of-bound indices result in storing a value of 0, while on a CPU, it raises an error. Included example code that demonstrates how to use the tf.nn.embedding_lookup function for both CPU and GPU contexts. Context: The purpose of this contribution is to improve the documentation and provide clear guidance for users of the tf.nn.embedding_lookup function when working with CPU and GPU. Additional Notes: I've followed the guidelines for contributing to TensorFlow and made sure that the changes align with the project's standards. Please review and consider merging these changes. Thank you!
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61640/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61640/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61639
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61639/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61639/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61639/events
https://github.com/tensorflow/tensorflow/issues/61639
1,856,768,952
I_kwDOArmXAs5urAu4
61,639
Softmax overflow issue with a large tensor
{ "login": "yufang67", "id": 23123536, "node_id": "MDQ6VXNlcjIzMTIzNTM2", "avatar_url": "https://avatars.githubusercontent.com/u/23123536?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yufang67", "html_url": "https://github.com/yufang67", "followers_url": "https://api.github.com/users/yufang67/followers", "following_url": "https://api.github.com/users/yufang67/following{/other_user}", "gists_url": "https://api.github.com/users/yufang67/gists{/gist_id}", "starred_url": "https://api.github.com/users/yufang67/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/yufang67/subscriptions", "organizations_url": "https://api.github.com/users/yufang67/orgs", "repos_url": "https://api.github.com/users/yufang67/repos", "events_url": "https://api.github.com/users/yufang67/events{/privacy}", "received_events_url": "https://api.github.com/users/yufang67/received_events", "type": "User", "site_admin": false }
[ { "id": 404586594, "node_id": "MDU6TGFiZWw0MDQ1ODY1OTQ=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20tensorflower", "name": "stat:awaiting tensorflower", "color": "f4b400", "default": false, "description": "Status - Awaiting response from tensorflower" }, { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 1097545817, "node_id": "MDU6TGFiZWwxMDk3NTQ1ODE3", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:apis", "name": "comp:apis", "color": "0052cc", "default": false, "description": "Highlevel API related issues" }, { "id": 5508003926, "node_id": "LA_kwDOArmXAs8AAAABSE14Vg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13", "name": "TF 2.13", "color": "B13ACB", "default": false, "description": "For issues related to Tensorflow 2.13" } ]
open
false
{ "login": "sachinprasadhs", "id": 73069040, "node_id": "MDQ6VXNlcjczMDY5MDQw", "avatar_url": "https://avatars.githubusercontent.com/u/73069040?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sachinprasadhs", "html_url": "https://github.com/sachinprasadhs", "followers_url": "https://api.github.com/users/sachinprasadhs/followers", "following_url": "https://api.github.com/users/sachinprasadhs/following{/other_user}", "gists_url": "https://api.github.com/users/sachinprasadhs/gists{/gist_id}", "starred_url": "https://api.github.com/users/sachinprasadhs/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sachinprasadhs/subscriptions", "organizations_url": "https://api.github.com/users/sachinprasadhs/orgs", "repos_url": "https://api.github.com/users/sachinprasadhs/repos", "events_url": "https://api.github.com/users/sachinprasadhs/events{/privacy}", "received_events_url": "https://api.github.com/users/sachinprasadhs/received_events", "type": "User", "site_admin": false }
[ { "login": "sachinprasadhs", "id": 73069040, "node_id": "MDQ6VXNlcjczMDY5MDQw", "avatar_url": "https://avatars.githubusercontent.com/u/73069040?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sachinprasadhs", "html_url": "https://github.com/sachinprasadhs", "followers_url": "https://api.github.com/users/sachinprasadhs/followers", "following_url": "https://api.github.com/users/sachinprasadhs/following{/other_user}", "gists_url": "https://api.github.com/users/sachinprasadhs/gists{/gist_id}", "starred_url": "https://api.github.com/users/sachinprasadhs/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sachinprasadhs/subscriptions", "organizations_url": "https://api.github.com/users/sachinprasadhs/orgs", "repos_url": "https://api.github.com/users/sachinprasadhs/repos", "events_url": "https://api.github.com/users/sachinprasadhs/events{/privacy}", "received_events_url": "https://api.github.com/users/sachinprasadhs/received_events", "type": "User", "site_admin": false } ]
null
[ "related to https://github.com/tensorflow/tensorflow/issues/60330", "@sachinprasadhs,\r\nI was able to reproduce the issue on tensorflow v2.12, v2.13 and tf-nightly. Kindly find the gist of it [here](https://colab.research.google.com/gist/tilakrayal/5ba9acb20cc199769dc8cc79ab685fe2/61639.ipynb).", "any updates? thanks" ]
2023-08-18T13:55:11
2023-09-05T15:53:54
null
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source source ### TensorFlow version tf 2.14.0 dev20230706 ### Custom code Yes ### OS platform and distribution Ubuntu 20.04 ### Mobile device _No response_ ### Python version 3.8 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version 11.8 ### GPU model and memory A100 80G ### Current behavior? Non-OK-status: GpuLaunchKernel( GenerateNormalizedProb<T, acc_type, kUnroll>, numBlocks, numThreadsPerBlock, 0, cu_stream, reinterpret_cast<const T*>(logits_in_.flat<T>().data()), reinterpret_cast<const acc_type*>( sum_probs.flat<acc_type>().data()), reinterpret_cast<const T*>(max_logits.flat<T>().data()), const_cast<T*>(softmax_out->flat<T>().data()), rows, cols, log_) status: INTERNAL: invalid configuration argument ### Standalone code to reproduce the issue ```shell import tensorflow as tf import numpy as np print(tf.__version__) x = tf.constant(1., shape=(1, 1)) y = tf.tile(x, (2**28, 9)) # Number of elements cannot fit in int32 value print(y.numpy()) z = tf.math.softmax(y) print(z.numpy()) ``` ### Relevant log output ```shell 2023-08-18 13:34:53.496914: I tensorflow/core/common_runtime/placer.cc:125] logits: (_Arg): /job:localhost/replica:0/task:0/device:GPU:0 Softmax: (Softmax): /job:localhost/replica:0/task:0/device:GPU:0 2023-08-18 13:34:53.496979: I tensorflow/core/common_runtime/placer.cc:125] Softmax: (Softmax): /job:localhost/replica:0/task:0/device:GPU:0 softmax_RetVal: (_Retval): /job:localhost/replica:0/task:0/device:GPU:0 2023-08-18 13:34:53.496988: I tensorflow/core/common_runtime/placer.cc:125] softmax_RetVal: (_Retval): /job:localhost/replica:0/task:0/device:GPU:0 2023-08-18 13:34:53.497454: I tensorflow/core/common_runtime/eager/execute.cc:1747] Executing op Softmax in device /job:localhost/replica:0/task:0/device:GPU:0 2023-08-18 13:34:53.507131: F tensorflow/core/kernels/softmax_op_gpu.cu.cc:255] Non-OK-status: GpuLaunchKernel( GenerateNormalizedProb<T, acc_type, kUnroll>, numBlocks, numThreadsPerBlock, 0, cu_stream, reinterpret_cast<const T*>(logits_in_.flat<T>().data()), reinterpret_cast<const acc_type*>( sum_probs.flat<acc_type>().data()), reinterpret_cast<const T*>(max_logits.flat<T>().data()), const_cast<T*>(softmax_out->flat<T>().data()), rows, cols, log_) status: INTERNAL: invalid configuration argument Aborted (core dumped) ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61639/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61639/timeline
null
null
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61638
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61638/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61638/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61638/events
https://github.com/tensorflow/tensorflow/pull/61638
1,856,657,281
PR_kwDOArmXAs5YPv5W
61,638
[ROCm] Fixed error: call to 'min' is ambiguous
{ "login": "i-chaochen", "id": 913790, "node_id": "MDQ6VXNlcjkxMzc5MA==", "avatar_url": "https://avatars.githubusercontent.com/u/913790?v=4", "gravatar_id": "", "url": "https://api.github.com/users/i-chaochen", "html_url": "https://github.com/i-chaochen", "followers_url": "https://api.github.com/users/i-chaochen/followers", "following_url": "https://api.github.com/users/i-chaochen/following{/other_user}", "gists_url": "https://api.github.com/users/i-chaochen/gists{/gist_id}", "starred_url": "https://api.github.com/users/i-chaochen/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/i-chaochen/subscriptions", "organizations_url": "https://api.github.com/users/i-chaochen/orgs", "repos_url": "https://api.github.com/users/i-chaochen/repos", "events_url": "https://api.github.com/users/i-chaochen/events{/privacy}", "received_events_url": "https://api.github.com/users/i-chaochen/received_events", "type": "User", "site_admin": false }
[ { "id": 390482148, "node_id": "MDU6TGFiZWwzOTA0ODIxNDg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/awaiting%20review", "name": "awaiting review", "color": "bc3869", "default": false, "description": "Pull request awaiting review" }, { "id": 987666414, "node_id": "MDU6TGFiZWw5ODc2NjY0MTQ=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/ready%20to%20pull", "name": "ready to pull", "color": "2cd643", "default": false, "description": "PR ready for merge process" }, { "id": 1097547538, "node_id": "MDU6TGFiZWwxMDk3NTQ3NTM4", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:gpu", "name": "comp:gpu", "color": "0052cc", "default": false, "description": "GPU related issues" }, { "id": 1169364259, "node_id": "MDU6TGFiZWwxMTY5MzY0MjU5", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:XS", "name": "size:XS", "color": "adafea", "default": false, "description": "CL Change Size: Extra Small" } ]
closed
false
{ "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false }
[ { "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false } ]
null
[ "@i-chaochen From https://github.com/tensorflow/tensorflow/pull/61397#discussion_r1276540276, a proper fix is to change the line as `min(static_cast<unsigned int>(blockDim.y), static_cast<unsigned int>(num_rows - blockIdx.y * blockDim.y));`. Can you test it?" ]
2023-08-18T12:39:36
2023-08-21T07:24:33
2023-08-21T07:24:33
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61638", "html_url": "https://github.com/tensorflow/tensorflow/pull/61638", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61638.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61638.patch", "merged_at": "2023-08-21T07:24:33" }
many build errors due to this ambiguous min() call. @akuegel Thanks in advance
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61638/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61638/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61637
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61637/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61637/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61637/events
https://github.com/tensorflow/tensorflow/pull/61637
1,856,601,024
PR_kwDOArmXAs5YPjj_
61,637
Register DEVICE_DEFAULT for Assign(Add/Sub)VariableOp
{ "login": "jswag180", "id": 16256045, "node_id": "MDQ6VXNlcjE2MjU2MDQ1", "avatar_url": "https://avatars.githubusercontent.com/u/16256045?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jswag180", "html_url": "https://github.com/jswag180", "followers_url": "https://api.github.com/users/jswag180/followers", "following_url": "https://api.github.com/users/jswag180/following{/other_user}", "gists_url": "https://api.github.com/users/jswag180/gists{/gist_id}", "starred_url": "https://api.github.com/users/jswag180/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jswag180/subscriptions", "organizations_url": "https://api.github.com/users/jswag180/orgs", "repos_url": "https://api.github.com/users/jswag180/repos", "events_url": "https://api.github.com/users/jswag180/events{/privacy}", "received_events_url": "https://api.github.com/users/jswag180/received_events", "type": "User", "site_admin": false }
[ { "id": 390482148, "node_id": "MDU6TGFiZWwzOTA0ODIxNDg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/awaiting%20review", "name": "awaiting review", "color": "bc3869", "default": false, "description": "Pull request awaiting review" }, { "id": 987666414, "node_id": "MDU6TGFiZWw5ODc2NjY0MTQ=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/ready%20to%20pull", "name": "ready to pull", "color": "2cd643", "default": false, "description": "PR ready for merge process" }, { "id": 1169364458, "node_id": "MDU6TGFiZWwxMTY5MzY0NDU4", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:S", "name": "size:S", "color": "adafea", "default": false, "description": "CL Change Size: Small" }, { "id": 1478826728, "node_id": "MDU6TGFiZWwxNDc4ODI2NzI4", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:core", "name": "comp:core", "color": "024391", "default": false, "description": "issues related to core part of tensorflow" } ]
closed
false
{ "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false }
[ { "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false } ]
null
[]
2023-08-18T11:58:21
2023-09-01T20:30:17
2023-08-28T16:27:27
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61637", "html_url": "https://github.com/tensorflow/tensorflow/pull/61637", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61637.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61637.patch", "merged_at": "2023-08-28T16:27:26" }
Ran into this when trying to run this example (https://www.tensorflow.org/agents/tutorials/6_reinforce_tutorial) with the example Pluggable Device.
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61637/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61637/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61636
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61636/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61636/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61636/events
https://github.com/tensorflow/tensorflow/pull/61636
1,856,598,560
PR_kwDOArmXAs5YPjBt
61,636
TFLite XNNPack Delegate: use kernel size of 5 for correspondingly named tests
{ "login": "christian-steinmeyer", "id": 7511021, "node_id": "MDQ6VXNlcjc1MTEwMjE=", "avatar_url": "https://avatars.githubusercontent.com/u/7511021?v=4", "gravatar_id": "", "url": "https://api.github.com/users/christian-steinmeyer", "html_url": "https://github.com/christian-steinmeyer", "followers_url": "https://api.github.com/users/christian-steinmeyer/followers", "following_url": "https://api.github.com/users/christian-steinmeyer/following{/other_user}", "gists_url": "https://api.github.com/users/christian-steinmeyer/gists{/gist_id}", "starred_url": "https://api.github.com/users/christian-steinmeyer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/christian-steinmeyer/subscriptions", "organizations_url": "https://api.github.com/users/christian-steinmeyer/orgs", "repos_url": "https://api.github.com/users/christian-steinmeyer/repos", "events_url": "https://api.github.com/users/christian-steinmeyer/events{/privacy}", "received_events_url": "https://api.github.com/users/christian-steinmeyer/received_events", "type": "User", "site_admin": false }
[ { "id": 390482148, "node_id": "MDU6TGFiZWwzOTA0ODIxNDg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/awaiting%20review", "name": "awaiting review", "color": "bc3869", "default": false, "description": "Pull request awaiting review" }, { "id": 750616506, "node_id": "MDU6TGFiZWw3NTA2MTY1MDY=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:lite", "name": "comp:lite", "color": "0052cc", "default": false, "description": "TF Lite related issues" }, { "id": 987666414, "node_id": "MDU6TGFiZWw5ODc2NjY0MTQ=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/ready%20to%20pull", "name": "ready to pull", "color": "2cd643", "default": false, "description": "PR ready for merge process" }, { "id": 1169364259, "node_id": "MDU6TGFiZWwxMTY5MzY0MjU5", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:XS", "name": "size:XS", "color": "adafea", "default": false, "description": "CL Change Size: Extra Small" } ]
closed
false
{ "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false }
[ { "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false } ]
null
[]
2023-08-18T11:56:29
2023-08-31T07:01:53
2023-08-31T07:01:53
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61636", "html_url": "https://github.com/tensorflow/tensorflow/pull/61636", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61636.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61636.patch", "merged_at": "2023-08-31T07:01:53" }
The [documentation](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/delegates/xnnpack/README.md#sparse-inference) explicitly states that 5x5 kernels are supported and the test heads suggest, that kernel sizes of 5 should be tested, but actually, kernel sizes of 3 are tested. This PR changes the kernel sizes tested to match the test heads. Disclaimer: I haven't run the tests yet, I only saw this on github and created this PR.
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61636/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61636/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61635
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61635/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61635/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61635/events
https://github.com/tensorflow/tensorflow/issues/61635
1,856,570,815
I_kwDOArmXAs5uqQW_
61,635
external/XNNPACK/src/qs8-igemm/gen/4x16c8-minmax-avx512skx.c:242:15: error: implicit declaration of function '_kshiftri_mask64' is invalid in C99
{ "login": "B-JackMao", "id": 57884144, "node_id": "MDQ6VXNlcjU3ODg0MTQ0", "avatar_url": "https://avatars.githubusercontent.com/u/57884144?v=4", "gravatar_id": "", "url": "https://api.github.com/users/B-JackMao", "html_url": "https://github.com/B-JackMao", "followers_url": "https://api.github.com/users/B-JackMao/followers", "following_url": "https://api.github.com/users/B-JackMao/following{/other_user}", "gists_url": "https://api.github.com/users/B-JackMao/gists{/gist_id}", "starred_url": "https://api.github.com/users/B-JackMao/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/B-JackMao/subscriptions", "organizations_url": "https://api.github.com/users/B-JackMao/orgs", "repos_url": "https://api.github.com/users/B-JackMao/repos", "events_url": "https://api.github.com/users/B-JackMao/events{/privacy}", "received_events_url": "https://api.github.com/users/B-JackMao/received_events", "type": "User", "site_admin": false }
[ { "id": 386191887, "node_id": "MDU6TGFiZWwzODYxOTE4ODc=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response", "name": "stat:awaiting response", "color": "f4b400", "default": false, "description": "Status - Awaiting response from author" }, { "id": 473173351, "node_id": "MDU6TGFiZWw0NzMxNzMzNTE=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:build/install", "name": "type:build/install", "color": "159b2e", "default": false, "description": "Build and install issues" }, { "id": 474725938, "node_id": "MDU6TGFiZWw0NzQ3MjU5Mzg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stale", "name": "stale", "color": "d4c5f9", "default": false, "description": "This label marks the issue/pr stale - to be closed automatically if no activity" }, { "id": 750616506, "node_id": "MDU6TGFiZWw3NTA2MTY1MDY=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:lite", "name": "comp:lite", "color": "0052cc", "default": false, "description": "TF Lite related issues" }, { "id": 2477739347, "node_id": "MDU6TGFiZWwyNDc3NzM5MzQ3", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.4", "name": "TF 2.4", "color": "5319e7", "default": false, "description": "for issues related to TF 2.4" } ]
closed
false
{ "login": "pjpratik", "id": 118897289, "node_id": "U_kgDOBxY6iQ", "avatar_url": "https://avatars.githubusercontent.com/u/118897289?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pjpratik", "html_url": "https://github.com/pjpratik", "followers_url": "https://api.github.com/users/pjpratik/followers", "following_url": "https://api.github.com/users/pjpratik/following{/other_user}", "gists_url": "https://api.github.com/users/pjpratik/gists{/gist_id}", "starred_url": "https://api.github.com/users/pjpratik/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pjpratik/subscriptions", "organizations_url": "https://api.github.com/users/pjpratik/orgs", "repos_url": "https://api.github.com/users/pjpratik/repos", "events_url": "https://api.github.com/users/pjpratik/events{/privacy}", "received_events_url": "https://api.github.com/users/pjpratik/received_events", "type": "User", "site_admin": false }
[ { "login": "pjpratik", "id": 118897289, "node_id": "U_kgDOBxY6iQ", "avatar_url": "https://avatars.githubusercontent.com/u/118897289?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pjpratik", "html_url": "https://github.com/pjpratik", "followers_url": "https://api.github.com/users/pjpratik/followers", "following_url": "https://api.github.com/users/pjpratik/following{/other_user}", "gists_url": "https://api.github.com/users/pjpratik/gists{/gist_id}", "starred_url": "https://api.github.com/users/pjpratik/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pjpratik/subscriptions", "organizations_url": "https://api.github.com/users/pjpratik/orgs", "repos_url": "https://api.github.com/users/pjpratik/repos", "events_url": "https://api.github.com/users/pjpratik/events{/privacy}", "received_events_url": "https://api.github.com/users/pjpratik/received_events", "type": "User", "site_admin": false } ]
null
[ "Hi @B-JackMao \r\n\r\nThe TF 2.4.0 is not being supported currently. Can you please check with latest stable version TF 2.13. with following configurations?\r\n\r\n```\r\nbuild --action_env ANDROID_NDK_HOME=\"/usr/local/android/android-ndk-r21e\"\r\nbuild --action_env ANDROID_NDK_API_LEVEL=\"26\"\r\nbuild --action_env ANDROID_BUILD_TOOLS_VERSION=\"30.0.3\"\r\nbuild --action_env ANDROID_SDK_API_LEVEL=\"30\"\r\nbuild --action_env ANDROID_SDK_HOME=\"/usr/local/android/android-sdk-linux\"\r\n```\r\n\r\nand run\r\n\r\n```\r\nbazel build -c opt --fat_apk_cpu=x86,x86_64,arm64-v8a,armeabi-v7a \\\r\n --host_crosstool_top=@bazel_tools//tools/cpp:toolchain \\\r\n --define=android_dexmerger_tool=d8_dexmerger \\\r\n --define=android_incremental_dexing_tool=d8_dexbuilder \\\r\n //tensorflow/lite/java:tensorflow-lite\r\n```\r\n\r\nThanks.\r\n\r\n", "OK,thanks.", "Hi @B-JackMao \r\n\r\nCan you please close this issue as it is being tracked in #61655?\r\n\r\nThanks.", "This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.", "This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61635\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61635\">No</a>\n" ]
2023-08-18T11:35:09
2023-09-09T01:57:03
2023-09-09T01:56:59
NONE
null
null
null
I run commands "bazel build -c opt --fat_apk_cpu=x86,x86_64,arm64-v8a,armeabi-v7a --host_crosstool_top=@bazel_tools//tools/cpp:toolchain //tensorflow/lite/java:tensorflow-lite" use tensorflow 2.4.0 bazel 3.1.0 ,NDK 27 ,SDK 29 ,But what should I do to resolve the following errors!!! ERROR: /home/ferey/.cache/bazel/_bazel_ferey/97c7558b0863433a4def08aa5708cd20/external/XNNPACK/BUILD.bazel:3516:1: C++ compilation of rule '@XNNPACK//:avx512skx_ukernels' failed (Exit 1) external/XNNPACK/src/qs8-igemm/gen/4x16c8-minmax-avx512skx.c:242:15: error: implicit declaration of function '_kshiftri_mask64' is invalid in C99 [-Werror,-Wimplicit-function-declaration] vmask = _kshiftri_mask64(vmask, 16); ^ 1 error generated. Target //tensorflow/lite/java:tensorflow-lite failed to build Use --verbose_failures to see the command lines of failed build steps. INFO: Elapsed time: 229.018s, Critical Path: 17.13s INFO: 1788 processes: 1788 local. FAILED: Build did NOT complete successfully
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61635/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61635/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61634
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61634/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61634/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61634/events
https://github.com/tensorflow/tensorflow/pull/61634
1,856,296,135
PR_kwDOArmXAs5YOgYf
61,634
fix: rename _SLICE_ERORR
{ "login": "0o001", "id": 4294069, "node_id": "MDQ6VXNlcjQyOTQwNjk=", "avatar_url": "https://avatars.githubusercontent.com/u/4294069?v=4", "gravatar_id": "", "url": "https://api.github.com/users/0o001", "html_url": "https://github.com/0o001", "followers_url": "https://api.github.com/users/0o001/followers", "following_url": "https://api.github.com/users/0o001/following{/other_user}", "gists_url": "https://api.github.com/users/0o001/gists{/gist_id}", "starred_url": "https://api.github.com/users/0o001/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/0o001/subscriptions", "organizations_url": "https://api.github.com/users/0o001/orgs", "repos_url": "https://api.github.com/users/0o001/repos", "events_url": "https://api.github.com/users/0o001/events{/privacy}", "received_events_url": "https://api.github.com/users/0o001/received_events", "type": "User", "site_admin": false }
[ { "id": 987666414, "node_id": "MDU6TGFiZWw5ODc2NjY0MTQ=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/ready%20to%20pull", "name": "ready to pull", "color": "2cd643", "default": false, "description": "PR ready for merge process" }, { "id": 1169364259, "node_id": "MDU6TGFiZWwxMTY5MzY0MjU5", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:XS", "name": "size:XS", "color": "adafea", "default": false, "description": "CL Change Size: Extra Small" }, { "id": 1478826728, "node_id": "MDU6TGFiZWwxNDc4ODI2NzI4", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:core", "name": "comp:core", "color": "024391", "default": false, "description": "issues related to core part of tensorflow" } ]
closed
false
{ "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false }
[ { "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false } ]
null
[]
2023-08-18T08:30:32
2023-09-13T17:47:42
2023-09-13T17:47:41
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61634", "html_url": "https://github.com/tensorflow/tensorflow/pull/61634", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61634.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61634.patch", "merged_at": "2023-09-13T17:47:41" }
null
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61634/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61634/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61633
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61633/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61633/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61633/events
https://github.com/tensorflow/tensorflow/issues/61633
1,856,215,089
I_kwDOArmXAs5uo5gx
61,633
libtensorflowlite_jni.so (offset 0x2f3000):signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0xa59fdbc0
{ "login": "monsterzlz", "id": 142573552, "node_id": "U_kgDOCH9_8A", "avatar_url": "https://avatars.githubusercontent.com/u/142573552?v=4", "gravatar_id": "", "url": "https://api.github.com/users/monsterzlz", "html_url": "https://github.com/monsterzlz", "followers_url": "https://api.github.com/users/monsterzlz/followers", "following_url": "https://api.github.com/users/monsterzlz/following{/other_user}", "gists_url": "https://api.github.com/users/monsterzlz/gists{/gist_id}", "starred_url": "https://api.github.com/users/monsterzlz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/monsterzlz/subscriptions", "organizations_url": "https://api.github.com/users/monsterzlz/orgs", "repos_url": "https://api.github.com/users/monsterzlz/repos", "events_url": "https://api.github.com/users/monsterzlz/events{/privacy}", "received_events_url": "https://api.github.com/users/monsterzlz/received_events", "type": "User", "site_admin": false }
[ { "id": 386191887, "node_id": "MDU6TGFiZWwzODYxOTE4ODc=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response", "name": "stat:awaiting response", "color": "f4b400", "default": false, "description": "Status - Awaiting response from author" }, { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 474725938, "node_id": "MDU6TGFiZWw0NzQ3MjU5Mzg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stale", "name": "stale", "color": "d4c5f9", "default": false, "description": "This label marks the issue/pr stale - to be closed automatically if no activity" }, { "id": 750616506, "node_id": "MDU6TGFiZWw3NTA2MTY1MDY=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:lite", "name": "comp:lite", "color": "0052cc", "default": false, "description": "TF Lite related issues" }, { "id": 1946362326, "node_id": "MDU6TGFiZWwxOTQ2MzYyMzI2", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.3", "name": "TF 2.3", "color": "1d76db", "default": false, "description": "Issues related to TF 2.3" } ]
closed
false
{ "login": "sushreebarsa", "id": 84765720, "node_id": "MDQ6VXNlcjg0NzY1NzIw", "avatar_url": "https://avatars.githubusercontent.com/u/84765720?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sushreebarsa", "html_url": "https://github.com/sushreebarsa", "followers_url": "https://api.github.com/users/sushreebarsa/followers", "following_url": "https://api.github.com/users/sushreebarsa/following{/other_user}", "gists_url": "https://api.github.com/users/sushreebarsa/gists{/gist_id}", "starred_url": "https://api.github.com/users/sushreebarsa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sushreebarsa/subscriptions", "organizations_url": "https://api.github.com/users/sushreebarsa/orgs", "repos_url": "https://api.github.com/users/sushreebarsa/repos", "events_url": "https://api.github.com/users/sushreebarsa/events{/privacy}", "received_events_url": "https://api.github.com/users/sushreebarsa/received_events", "type": "User", "site_admin": false }
[ { "login": "sushreebarsa", "id": 84765720, "node_id": "MDQ6VXNlcjg0NzY1NzIw", "avatar_url": "https://avatars.githubusercontent.com/u/84765720?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sushreebarsa", "html_url": "https://github.com/sushreebarsa", "followers_url": "https://api.github.com/users/sushreebarsa/followers", "following_url": "https://api.github.com/users/sushreebarsa/following{/other_user}", "gists_url": "https://api.github.com/users/sushreebarsa/gists{/gist_id}", "starred_url": "https://api.github.com/users/sushreebarsa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sushreebarsa/subscriptions", "organizations_url": "https://api.github.com/users/sushreebarsa/orgs", "repos_url": "https://api.github.com/users/sushreebarsa/repos", "events_url": "https://api.github.com/users/sushreebarsa/events{/privacy}", "received_events_url": "https://api.github.com/users/sushreebarsa/received_events", "type": "User", "site_admin": false } ]
null
[ "[tombstone_00.zip](https://github.com/tensorflow/tensorflow/files/12376746/tombstone_00.zip)\r\n", "@monsterzlz Could you please try to upgrade to the latest TF version as the older versions are not actively supported. \r\nKeeping extra lines in label.txt would be an issue for crashing. Please confirm the steps to reproduce the issue here. \r\nThank you!", "This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.", "This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61633\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61633\">No</a>\n" ]
2023-08-18T07:31:16
2023-09-04T01:47:24
2023-09-04T01:47:21
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source source ### TensorFlow version org.tensorflow:tensorflow-lite:0.0.0-nightly org.tensorflow:tensorflow-lite-gpu:2.3.0 org.tensorflow:tensorflow-lite-support:0.1.0 ### Custom code Yes ### OS platform and distribution Andorid 13 ### Mobile device _No response_ ### Python version _No response_ ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? Our process com.vt.tv.aipq use tensorflow-lite cause process crash: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Build fingerprint: 'Hisense/songshan-FFM/songshan:11/RTT2.220118.001/00.00.00.40:user/release-keys' Revision: '1234' ABI: 'arm' Timestamp: 2023-05-06 14:36:47+0800 pid: 14794, tid: 28796, name: TFService-T >>> com.vt.tv.aipq <<< uid: 1000 signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0xa59fdbc0 r0 00000004 r1 00000020 r2 00000300 r3 a59fdbc0 r4 31a05640 r5 000002f0 r6 31a05740 r7 a59fe4c0 r8 31a056c0 r9 a5674220 r10 a59fe1c0 r11 31a055c0 ip a59fdec0 sp 84db73e8 lr 832ded97 pc 832f08ac backtrace: #00 pc 000258ac /system_ext/app/HiAIPQ/HiAIPQ.apk!libtensorflowlite_jni.so (offset 0x2f3000) ### Standalone code to reproduce the issue ```shell The Google server background statistics process crash information, unable to clarify the steps to reproduce the problem. ``` ### Relevant log output _No response_
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61633/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61633/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61632
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61632/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61632/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61632/events
https://github.com/tensorflow/tensorflow/pull/61632
1,856,094,194
PR_kwDOArmXAs5YN0pr
61,632
Allow merging compute-copy streams
{ "login": "buptzyb", "id": 38978109, "node_id": "MDQ6VXNlcjM4OTc4MTA5", "avatar_url": "https://avatars.githubusercontent.com/u/38978109?v=4", "gravatar_id": "", "url": "https://api.github.com/users/buptzyb", "html_url": "https://github.com/buptzyb", "followers_url": "https://api.github.com/users/buptzyb/followers", "following_url": "https://api.github.com/users/buptzyb/following{/other_user}", "gists_url": "https://api.github.com/users/buptzyb/gists{/gist_id}", "starred_url": "https://api.github.com/users/buptzyb/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/buptzyb/subscriptions", "organizations_url": "https://api.github.com/users/buptzyb/orgs", "repos_url": "https://api.github.com/users/buptzyb/repos", "events_url": "https://api.github.com/users/buptzyb/events{/privacy}", "received_events_url": "https://api.github.com/users/buptzyb/received_events", "type": "User", "site_admin": false }
[ { "id": 987666414, "node_id": "MDU6TGFiZWw5ODc2NjY0MTQ=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/ready%20to%20pull", "name": "ready to pull", "color": "2cd643", "default": false, "description": "PR ready for merge process" }, { "id": 1169365494, "node_id": "MDU6TGFiZWwxMTY5MzY1NDk0", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:M", "name": "size:M", "color": "adafea", "default": false, "description": "CL Change Size: Medium" }, { "id": 1478826728, "node_id": "MDU6TGFiZWwxNDc4ODI2NzI4", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:core", "name": "comp:core", "color": "024391", "default": false, "description": "issues related to core part of tensorflow" } ]
closed
false
{ "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false }
[ { "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false } ]
null
[ "Thanks for the review, Changhui! Improved the coding style according to your advice.", "Hi @changhuilin Can you please review this PR ? Thank you!", "Hi @changhuilin , what's our next step on this PR? Thank you!", "Hi @changhuilin Can you please review this PR ? Thank you!", "Hi @changhuilin Can you please review this PR ? Thank you!", "Hi @buptzyb Can you please resolve conflicts? Thank you!", "This PR is stale because it has been open for 14 days with no activity. It will be closed if no further activity occurs. Thank you.", "This change looks good to me.\r\n- Can you try to merge this to the head? - sorry that it takes long to get this done \r\n- Can you also expand the PR description a bit, e.g., add some experiment number to show how much improvement you observed?", " @changhuilin Thank you for taking care of this PR! Updated the description and merged to the head.", "@changhuilin So, what's our next move on this?", "@gbaned Can you help to merge? I noticed there are some check failures, and some status waiting. Which ones are real and should be addressed? Thanks!", "> @gbaned Can you help to merge? I noticed there are some check failures, and some status waiting. Which ones are real and should be addressed? Thanks!\r\n\r\nHi @changhuilin Sure thing, please click on the import/copybara details link, you can see the corresponding CL. It require runtime-team approval and presubmit checks are failing. Please take a look on it. Thank you!", "> Hi @changhuilin Sure thing, please click on the import/copybara details link, you can see the corresponding CL. It require runtime-team approval and presubmit checks are failing. Please take a look on it. Thank you!\r\n\r\nThanks, @gbaned. I got the CL - will fix the presubmit failures. I can approve on behalf of runtime-team." ]
2023-08-18T05:47:25
2024-05-02T21:55:55
2024-05-02T21:55:52
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61632", "html_url": "https://github.com/tensorflow/tensorflow/pull/61632", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61632.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61632.patch", "merged_at": "2024-05-02T21:55:54" }
This PR works as a part of the whole Multi-Stream feature in TF, which is proposed in #61185. Allow merging the host_to_device/device_to_host/device_to_device data copy streams into the compute stream in one stream group. This is useful to reduce the overhead caused by GPU stream synchronization, especially when data transfers are frequent. Another benefit is, for host_to_device copy, merging streams allows early scheduling of subsequent ops, doesn't have to wait until the data copy is really finished. As a part of the multi-stream feature, it can help multi-stream reach a much higher throughput. Taking our proto models as an example, the original model inference throughput is **1524** samples/second, and **2229** samples/ second with multi-stream, and **2471** samples/second further with stream-merging. However, stream-merging can also be used separately. We got inference throughput gain from **1028** samples/second to **1187** samples/second by enabling stream-merging. Please refer to the 'Performance' part in our [document](https://docs.google.com/document/d/1yL3lWk_iFKqLTyekkuaiKXZ78I0lPmD5kM1fghHRs4Y/edit?usp=sharing) for detailed and more experiment results.
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61632/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61632/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61631
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61631/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61631/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61631/events
https://github.com/tensorflow/tensorflow/issues/61631
1,855,888,053
I_kwDOArmXAs5unpq1
61,631
Overflow when running tf.compat.v1.manip.tile
{ "login": "dmc1778", "id": 17060581, "node_id": "MDQ6VXNlcjE3MDYwNTgx", "avatar_url": "https://avatars.githubusercontent.com/u/17060581?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmc1778", "html_url": "https://github.com/dmc1778", "followers_url": "https://api.github.com/users/dmc1778/followers", "following_url": "https://api.github.com/users/dmc1778/following{/other_user}", "gists_url": "https://api.github.com/users/dmc1778/gists{/gist_id}", "starred_url": "https://api.github.com/users/dmc1778/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmc1778/subscriptions", "organizations_url": "https://api.github.com/users/dmc1778/orgs", "repos_url": "https://api.github.com/users/dmc1778/repos", "events_url": "https://api.github.com/users/dmc1778/events{/privacy}", "received_events_url": "https://api.github.com/users/dmc1778/received_events", "type": "User", "site_admin": false }
[ { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" } ]
closed
false
{ "login": "Varsha-anjanappa", "id": 137163810, "node_id": "U_kgDOCCz0Ig", "avatar_url": "https://avatars.githubusercontent.com/u/137163810?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Varsha-anjanappa", "html_url": "https://github.com/Varsha-anjanappa", "followers_url": "https://api.github.com/users/Varsha-anjanappa/followers", "following_url": "https://api.github.com/users/Varsha-anjanappa/following{/other_user}", "gists_url": "https://api.github.com/users/Varsha-anjanappa/gists{/gist_id}", "starred_url": "https://api.github.com/users/Varsha-anjanappa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Varsha-anjanappa/subscriptions", "organizations_url": "https://api.github.com/users/Varsha-anjanappa/orgs", "repos_url": "https://api.github.com/users/Varsha-anjanappa/repos", "events_url": "https://api.github.com/users/Varsha-anjanappa/events{/privacy}", "received_events_url": "https://api.github.com/users/Varsha-anjanappa/received_events", "type": "User", "site_admin": false }
[ { "login": "Varsha-anjanappa", "id": 137163810, "node_id": "U_kgDOCCz0Ig", "avatar_url": "https://avatars.githubusercontent.com/u/137163810?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Varsha-anjanappa", "html_url": "https://github.com/Varsha-anjanappa", "followers_url": "https://api.github.com/users/Varsha-anjanappa/followers", "following_url": "https://api.github.com/users/Varsha-anjanappa/following{/other_user}", "gists_url": "https://api.github.com/users/Varsha-anjanappa/gists{/gist_id}", "starred_url": "https://api.github.com/users/Varsha-anjanappa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Varsha-anjanappa/subscriptions", "organizations_url": "https://api.github.com/users/Varsha-anjanappa/orgs", "repos_url": "https://api.github.com/users/Varsha-anjanappa/repos", "events_url": "https://api.github.com/users/Varsha-anjanappa/events{/privacy}", "received_events_url": "https://api.github.com/users/Varsha-anjanappa/received_events", "type": "User", "site_admin": false } ]
null
[ "Not an issue, that's an error that is being returned to the user instead of performing bad computations.\r\n\r\nPlease consult again the SECURITY.md guide, please don't spam with low quality issues.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61631\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61631\">No</a>\n" ]
2023-08-18T00:56:31
2023-08-20T17:03:31
2023-08-20T17:03:28
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source binary ### TensorFlow version 2.13.0 ### Custom code Yes ### OS platform and distribution _No response_ ### Mobile device _No response_ ### Python version _No response_ ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? Due to large element in the input list ### Standalone code to reproduce the issue ```shell import tensorflow as tf import os import numpy as np try: input_tensor = tf.random.uniform([1, 355, 768], dtype=tf.float32) input = tf.identity(input_tensor) multiples_0 = 125091515651 multiples_1 = True multiples_2 = 125091515651 multiples = [multiples_0,multiples_1,multiples_2,] name = None out = tf.compat.v1.manip.tile(input=input,multiples=multiples,name=name,) except Exception as e: print("Error:"+str(e)) ``` ``` ### Relevant log output ```shell Error:{{function_node __wrapped__Tile_device_/job:localhost/replica:0/task:0/device:GPU:0}} Encountered overflow when multiplying 44407488056105 with 96070284019968, result: -1 [[{{node Tile}}]] [Op:Tile] ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61631/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61631/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61630
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61630/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61630/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61630/events
https://github.com/tensorflow/tensorflow/issues/61630
1,855,886,740
I_kwDOArmXAs5unpWU
61,630
Overflow bug when running tf.image.resize
{ "login": "dmc1778", "id": 17060581, "node_id": "MDQ6VXNlcjE3MDYwNTgx", "avatar_url": "https://avatars.githubusercontent.com/u/17060581?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmc1778", "html_url": "https://github.com/dmc1778", "followers_url": "https://api.github.com/users/dmc1778/followers", "following_url": "https://api.github.com/users/dmc1778/following{/other_user}", "gists_url": "https://api.github.com/users/dmc1778/gists{/gist_id}", "starred_url": "https://api.github.com/users/dmc1778/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmc1778/subscriptions", "organizations_url": "https://api.github.com/users/dmc1778/orgs", "repos_url": "https://api.github.com/users/dmc1778/repos", "events_url": "https://api.github.com/users/dmc1778/events{/privacy}", "received_events_url": "https://api.github.com/users/dmc1778/received_events", "type": "User", "site_admin": false }
[ { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 1097547147, "node_id": "MDU6TGFiZWwxMDk3NTQ3MTQ3", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:ops", "name": "comp:ops", "color": "0052cc", "default": false, "description": "OPs related issues" }, { "id": 5508003926, "node_id": "LA_kwDOArmXAs8AAAABSE14Vg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13", "name": "TF 2.13", "color": "B13ACB", "default": false, "description": "For issues related to Tensorflow 2.13" } ]
closed
false
{ "login": "tilakrayal", "id": 81610181, "node_id": "MDQ6VXNlcjgxNjEwMTgx", "avatar_url": "https://avatars.githubusercontent.com/u/81610181?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tilakrayal", "html_url": "https://github.com/tilakrayal", "followers_url": "https://api.github.com/users/tilakrayal/followers", "following_url": "https://api.github.com/users/tilakrayal/following{/other_user}", "gists_url": "https://api.github.com/users/tilakrayal/gists{/gist_id}", "starred_url": "https://api.github.com/users/tilakrayal/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tilakrayal/subscriptions", "organizations_url": "https://api.github.com/users/tilakrayal/orgs", "repos_url": "https://api.github.com/users/tilakrayal/repos", "events_url": "https://api.github.com/users/tilakrayal/events{/privacy}", "received_events_url": "https://api.github.com/users/tilakrayal/received_events", "type": "User", "site_admin": false }
[ { "login": "tilakrayal", "id": 81610181, "node_id": "MDQ6VXNlcjgxNjEwMTgx", "avatar_url": "https://avatars.githubusercontent.com/u/81610181?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tilakrayal", "html_url": "https://github.com/tilakrayal", "followers_url": "https://api.github.com/users/tilakrayal/followers", "following_url": "https://api.github.com/users/tilakrayal/following{/other_user}", "gists_url": "https://api.github.com/users/tilakrayal/gists{/gist_id}", "starred_url": "https://api.github.com/users/tilakrayal/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tilakrayal/subscriptions", "organizations_url": "https://api.github.com/users/tilakrayal/orgs", "repos_url": "https://api.github.com/users/tilakrayal/repos", "events_url": "https://api.github.com/users/tilakrayal/events{/privacy}", "received_events_url": "https://api.github.com/users/tilakrayal/received_events", "type": "User", "site_admin": false } ]
null
[ "Not an issue, that's an error that is being returned to the user instead of performing bad computations.\r\n\r\nPlease consult again the SECURITY.md guide, please don't spam with low quality issues.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61630\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61630\">No</a>\n" ]
2023-08-18T00:54:16
2023-08-20T17:03:46
2023-08-20T17:03:44
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source binary ### TensorFlow version 2.13.0 ### Custom code Yes ### OS platform and distribution _No response_ ### Mobile device _No response_ ### Python version _No response_ ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? Due to large elements in the input list ### Standalone code to reproduce the issue ```shell import tensorflow as tf import os import numpy as np try: arg_0_tensor = tf.constant(-1000000, shape=[577, 700, 3, 1], dtype=tf.float64,) arg_0 = tf.identity(arg_0_tensor) arg_1_0 = 1610637938 arg_1_1 = 1250999896764 arg_1 = [arg_1_0,arg_1_1,] out = tf.image.resize(arg_0,arg_1,) except Exception as e: print("Error:"+str(e)) ``` ``` ### Relevant log output ```shell Error:{{function_node __wrapped__ResizeBilinear_device_/job:localhost/replica:0/task:0/device:GPU:0}} Encountered overflow when multiplying 929338090226 with 1164413628, result: -1 [Op:ResizeBilinear] name: ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61630/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61630/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61629
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61629/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61629/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61629/events
https://github.com/tensorflow/tensorflow/issues/61629
1,855,885,856
I_kwDOArmXAs5unpIg
61,629
Overflow bug when running tf.compat.v1.image.resize
{ "login": "dmc1778", "id": 17060581, "node_id": "MDQ6VXNlcjE3MDYwNTgx", "avatar_url": "https://avatars.githubusercontent.com/u/17060581?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmc1778", "html_url": "https://github.com/dmc1778", "followers_url": "https://api.github.com/users/dmc1778/followers", "following_url": "https://api.github.com/users/dmc1778/following{/other_user}", "gists_url": "https://api.github.com/users/dmc1778/gists{/gist_id}", "starred_url": "https://api.github.com/users/dmc1778/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmc1778/subscriptions", "organizations_url": "https://api.github.com/users/dmc1778/orgs", "repos_url": "https://api.github.com/users/dmc1778/repos", "events_url": "https://api.github.com/users/dmc1778/events{/privacy}", "received_events_url": "https://api.github.com/users/dmc1778/received_events", "type": "User", "site_admin": false }
[ { "id": 404586594, "node_id": "MDU6TGFiZWw0MDQ1ODY1OTQ=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20tensorflower", "name": "stat:awaiting tensorflower", "color": "f4b400", "default": false, "description": "Status - Awaiting response from tensorflower" }, { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 1097547147, "node_id": "MDU6TGFiZWwxMDk3NTQ3MTQ3", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:ops", "name": "comp:ops", "color": "0052cc", "default": false, "description": "OPs related issues" }, { "id": 5508003926, "node_id": "LA_kwDOArmXAs8AAAABSE14Vg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13", "name": "TF 2.13", "color": "B13ACB", "default": false, "description": "For issues related to Tensorflow 2.13" } ]
closed
false
{ "login": "SuryanarayanaY", "id": 116063290, "node_id": "U_kgDOBur8Og", "avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SuryanarayanaY", "html_url": "https://github.com/SuryanarayanaY", "followers_url": "https://api.github.com/users/SuryanarayanaY/followers", "following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}", "gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}", "starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions", "organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs", "repos_url": "https://api.github.com/users/SuryanarayanaY/repos", "events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}", "received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events", "type": "User", "site_admin": false }
[ { "login": "SuryanarayanaY", "id": 116063290, "node_id": "U_kgDOBur8Og", "avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SuryanarayanaY", "html_url": "https://github.com/SuryanarayanaY", "followers_url": "https://api.github.com/users/SuryanarayanaY/followers", "following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}", "gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}", "starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions", "organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs", "repos_url": "https://api.github.com/users/SuryanarayanaY/repos", "events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}", "received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events", "type": "User", "site_admin": false } ]
null
[ "Hi @dmc1778 ,\r\n\r\nThe reported behaviour is replicated with Tf2.13v and tf-nightly and attached gists [2.13v](https://colab.sandbox.google.com/gist/SuryanarayanaY/87da64a1869cd267c221aa9a96a8dfcd/61629.ipynb) and [nightly](https://colab.sandbox.google.com/gist/SuryanarayanaY/b4fc16234d3d76d66b7bf15da6a7da1b/61629-nightly.ipynb) for reference.\r\n\r\nWe need to have a look into the issue whether this is intended as the error seems generated from TF C++ code itself. \r\n\r\nThanks!", "> Hi @dmc1778 ,\r\n> \r\n> The reported behaviour is replicated with Tf2.13v and tf-nightly and attached gists [2.13v](https://colab.sandbox.google.com/gist/SuryanarayanaY/87da64a1869cd267c221aa9a96a8dfcd/61629.ipynb) and [nightly](https://colab.sandbox.google.com/gist/SuryanarayanaY/b4fc16234d3d76d66b7bf15da6a7da1b/61629-nightly.ipynb) for reference.\r\n> \r\n> We need to have a look into the issue whether this is intended as the error seems generated from TF C++ code itself.\r\n> \r\n> Thanks!\r\n\r\nI think the bug is arising from the Python backend because C++ throws OP_REQUIRES failed with integer overflow. On both sides, overflow occurs. ", "This is working as intended. Those sizes are too big.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61629\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61629\">No</a>\n" ]
2023-08-18T00:52:39
2023-08-21T15:04:25
2023-08-21T15:04:22
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source binary ### TensorFlow version 2.13.0 ### Custom code Yes ### OS platform and distribution _No response_ ### Mobile device _No response_ ### Python version _No response_ ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? Due to large elements in input list ### Standalone code to reproduce the issue ```shell import tensorflow as tf import os import numpy as np try: images_tensor = tf.constant(-15621075306911, shape=[218, 178, 3, 1], dtype=tf.int64,) images = tf.identity(images_tensor) size_0 = 8968073515812833920 size_1 = 536870912 size = [size_0,size_1,] method = "nearest" align_corners = False preserve_aspect_ratio = False name = None out = tf.compat.v1.image.resize(images=images,size=size,method=method,align_corners=align_corners,preserve_aspect_ratio=preserve_aspect_ratio,name=name,) except Exception as e: print("Error:"+str(e)) ``` ``` ### Relevant log output ```shell Error:{{function_node __wrapped__ResizeNearestNeighbor_device_/job:localhost/replica:0/task:0/device:CPU:0}} Encountered overflow when multiplying 20527214848 with 536870912, result: -7426279517443850240 [Op:ResizeNearestNeighbor] name: ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61629/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61629/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61628
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61628/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61628/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61628/events
https://github.com/tensorflow/tensorflow/issues/61628
1,855,879,816
I_kwDOArmXAs5unnqI
61,628
Overflow when running tf.compat.v1.linalg.diag
{ "login": "dmc1778", "id": 17060581, "node_id": "MDQ6VXNlcjE3MDYwNTgx", "avatar_url": "https://avatars.githubusercontent.com/u/17060581?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmc1778", "html_url": "https://github.com/dmc1778", "followers_url": "https://api.github.com/users/dmc1778/followers", "following_url": "https://api.github.com/users/dmc1778/following{/other_user}", "gists_url": "https://api.github.com/users/dmc1778/gists{/gist_id}", "starred_url": "https://api.github.com/users/dmc1778/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmc1778/subscriptions", "organizations_url": "https://api.github.com/users/dmc1778/orgs", "repos_url": "https://api.github.com/users/dmc1778/repos", "events_url": "https://api.github.com/users/dmc1778/events{/privacy}", "received_events_url": "https://api.github.com/users/dmc1778/received_events", "type": "User", "site_admin": false }
[ { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" } ]
closed
false
{ "login": "sushreebarsa", "id": 84765720, "node_id": "MDQ6VXNlcjg0NzY1NzIw", "avatar_url": "https://avatars.githubusercontent.com/u/84765720?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sushreebarsa", "html_url": "https://github.com/sushreebarsa", "followers_url": "https://api.github.com/users/sushreebarsa/followers", "following_url": "https://api.github.com/users/sushreebarsa/following{/other_user}", "gists_url": "https://api.github.com/users/sushreebarsa/gists{/gist_id}", "starred_url": "https://api.github.com/users/sushreebarsa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sushreebarsa/subscriptions", "organizations_url": "https://api.github.com/users/sushreebarsa/orgs", "repos_url": "https://api.github.com/users/sushreebarsa/repos", "events_url": "https://api.github.com/users/sushreebarsa/events{/privacy}", "received_events_url": "https://api.github.com/users/sushreebarsa/received_events", "type": "User", "site_admin": false }
[ { "login": "sushreebarsa", "id": 84765720, "node_id": "MDQ6VXNlcjg0NzY1NzIw", "avatar_url": "https://avatars.githubusercontent.com/u/84765720?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sushreebarsa", "html_url": "https://github.com/sushreebarsa", "followers_url": "https://api.github.com/users/sushreebarsa/followers", "following_url": "https://api.github.com/users/sushreebarsa/following{/other_user}", "gists_url": "https://api.github.com/users/sushreebarsa/gists{/gist_id}", "starred_url": "https://api.github.com/users/sushreebarsa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sushreebarsa/subscriptions", "organizations_url": "https://api.github.com/users/sushreebarsa/orgs", "repos_url": "https://api.github.com/users/sushreebarsa/repos", "events_url": "https://api.github.com/users/sushreebarsa/events{/privacy}", "received_events_url": "https://api.github.com/users/sushreebarsa/received_events", "type": "User", "site_admin": false } ]
null
[ "Not an issue, that's an error that is being returned to the user instead of performing bad computations.\r\n\r\nPlease consult again the SECURITY.md guide, please don't spam with low quality issues.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61628\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61628\">No</a>\n" ]
2023-08-18T00:42:33
2023-08-20T17:03:53
2023-08-20T17:03:50
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source binary ### TensorFlow version 2.13.0 ### Custom code Yes ### OS platform and distribution _No response_ ### Mobile device _No response_ ### Python version _No response_ ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? Due to large elements in the input list ### Standalone code to reproduce the issue ```shell import tensorflow as tf import os import numpy as np try: diagonal_0_0_0_0 = 1111 diagonal_0_0_0_1 = 1112 diagonal_0_0_0 = [diagonal_0_0_0_0,diagonal_0_0_0_1,] diagonal_0_0_1_0 = 1121 diagonal_0_0_1_1 = 1122 diagonal_0_0_1 = [diagonal_0_0_1_0,diagonal_0_0_1_1,] diagonal_0_0 = [diagonal_0_0_0,diagonal_0_0_1,] diagonal_0_1_0_0 = 1211 diagonal_0_1_0_1 = 1212 diagonal_0_1_0 = [diagonal_0_1_0_0,diagonal_0_1_0_1,] diagonal_0_1_1_0 = 1221 diagonal_0_1_1_1 = 1222 diagonal_0_1_1 = [diagonal_0_1_1_0,diagonal_0_1_1_1,] diagonal_0_1 = [diagonal_0_1_0,diagonal_0_1_1,] diagonal_0 = [diagonal_0_0,diagonal_0_1,] diagonal_1_0_0_0 = 2111 diagonal_1_0_0_1 = 2112 diagonal_1_0_0 = [diagonal_1_0_0_0,diagonal_1_0_0_1,] diagonal_1_0_1_0 = 2121 diagonal_1_0_1_1 = 2122 diagonal_1_0_1 = [diagonal_1_0_1_0,diagonal_1_0_1_1,] diagonal_1_0 = [diagonal_1_0_0,diagonal_1_0_1,] diagonal_1_1_0_0 = 2211 diagonal_1_1_0_1 = 2212 diagonal_1_1_0 = [diagonal_1_1_0_0,diagonal_1_1_0_1,] diagonal_1_1_1_0 = 2221 diagonal_1_1_1_1 = 2222 diagonal_1_1_1 = [diagonal_1_1_1_0,diagonal_1_1_1_1,] diagonal_1_1 = [diagonal_1_1_0,diagonal_1_1_1,] diagonal_1 = [diagonal_1_0,diagonal_1_1,] diagonal = [diagonal_0,diagonal_1,] name = "diag_part" k = 1610637938 padding_value = 0 align = "RIGHT_LEFT" out = tf.compat.v1.linalg.diag(diagonal=diagonal,name=name,k=k,padding_value=padding_value,align=align,) except Exception as e: print("Error:"+str(e)) ``` ``` ### Relevant log output ```shell Error:{{function_node __wrapped__MatrixDiagV3_device_/job:localhost/replica:0/task:0/device:CPU:0}} Encountered overflow when multiplying 12885103520 with 1610637940, result: -1 [Op:MatrixDiagV3] ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61628/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61628/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61627
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61627/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61627/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61627/events
https://github.com/tensorflow/tensorflow/issues/61627
1,855,876,952
I_kwDOArmXAs5unm9Y
61,627
Overflow bug when running tf.compat.v1.manip.tile
{ "login": "dmc1778", "id": 17060581, "node_id": "MDQ6VXNlcjE3MDYwNTgx", "avatar_url": "https://avatars.githubusercontent.com/u/17060581?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmc1778", "html_url": "https://github.com/dmc1778", "followers_url": "https://api.github.com/users/dmc1778/followers", "following_url": "https://api.github.com/users/dmc1778/following{/other_user}", "gists_url": "https://api.github.com/users/dmc1778/gists{/gist_id}", "starred_url": "https://api.github.com/users/dmc1778/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmc1778/subscriptions", "organizations_url": "https://api.github.com/users/dmc1778/orgs", "repos_url": "https://api.github.com/users/dmc1778/repos", "events_url": "https://api.github.com/users/dmc1778/events{/privacy}", "received_events_url": "https://api.github.com/users/dmc1778/received_events", "type": "User", "site_admin": false }
[ { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" } ]
closed
false
{ "login": "Varsha-anjanappa", "id": 137163810, "node_id": "U_kgDOCCz0Ig", "avatar_url": "https://avatars.githubusercontent.com/u/137163810?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Varsha-anjanappa", "html_url": "https://github.com/Varsha-anjanappa", "followers_url": "https://api.github.com/users/Varsha-anjanappa/followers", "following_url": "https://api.github.com/users/Varsha-anjanappa/following{/other_user}", "gists_url": "https://api.github.com/users/Varsha-anjanappa/gists{/gist_id}", "starred_url": "https://api.github.com/users/Varsha-anjanappa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Varsha-anjanappa/subscriptions", "organizations_url": "https://api.github.com/users/Varsha-anjanappa/orgs", "repos_url": "https://api.github.com/users/Varsha-anjanappa/repos", "events_url": "https://api.github.com/users/Varsha-anjanappa/events{/privacy}", "received_events_url": "https://api.github.com/users/Varsha-anjanappa/received_events", "type": "User", "site_admin": false }
[ { "login": "Varsha-anjanappa", "id": 137163810, "node_id": "U_kgDOCCz0Ig", "avatar_url": "https://avatars.githubusercontent.com/u/137163810?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Varsha-anjanappa", "html_url": "https://github.com/Varsha-anjanappa", "followers_url": "https://api.github.com/users/Varsha-anjanappa/followers", "following_url": "https://api.github.com/users/Varsha-anjanappa/following{/other_user}", "gists_url": "https://api.github.com/users/Varsha-anjanappa/gists{/gist_id}", "starred_url": "https://api.github.com/users/Varsha-anjanappa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Varsha-anjanappa/subscriptions", "organizations_url": "https://api.github.com/users/Varsha-anjanappa/orgs", "repos_url": "https://api.github.com/users/Varsha-anjanappa/repos", "events_url": "https://api.github.com/users/Varsha-anjanappa/events{/privacy}", "received_events_url": "https://api.github.com/users/Varsha-anjanappa/received_events", "type": "User", "site_admin": false } ]
null
[ "Not an issue, that's an error that is being returned to the user instead of performing bad computations.\r\n\r\nPlease consult again the SECURITY.md guide, please don't spam with low quality issues.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61627\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61627\">No</a>\n" ]
2023-08-18T00:37:29
2023-08-20T17:04:00
2023-08-20T17:03:57
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source binary ### TensorFlow version 2.13.0 ### Custom code Yes ### OS platform and distribution _No response_ ### Mobile device _No response_ ### Python version _No response_ ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? Due to large elements in the input tensor ### Standalone code to reproduce the issue ```shell import tensorflow as tf import os import numpy as np try: input_tensor = tf.random.uniform([1, 355, 768], dtype=tf.float32) input = tf.identity(input_tensor) multiples_0 = 125091515651 multiples_1 = True multiples_2 = 125091515651 multiples = [multiples_0,multiples_1,multiples_2,] name = None out = tf.compat.v1.manip.tile(input=input,multiples=multiples,name=name,) except Exception as e: print("Error:"+str(e)) ``` ``` ### Relevant log output ```shell Error:{{function_node __wrapped__Tile_device_/job:localhost/replica:0/task:0/device:GPU:0}} Encountered overflow when multiplying 44407488056105 with 96070284019968, result: -1 [[{{node Tile}}]] [Op:Tile] ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61627/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61627/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61626
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61626/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61626/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61626/events
https://github.com/tensorflow/tensorflow/issues/61626
1,855,875,600
I_kwDOArmXAs5unmoQ
61,626
Overflow when running tf.compat.v1.tile
{ "login": "dmc1778", "id": 17060581, "node_id": "MDQ6VXNlcjE3MDYwNTgx", "avatar_url": "https://avatars.githubusercontent.com/u/17060581?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmc1778", "html_url": "https://github.com/dmc1778", "followers_url": "https://api.github.com/users/dmc1778/followers", "following_url": "https://api.github.com/users/dmc1778/following{/other_user}", "gists_url": "https://api.github.com/users/dmc1778/gists{/gist_id}", "starred_url": "https://api.github.com/users/dmc1778/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmc1778/subscriptions", "organizations_url": "https://api.github.com/users/dmc1778/orgs", "repos_url": "https://api.github.com/users/dmc1778/repos", "events_url": "https://api.github.com/users/dmc1778/events{/privacy}", "received_events_url": "https://api.github.com/users/dmc1778/received_events", "type": "User", "site_admin": false }
[ { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 1097547147, "node_id": "MDU6TGFiZWwxMDk3NTQ3MTQ3", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:ops", "name": "comp:ops", "color": "0052cc", "default": false, "description": "OPs related issues" }, { "id": 5508003926, "node_id": "LA_kwDOArmXAs8AAAABSE14Vg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13", "name": "TF 2.13", "color": "B13ACB", "default": false, "description": "For issues related to Tensorflow 2.13" } ]
closed
false
{ "login": "tilakrayal", "id": 81610181, "node_id": "MDQ6VXNlcjgxNjEwMTgx", "avatar_url": "https://avatars.githubusercontent.com/u/81610181?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tilakrayal", "html_url": "https://github.com/tilakrayal", "followers_url": "https://api.github.com/users/tilakrayal/followers", "following_url": "https://api.github.com/users/tilakrayal/following{/other_user}", "gists_url": "https://api.github.com/users/tilakrayal/gists{/gist_id}", "starred_url": "https://api.github.com/users/tilakrayal/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tilakrayal/subscriptions", "organizations_url": "https://api.github.com/users/tilakrayal/orgs", "repos_url": "https://api.github.com/users/tilakrayal/repos", "events_url": "https://api.github.com/users/tilakrayal/events{/privacy}", "received_events_url": "https://api.github.com/users/tilakrayal/received_events", "type": "User", "site_admin": false }
[ { "login": "tilakrayal", "id": 81610181, "node_id": "MDQ6VXNlcjgxNjEwMTgx", "avatar_url": "https://avatars.githubusercontent.com/u/81610181?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tilakrayal", "html_url": "https://github.com/tilakrayal", "followers_url": "https://api.github.com/users/tilakrayal/followers", "following_url": "https://api.github.com/users/tilakrayal/following{/other_user}", "gists_url": "https://api.github.com/users/tilakrayal/gists{/gist_id}", "starred_url": "https://api.github.com/users/tilakrayal/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tilakrayal/subscriptions", "organizations_url": "https://api.github.com/users/tilakrayal/orgs", "repos_url": "https://api.github.com/users/tilakrayal/repos", "events_url": "https://api.github.com/users/tilakrayal/events{/privacy}", "received_events_url": "https://api.github.com/users/tilakrayal/received_events", "type": "User", "site_admin": false } ]
null
[ "Not an issue, that's an error that is being returned to the user instead of performing bad computations.\r\n\r\nPlease consult again the SECURITY.md guide, please don't spam with low quality issues.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61626\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61626\">No</a>\n" ]
2023-08-18T00:34:55
2023-08-20T17:04:05
2023-08-20T17:04:03
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source binary ### TensorFlow version 2.13.0 ### Custom code Yes ### OS platform and distribution _No response_ ### Mobile device _No response_ ### Python version _No response_ ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? Due to large elements in the input list ### Standalone code to reproduce the issue ```shell import tensorflow as tf import os import numpy as np try: input_tensor = tf.random.uniform([370, 1, 1024], dtype=tf.float32) input = tf.identity(input_tensor) multiples_0 = 125091515651 multiples_1 = 125091515651 multiples_2 = 125091515651 multiples = [multiples_0,multiples_1,multiples_2,] name_tensor = tf.random.uniform([], dtype=tf.int32, maxval=66860669291904) name = tf.identity(name_tensor) name = tf.Variable(name) out = tf.compat.v1.tile(input=input,multiples=multiples,name=name,) except Exception as e: print("Error:"+str(e)) ``` ``` ### Relevant log output ```shell Error:{{function_node __wrapped__Tile_device_/job:localhost/replica:0/task:0/device:GPU:0}} Encountered overflow when multiplying 46283860790870 with 125091515651, result: -1 [[{{node Tile}}]] [Op:Tile] ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61626/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61626/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61625
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61625/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61625/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61625/events
https://github.com/tensorflow/tensorflow/issues/61625
1,855,872,660
I_kwDOArmXAs5unl6U
61,625
Overflow bug when running tf.compat.v1.keras.layers.ZeroPadding2D
{ "login": "dmc1778", "id": 17060581, "node_id": "MDQ6VXNlcjE3MDYwNTgx", "avatar_url": "https://avatars.githubusercontent.com/u/17060581?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmc1778", "html_url": "https://github.com/dmc1778", "followers_url": "https://api.github.com/users/dmc1778/followers", "following_url": "https://api.github.com/users/dmc1778/following{/other_user}", "gists_url": "https://api.github.com/users/dmc1778/gists{/gist_id}", "starred_url": "https://api.github.com/users/dmc1778/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmc1778/subscriptions", "organizations_url": "https://api.github.com/users/dmc1778/orgs", "repos_url": "https://api.github.com/users/dmc1778/repos", "events_url": "https://api.github.com/users/dmc1778/events{/privacy}", "received_events_url": "https://api.github.com/users/dmc1778/received_events", "type": "User", "site_admin": false }
[ { "id": 386191887, "node_id": "MDU6TGFiZWwzODYxOTE4ODc=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response", "name": "stat:awaiting response", "color": "f4b400", "default": false, "description": "Status - Awaiting response from author" }, { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 1097547147, "node_id": "MDU6TGFiZWwxMDk3NTQ3MTQ3", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:ops", "name": "comp:ops", "color": "0052cc", "default": false, "description": "OPs related issues" }, { "id": 5508003926, "node_id": "LA_kwDOArmXAs8AAAABSE14Vg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13", "name": "TF 2.13", "color": "B13ACB", "default": false, "description": "For issues related to Tensorflow 2.13" } ]
closed
false
{ "login": "SuryanarayanaY", "id": 116063290, "node_id": "U_kgDOBur8Og", "avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SuryanarayanaY", "html_url": "https://github.com/SuryanarayanaY", "followers_url": "https://api.github.com/users/SuryanarayanaY/followers", "following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}", "gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}", "starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions", "organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs", "repos_url": "https://api.github.com/users/SuryanarayanaY/repos", "events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}", "received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events", "type": "User", "site_admin": false }
[ { "login": "SuryanarayanaY", "id": 116063290, "node_id": "U_kgDOBur8Og", "avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SuryanarayanaY", "html_url": "https://github.com/SuryanarayanaY", "followers_url": "https://api.github.com/users/SuryanarayanaY/followers", "following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}", "gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}", "starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions", "organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs", "repos_url": "https://api.github.com/users/SuryanarayanaY/repos", "events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}", "received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events", "type": "User", "site_admin": false } ]
null
[ "Hi @dmc1778 , \r\n\r\nThe reported behaviour is replicated with Tf2.13v and tf-nightly and attached gists [2.13v](https://colab.sandbox.google.com/gist/SuryanarayanaY/83a3bfab80ac66fdfffa8901f0c005f7/61625.ipynb) and [nightly](https://colab.sandbox.google.com/gist/SuryanarayanaY/0452ebe256e7bdc64e3901bf83943f4a/61625-nightly.ipynb) for reference.", "@dmc1778 ,\r\n\r\nPlease refer to the responses of Developer team related to the exception raised [response1](https://github.com/tensorflow/tensorflow/issues/61630#issuecomment-1685333019) and [response2](https://github.com/tensorflow/tensorflow/issues/61629#issuecomment-1686504422) stating it as intended behaviour. \r\n\r\nThe **OP_REQUIRES_OK** tries to allocate the memory for the inputs and outputs before performing computations and it fails. The same error returned to python and its adding more details to error log.\r\n\r\nAs requested please read [SECURITY.md](https://github.com/tensorflow/tensorflow/blob/master/SECURITY.md) to disclose these types of issues ", "Not an issue, it's a normal error returned to the user.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61625\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61625\">No</a>\n" ]
2023-08-18T00:29:46
2023-08-21T17:53:57
2023-08-21T17:53:54
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source binary ### TensorFlow version 2.13.0 ### Custom code Yes ### OS platform and distribution _No response_ ### Mobile device _No response_ ### Python version _No response_ ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? Due to large elements in the input list ### Standalone code to reproduce the issue ```shell import tensorflow as tf import os import numpy as np try: padding_0_0 = 125091515651 padding_0_1 = 125091515651 padding_0 = [padding_0_0,padding_0_1,] padding_1_0 = 125091515651 padding_1_1 = 125091515651 padding_1 = [padding_1_0,padding_1_1,] padding = [padding_0,padding_1,] data_format = None arg_class = tf.compat.v1.keras.layers.ZeroPadding2D(padding=padding,data_format=data_format,) arg_input_0_tensor = tf.random.uniform([3, 14, 14, 576], dtype=tf.float32) arg_input_0 = tf.identity(arg_input_0_tensor) arg_input = [arg_input_0,] out = arg_class(*arg_input) except Exception as e: print("Error:"+str(e)) ``` ``` ### Relevant log output ```shell {{function_node __wrapped__Pad_device_/job:localhost/replica:0/task:0/device:GPU:0}} Encountered overflow when multiplying 750549093948 with 250183031316, result: -1 [[{{node Pad}}]] [Op:Pad] Call arguments received by layer 'zero_padding2d' (type ZeroPadding2D): • inputs=tf.Tensor(shape=(3, 14, 14, 576), dtype=float32) ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61625/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61625/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61624
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61624/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61624/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61624/events
https://github.com/tensorflow/tensorflow/issues/61624
1,855,857,398
I_kwDOArmXAs5uniL2
61,624
Overflow bug when running tf.raw_ops.ResizeNearestNeighbor
{ "login": "dmc1778", "id": 17060581, "node_id": "MDQ6VXNlcjE3MDYwNTgx", "avatar_url": "https://avatars.githubusercontent.com/u/17060581?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmc1778", "html_url": "https://github.com/dmc1778", "followers_url": "https://api.github.com/users/dmc1778/followers", "following_url": "https://api.github.com/users/dmc1778/following{/other_user}", "gists_url": "https://api.github.com/users/dmc1778/gists{/gist_id}", "starred_url": "https://api.github.com/users/dmc1778/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmc1778/subscriptions", "organizations_url": "https://api.github.com/users/dmc1778/orgs", "repos_url": "https://api.github.com/users/dmc1778/repos", "events_url": "https://api.github.com/users/dmc1778/events{/privacy}", "received_events_url": "https://api.github.com/users/dmc1778/received_events", "type": "User", "site_admin": false }
[ { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" } ]
closed
false
{ "login": "sushreebarsa", "id": 84765720, "node_id": "MDQ6VXNlcjg0NzY1NzIw", "avatar_url": "https://avatars.githubusercontent.com/u/84765720?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sushreebarsa", "html_url": "https://github.com/sushreebarsa", "followers_url": "https://api.github.com/users/sushreebarsa/followers", "following_url": "https://api.github.com/users/sushreebarsa/following{/other_user}", "gists_url": "https://api.github.com/users/sushreebarsa/gists{/gist_id}", "starred_url": "https://api.github.com/users/sushreebarsa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sushreebarsa/subscriptions", "organizations_url": "https://api.github.com/users/sushreebarsa/orgs", "repos_url": "https://api.github.com/users/sushreebarsa/repos", "events_url": "https://api.github.com/users/sushreebarsa/events{/privacy}", "received_events_url": "https://api.github.com/users/sushreebarsa/received_events", "type": "User", "site_admin": false }
[ { "login": "sushreebarsa", "id": 84765720, "node_id": "MDQ6VXNlcjg0NzY1NzIw", "avatar_url": "https://avatars.githubusercontent.com/u/84765720?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sushreebarsa", "html_url": "https://github.com/sushreebarsa", "followers_url": "https://api.github.com/users/sushreebarsa/followers", "following_url": "https://api.github.com/users/sushreebarsa/following{/other_user}", "gists_url": "https://api.github.com/users/sushreebarsa/gists{/gist_id}", "starred_url": "https://api.github.com/users/sushreebarsa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sushreebarsa/subscriptions", "organizations_url": "https://api.github.com/users/sushreebarsa/orgs", "repos_url": "https://api.github.com/users/sushreebarsa/repos", "events_url": "https://api.github.com/users/sushreebarsa/events{/privacy}", "received_events_url": "https://api.github.com/users/sushreebarsa/received_events", "type": "User", "site_admin": false } ]
null
[ "Not an issue, that's an error that is being returned to the user instead of performing bad computations.\r\n\r\nPlease consult again the SECURITY.md guide, please don't spam with low quality issues.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61624\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61624\">No</a>\n" ]
2023-08-18T00:04:42
2023-08-20T17:04:10
2023-08-20T17:04:07
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source binary ### TensorFlow version 2.13.0 ### Custom code Yes ### OS platform and distribution _No response_ ### Mobile device _No response_ ### Python version _No response_ ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? Due to large list element ### Standalone code to reproduce the issue ```shell import tensorflow as tf import os import numpy as np try: images_tensor = tf.constant(-256, shape=[16, 4, 5, 1], dtype=tf.float16,) images = tf.identity(images_tensor) size_0 = 1250999896764 size_1 = 1610637938 size = [size_0,size_1,] align_corners = False half_pixel_centers = False name = None out = tf.raw_ops.ResizeNearestNeighbor(images=images,size=size,align_corners=align_corners,half_pixel_centers=half_pixel_centers,name=name,) except Exception as e: print("Error:"+str(e)) ``` ``` ### Relevant log output ```shell Error:{{function_node __wrapped__ResizeNearestNeighbor_device_/job:localhost/replica:0/task:0/device:GPU:0}} Encountered overflow when multiplying 18630618048 with 1610637938, result: -1 [Op:ResizeNearestNeighbor] ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61624/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61624/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61623
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61623/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61623/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61623/events
https://github.com/tensorflow/tensorflow/issues/61623
1,855,854,124
I_kwDOArmXAs5unhYs
61,623
Overflow bug when running tf.raw_ops.Tile
{ "login": "dmc1778", "id": 17060581, "node_id": "MDQ6VXNlcjE3MDYwNTgx", "avatar_url": "https://avatars.githubusercontent.com/u/17060581?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmc1778", "html_url": "https://github.com/dmc1778", "followers_url": "https://api.github.com/users/dmc1778/followers", "following_url": "https://api.github.com/users/dmc1778/following{/other_user}", "gists_url": "https://api.github.com/users/dmc1778/gists{/gist_id}", "starred_url": "https://api.github.com/users/dmc1778/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmc1778/subscriptions", "organizations_url": "https://api.github.com/users/dmc1778/orgs", "repos_url": "https://api.github.com/users/dmc1778/repos", "events_url": "https://api.github.com/users/dmc1778/events{/privacy}", "received_events_url": "https://api.github.com/users/dmc1778/received_events", "type": "User", "site_admin": false }
[ { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" } ]
closed
false
{ "login": "Varsha-anjanappa", "id": 137163810, "node_id": "U_kgDOCCz0Ig", "avatar_url": "https://avatars.githubusercontent.com/u/137163810?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Varsha-anjanappa", "html_url": "https://github.com/Varsha-anjanappa", "followers_url": "https://api.github.com/users/Varsha-anjanappa/followers", "following_url": "https://api.github.com/users/Varsha-anjanappa/following{/other_user}", "gists_url": "https://api.github.com/users/Varsha-anjanappa/gists{/gist_id}", "starred_url": "https://api.github.com/users/Varsha-anjanappa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Varsha-anjanappa/subscriptions", "organizations_url": "https://api.github.com/users/Varsha-anjanappa/orgs", "repos_url": "https://api.github.com/users/Varsha-anjanappa/repos", "events_url": "https://api.github.com/users/Varsha-anjanappa/events{/privacy}", "received_events_url": "https://api.github.com/users/Varsha-anjanappa/received_events", "type": "User", "site_admin": false }
[ { "login": "Varsha-anjanappa", "id": 137163810, "node_id": "U_kgDOCCz0Ig", "avatar_url": "https://avatars.githubusercontent.com/u/137163810?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Varsha-anjanappa", "html_url": "https://github.com/Varsha-anjanappa", "followers_url": "https://api.github.com/users/Varsha-anjanappa/followers", "following_url": "https://api.github.com/users/Varsha-anjanappa/following{/other_user}", "gists_url": "https://api.github.com/users/Varsha-anjanappa/gists{/gist_id}", "starred_url": "https://api.github.com/users/Varsha-anjanappa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Varsha-anjanappa/subscriptions", "organizations_url": "https://api.github.com/users/Varsha-anjanappa/orgs", "repos_url": "https://api.github.com/users/Varsha-anjanappa/repos", "events_url": "https://api.github.com/users/Varsha-anjanappa/events{/privacy}", "received_events_url": "https://api.github.com/users/Varsha-anjanappa/received_events", "type": "User", "site_admin": false } ]
null
[ "Not an issue, that's an error that is being returned to the user instead of performing bad computations.\r\n\r\nPlease consult again the SECURITY.md guide, please don't spam with low quality issues.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61623\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61623\">No</a>\n" ]
2023-08-17T23:59:05
2023-08-20T17:04:16
2023-08-20T17:04:13
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source binary ### TensorFlow version 2.13.0 ### Custom code Yes ### OS platform and distribution _No response_ ### Mobile device _No response_ ### Python version _No response_ ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? Due to large elements in input list ### Standalone code to reproduce the issue ```shell import tensorflow as tf import os import numpy as np try: input_tensor = tf.random.uniform([4, 1, 1, 20], dtype=tf.float32) input = tf.identity(input_tensor) multiples_0 = 125091515651 multiples_1 = True multiples_2 = 125091515651 multiples_3 = 125091515651 multiples = [multiples_0,multiples_1,multiples_2,multiples_3,] name = None out = tf.raw_ops.Tile(input=input,multiples=multiples,name=name,) except Exception as e: print("Error:"+str(e)) ``` ``` ### Relevant log output ```shell Error:{{function_node __wrapped__Tile_device_/job:localhost/replica:0/task:0/device:GPU:0}} Encountered overflow when multiplying 500366062604 with 125091515651, result: -1 [[{{node Tile}}]] [Op:Tile] ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61623/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61623/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61622
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61622/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61622/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61622/events
https://github.com/tensorflow/tensorflow/issues/61622
1,855,853,014
I_kwDOArmXAs5unhHW
61,622
Overflow bug when running tf.keras.layers.ZeroPadding2D
{ "login": "dmc1778", "id": 17060581, "node_id": "MDQ6VXNlcjE3MDYwNTgx", "avatar_url": "https://avatars.githubusercontent.com/u/17060581?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmc1778", "html_url": "https://github.com/dmc1778", "followers_url": "https://api.github.com/users/dmc1778/followers", "following_url": "https://api.github.com/users/dmc1778/following{/other_user}", "gists_url": "https://api.github.com/users/dmc1778/gists{/gist_id}", "starred_url": "https://api.github.com/users/dmc1778/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmc1778/subscriptions", "organizations_url": "https://api.github.com/users/dmc1778/orgs", "repos_url": "https://api.github.com/users/dmc1778/repos", "events_url": "https://api.github.com/users/dmc1778/events{/privacy}", "received_events_url": "https://api.github.com/users/dmc1778/received_events", "type": "User", "site_admin": false }
[ { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 1097546578, "node_id": "MDU6TGFiZWwxMDk3NTQ2NTc4", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:keras", "name": "comp:keras", "color": "0052cc", "default": false, "description": "Keras related issues" }, { "id": 5508003926, "node_id": "LA_kwDOArmXAs8AAAABSE14Vg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13", "name": "TF 2.13", "color": "B13ACB", "default": false, "description": "For issues related to Tensorflow 2.13" } ]
closed
false
{ "login": "tilakrayal", "id": 81610181, "node_id": "MDQ6VXNlcjgxNjEwMTgx", "avatar_url": "https://avatars.githubusercontent.com/u/81610181?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tilakrayal", "html_url": "https://github.com/tilakrayal", "followers_url": "https://api.github.com/users/tilakrayal/followers", "following_url": "https://api.github.com/users/tilakrayal/following{/other_user}", "gists_url": "https://api.github.com/users/tilakrayal/gists{/gist_id}", "starred_url": "https://api.github.com/users/tilakrayal/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tilakrayal/subscriptions", "organizations_url": "https://api.github.com/users/tilakrayal/orgs", "repos_url": "https://api.github.com/users/tilakrayal/repos", "events_url": "https://api.github.com/users/tilakrayal/events{/privacy}", "received_events_url": "https://api.github.com/users/tilakrayal/received_events", "type": "User", "site_admin": false }
[ { "login": "tilakrayal", "id": 81610181, "node_id": "MDQ6VXNlcjgxNjEwMTgx", "avatar_url": "https://avatars.githubusercontent.com/u/81610181?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tilakrayal", "html_url": "https://github.com/tilakrayal", "followers_url": "https://api.github.com/users/tilakrayal/followers", "following_url": "https://api.github.com/users/tilakrayal/following{/other_user}", "gists_url": "https://api.github.com/users/tilakrayal/gists{/gist_id}", "starred_url": "https://api.github.com/users/tilakrayal/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tilakrayal/subscriptions", "organizations_url": "https://api.github.com/users/tilakrayal/orgs", "repos_url": "https://api.github.com/users/tilakrayal/repos", "events_url": "https://api.github.com/users/tilakrayal/events{/privacy}", "received_events_url": "https://api.github.com/users/tilakrayal/received_events", "type": "User", "site_admin": false } ]
null
[ "Not an issue, that's an error that is being returned to the user instead of performing bad computations.\r\n\r\nPlease consult again the SECURITY.md guide, please don't spam with low quality issues.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61622\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61622\">No</a>\n" ]
2023-08-17T23:57:05
2023-08-20T17:04:22
2023-08-20T17:04:20
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source binary ### TensorFlow version 2.13.0 ### Custom code Yes ### OS platform and distribution _No response_ ### Mobile device _No response_ ### Python version _No response_ ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? Due to large list element ### Standalone code to reproduce the issue ```shell import tensorflow as tf import os import numpy as np try: padding_0_0 = 125091515651 padding_0_1 = False padding_0 = [padding_0_0,padding_0_1,] padding_1_0 = 125091515651 padding_1_1 = 125091515651 padding_1 = [padding_1_0,padding_1_1,] padding = [padding_0,padding_1,] arg_class = tf.keras.layers.ZeroPadding2D(padding=padding,) arg_input_0_tensor = tf.random.uniform([3, 300, 300, 192], dtype=tf.float32) arg_input_0 = tf.identity(arg_input_0_tensor) arg_input = [arg_input_0,] out = arg_class(*arg_input) except Exception as e: print("Error:"+str(e)) ``` ``` ### Relevant log output ```shell ['{{function_node __wrapped__Pad_device_/job:localhost/replica:0/task:0/device:GPU:0}} Encountered overflow when multiplying 2501999793529 with 2501999793530, result: -1\n', '\t [[{{node Pad}}]] [Op:Pad]\n', '\n', "Call arguments received by layer 'zero_padding2d' (type ZeroPadding2D):\n", ' • inputs=tf.Tensor(shape=(1, 1, 2, 2), dtype=float32)\n'] ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61622/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61622/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61621
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61621/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61621/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61621/events
https://github.com/tensorflow/tensorflow/issues/61621
1,855,850,732
I_kwDOArmXAs5ungjs
61,621
Overflow bug when running tf.keras.layers.ZeroPadding3D
{ "login": "dmc1778", "id": 17060581, "node_id": "MDQ6VXNlcjE3MDYwNTgx", "avatar_url": "https://avatars.githubusercontent.com/u/17060581?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmc1778", "html_url": "https://github.com/dmc1778", "followers_url": "https://api.github.com/users/dmc1778/followers", "following_url": "https://api.github.com/users/dmc1778/following{/other_user}", "gists_url": "https://api.github.com/users/dmc1778/gists{/gist_id}", "starred_url": "https://api.github.com/users/dmc1778/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmc1778/subscriptions", "organizations_url": "https://api.github.com/users/dmc1778/orgs", "repos_url": "https://api.github.com/users/dmc1778/repos", "events_url": "https://api.github.com/users/dmc1778/events{/privacy}", "received_events_url": "https://api.github.com/users/dmc1778/received_events", "type": "User", "site_admin": false }
[ { "id": 386191887, "node_id": "MDU6TGFiZWwzODYxOTE4ODc=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response", "name": "stat:awaiting response", "color": "f4b400", "default": false, "description": "Status - Awaiting response from author" }, { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 1097547147, "node_id": "MDU6TGFiZWwxMDk3NTQ3MTQ3", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:ops", "name": "comp:ops", "color": "0052cc", "default": false, "description": "OPs related issues" }, { "id": 5508003926, "node_id": "LA_kwDOArmXAs8AAAABSE14Vg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13", "name": "TF 2.13", "color": "B13ACB", "default": false, "description": "For issues related to Tensorflow 2.13" } ]
closed
false
{ "login": "SuryanarayanaY", "id": 116063290, "node_id": "U_kgDOBur8Og", "avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SuryanarayanaY", "html_url": "https://github.com/SuryanarayanaY", "followers_url": "https://api.github.com/users/SuryanarayanaY/followers", "following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}", "gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}", "starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions", "organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs", "repos_url": "https://api.github.com/users/SuryanarayanaY/repos", "events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}", "received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events", "type": "User", "site_admin": false }
[ { "login": "SuryanarayanaY", "id": 116063290, "node_id": "U_kgDOBur8Og", "avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SuryanarayanaY", "html_url": "https://github.com/SuryanarayanaY", "followers_url": "https://api.github.com/users/SuryanarayanaY/followers", "following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}", "gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}", "starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions", "organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs", "repos_url": "https://api.github.com/users/SuryanarayanaY/repos", "events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}", "received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events", "type": "User", "site_admin": false } ]
null
[ "Hi @dmc1778 , \r\n\r\nThe reported behaviour is replicated with Tf2.13v and tf-nightly and attached gists [2.13v](https://colab.sandbox.google.com/gist/SuryanarayanaY/afc553732e3db1c2c9de68833993da40/61621-2-13v.ipynb) and [nightly](https://colab.sandbox.google.com/gist/SuryanarayanaY/0d26a2f799d077b53ea3f6ac7aa4766c/61621-tf-nightly.ipynb) for reference.", "@dmc1778 ,\r\n\r\nPlease refer to the responses of Developer team related to the exception raised https://github.com/tensorflow/tensorflow/issues/61630#issuecomment-1685333019 and https://github.com/tensorflow/tensorflow/issues/61629#issuecomment-1686504422 stating it as intended behaviour.\r\n\r\nThe Op tries to allocate the memory for the inputs and outputs before performing computations and it fails. The same error returned to python and its adding more details to error log.\r\n\r\nAs requested please read [SECURITY.md](https://github.com/tensorflow/tensorflow/blob/master/SECURITY.md) to disclose these types of issues.\r\n\r\nThanks!", "Not an issue, it is a normal error being returned to the user.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61621\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61621\">No</a>\n" ]
2023-08-17T23:52:52
2023-08-21T18:00:06
2023-08-21T18:00:03
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source binary ### TensorFlow version 2.13.0 ### Custom code Yes ### OS platform and distribution _No response_ ### Mobile device _No response_ ### Python version _No response_ ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? Due to large integer value ### Standalone code to reproduce the issue ```shell import tensorflow as tf import os import numpy as np try: padding = 1610612736 arg_class = tf.keras.layers.ZeroPadding3D(padding=padding,) arg_input_0_tensor = tf.random.uniform([1, 1, 2, 2, 3], dtype=tf.float32) arg_input_0 = tf.identity(arg_input_0_tensor) arg_input = [arg_input_0,] out = arg_class(*arg_input) except Exception as e: print("Error:"+str(e)) ``` ``` ### Relevant log output ```shell Error:Exception encountered when calling layer 'zero_padding3d' (type ZeroPadding3D). {{function_node __wrapped__Pad_device_/job:localhost/replica:0/task:0/device:GPU:0}} Encountered overflow when multiplying 3221225473 with 3221225474, result: -8070450522584252414 [Op:Pad] Call arguments received by layer 'zero_padding3d' (type ZeroPadding3D): • inputs=tf.Tensor(shape=(1, 1, 2, 2, 3), dtype=float32) ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61621/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61621/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61620
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61620/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61620/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61620/events
https://github.com/tensorflow/tensorflow/issues/61620
1,855,849,772
I_kwDOArmXAs5ungUs
61,620
Overflow bug when running tf.linalg.diag on colab
{ "login": "dmc1778", "id": 17060581, "node_id": "MDQ6VXNlcjE3MDYwNTgx", "avatar_url": "https://avatars.githubusercontent.com/u/17060581?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmc1778", "html_url": "https://github.com/dmc1778", "followers_url": "https://api.github.com/users/dmc1778/followers", "following_url": "https://api.github.com/users/dmc1778/following{/other_user}", "gists_url": "https://api.github.com/users/dmc1778/gists{/gist_id}", "starred_url": "https://api.github.com/users/dmc1778/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmc1778/subscriptions", "organizations_url": "https://api.github.com/users/dmc1778/orgs", "repos_url": "https://api.github.com/users/dmc1778/repos", "events_url": "https://api.github.com/users/dmc1778/events{/privacy}", "received_events_url": "https://api.github.com/users/dmc1778/received_events", "type": "User", "site_admin": false }
[ { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" } ]
closed
false
{ "login": "sushreebarsa", "id": 84765720, "node_id": "MDQ6VXNlcjg0NzY1NzIw", "avatar_url": "https://avatars.githubusercontent.com/u/84765720?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sushreebarsa", "html_url": "https://github.com/sushreebarsa", "followers_url": "https://api.github.com/users/sushreebarsa/followers", "following_url": "https://api.github.com/users/sushreebarsa/following{/other_user}", "gists_url": "https://api.github.com/users/sushreebarsa/gists{/gist_id}", "starred_url": "https://api.github.com/users/sushreebarsa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sushreebarsa/subscriptions", "organizations_url": "https://api.github.com/users/sushreebarsa/orgs", "repos_url": "https://api.github.com/users/sushreebarsa/repos", "events_url": "https://api.github.com/users/sushreebarsa/events{/privacy}", "received_events_url": "https://api.github.com/users/sushreebarsa/received_events", "type": "User", "site_admin": false }
[ { "login": "sushreebarsa", "id": 84765720, "node_id": "MDQ6VXNlcjg0NzY1NzIw", "avatar_url": "https://avatars.githubusercontent.com/u/84765720?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sushreebarsa", "html_url": "https://github.com/sushreebarsa", "followers_url": "https://api.github.com/users/sushreebarsa/followers", "following_url": "https://api.github.com/users/sushreebarsa/following{/other_user}", "gists_url": "https://api.github.com/users/sushreebarsa/gists{/gist_id}", "starred_url": "https://api.github.com/users/sushreebarsa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sushreebarsa/subscriptions", "organizations_url": "https://api.github.com/users/sushreebarsa/orgs", "repos_url": "https://api.github.com/users/sushreebarsa/repos", "events_url": "https://api.github.com/users/sushreebarsa/events{/privacy}", "received_events_url": "https://api.github.com/users/sushreebarsa/received_events", "type": "User", "site_admin": false } ]
null
[ "Not an issue, that's an error that is being returned to the user instead of performing bad computations.\r\n\r\nPlease consult again the SECURITY.md guide, please don't spam with low quality issues.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61620\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61620\">No</a>\n" ]
2023-08-17T23:51:04
2023-08-20T17:05:05
2023-08-20T17:05:03
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source binary ### TensorFlow version 2.13.0 ### Custom code Yes ### OS platform and distribution _No response_ ### Mobile device _No response_ ### Python version _No response_ ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? Due to large integer list element ### Standalone code to reproduce the issue ```shell import tensorflow as tf import os import numpy as np try: diagonal_0_0_0_0 = 1111 diagonal_0_0_0_1 = 1112 diagonal_0_0_0 = [diagonal_0_0_0_0,diagonal_0_0_0_1,] diagonal_0_0_1_0 = 1121 diagonal_0_0_1_1 = 1122 diagonal_0_0_1 = [diagonal_0_0_1_0,diagonal_0_0_1_1,] diagonal_0_0 = [diagonal_0_0_0,diagonal_0_0_1,] diagonal_0_1_0_0 = 1211 diagonal_0_1_0_1 = 1212 diagonal_0_1_0 = [diagonal_0_1_0_0,diagonal_0_1_0_1,] diagonal_0_1_1_0 = 1221 diagonal_0_1_1_1 = 1222 diagonal_0_1_1 = [diagonal_0_1_1_0,diagonal_0_1_1_1,] diagonal_0_1 = [diagonal_0_1_0,diagonal_0_1_1,] diagonal_0 = [diagonal_0_0,diagonal_0_1,] diagonal_1_0_0_0 = 2111 diagonal_1_0_0_1 = 2112 diagonal_1_0_0 = [diagonal_1_0_0_0,diagonal_1_0_0_1,] diagonal_1_0_1_0 = 2121 diagonal_1_0_1_1 = 2122 diagonal_1_0_1 = [diagonal_1_0_1_0,diagonal_1_0_1_1,] diagonal_1_0 = [diagonal_1_0_0,diagonal_1_0_1,] diagonal_1_1_0_0 = 2211 diagonal_1_1_0_1 = 2212 diagonal_1_1_0 = [diagonal_1_1_0_0,diagonal_1_1_0_1,] diagonal_1_1_1_0 = 2221 diagonal_1_1_1_1 = 2222 diagonal_1_1_1 = [diagonal_1_1_1_0,diagonal_1_1_1_1,] diagonal_1_1 = [diagonal_1_1_0,diagonal_1_1_1,] diagonal_1 = [diagonal_1_0,diagonal_1_1,] diagonal = [diagonal_0,diagonal_1,] name = "None" k = -92233720368 padding_value = 0 align = "RIGHT_LEFT" out = tf.linalg.diag(diagonal=diagonal,name=name,k=k,padding_value=padding_value,align=align,) except Exception as e: print("Error:"+str(e)) ``` ``` ### Relevant log output ```shell Error:{{function_node __wrapped__MatrixDiagV3_device_/job:localhost/replica:0/task:0/device:CPU:0}} Encountered overflow when multiplying 16315257232 with 2039407154, result: -1 [Op:MatrixDiagV3] ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61620/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61620/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61619
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61619/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61619/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61619/events
https://github.com/tensorflow/tensorflow/pull/61619
1,855,843,024
PR_kwDOArmXAs5YM_KN
61,619
Remove dependency on simple_console_for_windows
{ "login": "angerson", "id": 32465472, "node_id": "MDQ6VXNlcjMyNDY1NDcy", "avatar_url": "https://avatars.githubusercontent.com/u/32465472?v=4", "gravatar_id": "", "url": "https://api.github.com/users/angerson", "html_url": "https://github.com/angerson", "followers_url": "https://api.github.com/users/angerson/followers", "following_url": "https://api.github.com/users/angerson/following{/other_user}", "gists_url": "https://api.github.com/users/angerson/gists{/gist_id}", "starred_url": "https://api.github.com/users/angerson/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/angerson/subscriptions", "organizations_url": "https://api.github.com/users/angerson/orgs", "repos_url": "https://api.github.com/users/angerson/repos", "events_url": "https://api.github.com/users/angerson/events{/privacy}", "received_events_url": "https://api.github.com/users/angerson/received_events", "type": "User", "site_admin": false }
[ { "id": 390482148, "node_id": "MDU6TGFiZWwzOTA0ODIxNDg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/awaiting%20review", "name": "awaiting review", "color": "bc3869", "default": false, "description": "Pull request awaiting review" }, { "id": 987666414, "node_id": "MDU6TGFiZWw5ODc2NjY0MTQ=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/ready%20to%20pull", "name": "ready to pull", "color": "2cd643", "default": false, "description": "PR ready for merge process" }, { "id": 1169365494, "node_id": "MDU6TGFiZWwxMTY5MzY1NDk0", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:M", "name": "size:M", "color": "adafea", "default": false, "description": "CL Change Size: Medium" } ]
closed
false
{ "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false }
[ { "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false } ]
null
[ "Hi @angerson and @mihaimaruseac thank you for the PR. It is working well, wheels are generated successfully and sanity tests are passing.", "Thank you for confirming!" ]
2023-08-17T23:40:23
2023-08-21T06:49:50
2023-08-21T06:49:50
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61619", "html_url": "https://github.com/tensorflow/tensorflow/pull/61619", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61619.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61619.patch", "merged_at": "2023-08-21T06:49:50" }
This is one way of getting around the problem where TF is too big to build on Windows. If bazel is told to create the runfiles symlink tree explicitly, Windows can use the same method as Linux to build the pip package without needing to zip everything up, and simple_console_for_windows is no longer needed. The caveats are: - The MSYS2 environment may need to be configured specifically to support symlinks; I am not sure. I set my test environment to use `MSYS=winsymlinks:nativestrict` but didn't test this solution without that. - The build environment needs `rsync`, which replaces `cp` in one case where `cp` was giving me symlink-related errors. I extracted this out of a work-in-progress environment I've been exploring, so I'm not 100% sure it will work right... but it seems very promising.
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61619/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61619/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61618
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61618/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61618/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61618/events
https://github.com/tensorflow/tensorflow/issues/61618
1,855,837,812
I_kwDOArmXAs5undZ0
61,618
Colab session crashes for unknown reasons when when running tf.raw_ops.ResizeBilinear on colab
{ "login": "dmc1778", "id": 17060581, "node_id": "MDQ6VXNlcjE3MDYwNTgx", "avatar_url": "https://avatars.githubusercontent.com/u/17060581?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmc1778", "html_url": "https://github.com/dmc1778", "followers_url": "https://api.github.com/users/dmc1778/followers", "following_url": "https://api.github.com/users/dmc1778/following{/other_user}", "gists_url": "https://api.github.com/users/dmc1778/gists{/gist_id}", "starred_url": "https://api.github.com/users/dmc1778/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmc1778/subscriptions", "organizations_url": "https://api.github.com/users/dmc1778/orgs", "repos_url": "https://api.github.com/users/dmc1778/repos", "events_url": "https://api.github.com/users/dmc1778/events{/privacy}", "received_events_url": "https://api.github.com/users/dmc1778/received_events", "type": "User", "site_admin": false }
[ { "id": 386191887, "node_id": "MDU6TGFiZWwzODYxOTE4ODc=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response", "name": "stat:awaiting response", "color": "f4b400", "default": false, "description": "Status - Awaiting response from author" }, { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 474725938, "node_id": "MDU6TGFiZWw0NzQ3MjU5Mzg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stale", "name": "stale", "color": "d4c5f9", "default": false, "description": "This label marks the issue/pr stale - to be closed automatically if no activity" }, { "id": 1097547147, "node_id": "MDU6TGFiZWwxMDk3NTQ3MTQ3", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:ops", "name": "comp:ops", "color": "0052cc", "default": false, "description": "OPs related issues" }, { "id": 5508003926, "node_id": "LA_kwDOArmXAs8AAAABSE14Vg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13", "name": "TF 2.13", "color": "B13ACB", "default": false, "description": "For issues related to Tensorflow 2.13" } ]
closed
false
{ "login": "SuryanarayanaY", "id": 116063290, "node_id": "U_kgDOBur8Og", "avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SuryanarayanaY", "html_url": "https://github.com/SuryanarayanaY", "followers_url": "https://api.github.com/users/SuryanarayanaY/followers", "following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}", "gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}", "starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions", "organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs", "repos_url": "https://api.github.com/users/SuryanarayanaY/repos", "events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}", "received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events", "type": "User", "site_admin": false }
[ { "login": "SuryanarayanaY", "id": 116063290, "node_id": "U_kgDOBur8Og", "avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SuryanarayanaY", "html_url": "https://github.com/SuryanarayanaY", "followers_url": "https://api.github.com/users/SuryanarayanaY/followers", "following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}", "gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}", "starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions", "organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs", "repos_url": "https://api.github.com/users/SuryanarayanaY/repos", "events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}", "received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events", "type": "User", "site_admin": false } ]
null
[ "Hi @dmc1778 ,\r\n\r\nI think it should be OOM problem as colab crashes with` Allocation of 2149856268 exceeds 10% of free system memory.`\r\n\r\nAlso Please refer to Dev team comment on one of your earlier tickets #59359 on similar reported behaviour.\r\n\r\nRefer attached snapshot also.\r\n\r\n<img width=\"1506\" alt=\"Screenshot 2023-08-25 at 2 41 46 PM\" src=\"https://github.com/tensorflow/tensorflow/assets/116063290/73677b56-b698-472a-8283-20af61f2a6b5\">\r\n", "This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.", "This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61618\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61618\">No</a>\n" ]
2023-08-17T23:32:12
2023-09-09T01:57:09
2023-09-09T01:57:01
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source binary ### TensorFlow version 2.13.0 ### Custom code Yes ### OS platform and distribution _No response_ ### Mobile device _No response_ ### Python version _No response_ ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? Due to large list element ### Standalone code to reproduce the issue ```shell import tensorflow as tf import os import numpy as np try: images_tensor = tf.random.uniform([1, 5, 5, 1], minval=-256, maxval=257, dtype=tf.int32) images = tf.identity(images_tensor) size_0 = 125091515651 size_1 = True size = [size_0,size_1,] align_corners = False half_pixel_centers = False name = None out = tf.raw_ops.ResizeBilinear(images=images,size=size,align_corners=align_corners,half_pixel_centers=half_pixel_centers,name=name,) except Exception as e: print("Error:"+str(e)) ``` ``` ### Relevant log output ```shell {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.592 NotebookApp] Searching ['/root/.jupyter', '/root/.local/etc/jupyter', '/usr/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files","time":"2023-08-17T21:55:14.593Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.592 NotebookApp] Looking for jupyter_config in /etc/jupyter","time":"2023-08-17T21:55:14.598Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.594 NotebookApp] Looking for jupyter_config in /usr/local/etc/jupyter","time":"2023-08-17T21:55:14.600Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.601 NotebookApp] Looking for jupyter_config in /usr/etc/jupyter","time":"2023-08-17T21:55:14.603Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.602 NotebookApp] Looking for jupyter_config in /root/.local/etc/jupyter","time":"2023-08-17T21:55:14.603Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.602 NotebookApp] Looking for jupyter_config in /root/.jupyter","time":"2023-08-17T21:55:14.604Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.604 NotebookApp] Looking for jupyter_notebook_config in /etc/jupyter","time":"2023-08-17T21:55:14.605Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.604 NotebookApp] Loaded config file: /etc/jupyter/jupyter_notebook_config.py","time":"2023-08-17T21:55:14.608Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.605 NotebookApp] Looking for jupyter_notebook_config in /usr/local/etc/jupyter","time":"2023-08-17T21:55:14.608Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.597 NotebookApp] Searching ['/root/.jupyter', '/root/.local/etc/jupyter', '/usr/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files","time":"2023-08-17T21:55:14.598Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.609 NotebookApp] Loaded config file: /usr/local/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T21:55:14.610Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.610 NotebookApp] Looking for jupyter_notebook_config in /usr/etc/jupyter","time":"2023-08-17T21:55:14.611Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.610 NotebookApp] Looking for jupyter_notebook_config in /root/.local/etc/jupyter","time":"2023-08-17T21:55:14.611Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.610 NotebookApp] Looking for jupyter_notebook_config in /root/.jupyter","time":"2023-08-17T21:55:14.611Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.612 NotebookApp] Loaded config file: /root/.jupyter/jupyter_notebook_config.py","time":"2023-08-17T21:55:14.613Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.597 NotebookApp] Looking for jupyter_config in /etc/jupyter","time":"2023-08-17T21:55:14.599Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.597 NotebookApp] Looking for jupyter_config in /usr/local/etc/jupyter","time":"2023-08-17T21:55:14.601Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.598 NotebookApp] Looking for jupyter_config in /usr/etc/jupyter","time":"2023-08-17T21:55:14.601Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.598 NotebookApp] Looking for jupyter_config in /root/.local/etc/jupyter","time":"2023-08-17T21:55:14.602Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.598 NotebookApp] Looking for jupyter_config in /root/.jupyter","time":"2023-08-17T21:55:14.602Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.599 NotebookApp] Looking for jupyter_notebook_config in /etc/jupyter","time":"2023-08-17T21:55:14.610Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.600 NotebookApp] Loaded config file: /etc/jupyter/jupyter_notebook_config.py","time":"2023-08-17T21:55:14.612Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.601 NotebookApp] Looking for jupyter_notebook_config in /usr/local/etc/jupyter","time":"2023-08-17T21:55:14.612Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.603 NotebookApp] Loaded config file: /usr/local/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T21:55:14.612Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.603 NotebookApp] Looking for jupyter_notebook_config in /usr/etc/jupyter","time":"2023-08-17T21:55:14.613Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.603 NotebookApp] Looking for jupyter_notebook_config in /root/.local/etc/jupyter","time":"2023-08-17T21:55:14.614Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.603 NotebookApp] Looking for jupyter_notebook_config in /root/.jupyter","time":"2023-08-17T21:55:14.614Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.606 NotebookApp] Loaded config file: /root/.jupyter/jupyter_notebook_config.py","time":"2023-08-17T21:55:14.614Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" \t/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T21:55:15.051Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" \t/usr/local/etc/jupyter/jupyter_notebook_config.d/panel-client-jupyter.json","time":"2023-08-17T21:55:15.056Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" \t/usr/local/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T21:55:15.056Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" \t/usr/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T21:55:15.059Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" \t/root/.local/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T21:55:15.060Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" \t/root/.jupyter/jupyter_notebook_config.json","time":"2023-08-17T21:55:15.061Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"Writing notebook server cookie secret to /root/.local/share/jupyter/runtime/notebook_cookie_secret","time":"2023-08-17T21:55:15.074Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"Authentication of /metrics is OFF, since other authentication is disabled.","time":"2023-08-17T21:55:15.076Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"google.colab serverextension initialized.","time":"2023-08-17T21:55:15.159Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" \t/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T21:55:15.173Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" \t/usr/local/etc/jupyter/jupyter_notebook_config.d/panel-client-jupyter.json","time":"2023-08-17T21:55:15.175Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" \t/usr/local/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T21:55:15.177Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" \t/usr/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T21:55:15.179Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" \t/root/.local/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T21:55:15.180Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" \t/root/.jupyter/jupyter_notebook_config.json","time":"2023-08-17T21:55:15.183Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"Writing notebook server cookie secret to /root/.local/share/jupyter/runtime/notebook_cookie_secret","time":"2023-08-17T21:55:15.192Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"Authentication of /metrics is OFF, since other authentication is disabled.","time":"2023-08-17T21:55:15.193Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"google.colab serverextension initialized.","time":"2023-08-17T21:55:15.213Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"Serving notebooks from local directory: /","time":"2023-08-17T21:55:19.313Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"Serving notebooks from local directory: /","time":"2023-08-17T21:55:19.314Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"Jupyter Notebook 6.5.5 is running at:","time":"2023-08-17T21:55:19.314Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"http://172.28.0.2:9000/","time":"2023-08-17T21:55:19.314Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).","time":"2023-08-17T21:55:19.315Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"Jupyter Notebook 6.5.5 is running at:","time":"2023-08-17T21:55:19.314Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"http://172.28.0.12:9000/","time":"2023-08-17T21:55:19.316Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).","time":"2023-08-17T21:55:19.316Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"Kernel started: 92d4365c-be07-4243-a024-4094c7317470, name: python3","time":"2023-08-17T21:55:37.205Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"Got events for closed stream <zmq.eventloop.zmqstream.ZMQStream object at 0x79d03bf475b0>","time":"2023-08-17T21:55:52.871Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 21:55:56.928312: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.","time":"2023-08-17T21:55:56.928Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.","time":"2023-08-17T21:55:56.928Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 21:55:58.601992: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT","time":"2023-08-17T21:55:58.602Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 21:56:04.276761: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at tile_ops.cc:193 : INVALID_ARGUMENT: Encountered overflow when multiplying 500366062604 with 125091515651, result: -1","time":"2023-08-17T21:56:04.276Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"Task exception was never retrieved","time":"2023-08-17T22:10:59.200Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"future: <Task finished name='Task-35' coro=<WebSocketProtocol13.write_message.<locals>.wrapper() done, defined at /usr/local/lib/python3.10/dist-packages/tornado/websocket.py:1085> exception=WebSocketClosedError()>","time":"2023-08-17T22:10:59.200Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"Traceback (most recent call last):","time":"2023-08-17T22:10:59.200Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" File \"/usr/local/lib/python3.10/dist-packages/tornado/websocket.py\", line 1087, in wrapper","time":"2023-08-17T22:10:59.200Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" await fut","time":"2023-08-17T22:10:59.200Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"tornado.iostream.StreamClosedError: Stream is closed","time":"2023-08-17T22:10:59.200Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"During handling of the above exception, another exception occurred:","time":"2023-08-17T22:10:59.200Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"Traceback (most recent call last):","time":"2023-08-17T22:10:59.201Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" File \"/usr/lib/python3.10/asyncio/tasks.py\", line 232, in __step","time":"2023-08-17T22:10:59.201Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" result = coro.send(None)","time":"2023-08-17T22:10:59.201Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" File \"/usr/local/lib/python3.10/dist-packages/tornado/websocket.py\", line 1089, in wrapper","time":"2023-08-17T22:10:59.201Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" raise WebSocketClosedError()","time":"2023-08-17T22:10:59.201Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"tornado.websocket.WebSocketClosedError","time":"2023-08-17T22:10:59.201Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"Got events for closed stream <zmq.eventloop.zmqstream.ZMQStream object at 0x79d03bffc0d0>","time":"2023-08-17T23:11:18.034Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 23:17:17.631931: W tensorflow/tsl/framework/cpu_allocator_impl.cc:83] Allocation of 19327655268 exceeds 10% of free system memory.","time":"2023-08-17T23:17:17.634Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"KernelRestarter: restarting kernel (1/5), keep random ports","time":"2023-08-17T23:17:28.209Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"WARNING:root:kernel 92d4365c-be07-4243-a024-4094c7317470 restarted","time":"2023-08-17T23:17:28.209Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 23:19:54.827450: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.","time":"2023-08-17T23:19:54.827Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.","time":"2023-08-17T23:19:54.827Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 23:19:58.360271: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT","time":"2023-08-17T23:19:58.360Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 23:20:03.457377: W tensorflow/tsl/framework/cpu_allocator_impl.cc:83] Allocation of 15342764032 exceeds 10% of free system memory.","time":"2023-08-17T23:20:03.457Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"KernelRestarter: restarting kernel (1/5), keep random ports","time":"2023-08-17T23:20:40.231Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"WARNING:root:kernel 92d4365c-be07-4243-a024-4094c7317470 restarted","time":"2023-08-17T23:20:40.234Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 23:25:19.461222: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.","time":"2023-08-17T23:25:19.461Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.","time":"2023-08-17T23:25:19.461Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 23:25:21.643520: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT","time":"2023-08-17T23:25:21.643Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 23:25:25.628780: W tensorflow/tsl/framework/cpu_allocator_impl.cc:83] Allocation of 2149856268 exceeds 10% of free system memory.","time":"2023-08-17T23:25:25.629Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"KernelRestarter: restarting kernel (1/5), keep random ports","time":"2023-08-17T23:25:46.242Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"WARNING:root:kernel 92d4365c-be07-4243-a024-4094c7317470 restarted","time":"2023-08-17T23:25:46.242Z","v":0} ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61618/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61618/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61617
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61617/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61617/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61617/events
https://github.com/tensorflow/tensorflow/issues/61617
1,855,832,141
I_kwDOArmXAs5uncBN
61,617
Overflow bug when running tf.clip_by_value on colab
{ "login": "dmc1778", "id": 17060581, "node_id": "MDQ6VXNlcjE3MDYwNTgx", "avatar_url": "https://avatars.githubusercontent.com/u/17060581?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmc1778", "html_url": "https://github.com/dmc1778", "followers_url": "https://api.github.com/users/dmc1778/followers", "following_url": "https://api.github.com/users/dmc1778/following{/other_user}", "gists_url": "https://api.github.com/users/dmc1778/gists{/gist_id}", "starred_url": "https://api.github.com/users/dmc1778/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmc1778/subscriptions", "organizations_url": "https://api.github.com/users/dmc1778/orgs", "repos_url": "https://api.github.com/users/dmc1778/repos", "events_url": "https://api.github.com/users/dmc1778/events{/privacy}", "received_events_url": "https://api.github.com/users/dmc1778/received_events", "type": "User", "site_admin": false }
[ { "id": 386191887, "node_id": "MDU6TGFiZWwzODYxOTE4ODc=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response", "name": "stat:awaiting response", "color": "f4b400", "default": false, "description": "Status - Awaiting response from author" }, { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 474725938, "node_id": "MDU6TGFiZWw0NzQ3MjU5Mzg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stale", "name": "stale", "color": "d4c5f9", "default": false, "description": "This label marks the issue/pr stale - to be closed automatically if no activity" }, { "id": 1097547147, "node_id": "MDU6TGFiZWwxMDk3NTQ3MTQ3", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:ops", "name": "comp:ops", "color": "0052cc", "default": false, "description": "OPs related issues" }, { "id": 5508003926, "node_id": "LA_kwDOArmXAs8AAAABSE14Vg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13", "name": "TF 2.13", "color": "B13ACB", "default": false, "description": "For issues related to Tensorflow 2.13" } ]
closed
false
{ "login": "tilakrayal", "id": 81610181, "node_id": "MDQ6VXNlcjgxNjEwMTgx", "avatar_url": "https://avatars.githubusercontent.com/u/81610181?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tilakrayal", "html_url": "https://github.com/tilakrayal", "followers_url": "https://api.github.com/users/tilakrayal/followers", "following_url": "https://api.github.com/users/tilakrayal/following{/other_user}", "gists_url": "https://api.github.com/users/tilakrayal/gists{/gist_id}", "starred_url": "https://api.github.com/users/tilakrayal/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tilakrayal/subscriptions", "organizations_url": "https://api.github.com/users/tilakrayal/orgs", "repos_url": "https://api.github.com/users/tilakrayal/repos", "events_url": "https://api.github.com/users/tilakrayal/events{/privacy}", "received_events_url": "https://api.github.com/users/tilakrayal/received_events", "type": "User", "site_admin": false }
[ { "login": "tilakrayal", "id": 81610181, "node_id": "MDQ6VXNlcjgxNjEwMTgx", "avatar_url": "https://avatars.githubusercontent.com/u/81610181?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tilakrayal", "html_url": "https://github.com/tilakrayal", "followers_url": "https://api.github.com/users/tilakrayal/followers", "following_url": "https://api.github.com/users/tilakrayal/following{/other_user}", "gists_url": "https://api.github.com/users/tilakrayal/gists{/gist_id}", "starred_url": "https://api.github.com/users/tilakrayal/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tilakrayal/subscriptions", "organizations_url": "https://api.github.com/users/tilakrayal/orgs", "repos_url": "https://api.github.com/users/tilakrayal/repos", "events_url": "https://api.github.com/users/tilakrayal/events{/privacy}", "received_events_url": "https://api.github.com/users/tilakrayal/received_events", "type": "User", "site_admin": false } ]
null
[ "@dmc1778,\r\nI tried to execute the mentioned code in an alternative approach with the different input where it was executed without any issues. The input which was provided was out of scope which was executed with the OOM error. Kindly find the gist of it [here](https://colab.research.google.com/gist/tilakrayal/d1e590b7d6ff8e4d5d7c2c97eb704592/untitled1331.ipynb). Thank you!", "This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.", "This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61617\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61617\">No</a>\n" ]
2023-08-17T23:23:57
2023-09-06T01:47:21
2023-09-06T01:47:15
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source binary ### TensorFlow version 2.13.0 ### Custom code Yes ### OS platform and distribution _No response_ ### Mobile device _No response_ ### Python version _No response_ ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? Due to large tensor ### Standalone code to reproduce the issue ```shell import tensorflow as tf import os import numpy as np try: arg_0_tensor = tf.random.uniform([2, 472, 496, 4, 1, 1024], dtype=tf.float64) arg_0 = tf.identity(arg_0_tensor) arg_1 = 0 arg_2 = False out = tf.clip_by_value(arg_0,arg_1,arg_2,) except Exception as e: print("Error:"+str(e)) ``` ``` ### Relevant log output ```shell {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.592 NotebookApp] Searching ['/root/.jupyter', '/root/.local/etc/jupyter', '/usr/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files","time":"2023-08-17T21:55:14.593Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.592 NotebookApp] Looking for jupyter_config in /etc/jupyter","time":"2023-08-17T21:55:14.598Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.594 NotebookApp] Looking for jupyter_config in /usr/local/etc/jupyter","time":"2023-08-17T21:55:14.600Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.601 NotebookApp] Looking for jupyter_config in /usr/etc/jupyter","time":"2023-08-17T21:55:14.603Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.602 NotebookApp] Looking for jupyter_config in /root/.local/etc/jupyter","time":"2023-08-17T21:55:14.603Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.602 NotebookApp] Looking for jupyter_config in /root/.jupyter","time":"2023-08-17T21:55:14.604Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.604 NotebookApp] Looking for jupyter_notebook_config in /etc/jupyter","time":"2023-08-17T21:55:14.605Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.604 NotebookApp] Loaded config file: /etc/jupyter/jupyter_notebook_config.py","time":"2023-08-17T21:55:14.608Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.605 NotebookApp] Looking for jupyter_notebook_config in /usr/local/etc/jupyter","time":"2023-08-17T21:55:14.608Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.597 NotebookApp] Searching ['/root/.jupyter', '/root/.local/etc/jupyter', '/usr/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files","time":"2023-08-17T21:55:14.598Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.609 NotebookApp] Loaded config file: /usr/local/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T21:55:14.610Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.610 NotebookApp] Looking for jupyter_notebook_config in /usr/etc/jupyter","time":"2023-08-17T21:55:14.611Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.610 NotebookApp] Looking for jupyter_notebook_config in /root/.local/etc/jupyter","time":"2023-08-17T21:55:14.611Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.610 NotebookApp] Looking for jupyter_notebook_config in /root/.jupyter","time":"2023-08-17T21:55:14.611Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.612 NotebookApp] Loaded config file: /root/.jupyter/jupyter_notebook_config.py","time":"2023-08-17T21:55:14.613Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.597 NotebookApp] Looking for jupyter_config in /etc/jupyter","time":"2023-08-17T21:55:14.599Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.597 NotebookApp] Looking for jupyter_config in /usr/local/etc/jupyter","time":"2023-08-17T21:55:14.601Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.598 NotebookApp] Looking for jupyter_config in /usr/etc/jupyter","time":"2023-08-17T21:55:14.601Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.598 NotebookApp] Looking for jupyter_config in /root/.local/etc/jupyter","time":"2023-08-17T21:55:14.602Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.598 NotebookApp] Looking for jupyter_config in /root/.jupyter","time":"2023-08-17T21:55:14.602Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.599 NotebookApp] Looking for jupyter_notebook_config in /etc/jupyter","time":"2023-08-17T21:55:14.610Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.600 NotebookApp] Loaded config file: /etc/jupyter/jupyter_notebook_config.py","time":"2023-08-17T21:55:14.612Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.601 NotebookApp] Looking for jupyter_notebook_config in /usr/local/etc/jupyter","time":"2023-08-17T21:55:14.612Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.603 NotebookApp] Loaded config file: /usr/local/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T21:55:14.612Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.603 NotebookApp] Looking for jupyter_notebook_config in /usr/etc/jupyter","time":"2023-08-17T21:55:14.613Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.603 NotebookApp] Looking for jupyter_notebook_config in /root/.local/etc/jupyter","time":"2023-08-17T21:55:14.614Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.603 NotebookApp] Looking for jupyter_notebook_config in /root/.jupyter","time":"2023-08-17T21:55:14.614Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 21:55:14.606 NotebookApp] Loaded config file: /root/.jupyter/jupyter_notebook_config.py","time":"2023-08-17T21:55:14.614Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" \t/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T21:55:15.051Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" \t/usr/local/etc/jupyter/jupyter_notebook_config.d/panel-client-jupyter.json","time":"2023-08-17T21:55:15.056Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" \t/usr/local/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T21:55:15.056Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" \t/usr/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T21:55:15.059Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" \t/root/.local/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T21:55:15.060Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" \t/root/.jupyter/jupyter_notebook_config.json","time":"2023-08-17T21:55:15.061Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"Writing notebook server cookie secret to /root/.local/share/jupyter/runtime/notebook_cookie_secret","time":"2023-08-17T21:55:15.074Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"Authentication of /metrics is OFF, since other authentication is disabled.","time":"2023-08-17T21:55:15.076Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"google.colab serverextension initialized.","time":"2023-08-17T21:55:15.159Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" \t/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T21:55:15.173Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" \t/usr/local/etc/jupyter/jupyter_notebook_config.d/panel-client-jupyter.json","time":"2023-08-17T21:55:15.175Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" \t/usr/local/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T21:55:15.177Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" \t/usr/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T21:55:15.179Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" \t/root/.local/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T21:55:15.180Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" \t/root/.jupyter/jupyter_notebook_config.json","time":"2023-08-17T21:55:15.183Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"Writing notebook server cookie secret to /root/.local/share/jupyter/runtime/notebook_cookie_secret","time":"2023-08-17T21:55:15.192Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"Authentication of /metrics is OFF, since other authentication is disabled.","time":"2023-08-17T21:55:15.193Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"google.colab serverextension initialized.","time":"2023-08-17T21:55:15.213Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"Serving notebooks from local directory: /","time":"2023-08-17T21:55:19.313Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"Serving notebooks from local directory: /","time":"2023-08-17T21:55:19.314Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"Jupyter Notebook 6.5.5 is running at:","time":"2023-08-17T21:55:19.314Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"http://172.28.0.2:9000/","time":"2023-08-17T21:55:19.314Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).","time":"2023-08-17T21:55:19.315Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"Jupyter Notebook 6.5.5 is running at:","time":"2023-08-17T21:55:19.314Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"http://172.28.0.12:9000/","time":"2023-08-17T21:55:19.316Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).","time":"2023-08-17T21:55:19.316Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"Kernel started: 92d4365c-be07-4243-a024-4094c7317470, name: python3","time":"2023-08-17T21:55:37.205Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"Got events for closed stream <zmq.eventloop.zmqstream.ZMQStream object at 0x79d03bf475b0>","time":"2023-08-17T21:55:52.871Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 21:55:56.928312: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.","time":"2023-08-17T21:55:56.928Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.","time":"2023-08-17T21:55:56.928Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 21:55:58.601992: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT","time":"2023-08-17T21:55:58.602Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 21:56:04.276761: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at tile_ops.cc:193 : INVALID_ARGUMENT: Encountered overflow when multiplying 500366062604 with 125091515651, result: -1","time":"2023-08-17T21:56:04.276Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"Task exception was never retrieved","time":"2023-08-17T22:10:59.200Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"future: <Task finished name='Task-35' coro=<WebSocketProtocol13.write_message.<locals>.wrapper() done, defined at /usr/local/lib/python3.10/dist-packages/tornado/websocket.py:1085> exception=WebSocketClosedError()>","time":"2023-08-17T22:10:59.200Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"Traceback (most recent call last):","time":"2023-08-17T22:10:59.200Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" File \"/usr/local/lib/python3.10/dist-packages/tornado/websocket.py\", line 1087, in wrapper","time":"2023-08-17T22:10:59.200Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" await fut","time":"2023-08-17T22:10:59.200Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"tornado.iostream.StreamClosedError: Stream is closed","time":"2023-08-17T22:10:59.200Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"During handling of the above exception, another exception occurred:","time":"2023-08-17T22:10:59.200Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"Traceback (most recent call last):","time":"2023-08-17T22:10:59.201Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" File \"/usr/lib/python3.10/asyncio/tasks.py\", line 232, in __step","time":"2023-08-17T22:10:59.201Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" result = coro.send(None)","time":"2023-08-17T22:10:59.201Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" File \"/usr/local/lib/python3.10/dist-packages/tornado/websocket.py\", line 1089, in wrapper","time":"2023-08-17T22:10:59.201Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" raise WebSocketClosedError()","time":"2023-08-17T22:10:59.201Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"tornado.websocket.WebSocketClosedError","time":"2023-08-17T22:10:59.201Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"Got events for closed stream <zmq.eventloop.zmqstream.ZMQStream object at 0x79d03bffc0d0>","time":"2023-08-17T23:11:18.034Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 23:17:17.631931: W tensorflow/tsl/framework/cpu_allocator_impl.cc:83] Allocation of 19327655268 exceeds 10% of free system memory.","time":"2023-08-17T23:17:17.634Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"KernelRestarter: restarting kernel (1/5), keep random ports","time":"2023-08-17T23:17:28.209Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"WARNING:root:kernel 92d4365c-be07-4243-a024-4094c7317470 restarted","time":"2023-08-17T23:17:28.209Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 23:19:54.827450: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.","time":"2023-08-17T23:19:54.827Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.","time":"2023-08-17T23:19:54.827Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 23:19:58.360271: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT","time":"2023-08-17T23:19:58.360Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 23:20:03.457377: W tensorflow/tsl/framework/cpu_allocator_impl.cc:83] Allocation of 15342764032 exceeds 10% of free system memory.","time":"2023-08-17T23:20:03.457Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"KernelRestarter: restarting kernel (1/5), keep random ports","time":"2023-08-17T23:20:40.231Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"WARNING:root:kernel 92d4365c-be07-4243-a024-4094c7317470 restarted","time":"2023-08-17T23:20:40.234Z","v":0} ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61617/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61617/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61616
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61616/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61616/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61616/events
https://github.com/tensorflow/tensorflow/issues/61616
1,855,818,288
I_kwDOArmXAs5unYow
61,616
Test_on_batch() gives the same loss output on different batches in a single run
{ "login": "garryyan2", "id": 40864379, "node_id": "MDQ6VXNlcjQwODY0Mzc5", "avatar_url": "https://avatars.githubusercontent.com/u/40864379?v=4", "gravatar_id": "", "url": "https://api.github.com/users/garryyan2", "html_url": "https://github.com/garryyan2", "followers_url": "https://api.github.com/users/garryyan2/followers", "following_url": "https://api.github.com/users/garryyan2/following{/other_user}", "gists_url": "https://api.github.com/users/garryyan2/gists{/gist_id}", "starred_url": "https://api.github.com/users/garryyan2/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/garryyan2/subscriptions", "organizations_url": "https://api.github.com/users/garryyan2/orgs", "repos_url": "https://api.github.com/users/garryyan2/repos", "events_url": "https://api.github.com/users/garryyan2/events{/privacy}", "received_events_url": "https://api.github.com/users/garryyan2/received_events", "type": "User", "site_admin": false }
[ { "id": 404586594, "node_id": "MDU6TGFiZWw0MDQ1ODY1OTQ=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20tensorflower", "name": "stat:awaiting tensorflower", "color": "f4b400", "default": false, "description": "Status - Awaiting response from tensorflower" }, { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 1097546578, "node_id": "MDU6TGFiZWwxMDk3NTQ2NTc4", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:keras", "name": "comp:keras", "color": "0052cc", "default": false, "description": "Keras related issues" }, { "id": 5922361893, "node_id": "LA_kwDOArmXAs8AAAABYQASJQ", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF2.14", "name": "TF2.14", "color": "b60205", "default": false, "description": "For issues related to Tensorflow 2.14.x" } ]
open
false
{ "login": "sampathweb", "id": 1437573, "node_id": "MDQ6VXNlcjE0Mzc1NzM=", "avatar_url": "https://avatars.githubusercontent.com/u/1437573?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sampathweb", "html_url": "https://github.com/sampathweb", "followers_url": "https://api.github.com/users/sampathweb/followers", "following_url": "https://api.github.com/users/sampathweb/following{/other_user}", "gists_url": "https://api.github.com/users/sampathweb/gists{/gist_id}", "starred_url": "https://api.github.com/users/sampathweb/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sampathweb/subscriptions", "organizations_url": "https://api.github.com/users/sampathweb/orgs", "repos_url": "https://api.github.com/users/sampathweb/repos", "events_url": "https://api.github.com/users/sampathweb/events{/privacy}", "received_events_url": "https://api.github.com/users/sampathweb/received_events", "type": "User", "site_admin": false }
[ { "login": "sampathweb", "id": 1437573, "node_id": "MDQ6VXNlcjE0Mzc1NzM=", "avatar_url": "https://avatars.githubusercontent.com/u/1437573?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sampathweb", "html_url": "https://github.com/sampathweb", "followers_url": "https://api.github.com/users/sampathweb/followers", "following_url": "https://api.github.com/users/sampathweb/following{/other_user}", "gists_url": "https://api.github.com/users/sampathweb/gists{/gist_id}", "starred_url": "https://api.github.com/users/sampathweb/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sampathweb/subscriptions", "organizations_url": "https://api.github.com/users/sampathweb/orgs", "repos_url": "https://api.github.com/users/sampathweb/repos", "events_url": "https://api.github.com/users/sampathweb/events{/privacy}", "received_events_url": "https://api.github.com/users/sampathweb/received_events", "type": "User", "site_admin": false }, { "login": "sachinprasadhs", "id": 73069040, "node_id": "MDQ6VXNlcjczMDY5MDQw", "avatar_url": "https://avatars.githubusercontent.com/u/73069040?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sachinprasadhs", "html_url": "https://github.com/sachinprasadhs", "followers_url": "https://api.github.com/users/sachinprasadhs/followers", "following_url": "https://api.github.com/users/sachinprasadhs/following{/other_user}", "gists_url": "https://api.github.com/users/sachinprasadhs/gists{/gist_id}", "starred_url": "https://api.github.com/users/sachinprasadhs/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sachinprasadhs/subscriptions", "organizations_url": "https://api.github.com/users/sachinprasadhs/orgs", "repos_url": "https://api.github.com/users/sachinprasadhs/repos", "events_url": "https://api.github.com/users/sachinprasadhs/events{/privacy}", "received_events_url": "https://api.github.com/users/sachinprasadhs/received_events", "type": "User", "site_admin": false } ]
null
[ "Hi, \r\n\r\nCould you please provide reproducible code so that we can replicate the reported behavior. Thanks!", " Hi,\r\nThank you looking into the issue. I will work on the reproducible code next week.\r\nRegards,Garry\r\n On Thursday, August 24, 2023 at 11:16:01 AM PDT, Sachin Prasad ***@***.***> wrote: \r\n \r\n \r\n\r\n\r\nHi,\r\n\r\nCould you please provide reproducible code so that we can replicate the reported behavior. Thanks!\r\n\r\n—\r\nReply to this email directly, view it on GitHub, or unsubscribe.\r\nYou are receiving this because you authored the thread.Message ID: ***@***.***>\r\n ", "@sachinprasadhs \r\nHello, I uploaded the code onto github under the project name: test_on_batch_bug. It's the first time that I did it. I hope the problem can be duplicated.\r\nThank you!\r\nGarry\r\n", "Thanks for your effort to create a debug code, while this code is too long to debug.\r\nFor us to debug, could you please create a single script with simple reproducible code(toy example) which can be run in google Colab.", "Thank you for your quick response. I will try to merge the files into a single file.", "Please make the code simpler. Thank you.", "It took me some time to get familiar with Colab. Currently, the code runs in Colab. It will take some additional time to simplify to code. ", "@sachinprasadhs \r\n\r\nHi Sachin,\r\nI merged the files into a single one and use random data to reproduce the problem. Hopefully it's good enough, Thank you.", "Hi, I was able to reproduce the reported issue, please find the attached Gist here https://gist.github.com/sachinprasadhs/a14e4d71f9c967069fcd4fdc4aa3a967", "I just proved my suspicion that train_on_batch( ) does the same that it uses the first batch of data only for training.\r\n\r\nI used the random data in the code to train the model. As the data is random, the training should not converge. However, it converges.\r\n\r\nThe same issue exists in predict_on_batch( ). I got the same output for different batches. ", "I simplified the code even further by generating the training data directly without the signal processing involved. I got the same result: none of these functions, train_on_batch( ), Test_on_batch( ), and predict_on_batch( ). is working as expected. They all just use the first batch of data.", "@sachinprasadhs \r\nHi Sachin, I am trying to apply deep neural network to audios. To me, it makes more sense to train the NN through train_on_batch( ), so that the data in are sequence. \r\nI am little surprised to find the bug. train_on_batch( ) has been there for years. So it's a bug newly introduced? It should be a quick fix, right? Do you have an estimate when it will be fixed? Thank you!", "Can you print out `vadModel.predict(mfccs3, steps=1)` output, the `logs` are based on predictions and true values. Although predictions are expected to change with inputs, its not guaranteed if there are other issues in how the network is structured. I would also suggest you print out the true values `vadLabel`. I suspect that `vadLabel` is same value for all the data points and model predictions are also same regardless of the inputs and that could explain why the `test_on_batch` is giving you the same results.", "@sampathweb \r\nThank you very much for your comments. Here is the link of the simplified code. I did what you suggested. I did find a bug on generating vadLabel in the test_31_hub.py, which doesn't affect the original bug in train_on_batch(), test_on_batch(), and predict_on_batch(). \r\n[test_32_hub.py](https://github.com/garryyan2/best_on_batch_bug/blob/main/proj9_hub/test_32_hub_e.py)", "Here is the output of predict_on_patch( ) with the corresponding vadLabels. Only the first 3 values are displayed. You can see the predictions are the same for different mfccs3 values (and the actual vadLabel values).\r\n\r\n mfccs3 value = [[ 0.19199993 -0.04735164 -0.09702517 0.0700368 -0.07838414 0.03527357\r\n -0.13301742 -0.03066867 -0.08744524 0.00235493 0.14291315 0.00133576]]\r\nvadLabel value = [[0.]\r\n [1.]\r\n [0.]]\r\nstring logs = [[0.20285858]\r\n [0.20722845]\r\n [0.20002772]]\r\nmfccs3 value = [[-0.10515928 -0.02034175 -0.11670403 0.042041 0.01306251 -0.08155169\r\n -0.04368642 -0.06203794 0.10585806 -0.00957588 -0.07321575 0.031962 ]]\r\nvadLabel value = [[0.]\r\n [1.]\r\n [1.]]\r\nstring logs = [[0.20285858]\r\n [0.20722845]\r\n [0.20002772]]\r\nmfccs3 value = [[-0.17972131 -0.02062319 0.113969 0.13202399 -0.04922952 0.13873391\r\n -0.01433952 -0.22431006 0.00374917 -0.02184209 0.05709298 -0.16851307]]\r\nvadLabel value = [[0.]\r\n [1.]\r\n [0.]]\r\nstring logs = [[0.20285858]\r\n [0.20722845]\r\n [0.20002772]]\r\n", "@sachinprasadhs \r\nHi Sachin,\r\n\r\nThe bug has been reported for a while. This is a serious bug: none of these three functions rain_on_batch(), test_on_batch(), and predict_on_batch(), are working as they are supposed to work. All three of the functions only use the first batch of data instead of using all batches in a loop. \r\nMy question is how we can expedite the bug fixing. \r\nIs there anyone working on the issue right now? Is there a priority number assigned to the bug? How can we prioritize the problem? \r\nThank you for your help.", "@SuryanarayanaY \r\n\r\nHi Surya, \r\n\r\nI just verified through Colab that the bugs are in the latest tensorflow version 2.14.0 as well. Could you please remove the label TF 2.10?\r\n\r\nMy code is in github [test_32_hub_e.py](https://github.com/garryyan2/best_on_batch_bug/blob/main/proj9_hub/test_32_hub_e.py)\r\n\r\nI am really puzzled that how such a bug could be there. Did I do something wrong?\r\nThank you for your help.\r\n\r\n", "It looks like the problem happens only in models generated through tf.keras.Sequential( ) . \r\n\r\nThe sequential model is problematic. I also encounter issues when I try to use keras.optimizers.Adam( ) optimizer. " ]
2023-08-17T23:10:29
2023-11-17T18:03:40
null
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? Yes ### TensorFlow version tf 2.10.0 ### Custom code Yes ### OS platform and distribution windows 10 ### Python version 3.10.12 ### Current behavior? I noticed the problem when I got a straight horizontal line on plotting the test results on the trained network. I used the sequential models. I use train_on_batch(), which gives converging losses. When I switch to test_on_batch(), the losses remain the same for different batches. When I restart the test with different test files, it will give a different loss value, which remains the same for all the batches. In other words, the loss from test_on_batch() remains the some for all batches in a single run. It's a sequential model. Here is the code of the section: print('mfccs3 value = ', tf.keras.backend.eval(mfccs3[1,:]) ) #logs = vadModel.train_on_batch(mfccs3, vadLabel) logs = vadModel.test_on_batch(mfccs3, vadLabel) print('string logs = ', str(logs)) The result is: index = 1 ``` mfccs3 value = [[-8.2793800e+01 -5.9538417e+00 9.8302096e-01 -3.5255635e-01 3.0392697e-01 -6.4597696e-01 2.2358397e-02 2.5344249e-02 -6.8171650e-01 -3.7053981e-01 -3.4044239e-01 -8.1056818e-02]] ``` string logs = 0.2398043 index = 2 ``` mfccs3 value = [[-69.159195 -2.2269542 4.2501264 -1.3486748 0.62957734 -3.2606528 -3.253118 -3.5308673 -1.1313365 -1.1839466 -2.330786 -1.6313086 ]] ``` string logs = 0.2398043 index = 3 ``` mfccs3 value = [[-64.894104 -1.892648 0.11392474 -0.81098145 -1.4640433 -1.1901256 -1.7744782 -0.85753983 -0.9694403 -0.8149232 -1.0680746 -1.0442001 ]] ``` string logs = 0.2398043 You can see that the inputs for test_on_batch() have changed. However, the loss remains the same. I use the same code for train_on_batch(), which gives converging losses. ### Standalone code to reproduce the issue ```shell logs = vadModel.train_on_batch(mfccs3, vadLabel) """ vs. """ logs = vadModel.test_on_batch(mfccs3, vadLabel) it's just these two lines for a sequential model. ``` ### Relevant log output ```shell I even tried latest Tensorflow version. It has the same problem. tensorflow version: 2.15.0-dev20230817 listOfFiles 1681 2023-08-17 15:42:12.560549: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations. To enable the following instructions: SSE SSE2 SSE3 SSE4.1 SSE4.2 AVX AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. model length = 7 Model: "sequential" _________________________________________________________________ Layer (type) Output Shape Param # ================================================================= lstm (LSTM) multiple 2640 dense (Dense) multiple 210 dense_1 (Dense) multiple 11 ================================================================= Total params: 2861 (11.18 KB) Trainable params: 2861 (11.18 KB) Non-trainable params: 0 (0.00 Byte) _________________________________________________________________ ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61616/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61616/timeline
null
null
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61615
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61615/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61615/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61615/events
https://github.com/tensorflow/tensorflow/issues/61615
1,855,767,289
I_kwDOArmXAs5unML5
61,615
Overflow bug when running tf.raw_ops.Pad
{ "login": "dmc1778", "id": 17060581, "node_id": "MDQ6VXNlcjE3MDYwNTgx", "avatar_url": "https://avatars.githubusercontent.com/u/17060581?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmc1778", "html_url": "https://github.com/dmc1778", "followers_url": "https://api.github.com/users/dmc1778/followers", "following_url": "https://api.github.com/users/dmc1778/following{/other_user}", "gists_url": "https://api.github.com/users/dmc1778/gists{/gist_id}", "starred_url": "https://api.github.com/users/dmc1778/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmc1778/subscriptions", "organizations_url": "https://api.github.com/users/dmc1778/orgs", "repos_url": "https://api.github.com/users/dmc1778/repos", "events_url": "https://api.github.com/users/dmc1778/events{/privacy}", "received_events_url": "https://api.github.com/users/dmc1778/received_events", "type": "User", "site_admin": false }
[ { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" } ]
closed
false
{ "login": "sushreebarsa", "id": 84765720, "node_id": "MDQ6VXNlcjg0NzY1NzIw", "avatar_url": "https://avatars.githubusercontent.com/u/84765720?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sushreebarsa", "html_url": "https://github.com/sushreebarsa", "followers_url": "https://api.github.com/users/sushreebarsa/followers", "following_url": "https://api.github.com/users/sushreebarsa/following{/other_user}", "gists_url": "https://api.github.com/users/sushreebarsa/gists{/gist_id}", "starred_url": "https://api.github.com/users/sushreebarsa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sushreebarsa/subscriptions", "organizations_url": "https://api.github.com/users/sushreebarsa/orgs", "repos_url": "https://api.github.com/users/sushreebarsa/repos", "events_url": "https://api.github.com/users/sushreebarsa/events{/privacy}", "received_events_url": "https://api.github.com/users/sushreebarsa/received_events", "type": "User", "site_admin": false }
[ { "login": "sushreebarsa", "id": 84765720, "node_id": "MDQ6VXNlcjg0NzY1NzIw", "avatar_url": "https://avatars.githubusercontent.com/u/84765720?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sushreebarsa", "html_url": "https://github.com/sushreebarsa", "followers_url": "https://api.github.com/users/sushreebarsa/followers", "following_url": "https://api.github.com/users/sushreebarsa/following{/other_user}", "gists_url": "https://api.github.com/users/sushreebarsa/gists{/gist_id}", "starred_url": "https://api.github.com/users/sushreebarsa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sushreebarsa/subscriptions", "organizations_url": "https://api.github.com/users/sushreebarsa/orgs", "repos_url": "https://api.github.com/users/sushreebarsa/repos", "events_url": "https://api.github.com/users/sushreebarsa/events{/privacy}", "received_events_url": "https://api.github.com/users/sushreebarsa/received_events", "type": "User", "site_admin": false } ]
null
[ "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61615\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61615\">No</a>\n", "Not an issue, that's an error that is being returned to the user instead of performing bad computations.\r\n\r\nPlease consult again the SECURITY.md guide, please don't spam with low quality issues." ]
2023-08-17T22:06:34
2023-08-20T17:05:57
2023-08-20T17:05:51
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source binary ### TensorFlow version 2.13.0 ### Custom code Yes ### OS platform and distribution _No response_ ### Mobile device _No response_ ### Python version _No response_ ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? Due to the large list of elements ### Standalone code to reproduce the issue ```shell import tensorflow as tf import os import numpy as np try: input_tensor = tf.random.uniform([16, 16, 16, 512], dtype=tf.float32) input = tf.identity(input_tensor) paddings_0_0 = 125091515651 paddings_0_1 = 125091515651 paddings_0 = [paddings_0_0,paddings_0_1,] paddings_1_0 = 125091515651 paddings_1_1 = False paddings_1 = [paddings_1_0,paddings_1_1,] paddings_2_0 = 125091515651 paddings_2_1 = 125091515651 paddings_2 = [paddings_2_0,paddings_2_1,] paddings_3_0 = 125091515651 paddings_3_1 = 125091515651 paddings_3 = [paddings_3_0,paddings_3_1,] paddings = [paddings_0,paddings_1,paddings_2,paddings_3,] name = None out = tf.raw_ops.Pad(input=input,paddings=paddings,name=name,) except Exception as e: print("Error:"+str(e)) ``` ``` ### Relevant log output ```shell Error:{{function_node __wrapped__Pad_device_/job:localhost/replica:0/task:0/device:GPU:0}} Encountered overflow when multiplying 250183031318 with 125091515667, result: -1 [[{{node Pad}}]] [Op:Pad] ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61615/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61615/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61614
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61614/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61614/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61614/events
https://github.com/tensorflow/tensorflow/issues/61614
1,855,764,486
I_kwDOArmXAs5unLgG
61,614
Overflow when running tf.raw_ops.PadV2
{ "login": "dmc1778", "id": 17060581, "node_id": "MDQ6VXNlcjE3MDYwNTgx", "avatar_url": "https://avatars.githubusercontent.com/u/17060581?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmc1778", "html_url": "https://github.com/dmc1778", "followers_url": "https://api.github.com/users/dmc1778/followers", "following_url": "https://api.github.com/users/dmc1778/following{/other_user}", "gists_url": "https://api.github.com/users/dmc1778/gists{/gist_id}", "starred_url": "https://api.github.com/users/dmc1778/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmc1778/subscriptions", "organizations_url": "https://api.github.com/users/dmc1778/orgs", "repos_url": "https://api.github.com/users/dmc1778/repos", "events_url": "https://api.github.com/users/dmc1778/events{/privacy}", "received_events_url": "https://api.github.com/users/dmc1778/received_events", "type": "User", "site_admin": false }
[ { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" } ]
closed
false
{ "login": "Varsha-anjanappa", "id": 137163810, "node_id": "U_kgDOCCz0Ig", "avatar_url": "https://avatars.githubusercontent.com/u/137163810?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Varsha-anjanappa", "html_url": "https://github.com/Varsha-anjanappa", "followers_url": "https://api.github.com/users/Varsha-anjanappa/followers", "following_url": "https://api.github.com/users/Varsha-anjanappa/following{/other_user}", "gists_url": "https://api.github.com/users/Varsha-anjanappa/gists{/gist_id}", "starred_url": "https://api.github.com/users/Varsha-anjanappa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Varsha-anjanappa/subscriptions", "organizations_url": "https://api.github.com/users/Varsha-anjanappa/orgs", "repos_url": "https://api.github.com/users/Varsha-anjanappa/repos", "events_url": "https://api.github.com/users/Varsha-anjanappa/events{/privacy}", "received_events_url": "https://api.github.com/users/Varsha-anjanappa/received_events", "type": "User", "site_admin": false }
[ { "login": "Varsha-anjanappa", "id": 137163810, "node_id": "U_kgDOCCz0Ig", "avatar_url": "https://avatars.githubusercontent.com/u/137163810?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Varsha-anjanappa", "html_url": "https://github.com/Varsha-anjanappa", "followers_url": "https://api.github.com/users/Varsha-anjanappa/followers", "following_url": "https://api.github.com/users/Varsha-anjanappa/following{/other_user}", "gists_url": "https://api.github.com/users/Varsha-anjanappa/gists{/gist_id}", "starred_url": "https://api.github.com/users/Varsha-anjanappa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Varsha-anjanappa/subscriptions", "organizations_url": "https://api.github.com/users/Varsha-anjanappa/orgs", "repos_url": "https://api.github.com/users/Varsha-anjanappa/repos", "events_url": "https://api.github.com/users/Varsha-anjanappa/events{/privacy}", "received_events_url": "https://api.github.com/users/Varsha-anjanappa/received_events", "type": "User", "site_admin": false } ]
null
[ "Not an issue, that's an error that is being returned to the user instead of performing bad computations.\r\n\r\nPlease consult again the SECURITY.md guide, please don't spam with low quality issues.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61614\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61614\">No</a>\n" ]
2023-08-17T22:03:19
2023-08-20T17:06:05
2023-08-20T17:06:03
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source binary ### TensorFlow version 2.13.0 ### Custom code Yes ### OS platform and distribution _No response_ ### Mobile device _No response_ ### Python version _No response_ ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? Due to the large list of element ### Standalone code to reproduce the issue ```shell import tensorflow as tf import os import numpy as np try: input_tensor = tf.random.uniform([16, 4, 4, 512], dtype=tf.float32) input = tf.identity(input_tensor) paddings_0_0 = 125091515651 paddings_0_1 = 125091515651 paddings_0 = [paddings_0_0,paddings_0_1,] paddings_1_0 = 125091515651 paddings_1_1 = 125091515651 paddings_1 = [paddings_1_0,paddings_1_1,] paddings_2_0 = 125091515651 paddings_2_1 = 125091515651 paddings_2 = [paddings_2_0,paddings_2_1,] paddings_3_0 = 125091515651 paddings_3_1 = 125091515651 paddings_3 = [paddings_3_0,paddings_3_1,] paddings = [paddings_0,paddings_1,paddings_2,paddings_3,] constant_values = 0 name = None out = tf.raw_ops.PadV2(input=input,paddings=paddings,constant_values=constant_values,name=name,) except Exception as e: print("Error:"+str(e)) ``` ``` ### Relevant log output ```shell Error:{{function_node __wrapped__PadV2_device_/job:localhost/replica:0/task:0/device:GPU:0}} Encountered overflow when multiplying 250183031318 with 250183031306, result: -1 [[{{node PadV2}}]] [Op:PadV2] ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61614/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61614/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61613
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61613/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61613/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61613/events
https://github.com/tensorflow/tensorflow/issues/61613
1,855,762,858
I_kwDOArmXAs5unLGq
61,613
Overflow bug when running tf.tile
{ "login": "dmc1778", "id": 17060581, "node_id": "MDQ6VXNlcjE3MDYwNTgx", "avatar_url": "https://avatars.githubusercontent.com/u/17060581?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmc1778", "html_url": "https://github.com/dmc1778", "followers_url": "https://api.github.com/users/dmc1778/followers", "following_url": "https://api.github.com/users/dmc1778/following{/other_user}", "gists_url": "https://api.github.com/users/dmc1778/gists{/gist_id}", "starred_url": "https://api.github.com/users/dmc1778/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmc1778/subscriptions", "organizations_url": "https://api.github.com/users/dmc1778/orgs", "repos_url": "https://api.github.com/users/dmc1778/repos", "events_url": "https://api.github.com/users/dmc1778/events{/privacy}", "received_events_url": "https://api.github.com/users/dmc1778/received_events", "type": "User", "site_admin": false }
[ { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 1097547147, "node_id": "MDU6TGFiZWwxMDk3NTQ3MTQ3", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:ops", "name": "comp:ops", "color": "0052cc", "default": false, "description": "OPs related issues" }, { "id": 5508003926, "node_id": "LA_kwDOArmXAs8AAAABSE14Vg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13", "name": "TF 2.13", "color": "B13ACB", "default": false, "description": "For issues related to Tensorflow 2.13" } ]
closed
false
{ "login": "tilakrayal", "id": 81610181, "node_id": "MDQ6VXNlcjgxNjEwMTgx", "avatar_url": "https://avatars.githubusercontent.com/u/81610181?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tilakrayal", "html_url": "https://github.com/tilakrayal", "followers_url": "https://api.github.com/users/tilakrayal/followers", "following_url": "https://api.github.com/users/tilakrayal/following{/other_user}", "gists_url": "https://api.github.com/users/tilakrayal/gists{/gist_id}", "starred_url": "https://api.github.com/users/tilakrayal/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tilakrayal/subscriptions", "organizations_url": "https://api.github.com/users/tilakrayal/orgs", "repos_url": "https://api.github.com/users/tilakrayal/repos", "events_url": "https://api.github.com/users/tilakrayal/events{/privacy}", "received_events_url": "https://api.github.com/users/tilakrayal/received_events", "type": "User", "site_admin": false }
[ { "login": "tilakrayal", "id": 81610181, "node_id": "MDQ6VXNlcjgxNjEwMTgx", "avatar_url": "https://avatars.githubusercontent.com/u/81610181?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tilakrayal", "html_url": "https://github.com/tilakrayal", "followers_url": "https://api.github.com/users/tilakrayal/followers", "following_url": "https://api.github.com/users/tilakrayal/following{/other_user}", "gists_url": "https://api.github.com/users/tilakrayal/gists{/gist_id}", "starred_url": "https://api.github.com/users/tilakrayal/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tilakrayal/subscriptions", "organizations_url": "https://api.github.com/users/tilakrayal/orgs", "repos_url": "https://api.github.com/users/tilakrayal/repos", "events_url": "https://api.github.com/users/tilakrayal/events{/privacy}", "received_events_url": "https://api.github.com/users/tilakrayal/received_events", "type": "User", "site_admin": false } ]
null
[ "Not an issue, that's an error that is being returned to the user instead of performing bad computations.\r\n\r\nPlease consult again the SECURITY.md guide, please don't spam with low quality issues.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61613\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61613\">No</a>\n" ]
2023-08-17T22:01:13
2023-08-20T17:06:11
2023-08-20T17:06:09
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source binary ### TensorFlow version 2.13.0 ### Custom code Yes ### OS platform and distribution _No response_ ### Mobile device _No response_ ### Python version _No response_ ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? Due to large list elements ### Standalone code to reproduce the issue ```shell import tensorflow as tf import os import numpy as np try: arg_0_tensor = tf.random.uniform([452, 1, 768], dtype=tf.float32) arg_0 = tf.identity(arg_0_tensor) arg_1_0 = 125091515651 arg_1_1 = 125091515651 arg_1_2 = 125091515651 arg_1 = [arg_1_0,arg_1_1,arg_1_2,] out = tf.tile(arg_0,arg_1,) except Exception as e: print("Error:"+str(e)) ``` ``` ### Relevant log output ```shell Error:{{function_node __wrapped__Tile_device_/job:localhost/replica:0/task:0/device:GPU:0}} Encountered overflow when multiplying 56541365074252 with 125091515651, result: -1 [[{{node Tile}}]] [Op:Tile] ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61613/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61613/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61612
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61612/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61612/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61612/events
https://github.com/tensorflow/tensorflow/issues/61612
1,855,760,708
I_kwDOArmXAs5unKlE
61,612
Overflow when running tf.image.pad_to_bounding_box on colab
{ "login": "dmc1778", "id": 17060581, "node_id": "MDQ6VXNlcjE3MDYwNTgx", "avatar_url": "https://avatars.githubusercontent.com/u/17060581?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmc1778", "html_url": "https://github.com/dmc1778", "followers_url": "https://api.github.com/users/dmc1778/followers", "following_url": "https://api.github.com/users/dmc1778/following{/other_user}", "gists_url": "https://api.github.com/users/dmc1778/gists{/gist_id}", "starred_url": "https://api.github.com/users/dmc1778/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmc1778/subscriptions", "organizations_url": "https://api.github.com/users/dmc1778/orgs", "repos_url": "https://api.github.com/users/dmc1778/repos", "events_url": "https://api.github.com/users/dmc1778/events{/privacy}", "received_events_url": "https://api.github.com/users/dmc1778/received_events", "type": "User", "site_admin": false }
[ { "id": 386191887, "node_id": "MDU6TGFiZWwzODYxOTE4ODc=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response", "name": "stat:awaiting response", "color": "f4b400", "default": false, "description": "Status - Awaiting response from author" }, { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 1097547147, "node_id": "MDU6TGFiZWwxMDk3NTQ3MTQ3", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:ops", "name": "comp:ops", "color": "0052cc", "default": false, "description": "OPs related issues" }, { "id": 5508003926, "node_id": "LA_kwDOArmXAs8AAAABSE14Vg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13", "name": "TF 2.13", "color": "B13ACB", "default": false, "description": "For issues related to Tensorflow 2.13" } ]
closed
false
{ "login": "SuryanarayanaY", "id": 116063290, "node_id": "U_kgDOBur8Og", "avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SuryanarayanaY", "html_url": "https://github.com/SuryanarayanaY", "followers_url": "https://api.github.com/users/SuryanarayanaY/followers", "following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}", "gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}", "starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions", "organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs", "repos_url": "https://api.github.com/users/SuryanarayanaY/repos", "events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}", "received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events", "type": "User", "site_admin": false }
[ { "login": "SuryanarayanaY", "id": 116063290, "node_id": "U_kgDOBur8Og", "avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SuryanarayanaY", "html_url": "https://github.com/SuryanarayanaY", "followers_url": "https://api.github.com/users/SuryanarayanaY/followers", "following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}", "gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}", "starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions", "organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs", "repos_url": "https://api.github.com/users/SuryanarayanaY/repos", "events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}", "received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events", "type": "User", "site_admin": false } ]
null
[ "Hi @dmc1778 , \r\n\r\nThe reported behaviour is replicated with Tf2.13v and tf-nightly and attached gists [2.13v](https://colab.sandbox.google.com/gist/SuryanarayanaY/f3c46bd0862861062d586e3f63ef6dc6/61612-2-13v.ipynb) and [nightly](https://colab.sandbox.google.com/gist/SuryanarayanaY/876b472a93130a91defcb26319566bd9/61612-tf-nightly.ipynb) for reference.", "@dmc1778 ,\r\n\r\nPlease refer to the responses of Developer team related to the exception raised https://github.com/tensorflow/tensorflow/issues/61630#issuecomment-1685333019 and https://github.com/tensorflow/tensorflow/issues/61629#issuecomment-1686504422 stating it as intended behaviour.\r\n\r\nThe Op tries to allocate the memory for the inputs and outputs before performing computations and it fails. The same error returned to python and its adding more details to error log.\r\n\r\nAs requested please read [SECURITY.md](https://github.com/tensorflow/tensorflow/blob/master/SECURITY.md) to disclose these types of issues.\r\n\r\nThanks!", "Not an issue, it is a normal error being returned to the user.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61612\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61612\">No</a>\n" ]
2023-08-17T21:58:34
2023-08-21T18:00:17
2023-08-21T18:00:13
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source binary ### TensorFlow version 2.13.0 ### Custom code Yes ### OS platform and distribution _No response_ ### Mobile device _No response_ ### Python version _No response_ ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? Due to large list element ### Standalone code to reproduce the issue ```shell import tensorflow as tf import os import numpy as np try: arg_0_0_0_0 = 1.0 arg_0_0_0_1 = 2.0 arg_0_0_0_2 = 3.0 arg_0_0_0 = [arg_0_0_0_0,arg_0_0_0_1,arg_0_0_0_2,] arg_0_0_1_0 = 4.0 arg_0_0_1_1 = 5.0 arg_0_0_1_2 = 6.0 arg_0_0_1 = [arg_0_0_1_0,arg_0_0_1_1,arg_0_0_1_2,] arg_0_0 = [arg_0_0_0,arg_0_0_1,] arg_0_1_0_0 = 7.0 arg_0_1_0_1 = 8.0 arg_0_1_0_2 = 9.0 arg_0_1_0 = [arg_0_1_0_0,arg_0_1_0_1,arg_0_1_0_2,] arg_0_1_1_0 = 10.0 arg_0_1_1_1 = 11.0 arg_0_1_1_2 = 12.0 arg_0_1_1 = [arg_0_1_1_0,arg_0_1_1_1,arg_0_1_1_2,] arg_0_1 = [arg_0_1_0,arg_0_1_1,] arg_0 = [arg_0_0,arg_0_1,] arg_1 = 1 arg_2 = 1 arg_3 = 4 arg_4 = 1676240524292489355 out = tf.image.pad_to_bounding_box(arg_0,arg_1,arg_2,arg_3,arg_4,) except Exception as e: print("Error:"+str(e)) ``` ``` ### Relevant log output ```shell Error:{{function_node __wrapped__Pad_device_/job:localhost/replica:0/task:0/device:GPU:0}} Encountered overflow when multiplying 6704962097169957420 with 3, result: -1 [[{{node Pad}}]] [Op:Pad] name: ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61612/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61612/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61611
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61611/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61611/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61611/events
https://github.com/tensorflow/tensorflow/issues/61611
1,855,759,333
I_kwDOArmXAs5unKPl
61,611
Overflow bug when running tf.raw_ops.Tile on colab
{ "login": "dmc1778", "id": 17060581, "node_id": "MDQ6VXNlcjE3MDYwNTgx", "avatar_url": "https://avatars.githubusercontent.com/u/17060581?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmc1778", "html_url": "https://github.com/dmc1778", "followers_url": "https://api.github.com/users/dmc1778/followers", "following_url": "https://api.github.com/users/dmc1778/following{/other_user}", "gists_url": "https://api.github.com/users/dmc1778/gists{/gist_id}", "starred_url": "https://api.github.com/users/dmc1778/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmc1778/subscriptions", "organizations_url": "https://api.github.com/users/dmc1778/orgs", "repos_url": "https://api.github.com/users/dmc1778/repos", "events_url": "https://api.github.com/users/dmc1778/events{/privacy}", "received_events_url": "https://api.github.com/users/dmc1778/received_events", "type": "User", "site_admin": false }
[ { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" } ]
closed
false
{ "login": "sushreebarsa", "id": 84765720, "node_id": "MDQ6VXNlcjg0NzY1NzIw", "avatar_url": "https://avatars.githubusercontent.com/u/84765720?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sushreebarsa", "html_url": "https://github.com/sushreebarsa", "followers_url": "https://api.github.com/users/sushreebarsa/followers", "following_url": "https://api.github.com/users/sushreebarsa/following{/other_user}", "gists_url": "https://api.github.com/users/sushreebarsa/gists{/gist_id}", "starred_url": "https://api.github.com/users/sushreebarsa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sushreebarsa/subscriptions", "organizations_url": "https://api.github.com/users/sushreebarsa/orgs", "repos_url": "https://api.github.com/users/sushreebarsa/repos", "events_url": "https://api.github.com/users/sushreebarsa/events{/privacy}", "received_events_url": "https://api.github.com/users/sushreebarsa/received_events", "type": "User", "site_admin": false }
[ { "login": "sushreebarsa", "id": 84765720, "node_id": "MDQ6VXNlcjg0NzY1NzIw", "avatar_url": "https://avatars.githubusercontent.com/u/84765720?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sushreebarsa", "html_url": "https://github.com/sushreebarsa", "followers_url": "https://api.github.com/users/sushreebarsa/followers", "following_url": "https://api.github.com/users/sushreebarsa/following{/other_user}", "gists_url": "https://api.github.com/users/sushreebarsa/gists{/gist_id}", "starred_url": "https://api.github.com/users/sushreebarsa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sushreebarsa/subscriptions", "organizations_url": "https://api.github.com/users/sushreebarsa/orgs", "repos_url": "https://api.github.com/users/sushreebarsa/repos", "events_url": "https://api.github.com/users/sushreebarsa/events{/privacy}", "received_events_url": "https://api.github.com/users/sushreebarsa/received_events", "type": "User", "site_admin": false } ]
null
[ "Not an issue, that's an error that is being returned to the user instead of performing bad computations.\r\n\r\nPlease consult again the SECURITY.md guide, please don't spam with low quality issues.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61611\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61611\">No</a>\n" ]
2023-08-17T21:56:54
2023-08-20T17:06:18
2023-08-20T17:06:15
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source binary ### TensorFlow version 2.13.0 ### Custom code Yes ### OS platform and distribution _No response_ ### Mobile device _No response_ ### Python version _No response_ ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? Due to large list elements ### Standalone code to reproduce the issue ```shell import tensorflow as tf import os import numpy as np try: input_tensor = tf.random.uniform([4, 1, 1, 20], dtype=tf.float32) input = tf.identity(input_tensor) multiples_0 = 125091515651 multiples_1 = True multiples_2 = 125091515651 multiples_3 = 125091515651 multiples = [multiples_0,multiples_1,multiples_2,multiples_3,] name = None out = tf.raw_ops.Tile(input=input,multiples=multiples,name=name,) except Exception as e: print("Error:"+str(e)) ``` ``` ### Relevant log output ```shell Error:{{function_node __wrapped__Tile_device_/job:localhost/replica:0/task:0/device:CPU:0}} Encountered overflow when multiplying 500366062604 with 125091515651, result: -1 [Op:Tile] ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61611/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61611/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61610
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61610/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61610/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61610/events
https://github.com/tensorflow/tensorflow/issues/61610
1,855,756,051
I_kwDOArmXAs5unJcT
61,610
Overflow when running tf.keras.layers.ZeroPadding2D
{ "login": "dmc1778", "id": 17060581, "node_id": "MDQ6VXNlcjE3MDYwNTgx", "avatar_url": "https://avatars.githubusercontent.com/u/17060581?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmc1778", "html_url": "https://github.com/dmc1778", "followers_url": "https://api.github.com/users/dmc1778/followers", "following_url": "https://api.github.com/users/dmc1778/following{/other_user}", "gists_url": "https://api.github.com/users/dmc1778/gists{/gist_id}", "starred_url": "https://api.github.com/users/dmc1778/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmc1778/subscriptions", "organizations_url": "https://api.github.com/users/dmc1778/orgs", "repos_url": "https://api.github.com/users/dmc1778/repos", "events_url": "https://api.github.com/users/dmc1778/events{/privacy}", "received_events_url": "https://api.github.com/users/dmc1778/received_events", "type": "User", "site_admin": false }
[ { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" } ]
closed
false
{ "login": "Varsha-anjanappa", "id": 137163810, "node_id": "U_kgDOCCz0Ig", "avatar_url": "https://avatars.githubusercontent.com/u/137163810?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Varsha-anjanappa", "html_url": "https://github.com/Varsha-anjanappa", "followers_url": "https://api.github.com/users/Varsha-anjanappa/followers", "following_url": "https://api.github.com/users/Varsha-anjanappa/following{/other_user}", "gists_url": "https://api.github.com/users/Varsha-anjanappa/gists{/gist_id}", "starred_url": "https://api.github.com/users/Varsha-anjanappa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Varsha-anjanappa/subscriptions", "organizations_url": "https://api.github.com/users/Varsha-anjanappa/orgs", "repos_url": "https://api.github.com/users/Varsha-anjanappa/repos", "events_url": "https://api.github.com/users/Varsha-anjanappa/events{/privacy}", "received_events_url": "https://api.github.com/users/Varsha-anjanappa/received_events", "type": "User", "site_admin": false }
[ { "login": "Varsha-anjanappa", "id": 137163810, "node_id": "U_kgDOCCz0Ig", "avatar_url": "https://avatars.githubusercontent.com/u/137163810?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Varsha-anjanappa", "html_url": "https://github.com/Varsha-anjanappa", "followers_url": "https://api.github.com/users/Varsha-anjanappa/followers", "following_url": "https://api.github.com/users/Varsha-anjanappa/following{/other_user}", "gists_url": "https://api.github.com/users/Varsha-anjanappa/gists{/gist_id}", "starred_url": "https://api.github.com/users/Varsha-anjanappa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Varsha-anjanappa/subscriptions", "organizations_url": "https://api.github.com/users/Varsha-anjanappa/orgs", "repos_url": "https://api.github.com/users/Varsha-anjanappa/repos", "events_url": "https://api.github.com/users/Varsha-anjanappa/events{/privacy}", "received_events_url": "https://api.github.com/users/Varsha-anjanappa/received_events", "type": "User", "site_admin": false } ]
null
[ "Not an issue, that's an error that is being returned to the user instead of performing bad computations.\r\n\r\nPlease consult again the SECURITY.md guide, please don't spam with low quality issues.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61610\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61610\">No</a>\n" ]
2023-08-17T21:53:16
2023-08-20T17:06:25
2023-08-20T17:06:22
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source binary ### TensorFlow version 2.13.0 ### Custom code Yes ### OS platform and distribution _No response_ ### Mobile device _No response_ ### Python version _No response_ ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? Due to large list elements ### Standalone code to reproduce the issue ```shell import tensorflow as tf import os import numpy as np try: padding_0_0 = 125091515651 padding_0_1 = False padding_0 = [padding_0_0,padding_0_1,] padding_1_0 = 125091515651 padding_1_1 = 125091515651 padding_1 = [padding_1_0,padding_1_1,] padding = [padding_0,padding_1,] arg_class = tf.keras.layers.ZeroPadding2D(padding=padding,) arg_input_0_tensor = tf.random.uniform([3, 300, 300, 192], dtype=tf.float32) arg_input_0 = tf.identity(arg_input_0_tensor) arg_input = [arg_input_0,] out = arg_class(*arg_input) except Exception as e: print("Error:"+str(e)) ``` ``` ### Relevant log output ```shell Error:Exception encountered when calling layer 'zero_padding2d' (type ZeroPadding2D). {{function_node __wrapped__Pad_device_/job:localhost/replica:0/task:0/device:GPU:0}} Encountered overflow when multiplying 375274547853 with 250183031602, result: -1 [[{{node Pad}}]] [Op:Pad] Call arguments received by layer 'zero_padding2d' (type ZeroPadding2D): • inputs=tf.Tensor(shape=(3, 300, 300, 192), dtype=float32) {} ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61610/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61610/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61609
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61609/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61609/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61609/events
https://github.com/tensorflow/tensorflow/issues/61609
1,855,754,824
I_kwDOArmXAs5unJJI
61,609
Overflow bug when running tf.keras.layers.ZeroPadding3D
{ "login": "dmc1778", "id": 17060581, "node_id": "MDQ6VXNlcjE3MDYwNTgx", "avatar_url": "https://avatars.githubusercontent.com/u/17060581?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmc1778", "html_url": "https://github.com/dmc1778", "followers_url": "https://api.github.com/users/dmc1778/followers", "following_url": "https://api.github.com/users/dmc1778/following{/other_user}", "gists_url": "https://api.github.com/users/dmc1778/gists{/gist_id}", "starred_url": "https://api.github.com/users/dmc1778/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmc1778/subscriptions", "organizations_url": "https://api.github.com/users/dmc1778/orgs", "repos_url": "https://api.github.com/users/dmc1778/repos", "events_url": "https://api.github.com/users/dmc1778/events{/privacy}", "received_events_url": "https://api.github.com/users/dmc1778/received_events", "type": "User", "site_admin": false }
[ { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 1097546578, "node_id": "MDU6TGFiZWwxMDk3NTQ2NTc4", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:keras", "name": "comp:keras", "color": "0052cc", "default": false, "description": "Keras related issues" }, { "id": 5508003926, "node_id": "LA_kwDOArmXAs8AAAABSE14Vg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13", "name": "TF 2.13", "color": "B13ACB", "default": false, "description": "For issues related to Tensorflow 2.13" } ]
closed
false
{ "login": "tilakrayal", "id": 81610181, "node_id": "MDQ6VXNlcjgxNjEwMTgx", "avatar_url": "https://avatars.githubusercontent.com/u/81610181?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tilakrayal", "html_url": "https://github.com/tilakrayal", "followers_url": "https://api.github.com/users/tilakrayal/followers", "following_url": "https://api.github.com/users/tilakrayal/following{/other_user}", "gists_url": "https://api.github.com/users/tilakrayal/gists{/gist_id}", "starred_url": "https://api.github.com/users/tilakrayal/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tilakrayal/subscriptions", "organizations_url": "https://api.github.com/users/tilakrayal/orgs", "repos_url": "https://api.github.com/users/tilakrayal/repos", "events_url": "https://api.github.com/users/tilakrayal/events{/privacy}", "received_events_url": "https://api.github.com/users/tilakrayal/received_events", "type": "User", "site_admin": false }
[ { "login": "tilakrayal", "id": 81610181, "node_id": "MDQ6VXNlcjgxNjEwMTgx", "avatar_url": "https://avatars.githubusercontent.com/u/81610181?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tilakrayal", "html_url": "https://github.com/tilakrayal", "followers_url": "https://api.github.com/users/tilakrayal/followers", "following_url": "https://api.github.com/users/tilakrayal/following{/other_user}", "gists_url": "https://api.github.com/users/tilakrayal/gists{/gist_id}", "starred_url": "https://api.github.com/users/tilakrayal/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tilakrayal/subscriptions", "organizations_url": "https://api.github.com/users/tilakrayal/orgs", "repos_url": "https://api.github.com/users/tilakrayal/repos", "events_url": "https://api.github.com/users/tilakrayal/events{/privacy}", "received_events_url": "https://api.github.com/users/tilakrayal/received_events", "type": "User", "site_admin": false } ]
null
[ "Not an issue, that's an error that is being returned to the user instead of performing bad computations.\r\n\r\nPlease consult again the SECURITY.md guide, please don't spam with low quality issues.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61609\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61609\">No</a>\n" ]
2023-08-17T21:51:46
2023-08-20T17:06:31
2023-08-20T17:06:29
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source binary ### TensorFlow version 2.13.0 ### Custom code Yes ### OS platform and distribution _No response_ ### Mobile device _No response_ ### Python version _No response_ ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? Due to the large integer value ### Standalone code to reproduce the issue ```shell import tensorflow as tf import os import numpy as np try: padding = 1610612736 arg_class = tf.keras.layers.ZeroPadding3D(padding=padding,) arg_input_0_tensor = tf.random.uniform([1, 1, 2, 2, 3], dtype=tf.float32) arg_input_0 = tf.identity(arg_input_0_tensor) arg_input = [arg_input_0,] out = arg_class(*arg_input) except Exception as e: print("Error:"+str(e)) ``` ``` ### Relevant log output ```shell Error:Exception encountered when calling layer 'zero_padding3d' (type ZeroPadding3D). {{function_node __wrapped__Pad_device_/job:localhost/replica:0/task:0/device:GPU:0}} Encountered overflow when multiplying 3221225473 with 3221225474, result: -8070450522584252414 [Op:Pad] Call arguments received by layer 'zero_padding3d' (type ZeroPadding3D): • inputs=tf.Tensor(shape=(1, 1, 2, 2, 3), dtype=float32) {} ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61609/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61609/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61608
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61608/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61608/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61608/events
https://github.com/tensorflow/tensorflow/issues/61608
1,855,528,995
I_kwDOArmXAs5umSAj
61,608
Overflow bug when running tf.pad on colab
{ "login": "dmc1778", "id": 17060581, "node_id": "MDQ6VXNlcjE3MDYwNTgx", "avatar_url": "https://avatars.githubusercontent.com/u/17060581?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmc1778", "html_url": "https://github.com/dmc1778", "followers_url": "https://api.github.com/users/dmc1778/followers", "following_url": "https://api.github.com/users/dmc1778/following{/other_user}", "gists_url": "https://api.github.com/users/dmc1778/gists{/gist_id}", "starred_url": "https://api.github.com/users/dmc1778/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmc1778/subscriptions", "organizations_url": "https://api.github.com/users/dmc1778/orgs", "repos_url": "https://api.github.com/users/dmc1778/repos", "events_url": "https://api.github.com/users/dmc1778/events{/privacy}", "received_events_url": "https://api.github.com/users/dmc1778/received_events", "type": "User", "site_admin": false }
[ { "id": 386191887, "node_id": "MDU6TGFiZWwzODYxOTE4ODc=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response", "name": "stat:awaiting response", "color": "f4b400", "default": false, "description": "Status - Awaiting response from author" }, { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 1097547147, "node_id": "MDU6TGFiZWwxMDk3NTQ3MTQ3", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:ops", "name": "comp:ops", "color": "0052cc", "default": false, "description": "OPs related issues" }, { "id": 5508003926, "node_id": "LA_kwDOArmXAs8AAAABSE14Vg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13", "name": "TF 2.13", "color": "B13ACB", "default": false, "description": "For issues related to Tensorflow 2.13" } ]
closed
false
{ "login": "SuryanarayanaY", "id": 116063290, "node_id": "U_kgDOBur8Og", "avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SuryanarayanaY", "html_url": "https://github.com/SuryanarayanaY", "followers_url": "https://api.github.com/users/SuryanarayanaY/followers", "following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}", "gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}", "starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions", "organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs", "repos_url": "https://api.github.com/users/SuryanarayanaY/repos", "events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}", "received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events", "type": "User", "site_admin": false }
[ { "login": "SuryanarayanaY", "id": 116063290, "node_id": "U_kgDOBur8Og", "avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SuryanarayanaY", "html_url": "https://github.com/SuryanarayanaY", "followers_url": "https://api.github.com/users/SuryanarayanaY/followers", "following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}", "gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}", "starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions", "organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs", "repos_url": "https://api.github.com/users/SuryanarayanaY/repos", "events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}", "received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events", "type": "User", "site_admin": false } ]
null
[ "Hi @dmc1778 , \r\n\r\nThe reported behaviour is replicated with Tf2.13v and tf-nightly and attached gists [2.13v](https://colab.sandbox.google.com/gist/SuryanarayanaY/29eda785ec3df75c66fad7d184fc6786/61608-2-13v.ipynb) and [nightly](https://colab.sandbox.google.com/gist/SuryanarayanaY/c0b6a6aeccdc8449bd9ea36f398dd151/61608-tf-nightly.ipynb) for reference.", "@dmc1778 ,\r\n\r\nPlease refer to the responses of Developer team related to the exception raised https://github.com/tensorflow/tensorflow/issues/61630#issuecomment-1685333019 and https://github.com/tensorflow/tensorflow/issues/61629#issuecomment-1686504422 stating it as intended behaviour.\r\n\r\nThe Op tries to allocate the memory for the inputs and outputs before performing computations and it fails. The same error returned to python and its adding more details to error log.\r\n\r\nAs requested please read [SECURITY.md](https://github.com/tensorflow/tensorflow/blob/master/SECURITY.md) to disclose these types of issues.\r\n\r\nThanks!", "Not an issue, it is a normal error being returned to the user.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61608\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61608\">No</a>\n" ]
2023-08-17T18:47:06
2023-08-21T17:54:56
2023-08-21T17:54:54
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source binary ### TensorFlow version 2.13.0 ### Custom code Yes ### OS platform and distribution _No response_ ### Mobile device _No response_ ### Python version _No response_ ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? Due to large input tensor ### Standalone code to reproduce the issue ```shell import tensorflow as tf import numpy as np try: try: with tf.device('/CPU'): arg_0_tensor = tf.random.uniform([12, 2, 256, 513], dtype=tf.float32) arg_0 = tf.identity(arg_0_tensor) arg_1_tensor = tf.random.uniform([4, 2], dtype=tf.int32, maxval=54676034958255) arg_1 = tf.identity(arg_1_tensor) out = tf.pad(arg_0,arg_1,) except Exception as e: print("Error:"+str(e)) try: with tf.device('/GPU:0'): arg_0 = tf.identity(arg_0_tensor) arg_0 = tf.cast(arg_0, tf.float32) arg_1 = tf.identity(arg_1_tensor) arg_1 = tf.cast(arg_1, tf.int32) tf.pad(arg_0,arg_1,) except Exception as e: print("Error:"+str(e)) except Exception as e: print("Error:"+str(e)) ``` ``` ### Relevant log output ```shell Error:{{function_node __wrapped__Pad_device_/job:localhost/replica:0/task:0/device:CPU:0}} Encountered overflow when multiplying 2206572623628733836 with 75929941, result: -1 [Op:Pad] name: Error:{{function_node __wrapped__Pad_device_/job:localhost/replica:0/task:0/device:GPU:0}} Encountered overflow when multiplying 2206572623628733836 with 75929941, result: -1 [Op:Pad] name ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61608/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61608/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61607
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61607/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61607/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61607/events
https://github.com/tensorflow/tensorflow/issues/61607
1,855,517,187
I_kwDOArmXAs5umPID
61,607
Issue with nightly-gpu docker image
{ "login": "zndr27", "id": 31940813, "node_id": "MDQ6VXNlcjMxOTQwODEz", "avatar_url": "https://avatars.githubusercontent.com/u/31940813?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zndr27", "html_url": "https://github.com/zndr27", "followers_url": "https://api.github.com/users/zndr27/followers", "following_url": "https://api.github.com/users/zndr27/following{/other_user}", "gists_url": "https://api.github.com/users/zndr27/gists{/gist_id}", "starred_url": "https://api.github.com/users/zndr27/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/zndr27/subscriptions", "organizations_url": "https://api.github.com/users/zndr27/orgs", "repos_url": "https://api.github.com/users/zndr27/repos", "events_url": "https://api.github.com/users/zndr27/events{/privacy}", "received_events_url": "https://api.github.com/users/zndr27/received_events", "type": "User", "site_admin": false }
[ { "id": 386191887, "node_id": "MDU6TGFiZWwzODYxOTE4ODc=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response", "name": "stat:awaiting response", "color": "f4b400", "default": false, "description": "Status - Awaiting response from author" }, { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 474725938, "node_id": "MDU6TGFiZWw0NzQ3MjU5Mzg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stale", "name": "stale", "color": "d4c5f9", "default": false, "description": "This label marks the issue/pr stale - to be closed automatically if no activity" }, { "id": 1097547538, "node_id": "MDU6TGFiZWwxMDk3NTQ3NTM4", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:gpu", "name": "comp:gpu", "color": "0052cc", "default": false, "description": "GPU related issues" } ]
closed
false
{ "login": "sushreebarsa", "id": 84765720, "node_id": "MDQ6VXNlcjg0NzY1NzIw", "avatar_url": "https://avatars.githubusercontent.com/u/84765720?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sushreebarsa", "html_url": "https://github.com/sushreebarsa", "followers_url": "https://api.github.com/users/sushreebarsa/followers", "following_url": "https://api.github.com/users/sushreebarsa/following{/other_user}", "gists_url": "https://api.github.com/users/sushreebarsa/gists{/gist_id}", "starred_url": "https://api.github.com/users/sushreebarsa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sushreebarsa/subscriptions", "organizations_url": "https://api.github.com/users/sushreebarsa/orgs", "repos_url": "https://api.github.com/users/sushreebarsa/repos", "events_url": "https://api.github.com/users/sushreebarsa/events{/privacy}", "received_events_url": "https://api.github.com/users/sushreebarsa/received_events", "type": "User", "site_admin": false }
[ { "login": "sushreebarsa", "id": 84765720, "node_id": "MDQ6VXNlcjg0NzY1NzIw", "avatar_url": "https://avatars.githubusercontent.com/u/84765720?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sushreebarsa", "html_url": "https://github.com/sushreebarsa", "followers_url": "https://api.github.com/users/sushreebarsa/followers", "following_url": "https://api.github.com/users/sushreebarsa/following{/other_user}", "gists_url": "https://api.github.com/users/sushreebarsa/gists{/gist_id}", "starred_url": "https://api.github.com/users/sushreebarsa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sushreebarsa/subscriptions", "organizations_url": "https://api.github.com/users/sushreebarsa/orgs", "repos_url": "https://api.github.com/users/sushreebarsa/repos", "events_url": "https://api.github.com/users/sushreebarsa/events{/privacy}", "received_events_url": "https://api.github.com/users/sushreebarsa/received_events", "type": "User", "site_admin": false } ]
null
[ "@zndr27 Could you try to use TF v2.13 instead of the nightly as it might not be stable. Please have a look at the compatible [versions](https://www.tensorflow.org/install/source#tested_build_configurations) as well. Thank you!", "This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.", "This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61607\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61607\">No</a>\n" ]
2023-08-17T18:37:54
2023-09-04T01:47:27
2023-09-04T01:47:26
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source source ### TensorFlow version 2.15.0-dev20230816 ### Custom code Yes ### OS platform and distribution Ubuntu 20.04 ### Mobile device _No response_ ### Python version 3.11 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? When using the tensorflow/tensorflow:nightly-gpu docker image I get an error saying the "DNN library is not found" However, when I change the base image to tensorflow/tensorflow:latest-gpu my code works fine. Perhaps the nightly image broke something with the cuda / cudnn library paths? ### Standalone code to reproduce the issue ```shell It seems that using a Conv1D layer is what causes the issue... see the log output below. ``` ### Relevant log output ```shell Detected at node 'peak_conv_1/Conv1D' defined at (most recent call last): Node: 'peak_conv_1/Conv1D' DNN library is not found. [[{{node peak_conv_1/Conv1D}}]] [Op:__inference_train_step_224831] ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61607/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61607/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61606
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61606/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61606/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61606/events
https://github.com/tensorflow/tensorflow/issues/61606
1,855,279,479
I_kwDOArmXAs5ulVF3
61,606
Cannot type "I Accept" to extract from hexagon_nn_skel
{ "login": "octavflorescu", "id": 15170320, "node_id": "MDQ6VXNlcjE1MTcwMzIw", "avatar_url": "https://avatars.githubusercontent.com/u/15170320?v=4", "gravatar_id": "", "url": "https://api.github.com/users/octavflorescu", "html_url": "https://github.com/octavflorescu", "followers_url": "https://api.github.com/users/octavflorescu/followers", "following_url": "https://api.github.com/users/octavflorescu/following{/other_user}", "gists_url": "https://api.github.com/users/octavflorescu/gists{/gist_id}", "starred_url": "https://api.github.com/users/octavflorescu/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/octavflorescu/subscriptions", "organizations_url": "https://api.github.com/users/octavflorescu/orgs", "repos_url": "https://api.github.com/users/octavflorescu/repos", "events_url": "https://api.github.com/users/octavflorescu/events{/privacy}", "received_events_url": "https://api.github.com/users/octavflorescu/received_events", "type": "User", "site_admin": false }
[ { "id": 386191887, "node_id": "MDU6TGFiZWwzODYxOTE4ODc=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response", "name": "stat:awaiting response", "color": "f4b400", "default": false, "description": "Status - Awaiting response from author" }, { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 750616506, "node_id": "MDU6TGFiZWw3NTA2MTY1MDY=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:lite", "name": "comp:lite", "color": "0052cc", "default": false, "description": "TF Lite related issues" }, { "id": 2888762627, "node_id": "MDU6TGFiZWwyODg4NzYyNjI3", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TFLiteHexagonDelegate", "name": "TFLiteHexagonDelegate", "color": "72ECFE", "default": false, "description": "" } ]
closed
false
{ "login": "pjpratik", "id": 118897289, "node_id": "U_kgDOBxY6iQ", "avatar_url": "https://avatars.githubusercontent.com/u/118897289?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pjpratik", "html_url": "https://github.com/pjpratik", "followers_url": "https://api.github.com/users/pjpratik/followers", "following_url": "https://api.github.com/users/pjpratik/following{/other_user}", "gists_url": "https://api.github.com/users/pjpratik/gists{/gist_id}", "starred_url": "https://api.github.com/users/pjpratik/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pjpratik/subscriptions", "organizations_url": "https://api.github.com/users/pjpratik/orgs", "repos_url": "https://api.github.com/users/pjpratik/repos", "events_url": "https://api.github.com/users/pjpratik/events{/privacy}", "received_events_url": "https://api.github.com/users/pjpratik/received_events", "type": "User", "site_admin": false }
[ { "login": "pjpratik", "id": 118897289, "node_id": "U_kgDOBxY6iQ", "avatar_url": "https://avatars.githubusercontent.com/u/118897289?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pjpratik", "html_url": "https://github.com/pjpratik", "followers_url": "https://api.github.com/users/pjpratik/followers", "following_url": "https://api.github.com/users/pjpratik/following{/other_user}", "gists_url": "https://api.github.com/users/pjpratik/gists{/gist_id}", "starred_url": "https://api.github.com/users/pjpratik/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pjpratik/subscriptions", "organizations_url": "https://api.github.com/users/pjpratik/orgs", "repos_url": "https://api.github.com/users/pjpratik/repos", "events_url": "https://api.github.com/users/pjpratik/events{/privacy}", "received_events_url": "https://api.github.com/users/pjpratik/received_events", "type": "User", "site_admin": false } ]
null
[ "Hi @octavflorescu \r\n\r\nDid you get any prompt after `Type \"I ACCEPT\" if you agree to the terms of the license: You didn't accept the\r\nlicense. Extraction aborted.` ?\r\n\r\nI have given `I ACCEPT` was able to succesfully extract files despite extraction aborted message.\r\n\r\n<img width=\"557\" alt=\"image\" src=\"https://github.com/tensorflow/tensorflow/assets/118897289/950499dd-ffbd-4d12-b3c8-ea10d71378a9\">\r\n\r\nThanks.", "No, i did not get any prompt... The log output form above is instantly after the output prints. \r\n \r\nGiven your screen-shot, i have realized that the extraction needs to be done on Mac/computer, not on Mobile/edge (as you can see from the original post, i am connecting to adb and running the commands there), \r\nso now i have tested it directly on Mac: \r\n```bash\r\nchmod +x tflite_hexagon_nn_skel_v1.20.0.1.run\r\n./tflite_hexagon_nn_skel_v1.20.0.1.run\r\n```\r\nAnd i was able to write \"I ACCEPT\", thank you! 🥳 \r\nAn image is worth a thousand words 😄", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61606\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61606\">No</a>\n" ]
2023-08-17T15:55:59
2023-09-21T06:59:42
2023-08-21T09:35:58
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source binary ### TensorFlow version hexagon_nn_skel_v1.20.0.1 ### Custom code No ### OS platform and distribution Android ### Mobile device Android ### Python version _No response_ ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? Same as here https://github.com/tensorflow/tensorflow/issues/61378, running the ./tflite_hexagon_nn_skel_v1.20.0.1.run instantly prints: ``` license. Extraction aborted. ./extract.sh[5]: read: -p: no coprocess Aborting extraction.. Done ``` Without giving time to write "I ACCEPT". Neither does --accept option work. ### Standalone code to reproduce the issue ```shell adb push tflite_hexagon_nn_skel_v1.20.0.1.run /data/local/tmp adb shell cd /data/local/tmp chmod +x tflite_hexagon_nn_skel_v1.20.0.1.run ./tflite_hexagon_nn_skel_v1.20.0.1.run [--accept] ``` ### Relevant log output ```shell ... Limited or its designated affiliate. LICENSEE shall be solely responsible to obtain such separate license from Apical Limited. The provision or license of a PKLA Product Kit to LICENSEE does not convey any license or other right under any patents of QUALCOMM Incorporated or SnapTrack, Inc. Type "I ACCEPT" if you agree to the terms of the license: You didn't accept the license. Extraction aborted. ./extract.sh[5]: read: -p: no coprocess Aborting extraction.. Done HNNTH:/data/local/tmp $ ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61606/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61606/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61605
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61605/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61605/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61605/events
https://github.com/tensorflow/tensorflow/issues/61605
1,855,221,283
I_kwDOArmXAs5ulG4j
61,605
Crash when running tf.keras.layers.MaxPool2D on colab
{ "login": "dmc1778", "id": 17060581, "node_id": "MDQ6VXNlcjE3MDYwNTgx", "avatar_url": "https://avatars.githubusercontent.com/u/17060581?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmc1778", "html_url": "https://github.com/dmc1778", "followers_url": "https://api.github.com/users/dmc1778/followers", "following_url": "https://api.github.com/users/dmc1778/following{/other_user}", "gists_url": "https://api.github.com/users/dmc1778/gists{/gist_id}", "starred_url": "https://api.github.com/users/dmc1778/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmc1778/subscriptions", "organizations_url": "https://api.github.com/users/dmc1778/orgs", "repos_url": "https://api.github.com/users/dmc1778/repos", "events_url": "https://api.github.com/users/dmc1778/events{/privacy}", "received_events_url": "https://api.github.com/users/dmc1778/received_events", "type": "User", "site_admin": false }
[ { "id": 386191887, "node_id": "MDU6TGFiZWwzODYxOTE4ODc=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response", "name": "stat:awaiting response", "color": "f4b400", "default": false, "description": "Status - Awaiting response from author" }, { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 474725938, "node_id": "MDU6TGFiZWw0NzQ3MjU5Mzg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stale", "name": "stale", "color": "d4c5f9", "default": false, "description": "This label marks the issue/pr stale - to be closed automatically if no activity" }, { "id": 1097546578, "node_id": "MDU6TGFiZWwxMDk3NTQ2NTc4", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:keras", "name": "comp:keras", "color": "0052cc", "default": false, "description": "Keras related issues" }, { "id": 5508003926, "node_id": "LA_kwDOArmXAs8AAAABSE14Vg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13", "name": "TF 2.13", "color": "B13ACB", "default": false, "description": "For issues related to Tensorflow 2.13" } ]
closed
false
{ "login": "tilakrayal", "id": 81610181, "node_id": "MDQ6VXNlcjgxNjEwMTgx", "avatar_url": "https://avatars.githubusercontent.com/u/81610181?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tilakrayal", "html_url": "https://github.com/tilakrayal", "followers_url": "https://api.github.com/users/tilakrayal/followers", "following_url": "https://api.github.com/users/tilakrayal/following{/other_user}", "gists_url": "https://api.github.com/users/tilakrayal/gists{/gist_id}", "starred_url": "https://api.github.com/users/tilakrayal/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tilakrayal/subscriptions", "organizations_url": "https://api.github.com/users/tilakrayal/orgs", "repos_url": "https://api.github.com/users/tilakrayal/repos", "events_url": "https://api.github.com/users/tilakrayal/events{/privacy}", "received_events_url": "https://api.github.com/users/tilakrayal/received_events", "type": "User", "site_admin": false }
[ { "login": "tilakrayal", "id": 81610181, "node_id": "MDQ6VXNlcjgxNjEwMTgx", "avatar_url": "https://avatars.githubusercontent.com/u/81610181?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tilakrayal", "html_url": "https://github.com/tilakrayal", "followers_url": "https://api.github.com/users/tilakrayal/followers", "following_url": "https://api.github.com/users/tilakrayal/following{/other_user}", "gists_url": "https://api.github.com/users/tilakrayal/gists{/gist_id}", "starred_url": "https://api.github.com/users/tilakrayal/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tilakrayal/subscriptions", "organizations_url": "https://api.github.com/users/tilakrayal/orgs", "repos_url": "https://api.github.com/users/tilakrayal/repos", "events_url": "https://api.github.com/users/tilakrayal/events{/privacy}", "received_events_url": "https://api.github.com/users/tilakrayal/received_events", "type": "User", "site_admin": false } ]
null
[ "Hi @dmc1778 \r\n`MaxPool2D `takes a **tuple of integer** as input for `stride `and `pool_size`. \r\nChange arg_0 and strids to tuples.\r\n` arg_0_0 = 1e+38`\r\n `arg_0_1 = 16777216`\r\n `arg_0 = (arg_0_0, arg_0_1)`\r\n `strides_0 = 2`\r\n `strides_1 = 2`\r\n `strides = (strides_0, strides_1)`\r\n\r\nPlease refer to [TensorFlow documentation](https://www.tensorflow.org/api_docs/python/tf/keras/layers/MaxPooling2D#:~:text=Integer%2C%20tuple%20of%202%20integers) for further exploration.", "Could you be able to replicate the issue on colab using the provided code?\r\n\r\nOn Sun, Aug 20, 2023 at 7:46 PM Shanjidul Islam Sadhin <\r\n***@***.***> wrote:\r\n\r\n> Hi @dmc1778 <https://github.com/dmc1778>\r\n> MaxPool2D takes a *tuple of integer* as input for stride and pool_size.\r\n> Change arg_0 and strids to tuples.\r\n> arg_0_0 = 1e+38\r\n> arg_0_1 = 16777216\r\n> arg_0 = (arg_0_0, arg_0_1)\r\n> strides_0 = 2\r\n> strides_1 = 2\r\n> strides = (strides_0, strides_1)\r\n>\r\n> Please refer to TensorFlow documentation\r\n> <https://www.tensorflow.org/api_docs/python/tf/keras/layers/MaxPooling2D#:~:text=Integer%2C%20tuple%20of%202%20integers>\r\n> for further exploration.\r\n>\r\n> —\r\n> Reply to this email directly, view it on GitHub\r\n> <https://github.com/tensorflow/tensorflow/issues/61605#issuecomment-1685428687>,\r\n> or unsubscribe\r\n> <https://github.com/notifications/unsubscribe-auth/AECFFZMDJANLUMXIIGTSQFLXWKOWLANCNFSM6AAAAAA3UH2W3E>\r\n> .\r\n> You are receiving this because you were mentioned.Message ID:\r\n> ***@***.***>\r\n>\r\n", "> Could you be able to replicate the issue on colab using the provided code?\r\n> […](#)\r\n> On Sun, Aug 20, 2023 at 7:46 PM Shanjidul Islam Sadhin < ***@***.***> wrote: Hi @dmc1778 <https://github.com/dmc1778> MaxPool2D takes a *tuple of integer* as input for stride and pool_size. Change arg_0 and strids to tuples. arg_0_0 = 1e+38 arg_0_1 = 16777216 arg_0 = (arg_0_0, arg_0_1) strides_0 = 2 strides_1 = 2 strides = (strides_0, strides_1) Please refer to TensorFlow documentation <https://www.tensorflow.org/api_docs/python/tf/keras/layers/MaxPooling2D#:~:text=Integer%2C%20tuple%20of%202%20integers> for further exploration. — Reply to this email directly, view it on GitHub <[#61605 (comment)](https://github.com/tensorflow/tensorflow/issues/61605#issuecomment-1685428687)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AECFFZMDJANLUMXIIGTSQFLXWKOWLANCNFSM6AAAAAA3UH2W3E> . You are receiving this because you were mentioned.Message ID: ***@***.***>\r\n\r\nSure,\r\n_You provided a very large value `(1e+38)` for the `arg_0_0` parameter. However, such a large value might be an issues. It's important to note that the kernel size for pooling is typically much smaller than the input dimensions._\r\nHere is the similar thing from my side.\r\n\r\n`import tensorflow as tf`\r\n`import os`\r\n`import numpy as np`\r\n\r\n`try:`\r\n` pool_size = (2, 2) # Specify a reasonable pool size`\r\n` strides = (2, 2)`\r\n` padding = \"same\"`\r\n` arg_class = tf.keras.layers.MaxPool2D(pool_size, strides=strides, padding=padding)`\r\n` arg_input_0_tensor = tf.random.uniform([3, 74, 74, 256], dtype=tf.float32)`\r\n` arg_input_0 = tf.identity(arg_input_0_tensor)`\r\n` arg_input = [arg_input_0,]`\r\n` out = arg_class(*arg_input)`\r\n`except Exception as e:`\r\n` print(\"Error: \" + str(e))`\r\n", "I am doing fuzz testing on tensorflow.\r\n\r\nOn Mon, Aug 21, 2023 at 2:50 AM Shanjidul Islam Sadhin <\r\n***@***.***> wrote:\r\n\r\n> Could you be able to replicate the issue on colab using the provided code?\r\n> … <#m_-7427882250817004363_>\r\n> On Sun, Aug 20, 2023 at 7:46 PM Shanjidul Islam Sadhin < *@*.*> wrote: Hi\r\n> @dmc1778 <https://github.com/dmc1778> https://github.com/dmc1778\r\n> <https://github.com/dmc1778> MaxPool2D takes a tuple of integer as input\r\n> for stride and pool_size. Change arg_0 and strids to tuples. arg_0_0 =\r\n> 1e+38 arg_0_1 = 16777216 arg_0 = (arg_0_0, arg_0_1) strides_0 = 2 strides_1\r\n> = 2 strides = (strides_0, strides_1) Please refer to TensorFlow\r\n> documentation\r\n> https://www.tensorflow.org/api_docs/python/tf/keras/layers/MaxPooling2D#:~:text=Integer%2C%20tuple%20of%202%20integers\r\n> <https://www.tensorflow.org/api_docs/python/tf/keras/layers/MaxPooling2D#:~:text=Integer%2C%20tuple%20of%202%20integers>\r\n> for further exploration. — Reply to this email directly, view it on GitHub\r\n> <#61605 (comment)\r\n> <https://github.com/tensorflow/tensorflow/issues/61605#issuecomment-1685428687>>,\r\n> or unsubscribe\r\n> https://github.com/notifications/unsubscribe-auth/AECFFZMDJANLUMXIIGTSQFLXWKOWLANCNFSM6AAAAAA3UH2W3E\r\n> <https://github.com/notifications/unsubscribe-auth/AECFFZMDJANLUMXIIGTSQFLXWKOWLANCNFSM6AAAAAA3UH2W3E>\r\n> . You are receiving this because you were mentioned.Message ID: @.*>\r\n>\r\n> Sure,\r\n> *You provided a very large value (1e+38) for the arg_0_0 parameter.\r\n> However, such a large value might be an issues. It's important to note that\r\n> the kernel size for pooling is typically much smaller than the input\r\n> dimensions.*\r\n> Here is the similar thing from my side.\r\n>\r\n> import tensorflow as tf\r\n> import os\r\n> import numpy as np\r\n>\r\n> try:\r\n> pool_size = (2, 2) # Specify a reasonable pool size\r\n> strides = (2, 2)\r\n> padding = \"same\"\r\n> arg_class = tf.keras.layers.MaxPool2D(pool_size, strides=strides,\r\n> padding=padding)\r\n> arg_input_0_tensor = tf.random.uniform([3, 74, 74, 256], dtype=tf.float32)\r\n> arg_input_0 = tf.identity(arg_input_0_tensor)\r\n> arg_input = [arg_input_0,]\r\n> out = arg_class(*arg_input)\r\n> except Exception as e:\r\n> print(\"Error: \" + str(e))\r\n>\r\n> —\r\n> Reply to this email directly, view it on GitHub\r\n> <https://github.com/tensorflow/tensorflow/issues/61605#issuecomment-1685750531>,\r\n> or unsubscribe\r\n> <https://github.com/notifications/unsubscribe-auth/AECFFZNLWVM5PYUXPAEEBX3XWMALXANCNFSM6AAAAAA3UH2W3E>\r\n> .\r\n> You are receiving this because you were mentioned.Message ID:\r\n> ***@***.***>\r\n>\r\n", "The problem is that you're fuzzing APIs which will never be called directly, so all these reports will not really manifest in issues that can result in vulnerabilities/exploits.\r\n\r\nPlease _triage the fuzz results before reporting them_. Please report only the issues that have a real security concern.", "> The problem is that you're fuzzing APIs which will never be called directly\r\n\r\nOk, thanks. Currently, my fuzzer only considers one API call. In the next release, I am going to add context information. ", "Even if fuzzing only one API call, triaging before sending the issues helps :)", "> Even if fuzzing only one API call, triaging before sending the issues helps :)\r\n\r\nOk sure. BTW, I reported security issues via bug hunter. They told me that the issues were not severe enough (The issues are segfaults and floating point exceptions), and I am free to publicly disclose this issue on GitHub as a public issue. Please let me know if you need me to file them. Thanks. ", "Was this using the VRP list or the TF list? There is a slight difference.\r\n\r\nBut even so, the issue is that you are just reporting the output of your tool **without any triage**. There is a ton of reports and even if one of them were to be really useful, the amount of work that needs to happen on this side is too much. You **need to triage the reports yourself**, you need to **expand scope, analyze impact** before sending. One strong report is 10000x better than 100 poor ones.\r\n\r\n---\r\n\r\nTo give you an example, here's the story of https://github.com/tensorflow/tensorflow/blob/master/tensorflow/security/advisory/tfsa-2021-102.md: While writing [the documentation for `decode_raw`](https://www.tensorflow.org/api_docs/python/tf/io/decode_raw) (commit 93cf9d287184ec64947fd53a32386ef8082464f3) I discovered some cases where a combination of the arguments would segfault. I filed a bug to investigate this later and then I looked at the code, ran variant analysis (to detect other combinations of arguments that could result in similar behavior), found the real issue and then got a fix (commit 698e01511f62a3c185754db78ebce0eee1f0184d). Reporting just the segfault would have been useless.\r\n\r\nPlease consult other (pre 2022) advisories from https://github.com/tensorflow/tensorflow/tree/master/tensorflow/security/advisory to see how a good report should look like. For example, see https://github.com/tensorflow/tensorflow/blob/master/tensorflow/security/advisory/tfsa-2020-013.md which again looks at combinations of arguments to detect what can be possible, instead of reporting just a segfault.", "@tilakrayal ,\r\n\r\nI am confused whether if not a security issue, whether this is considered as a bug or not ? The [comment](https://github.com/tensorflow/tensorflow/issues/61605#issuecomment-1686471225) says its not qualifies as a severe security issue but also states that this can be disclosed as a bug here. Can you confirm whether this is a bug that needs fix or can be ignored ?", "It will need fixed (same as the one that got autoclosed to too eager application of `stat:awaiting response` label), but as it is it is only a correctness bug, not a security issues. Impact needs to be demonstrated to elevate this to a security issue (at which point it should be submitted via the proper channels)", "@dmc1778,\r\nI tried to execute the mentioned above code on tf-nightly(2.15.0-dev20231011) and the colab was not crashed and it was executed providing the error message.\r\nKindly find the gist of it [here](https://colab.research.google.com/gist/tilakrayal/e285d29d7250d179f09fa67114aee324/untitled1385.ipynb). Thank you!", "This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.", "This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61605\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61605\">No</a>\n" ]
2023-08-17T15:21:19
2023-10-27T01:47:25
2023-10-27T01:47:23
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source binary ### TensorFlow version 2.13.0 ### Custom code Yes ### OS platform and distribution _No response_ ### Mobile device _No response_ ### Python version _No response_ ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? Due to large elements in the input list ### Standalone code to reproduce the issue ```shell import tensorflow as tf import os import numpy as np try: arg_0_0 = 1e+38 arg_0_1 = 16777216 arg_0 = [arg_0_0,arg_0_1,] strides_0 = 2 strides_1 = 2 strides = [strides_0,strides_1,] padding = "same" arg_class = tf.keras.layers.MaxPool2D(arg_0,strides=strides,padding=padding,) arg_input_0_tensor = tf.random.uniform([3, 74, 74, 256], dtype=tf.float32) arg_input_0 = tf.identity(arg_input_0_tensor) arg_input = [arg_input_0,] out = arg_class(*arg_input) except Exception as e: print("Error:"+str(e)) ``` ``` ### Relevant log output ```shell {"pid":7,"type":"jupyter","level":40,"msg":"[D 14:24:43.837 NotebookApp] Searching ['/root/.jupyter', '/root/.local/etc/jupyter', '/usr/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files","time":"2023-08-17T14:24:43.838Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 14:24:43.838 NotebookApp] Looking for jupyter_config in /etc/jupyter","time":"2023-08-17T14:24:43.846Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 14:24:43.840 NotebookApp] Looking for jupyter_config in /usr/local/etc/jupyter","time":"2023-08-17T14:24:43.847Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 14:24:43.842 NotebookApp] Looking for jupyter_config in /usr/etc/jupyter","time":"2023-08-17T14:24:43.848Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 14:24:43.842 NotebookApp] Looking for jupyter_config in /root/.local/etc/jupyter","time":"2023-08-17T14:24:43.848Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 14:24:43.842 NotebookApp] Looking for jupyter_config in /root/.jupyter","time":"2023-08-17T14:24:43.850Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 14:24:43.843 NotebookApp] Looking for jupyter_notebook_config in /etc/jupyter","time":"2023-08-17T14:24:43.850Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 14:24:43.847 NotebookApp] Loaded config file: /etc/jupyter/jupyter_notebook_config.py","time":"2023-08-17T14:24:43.854Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 14:24:43.847 NotebookApp] Looking for jupyter_notebook_config in /usr/local/etc/jupyter","time":"2023-08-17T14:24:43.855Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 14:24:43.849 NotebookApp] Loaded config file: /usr/local/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T14:24:43.855Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 14:24:43.849 NotebookApp] Looking for jupyter_notebook_config in /usr/etc/jupyter","time":"2023-08-17T14:24:43.862Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 14:24:43.849 NotebookApp] Looking for jupyter_notebook_config in /root/.local/etc/jupyter","time":"2023-08-17T14:24:43.863Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 14:24:43.849 NotebookApp] Looking for jupyter_notebook_config in /root/.jupyter","time":"2023-08-17T14:24:43.864Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 14:24:43.857 NotebookApp] Loaded config file: /root/.jupyter/jupyter_notebook_config.py","time":"2023-08-17T14:24:43.865Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":"[D 14:24:44.049 NotebookApp] Searching ['/root/.jupyter', '/root/.local/etc/jupyter', '/usr/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files","time":"2023-08-17T14:24:44.050Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":"[D 14:24:44.056 NotebookApp] Looking for jupyter_config in /etc/jupyter","time":"2023-08-17T14:24:44.056Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":"[D 14:24:44.056 NotebookApp] Looking for jupyter_config in /usr/local/etc/jupyter","time":"2023-08-17T14:24:44.057Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":"[D 14:24:44.056 NotebookApp] Looking for jupyter_config in /usr/etc/jupyter","time":"2023-08-17T14:24:44.057Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":"[D 14:24:44.056 NotebookApp] Looking for jupyter_config in /root/.local/etc/jupyter","time":"2023-08-17T14:24:44.057Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":"[D 14:24:44.056 NotebookApp] Looking for jupyter_config in /root/.jupyter","time":"2023-08-17T14:24:44.057Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":"[D 14:24:44.059 NotebookApp] Looking for jupyter_notebook_config in /etc/jupyter","time":"2023-08-17T14:24:44.065Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":"[D 14:24:44.059 NotebookApp] Loaded config file: /etc/jupyter/jupyter_notebook_config.py","time":"2023-08-17T14:24:44.066Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":"[D 14:24:44.060 NotebookApp] Looking for jupyter_notebook_config in /usr/local/etc/jupyter","time":"2023-08-17T14:24:44.066Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":"[D 14:24:44.060 NotebookApp] Loaded config file: /usr/local/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T14:24:44.066Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":"[D 14:24:44.060 NotebookApp] Looking for jupyter_notebook_config in /usr/etc/jupyter","time":"2023-08-17T14:24:44.066Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":"[D 14:24:44.060 NotebookApp] Looking for jupyter_notebook_config in /root/.local/etc/jupyter","time":"2023-08-17T14:24:44.067Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":"[D 14:24:44.060 NotebookApp] Looking for jupyter_notebook_config in /root/.jupyter","time":"2023-08-17T14:24:44.067Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":"[D 14:24:44.061 NotebookApp] Loaded config file: /root/.jupyter/jupyter_notebook_config.py","time":"2023-08-17T14:24:44.067Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":" \t/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T14:24:44.713Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":" \t/usr/local/etc/jupyter/jupyter_notebook_config.d/panel-client-jupyter.json","time":"2023-08-17T14:24:44.715Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":" \t/usr/local/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T14:24:44.715Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":" \t/usr/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T14:24:44.717Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":" \t/root/.local/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T14:24:44.719Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":" \t/root/.jupyter/jupyter_notebook_config.json","time":"2023-08-17T14:24:44.723Z","v":0} {"pid":6,"type":"jupyter","level":30,"msg":"Writing notebook server cookie secret to /root/.local/share/jupyter/runtime/notebook_cookie_secret","time":"2023-08-17T14:24:44.743Z","v":0} {"pid":6,"type":"jupyter","level":30,"msg":"Authentication of /metrics is OFF, since other authentication is disabled.","time":"2023-08-17T14:24:44.745Z","v":0} {"pid":6,"type":"jupyter","level":30,"msg":"google.colab serverextension initialized.","time":"2023-08-17T14:24:44.800Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" \t/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T14:24:44.806Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" \t/usr/local/etc/jupyter/jupyter_notebook_config.d/panel-client-jupyter.json","time":"2023-08-17T14:24:44.808Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" \t/usr/local/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T14:24:44.808Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" \t/usr/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T14:24:44.809Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" \t/root/.local/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T14:24:44.810Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" \t/root/.jupyter/jupyter_notebook_config.json","time":"2023-08-17T14:24:44.811Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"Writing notebook server cookie secret to /root/.local/share/jupyter/runtime/notebook_cookie_secret","time":"2023-08-17T14:24:44.831Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"Authentication of /metrics is OFF, since other authentication is disabled.","time":"2023-08-17T14:24:44.831Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"google.colab serverextension initialized.","time":"2023-08-17T14:24:44.856Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"Serving notebooks from local directory: /","time":"2023-08-17T14:24:49.405Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"Jupyter Notebook 6.4.8 is running at:","time":"2023-08-17T14:24:49.405Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"http://172.28.0.12:9000/","time":"2023-08-17T14:24:49.406Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).","time":"2023-08-17T14:24:49.406Z","v":0} {"pid":6,"type":"jupyter","level":30,"msg":"Serving notebooks from local directory: /","time":"2023-08-17T14:24:49.430Z","v":0} {"pid":6,"type":"jupyter","level":30,"msg":"Jupyter Notebook 6.4.8 is running at:","time":"2023-08-17T14:24:49.431Z","v":0} {"pid":6,"type":"jupyter","level":30,"msg":"http://172.28.0.2:9000/","time":"2023-08-17T14:24:49.432Z","v":0} {"pid":6,"type":"jupyter","level":30,"msg":"Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).","time":"2023-08-17T14:24:49.432Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"Kernel started: 5b91d383-2a5d-4d17-8f8d-5f59277ecb11, name: python3","time":"2023-08-17T14:26:06.571Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:29.531813: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.","time":"2023-08-17T14:26:29.531Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.","time":"2023-08-17T14:26:29.532Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:32.617224: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT","time":"2023-08-17T14:26:32.617Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:36.113889: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:26:36.114Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:36.787982: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:26:36.788Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:36.788362: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:26:36.788Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:36.803571: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:26:36.803Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:36.803974: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:26:36.804Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:36.804329: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:26:36.804Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:40.000011: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:26:40.001Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:40.000338: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:26:40.001Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:40.000550: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:26:40.001Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:40.000771: W tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:47] Overriding orig_value setting because the TF_FORCE_GPU_ALLOW_GROWTH environment variable is set. Original config value was 0.","time":"2023-08-17T14:26:40.001Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:40.000816: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1635] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 13664 MB memory: -> device: 0, name: Tesla T4, pci bus id: 0000:00:04.0, compute capability: 7.5","time":"2023-08-17T14:26:40.001Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:40.077428: W tensorflow/tsl/framework/cpu_allocator_impl.cc:83] Allocation of 6093750902 exceeds 10% of free system memory.","time":"2023-08-17T14:26:40.077Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:42.860963: F tensorflow/core/framework/tensor_shape.cc:587] Check failed: size >= 0 (0 vs. -1248091845)","time":"2023-08-17T14:26:42.861Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"KernelRestarter: restarting kernel (1/5), keep random ports","time":"2023-08-17T14:26:45.571Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"WARNING:root:kernel 5b91d383-2a5d-4d17-8f8d-5f59277ecb11 restarted","time":"2023-08-17T14:26:45.573Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:36.094812: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.","time":"2023-08-17T14:27:36.100Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.","time":"2023-08-17T14:27:36.101Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:37.142240: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT","time":"2023-08-17T14:27:37.142Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:41.764145: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:27:41.764Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:41.816688: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:27:41.816Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:41.826117: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:27:41.828Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:41.831423: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:27:41.831Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:41.832476: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:27:41.832Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:41.833383: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:27:41.833Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:43.665264: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:27:43.665Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:43.667057: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:27:43.667Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:43.668052: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:27:43.668Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:43.668828: W tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:47] Overriding orig_value setting because the TF_FORCE_GPU_ALLOW_GROWTH environment variable is set. Original config value was 0.","time":"2023-08-17T14:27:43.668Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:43.669432: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1635] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 13664 MB memory: -> device: 0, name: Tesla T4, pci bus id: 0000:00:04.0, compute capability: 7.5","time":"2023-08-17T14:27:43.669Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:43.701398: W tensorflow/tsl/framework/cpu_allocator_impl.cc:83] Allocation of 6093750902 exceeds 10% of free system memory.","time":"2023-08-17T14:27:43.701Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:48.308263: F tensorflow/core/framework/tensor_shape.cc:587] Check failed: size >= 0 (0 vs. -1248091845)","time":"2023-08-17T14:27:48.308Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"KernelRestarter: restarting kernel (1/5), keep random ports","time":"2023-08-17T14:27:51.576Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"WARNING:root:kernel 5b91d383-2a5d-4d17-8f8d-5f59277ecb11 restarted","time":"2023-08-17T14:27:51.576Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:09.645133: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.","time":"2023-08-17T14:31:09.645Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.","time":"2023-08-17T14:31:09.646Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:10.714033: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT","time":"2023-08-17T14:31:10.714Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:12.844776: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:31:12.844Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:12.892144: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:31:12.892Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:12.894009: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:31:12.894Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:12.896074: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:31:12.896Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:12.897012: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:31:12.897Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:12.897897: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:31:12.897Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:14.331805: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:31:14.332Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:14.332225: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:31:14.333Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:14.332548: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:31:14.333Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:14.332751: W tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:47] Overriding orig_value setting because the TF_FORCE_GPU_ALLOW_GROWTH environment variable is set. Original config value was 0.","time":"2023-08-17T14:31:14.333Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:14.332800: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1635] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 13664 MB memory: -> device: 0, name: Tesla T4, pci bus id: 0000:00:04.0, compute capability: 7.5","time":"2023-08-17T14:31:14.333Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:18.149537: I tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:424] Loaded cuDNN version 8900","time":"2023-08-17T14:31:18.149Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:18.151181: F tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:959] Check failed: cudnnSetPoolingNdDescriptor( handle_.get(), (pooling_descriptor.mode() == dnn::PoolingMode::kMaximum ? cudnn_max_pooling_mode : CUDNN_POOLING_AVERAGE_COUNT_EXCLUDE_PADDING), propagate_nans ? CUDNN_PROPAGATE_NAN : CUDNN_NOT_PROPAGATE_NAN, nd, shape.data(), padding.data(), strides.data()) == CUDNN_STATUS_SUCCESS (3 vs. 0)","time":"2023-08-17T14:31:18.151Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"KernelRestarter: restarting kernel (1/5), keep random ports","time":"2023-08-17T14:31:18.580Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"WARNING:root:kernel 5b91d383-2a5d-4d17-8f8d-5f59277ecb11 restarted","time":"2023-08-17T14:31:18.581Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:32:58.023248: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.","time":"2023-08-17T14:32:58.024Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.","time":"2023-08-17T14:32:58.024Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:33:00.925573: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT","time":"2023-08-17T14:33:00.925Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:22.817441: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:34:22.817Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:22.920819: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:34:22.920Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:22.921484: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:34:22.921Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:22.923040: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:34:22.923Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:22.923548: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:34:22.923Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:22.924029: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:34:22.924Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:24.323413: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:34:24.323Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:24.324064: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:34:24.324Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:24.324360: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:34:24.324Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:24.324522: W tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:47] Overriding orig_value setting because the TF_FORCE_GPU_ALLOW_GROWTH environment variable is set. Original config value was 0.","time":"2023-08-17T14:34:24.325Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:24.324601: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1635] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 13664 MB memory: -> device: 0, name: Tesla T4, pci bus id: 0000:00:04.0, compute capability: 7.5","time":"2023-08-17T14:34:24.325Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:29.102979: I tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:424] Loaded cuDNN version 8900","time":"2023-08-17T14:34:29.103Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:29.104423: F tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:959] Check failed: cudnnSetPoolingNdDescriptor( handle_.get(), (pooling_descriptor.mode() == dnn::PoolingMode::kMaximum ? cudnn_max_pooling_mode : CUDNN_POOLING_AVERAGE_COUNT_EXCLUDE_PADDING), propagate_nans ? CUDNN_PROPAGATE_NAN : CUDNN_NOT_PROPAGATE_NAN, nd, shape.data(), padding.data(), strides.data()) == CUDNN_STATUS_SUCCESS (3 vs. 0)","time":"2023-08-17T14:34:29.104Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"KernelRestarter: restarting kernel (1/5), keep random ports","time":"2023-08-17T14:34:30.587Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"WARNING:root:kernel 5b91d383-2a5d-4d17-8f8d-5f59277ecb11 restarted","time":"2023-08-17T14:34:30.587Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:39.499788: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.","time":"2023-08-17T14:34:39.500Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.","time":"2023-08-17T14:34:39.500Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:41.797362: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT","time":"2023-08-17T14:34:41.797Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"Kernel restarted: 5b91d383-2a5d-4d17-8f8d-5f59277ecb11","time":"2023-08-17T14:34:51.616Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:59.388548: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.","time":"2023-08-17T14:34:59.392Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.","time":"2023-08-17T14:34:59.392Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:35:01.250311: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT","time":"2023-08-17T14:35:01.250Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:36:06.143899: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:36:06.144Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:36:06.181829: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:36:06.182Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:36:06.182572: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:36:06.182Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:36:06.184389: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:36:06.184Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:36:06.184737: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:36:06.185Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:36:06.185055: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:36:06.185Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:36:07.232416: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:36:07.232Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:36:07.232868: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:36:07.233Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:36:07.233157: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:36:07.233Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:36:07.233367: W tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:47] Overriding orig_value setting because the TF_FORCE_GPU_ALLOW_GROWTH environment variable is set. Original config value was 0.","time":"2023-08-17T14:36:07.233Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:36:07.233419: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1639] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 13692 MB memory: -> device: 0, name: Tesla T4, pci bus id: 0000:00:04.0, compute capability: 7.5","time":"2023-08-17T14:36:07.233Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:36:07.261994: W tensorflow/core/framework/op_kernel.cc:1828] OP_REQUIRES failed at matrix_diag_op.cc:273 : INVALID_ARGUMENT: Encountered overflow when multiplying 12884901888 with 1610612736, result: -1","time":"2023-08-17T14:36:07.262Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:36:57.056526: W tensorflow/tsl/framework/cpu_allocator_impl.cc:83] Allocation of 6093750902 exceeds 10% of free system memory.","time":"2023-08-17T14:36:57.056Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:37:03.543980: W tensorflow/core/framework/op_kernel.cc:1828] OP_REQUIRES failed at matrix_diag_op.cc:273 : INVALID_ARGUMENT: Encountered overflow when multiplying 3046875451 with 3046875451, result: -9163294059803098215","time":"2023-08-17T14:37:03.544Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:37:04.268280: W tensorflow/tsl/framework/cpu_allocator_impl.cc:83] Allocation of 6093750784 exceeds 10% of free system memory.","time":"2023-08-17T14:37:04.268Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:37:08.172313: W tensorflow/core/framework/op_kernel.cc:1828] OP_REQUIRES failed at matrix_diag_op.cc:273 : INVALID_ARGUMENT: Encountered overflow when multiplying 3046875392 with 3046875392, result: -9163294419334397952","time":"2023-08-17T14:37:08.172Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:38:16.953443: I tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:432] Loaded cuDNN version 8900","time":"2023-08-17T14:38:16.953Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:38:16.953795: F tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:983] Check failed: cudnnSetPoolingNdDescriptor( handle_.get(), (pooling_descriptor.mode() == dnn::PoolingMode::kMaximum ? cudnn_max_pooling_mode : CUDNN_POOLING_AVERAGE_COUNT_EXCLUDE_PADDING), propagate_nans ? CUDNN_PROPAGATE_NAN : CUDNN_NOT_PROPAGATE_NAN, nd, shape.data(), padding.data(), strides.data()) == CUDNN_STATUS_SUCCESS (3 vs. 0)","time":"2023-08-17T14:38:16.954Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"KernelRestarter: restarting kernel (1/5), keep random ports","time":"2023-08-17T14:38:18.617Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"WARNING:root:kernel 5b91d383-2a5d-4d17-8f8d-5f59277ecb11 restarted","time":"2023-08-17T14:38:18.617Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:41:46.795637: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.","time":"2023-08-17T14:41:46.795Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.","time":"2023-08-17T14:41:46.795Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:41:47.897333: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT","time":"2023-08-17T14:41:47.897Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:41:50.174067: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:41:50.174Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:41:50.217161: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:41:50.217Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:41:50.217535: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:41:50.217Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:53:15.973272: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:53:15.973Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:53:15.977064: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:53:15.977Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:53:15.977438: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:53:15.977Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:53:17.404160: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:53:17.404Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:53:17.405355: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:53:17.405Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:53:17.406091: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:53:17.406Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:53:17.406821: W tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:47] Overriding orig_value setting because the TF_FORCE_GPU_ALLOW_GROWTH environment variable is set. Original config value was 0.","time":"2023-08-17T14:53:17.406Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:53:17.407403: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1639] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 13692 MB memory: -> device: 0, name: Tesla T4, pci bus id: 0000:00:04.0, compute capability: 7.5","time":"2023-08-17T14:53:17.407Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:53:17.447492: W tensorflow/core/framework/op_kernel.cc:1828] OP_REQUIRES failed at matrix_diag_op.cc:273 : INVALID_ARGUMENT: Encountered overflow when multiplying 9984734776 with 1248091847, result: -5984878005326580344","time":"2023-08-17T14:53:17.447Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:56:00.832626: I tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:432] Loaded cuDNN version 8900","time":"2023-08-17T14:56:00.832Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:56:00.832804: F tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:983] Check failed: cudnnSetPoolingNdDescriptor( handle_.get(), (pooling_descriptor.mode() == dnn::PoolingMode::kMaximum ? cudnn_max_pooling_mode : CUDNN_POOLING_AVERAGE_COUNT_EXCLUDE_PADDING), propagate_nans ? CUDNN_PROPAGATE_NAN : CUDNN_NOT_PROPAGATE_NAN, nd, shape.data(), padding.data(), strides.data()) == CUDNN_STATUS_SUCCESS (3 vs. 0)","time":"2023-08-17T14:56:00.833Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"KernelRestarter: restarting kernel (1/5), keep random ports","time":"2023-08-17T14:56:03.623Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"WARNING:root:kernel 5b91d383-2a5d-4d17-8f8d-5f59277ecb11 restarted","time":"2023-08-17T14:56:03.623Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 15:16:21.348874: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.","time":"2023-08-17T15:16:21.349Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.","time":"2023-08-17T15:16:21.349Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 15:16:22.465628: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT","time":"2023-08-17T15:16:22.465Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 15:16:24.726483: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T15:16:24.726Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 15:16:24.772576: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T15:16:24.772Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 15:16:24.772996: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T15:16:24.773Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 15:16:24.774456: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T15:16:24.774Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 15:16:24.774875: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T15:16:24.775Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 15:16:24.775178: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T15:16:24.775Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 15:16:26.155580: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T15:16:26.155Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 15:16:26.156925: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T15:16:26.157Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 15:16:26.157283: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T15:16:26.157Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 15:16:26.157467: W tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:47] Overriding orig_value setting because the TF_FORCE_GPU_ALLOW_GROWTH environment variable is set. Original config value was 0.","time":"2023-08-17T15:16:26.157Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 15:16:26.157517: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1639] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 13692 MB memory: -> device: 0, name: Tesla T4, pci bus id: 0000:00:04.0, compute capability: 7.5","time":"2023-08-17T15:16:26.158Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 15:16:26.192012: W tensorflow/core/framework/op_kernel.cc:1828] OP_REQUIRES failed at matrix_diag_op.cc:273 : INVALID_ARGUMENT: Encountered overflow when multiplying 12885103520 with 1610637940, result: -1","time":"2023-08-17T15:16:26.192Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 15:18:07.005069: W tensorflow/core/framework/op_kernel.cc:1828] OP_REQUIRES failed at matrix_diag_op.cc:273 : INVALID_ARGUMENT: Encountered overflow when multiplying 12885103520 with 1610637940, result: -1","time":"2023-08-17T15:18:07.005Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 15:19:44.626474: I tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:432] Loaded cuDNN version 8900","time":"2023-08-17T15:19:44.626Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 15:19:44.626614: F tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:983] Check failed: cudnnSetPoolingNdDescriptor( handle_.get(), (pooling_descriptor.mode() == dnn::PoolingMode::kMaximum ? cudnn_max_pooling_mode : CUDNN_POOLING_AVERAGE_COUNT_EXCLUDE_PADDING), propagate_nans ? CUDNN_PROPAGATE_NAN : CUDNN_NOT_PROPAGATE_NAN, nd, shape.data(), padding.data(), strides.data()) == CUDNN_STATUS_SUCCESS (3 vs. 0)","time":"2023-08-17T15:19:44.627Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"KernelRestarter: restarting kernel (1/5), keep random ports","time":"2023-08-17T15:19:45.628Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"WARNING:root:kernel 5b91d383-2a5d-4d17-8f8d-5f59277ecb11 restarted","time":"2023-08-17T15:19:45.629Z","v":0} ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61605/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61605/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61604
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61604/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61604/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61604/events
https://github.com/tensorflow/tensorflow/issues/61604
1,855,218,046
I_kwDOArmXAs5ulGF-
61,604
Integer overflow when running tf.compat.v1.matrix_diag on colab
{ "login": "dmc1778", "id": 17060581, "node_id": "MDQ6VXNlcjE3MDYwNTgx", "avatar_url": "https://avatars.githubusercontent.com/u/17060581?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmc1778", "html_url": "https://github.com/dmc1778", "followers_url": "https://api.github.com/users/dmc1778/followers", "following_url": "https://api.github.com/users/dmc1778/following{/other_user}", "gists_url": "https://api.github.com/users/dmc1778/gists{/gist_id}", "starred_url": "https://api.github.com/users/dmc1778/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmc1778/subscriptions", "organizations_url": "https://api.github.com/users/dmc1778/orgs", "repos_url": "https://api.github.com/users/dmc1778/repos", "events_url": "https://api.github.com/users/dmc1778/events{/privacy}", "received_events_url": "https://api.github.com/users/dmc1778/received_events", "type": "User", "site_admin": false }
[ { "id": 386191887, "node_id": "MDU6TGFiZWwzODYxOTE4ODc=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response", "name": "stat:awaiting response", "color": "f4b400", "default": false, "description": "Status - Awaiting response from author" }, { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 474725938, "node_id": "MDU6TGFiZWw0NzQ3MjU5Mzg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stale", "name": "stale", "color": "d4c5f9", "default": false, "description": "This label marks the issue/pr stale - to be closed automatically if no activity" }, { "id": 1097547147, "node_id": "MDU6TGFiZWwxMDk3NTQ3MTQ3", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:ops", "name": "comp:ops", "color": "0052cc", "default": false, "description": "OPs related issues" }, { "id": 5508003926, "node_id": "LA_kwDOArmXAs8AAAABSE14Vg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13", "name": "TF 2.13", "color": "B13ACB", "default": false, "description": "For issues related to Tensorflow 2.13" } ]
closed
false
{ "login": "SuryanarayanaY", "id": 116063290, "node_id": "U_kgDOBur8Og", "avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SuryanarayanaY", "html_url": "https://github.com/SuryanarayanaY", "followers_url": "https://api.github.com/users/SuryanarayanaY/followers", "following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}", "gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}", "starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions", "organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs", "repos_url": "https://api.github.com/users/SuryanarayanaY/repos", "events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}", "received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events", "type": "User", "site_admin": false }
[ { "login": "SuryanarayanaY", "id": 116063290, "node_id": "U_kgDOBur8Og", "avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SuryanarayanaY", "html_url": "https://github.com/SuryanarayanaY", "followers_url": "https://api.github.com/users/SuryanarayanaY/followers", "following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}", "gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}", "starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions", "organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs", "repos_url": "https://api.github.com/users/SuryanarayanaY/repos", "events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}", "received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events", "type": "User", "site_admin": false } ]
null
[ "Hi @dmc1778 , \r\n\r\nThe reported behaviour is replicated with Tf2.13v and tf-nightly and attached gists [2.13v](https://colab.sandbox.google.com/gist/SuryanarayanaY/be183efd14ef95066c4168fea6b5533a/61604-2-13v.ipynb) and [nightly](https://colab.sandbox.google.com/gist/SuryanarayanaY/f101504321c8e70a0a4c9ac570b27398/61604-tf-nightly.ipynb) for reference.", "@dmc1778 ,\r\n\r\nPlease refer to the responses of Developer team related to the exception raised https://github.com/tensorflow/tensorflow/issues/61630#issuecomment-1685333019 and https://github.com/tensorflow/tensorflow/issues/61629#issuecomment-1686504422 stating it as intended behaviour.\r\n\r\nThe Op tries to allocate the memory for the inputs and outputs before performing computations and it fails. The same error returned to python and its adding more details to error log.\r\n\r\nAs requested please read [SECURITY.md](https://github.com/tensorflow/tensorflow/blob/master/SECURITY.md) to disclose these types of issues.", "This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.", "This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61604\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61604\">No</a>\n" ]
2023-08-17T15:19:19
2023-09-09T01:57:12
2023-09-09T01:57:03
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source binary ### TensorFlow version 2.13.0 ### Custom code Yes ### OS platform and distribution _No response_ ### Mobile device _No response_ ### Python version _No response_ ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? Due to large elements in the input lists ### Standalone code to reproduce the issue ```shell import tensorflow as tf import os import numpy as np try: diagonal_0_0_0_0 = 1111 diagonal_0_0_0_1 = 1112 diagonal_0_0_0 = [diagonal_0_0_0_0,diagonal_0_0_0_1,] diagonal_0_0_1_0 = 1121 diagonal_0_0_1_1 = 1122 diagonal_0_0_1 = [diagonal_0_0_1_0,diagonal_0_0_1_1,] diagonal_0_0 = [diagonal_0_0_0,diagonal_0_0_1,] diagonal_0_1_0_0 = 1211 diagonal_0_1_0_1 = 1212 diagonal_0_1_0 = [diagonal_0_1_0_0,diagonal_0_1_0_1,] diagonal_0_1_1_0 = 1221 diagonal_0_1_1_1 = 1222 diagonal_0_1_1 = [diagonal_0_1_1_0,diagonal_0_1_1_1,] diagonal_0_1 = [diagonal_0_1_0,diagonal_0_1_1,] diagonal_0 = [diagonal_0_0,diagonal_0_1,] diagonal_1_0_0_0 = 2111 diagonal_1_0_0_1 = 2112 diagonal_1_0_0 = [diagonal_1_0_0_0,diagonal_1_0_0_1,] diagonal_1_0_1_0 = 2121 diagonal_1_0_1_1 = 2122 diagonal_1_0_1 = [diagonal_1_0_1_0,diagonal_1_0_1_1,] diagonal_1_0 = [diagonal_1_0_0,diagonal_1_0_1,] diagonal_1_1_0_0 = 2211 diagonal_1_1_0_1 = 2212 diagonal_1_1_0 = [diagonal_1_1_0_0,diagonal_1_1_0_1,] diagonal_1_1_1_0 = 2221 diagonal_1_1_1_1 = 2222 diagonal_1_1_1 = [diagonal_1_1_1_0,diagonal_1_1_1_1,] diagonal_1_1 = [diagonal_1_1_0,diagonal_1_1_1,] diagonal_1 = [diagonal_1_0,diagonal_1_1,] diagonal = [diagonal_0,diagonal_1,] name = "None" k = 1610637938 padding_value = 0 align = "RIGHT_LEFT" out = tf.compat.v1.matrix_diag(diagonal=diagonal,name=name,k=k,padding_value=padding_value,align=align,) except Exception as e: print("Error:"+str(e)) ``` ``` ### Relevant log output ```shell Error:{{function_node __wrapped__MatrixDiagV3_device_/job:localhost/replica:0/task:0/device:CPU:0}} Encountered overflow when multiplying 12885103520 with 1610637940, result: -1 [Op:MatrixDiagV3] {} ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61604/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61604/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61603
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61603/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61603/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61603/events
https://github.com/tensorflow/tensorflow/issues/61603
1,855,175,907
I_kwDOArmXAs5uk7zj
61,603
Crash when running tf.compat.v1.keras.layers.MaxPool2D on colab
{ "login": "dmc1778", "id": 17060581, "node_id": "MDQ6VXNlcjE3MDYwNTgx", "avatar_url": "https://avatars.githubusercontent.com/u/17060581?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmc1778", "html_url": "https://github.com/dmc1778", "followers_url": "https://api.github.com/users/dmc1778/followers", "following_url": "https://api.github.com/users/dmc1778/following{/other_user}", "gists_url": "https://api.github.com/users/dmc1778/gists{/gist_id}", "starred_url": "https://api.github.com/users/dmc1778/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmc1778/subscriptions", "organizations_url": "https://api.github.com/users/dmc1778/orgs", "repos_url": "https://api.github.com/users/dmc1778/repos", "events_url": "https://api.github.com/users/dmc1778/events{/privacy}", "received_events_url": "https://api.github.com/users/dmc1778/received_events", "type": "User", "site_admin": false }
[ { "id": 404586594, "node_id": "MDU6TGFiZWw0MDQ1ODY1OTQ=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20tensorflower", "name": "stat:awaiting tensorflower", "color": "f4b400", "default": false, "description": "Status - Awaiting response from tensorflower" }, { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 1097547147, "node_id": "MDU6TGFiZWwxMDk3NTQ3MTQ3", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:ops", "name": "comp:ops", "color": "0052cc", "default": false, "description": "OPs related issues" }, { "id": 5508003926, "node_id": "LA_kwDOArmXAs8AAAABSE14Vg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13", "name": "TF 2.13", "color": "B13ACB", "default": false, "description": "For issues related to Tensorflow 2.13" } ]
closed
false
{ "login": "sachinprasadhs", "id": 73069040, "node_id": "MDQ6VXNlcjczMDY5MDQw", "avatar_url": "https://avatars.githubusercontent.com/u/73069040?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sachinprasadhs", "html_url": "https://github.com/sachinprasadhs", "followers_url": "https://api.github.com/users/sachinprasadhs/followers", "following_url": "https://api.github.com/users/sachinprasadhs/following{/other_user}", "gists_url": "https://api.github.com/users/sachinprasadhs/gists{/gist_id}", "starred_url": "https://api.github.com/users/sachinprasadhs/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sachinprasadhs/subscriptions", "organizations_url": "https://api.github.com/users/sachinprasadhs/orgs", "repos_url": "https://api.github.com/users/sachinprasadhs/repos", "events_url": "https://api.github.com/users/sachinprasadhs/events{/privacy}", "received_events_url": "https://api.github.com/users/sachinprasadhs/received_events", "type": "User", "site_admin": false }
[ { "login": "sachinprasadhs", "id": 73069040, "node_id": "MDQ6VXNlcjczMDY5MDQw", "avatar_url": "https://avatars.githubusercontent.com/u/73069040?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sachinprasadhs", "html_url": "https://github.com/sachinprasadhs", "followers_url": "https://api.github.com/users/sachinprasadhs/followers", "following_url": "https://api.github.com/users/sachinprasadhs/following{/other_user}", "gists_url": "https://api.github.com/users/sachinprasadhs/gists{/gist_id}", "starred_url": "https://api.github.com/users/sachinprasadhs/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sachinprasadhs/subscriptions", "organizations_url": "https://api.github.com/users/sachinprasadhs/orgs", "repos_url": "https://api.github.com/users/sachinprasadhs/repos", "events_url": "https://api.github.com/users/sachinprasadhs/events{/privacy}", "received_events_url": "https://api.github.com/users/sachinprasadhs/received_events", "type": "User", "site_admin": false } ]
null
[ "@dmc1778 I was able to run the code successfully without any crash using TfF v2.13 and tf-nightly, please find the gist [here](https://colab.research.google.com/gist/sushreebarsa/cc30d8029ece2a42565fe8626681cc6f/61603.ipynb). Thank you!", "> @dmc1778 I was able to run the code successfully without any crash using TfF v2.13 and tf-nightly, please find the gist [here](https://colab.research.google.com/gist/sushreebarsa/cc30d8029ece2a42565fe8626681cc6f/61603.ipynb). Thank you!\r\n\r\n![Screenshot from 2023-08-18 05-02-03](https://github.com/tensorflow/tensorflow/assets/17060581/42699956-dcab-43fe-b5b5-53ec8fc95188)\r\n", "@dmc1778 Thank you for your response!\r\n\r\nPlease have a look at this snapshot image as attached below;\r\n![7ksaicbFV8Bdnhu](https://github.com/tensorflow/tensorflow/assets/84765720/70ef125a-71ec-420f-aaeb-ed3898b17aab)\r\n\r\n\r\nThank you!", "> @dmc1778 Thank you for your response!\r\n> \r\n> Please have a look at this snapshot image as attached below; ![7ksaicbFV8Bdnhu](https://user-images.githubusercontent.com/84765720/261559774-70ef125a-71ec-420f-aaeb-ed3898b17aab.png)\r\n> \r\n> Thank you!\r\n\r\nWhat is your tf version?", "@dmc1778 I have checked in TF v2.13 and tf-nightly as well. Thank you!", "> @dmc1778 I have checked in TF v2.13 and tf-nightly as well. Thank you!\r\n@sushreebarsa \r\nStill getting the issue on 2.13 (both local and Colab):\r\n\r\n```\r\n2023-08-21 12:02:17.364023: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-21 12:02:17.382347: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-21 12:02:17.382481: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-21 12:02:17.383539: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-21 12:02:17.383643: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-21 12:02:17.383734: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-21 12:02:17.445378: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-21 12:02:17.445503: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-21 12:02:17.445594: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-21 12:02:17.445673: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1639] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 3876 MB memory: -> device: 0, name: NVIDIA GeForce GTX 1660 Ti, pci bus id: 0000:01:00.0, compute capability: 7.5\r\n2023-08-21 12:02:17.503845: I tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:432] Loaded cuDNN version 8600\r\n2023-08-21 12:02:17.503892: F tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:983] Check failed: cudnnSetPoolingNdDescriptor( handle_.get(), (pooling_descriptor.mode() == dnn::PoolingMode::kMaximum ? cudnn_max_pooling_mode : CUDNN_POOLING_AVERAGE_COUNT_EXCLUDE_PADDING), propagate_nans ? CUDNN_PROPAGATE_NAN : CUDNN_NOT_PROPAGATE_NAN, nd, shape.data(), padding.data(), strides.data()) == CUDNN_STATUS_SUCCESS (3 vs. 0)\r\nAborted\r\n\r\n```", "This seems more like an issue with calling a CUDA kernel.", "> This seems more like an issue with calling a CUDA kernel.\r\n\r\nYes, I thought the issue is related to my local CUDA, but it crashes on colab as well (CUDA enabled). ", "@dmc1778 Thank you for your response here. @SuryanarayanaY I was able to replicate the issue on colab, please find the gist [here](https://colab.research.google.com/gist/sushreebarsa/cc30d8029ece2a42565fe8626681cc6f/61603.ipynb). Thank you!", "Duplicate of #61642 ", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61603\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61603\">No</a>\n" ]
2023-08-17T14:57:29
2023-09-06T23:45:16
2023-09-06T23:45:13
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source binary ### TensorFlow version 2.13.0 ### Custom code Yes ### OS platform and distribution _No response_ ### Mobile device _No response_ ### Python version _No response_ ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? Due to large elements in input lists ### Standalone code to reproduce the issue ```shell results = dict() import tensorflow as tf import os import numpy as np try: pool_size_0 = 1e+38 pool_size_1 = 1048576 pool_size = [pool_size_0,pool_size_1,] strides_0 = 2 strides_1 = 2 strides = [strides_0,strides_1,] padding = "same" data_format = None arg_class = tf.compat.v1.keras.layers.MaxPool2D(pool_size=pool_size,strides=strides,padding=padding,data_format=data_format,) arg_input_0_tensor = tf.random.uniform([3, 74, 74, 256], dtype=tf.float32) arg_input_0 = tf.identity(arg_input_0_tensor) arg_input = [arg_input_0,] out = arg_class(*arg_input) except Exception as e: print("Error:"+str(e)) print(results) ``` ``` ### Relevant log output ```shell {"pid":7,"type":"jupyter","level":40,"msg":"[D 14:24:43.837 NotebookApp] Searching ['/root/.jupyter', '/root/.local/etc/jupyter', '/usr/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files","time":"2023-08-17T14:24:43.838Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 14:24:43.838 NotebookApp] Looking for jupyter_config in /etc/jupyter","time":"2023-08-17T14:24:43.846Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 14:24:43.840 NotebookApp] Looking for jupyter_config in /usr/local/etc/jupyter","time":"2023-08-17T14:24:43.847Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 14:24:43.842 NotebookApp] Looking for jupyter_config in /usr/etc/jupyter","time":"2023-08-17T14:24:43.848Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 14:24:43.842 NotebookApp] Looking for jupyter_config in /root/.local/etc/jupyter","time":"2023-08-17T14:24:43.848Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 14:24:43.842 NotebookApp] Looking for jupyter_config in /root/.jupyter","time":"2023-08-17T14:24:43.850Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 14:24:43.843 NotebookApp] Looking for jupyter_notebook_config in /etc/jupyter","time":"2023-08-17T14:24:43.850Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 14:24:43.847 NotebookApp] Loaded config file: /etc/jupyter/jupyter_notebook_config.py","time":"2023-08-17T14:24:43.854Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 14:24:43.847 NotebookApp] Looking for jupyter_notebook_config in /usr/local/etc/jupyter","time":"2023-08-17T14:24:43.855Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 14:24:43.849 NotebookApp] Loaded config file: /usr/local/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T14:24:43.855Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 14:24:43.849 NotebookApp] Looking for jupyter_notebook_config in /usr/etc/jupyter","time":"2023-08-17T14:24:43.862Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 14:24:43.849 NotebookApp] Looking for jupyter_notebook_config in /root/.local/etc/jupyter","time":"2023-08-17T14:24:43.863Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 14:24:43.849 NotebookApp] Looking for jupyter_notebook_config in /root/.jupyter","time":"2023-08-17T14:24:43.864Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 14:24:43.857 NotebookApp] Loaded config file: /root/.jupyter/jupyter_notebook_config.py","time":"2023-08-17T14:24:43.865Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":"[D 14:24:44.049 NotebookApp] Searching ['/root/.jupyter', '/root/.local/etc/jupyter', '/usr/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files","time":"2023-08-17T14:24:44.050Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":"[D 14:24:44.056 NotebookApp] Looking for jupyter_config in /etc/jupyter","time":"2023-08-17T14:24:44.056Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":"[D 14:24:44.056 NotebookApp] Looking for jupyter_config in /usr/local/etc/jupyter","time":"2023-08-17T14:24:44.057Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":"[D 14:24:44.056 NotebookApp] Looking for jupyter_config in /usr/etc/jupyter","time":"2023-08-17T14:24:44.057Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":"[D 14:24:44.056 NotebookApp] Looking for jupyter_config in /root/.local/etc/jupyter","time":"2023-08-17T14:24:44.057Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":"[D 14:24:44.056 NotebookApp] Looking for jupyter_config in /root/.jupyter","time":"2023-08-17T14:24:44.057Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":"[D 14:24:44.059 NotebookApp] Looking for jupyter_notebook_config in /etc/jupyter","time":"2023-08-17T14:24:44.065Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":"[D 14:24:44.059 NotebookApp] Loaded config file: /etc/jupyter/jupyter_notebook_config.py","time":"2023-08-17T14:24:44.066Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":"[D 14:24:44.060 NotebookApp] Looking for jupyter_notebook_config in /usr/local/etc/jupyter","time":"2023-08-17T14:24:44.066Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":"[D 14:24:44.060 NotebookApp] Loaded config file: /usr/local/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T14:24:44.066Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":"[D 14:24:44.060 NotebookApp] Looking for jupyter_notebook_config in /usr/etc/jupyter","time":"2023-08-17T14:24:44.066Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":"[D 14:24:44.060 NotebookApp] Looking for jupyter_notebook_config in /root/.local/etc/jupyter","time":"2023-08-17T14:24:44.067Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":"[D 14:24:44.060 NotebookApp] Looking for jupyter_notebook_config in /root/.jupyter","time":"2023-08-17T14:24:44.067Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":"[D 14:24:44.061 NotebookApp] Loaded config file: /root/.jupyter/jupyter_notebook_config.py","time":"2023-08-17T14:24:44.067Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":" \t/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T14:24:44.713Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":" \t/usr/local/etc/jupyter/jupyter_notebook_config.d/panel-client-jupyter.json","time":"2023-08-17T14:24:44.715Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":" \t/usr/local/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T14:24:44.715Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":" \t/usr/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T14:24:44.717Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":" \t/root/.local/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T14:24:44.719Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":" \t/root/.jupyter/jupyter_notebook_config.json","time":"2023-08-17T14:24:44.723Z","v":0} {"pid":6,"type":"jupyter","level":30,"msg":"Writing notebook server cookie secret to /root/.local/share/jupyter/runtime/notebook_cookie_secret","time":"2023-08-17T14:24:44.743Z","v":0} {"pid":6,"type":"jupyter","level":30,"msg":"Authentication of /metrics is OFF, since other authentication is disabled.","time":"2023-08-17T14:24:44.745Z","v":0} {"pid":6,"type":"jupyter","level":30,"msg":"google.colab serverextension initialized.","time":"2023-08-17T14:24:44.800Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" \t/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T14:24:44.806Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" \t/usr/local/etc/jupyter/jupyter_notebook_config.d/panel-client-jupyter.json","time":"2023-08-17T14:24:44.808Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" \t/usr/local/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T14:24:44.808Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" \t/usr/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T14:24:44.809Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" \t/root/.local/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T14:24:44.810Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" \t/root/.jupyter/jupyter_notebook_config.json","time":"2023-08-17T14:24:44.811Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"Writing notebook server cookie secret to /root/.local/share/jupyter/runtime/notebook_cookie_secret","time":"2023-08-17T14:24:44.831Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"Authentication of /metrics is OFF, since other authentication is disabled.","time":"2023-08-17T14:24:44.831Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"google.colab serverextension initialized.","time":"2023-08-17T14:24:44.856Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"Serving notebooks from local directory: /","time":"2023-08-17T14:24:49.405Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"Jupyter Notebook 6.4.8 is running at:","time":"2023-08-17T14:24:49.405Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"http://172.28.0.12:9000/","time":"2023-08-17T14:24:49.406Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).","time":"2023-08-17T14:24:49.406Z","v":0} {"pid":6,"type":"jupyter","level":30,"msg":"Serving notebooks from local directory: /","time":"2023-08-17T14:24:49.430Z","v":0} {"pid":6,"type":"jupyter","level":30,"msg":"Jupyter Notebook 6.4.8 is running at:","time":"2023-08-17T14:24:49.431Z","v":0} {"pid":6,"type":"jupyter","level":30,"msg":"http://172.28.0.2:9000/","time":"2023-08-17T14:24:49.432Z","v":0} {"pid":6,"type":"jupyter","level":30,"msg":"Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).","time":"2023-08-17T14:24:49.432Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"Kernel started: 5b91d383-2a5d-4d17-8f8d-5f59277ecb11, name: python3","time":"2023-08-17T14:26:06.571Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:29.531813: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.","time":"2023-08-17T14:26:29.531Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.","time":"2023-08-17T14:26:29.532Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:32.617224: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT","time":"2023-08-17T14:26:32.617Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:36.113889: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:26:36.114Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:36.787982: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:26:36.788Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:36.788362: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:26:36.788Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:36.803571: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:26:36.803Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:36.803974: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:26:36.804Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:36.804329: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:26:36.804Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:40.000011: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:26:40.001Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:40.000338: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:26:40.001Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:40.000550: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:26:40.001Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:40.000771: W tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:47] Overriding orig_value setting because the TF_FORCE_GPU_ALLOW_GROWTH environment variable is set. Original config value was 0.","time":"2023-08-17T14:26:40.001Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:40.000816: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1635] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 13664 MB memory: -> device: 0, name: Tesla T4, pci bus id: 0000:00:04.0, compute capability: 7.5","time":"2023-08-17T14:26:40.001Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:40.077428: W tensorflow/tsl/framework/cpu_allocator_impl.cc:83] Allocation of 6093750902 exceeds 10% of free system memory.","time":"2023-08-17T14:26:40.077Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:42.860963: F tensorflow/core/framework/tensor_shape.cc:587] Check failed: size >= 0 (0 vs. -1248091845)","time":"2023-08-17T14:26:42.861Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"KernelRestarter: restarting kernel (1/5), keep random ports","time":"2023-08-17T14:26:45.571Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"WARNING:root:kernel 5b91d383-2a5d-4d17-8f8d-5f59277ecb11 restarted","time":"2023-08-17T14:26:45.573Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:36.094812: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.","time":"2023-08-17T14:27:36.100Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.","time":"2023-08-17T14:27:36.101Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:37.142240: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT","time":"2023-08-17T14:27:37.142Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:41.764145: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:27:41.764Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:41.816688: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:27:41.816Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:41.826117: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:27:41.828Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:41.831423: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:27:41.831Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:41.832476: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:27:41.832Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:41.833383: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:27:41.833Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:43.665264: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:27:43.665Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:43.667057: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:27:43.667Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:43.668052: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:27:43.668Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:43.668828: W tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:47] Overriding orig_value setting because the TF_FORCE_GPU_ALLOW_GROWTH environment variable is set. Original config value was 0.","time":"2023-08-17T14:27:43.668Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:43.669432: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1635] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 13664 MB memory: -> device: 0, name: Tesla T4, pci bus id: 0000:00:04.0, compute capability: 7.5","time":"2023-08-17T14:27:43.669Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:43.701398: W tensorflow/tsl/framework/cpu_allocator_impl.cc:83] Allocation of 6093750902 exceeds 10% of free system memory.","time":"2023-08-17T14:27:43.701Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:48.308263: F tensorflow/core/framework/tensor_shape.cc:587] Check failed: size >= 0 (0 vs. -1248091845)","time":"2023-08-17T14:27:48.308Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"KernelRestarter: restarting kernel (1/5), keep random ports","time":"2023-08-17T14:27:51.576Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"WARNING:root:kernel 5b91d383-2a5d-4d17-8f8d-5f59277ecb11 restarted","time":"2023-08-17T14:27:51.576Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:09.645133: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.","time":"2023-08-17T14:31:09.645Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.","time":"2023-08-17T14:31:09.646Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:10.714033: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT","time":"2023-08-17T14:31:10.714Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:12.844776: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:31:12.844Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:12.892144: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:31:12.892Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:12.894009: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:31:12.894Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:12.896074: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:31:12.896Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:12.897012: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:31:12.897Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:12.897897: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:31:12.897Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:14.331805: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:31:14.332Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:14.332225: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:31:14.333Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:14.332548: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:31:14.333Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:14.332751: W tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:47] Overriding orig_value setting because the TF_FORCE_GPU_ALLOW_GROWTH environment variable is set. Original config value was 0.","time":"2023-08-17T14:31:14.333Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:14.332800: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1635] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 13664 MB memory: -> device: 0, name: Tesla T4, pci bus id: 0000:00:04.0, compute capability: 7.5","time":"2023-08-17T14:31:14.333Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:18.149537: I tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:424] Loaded cuDNN version 8900","time":"2023-08-17T14:31:18.149Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:18.151181: F tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:959] Check failed: cudnnSetPoolingNdDescriptor( handle_.get(), (pooling_descriptor.mode() == dnn::PoolingMode::kMaximum ? cudnn_max_pooling_mode : CUDNN_POOLING_AVERAGE_COUNT_EXCLUDE_PADDING), propagate_nans ? CUDNN_PROPAGATE_NAN : CUDNN_NOT_PROPAGATE_NAN, nd, shape.data(), padding.data(), strides.data()) == CUDNN_STATUS_SUCCESS (3 vs. 0)","time":"2023-08-17T14:31:18.151Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"KernelRestarter: restarting kernel (1/5), keep random ports","time":"2023-08-17T14:31:18.580Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"WARNING:root:kernel 5b91d383-2a5d-4d17-8f8d-5f59277ecb11 restarted","time":"2023-08-17T14:31:18.581Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:32:58.023248: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.","time":"2023-08-17T14:32:58.024Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.","time":"2023-08-17T14:32:58.024Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:33:00.925573: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT","time":"2023-08-17T14:33:00.925Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:22.817441: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:34:22.817Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:22.920819: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:34:22.920Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:22.921484: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:34:22.921Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:22.923040: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:34:22.923Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:22.923548: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:34:22.923Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:22.924029: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:34:22.924Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:24.323413: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:34:24.323Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:24.324064: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:34:24.324Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:24.324360: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:34:24.324Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:24.324522: W tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:47] Overriding orig_value setting because the TF_FORCE_GPU_ALLOW_GROWTH environment variable is set. Original config value was 0.","time":"2023-08-17T14:34:24.325Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:24.324601: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1635] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 13664 MB memory: -> device: 0, name: Tesla T4, pci bus id: 0000:00:04.0, compute capability: 7.5","time":"2023-08-17T14:34:24.325Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:29.102979: I tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:424] Loaded cuDNN version 8900","time":"2023-08-17T14:34:29.103Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:29.104423: F tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:959] Check failed: cudnnSetPoolingNdDescriptor( handle_.get(), (pooling_descriptor.mode() == dnn::PoolingMode::kMaximum ? cudnn_max_pooling_mode : CUDNN_POOLING_AVERAGE_COUNT_EXCLUDE_PADDING), propagate_nans ? CUDNN_PROPAGATE_NAN : CUDNN_NOT_PROPAGATE_NAN, nd, shape.data(), padding.data(), strides.data()) == CUDNN_STATUS_SUCCESS (3 vs. 0)","time":"2023-08-17T14:34:29.104Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"KernelRestarter: restarting kernel (1/5), keep random ports","time":"2023-08-17T14:34:30.587Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"WARNING:root:kernel 5b91d383-2a5d-4d17-8f8d-5f59277ecb11 restarted","time":"2023-08-17T14:34:30.587Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:39.499788: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.","time":"2023-08-17T14:34:39.500Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.","time":"2023-08-17T14:34:39.500Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:41.797362: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT","time":"2023-08-17T14:34:41.797Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"Kernel restarted: 5b91d383-2a5d-4d17-8f8d-5f59277ecb11","time":"2023-08-17T14:34:51.616Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:59.388548: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.","time":"2023-08-17T14:34:59.392Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.","time":"2023-08-17T14:34:59.392Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:35:01.250311: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT","time":"2023-08-17T14:35:01.250Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:36:06.143899: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:36:06.144Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:36:06.181829: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:36:06.182Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:36:06.182572: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:36:06.182Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:36:06.184389: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:36:06.184Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:36:06.184737: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:36:06.185Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:36:06.185055: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:36:06.185Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:36:07.232416: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:36:07.232Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:36:07.232868: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:36:07.233Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:36:07.233157: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:36:07.233Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:36:07.233367: W tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:47] Overriding orig_value setting because the TF_FORCE_GPU_ALLOW_GROWTH environment variable is set. Original config value was 0.","time":"2023-08-17T14:36:07.233Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:36:07.233419: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1639] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 13692 MB memory: -> device: 0, name: Tesla T4, pci bus id: 0000:00:04.0, compute capability: 7.5","time":"2023-08-17T14:36:07.233Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:36:07.261994: W tensorflow/core/framework/op_kernel.cc:1828] OP_REQUIRES failed at matrix_diag_op.cc:273 : INVALID_ARGUMENT: Encountered overflow when multiplying 12884901888 with 1610612736, result: -1","time":"2023-08-17T14:36:07.262Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:36:57.056526: W tensorflow/tsl/framework/cpu_allocator_impl.cc:83] Allocation of 6093750902 exceeds 10% of free system memory.","time":"2023-08-17T14:36:57.056Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:37:03.543980: W tensorflow/core/framework/op_kernel.cc:1828] OP_REQUIRES failed at matrix_diag_op.cc:273 : INVALID_ARGUMENT: Encountered overflow when multiplying 3046875451 with 3046875451, result: -9163294059803098215","time":"2023-08-17T14:37:03.544Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:37:04.268280: W tensorflow/tsl/framework/cpu_allocator_impl.cc:83] Allocation of 6093750784 exceeds 10% of free system memory.","time":"2023-08-17T14:37:04.268Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:37:08.172313: W tensorflow/core/framework/op_kernel.cc:1828] OP_REQUIRES failed at matrix_diag_op.cc:273 : INVALID_ARGUMENT: Encountered overflow when multiplying 3046875392 with 3046875392, result: -9163294419334397952","time":"2023-08-17T14:37:08.172Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:38:16.953443: I tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:432] Loaded cuDNN version 8900","time":"2023-08-17T14:38:16.953Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:38:16.953795: F tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:983] Check failed: cudnnSetPoolingNdDescriptor( handle_.get(), (pooling_descriptor.mode() == dnn::PoolingMode::kMaximum ? cudnn_max_pooling_mode : CUDNN_POOLING_AVERAGE_COUNT_EXCLUDE_PADDING), propagate_nans ? CUDNN_PROPAGATE_NAN : CUDNN_NOT_PROPAGATE_NAN, nd, shape.data(), padding.data(), strides.data()) == CUDNN_STATUS_SUCCESS (3 vs. 0)","time":"2023-08-17T14:38:16.954Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"KernelRestarter: restarting kernel (1/5), keep random ports","time":"2023-08-17T14:38:18.617Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"WARNING:root:kernel 5b91d383-2a5d-4d17-8f8d-5f59277ecb11 restarted","time":"2023-08-17T14:38:18.617Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:41:46.795637: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.","time":"2023-08-17T14:41:46.795Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.","time":"2023-08-17T14:41:46.795Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:41:47.897333: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT","time":"2023-08-17T14:41:47.897Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:41:50.174067: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:41:50.174Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:41:50.217161: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:41:50.217Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:41:50.217535: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:41:50.217Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:53:15.973272: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:53:15.973Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:53:15.977064: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:53:15.977Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:53:15.977438: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:53:15.977Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:53:17.404160: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:53:17.404Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:53:17.405355: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:53:17.405Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:53:17.406091: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:53:17.406Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:53:17.406821: W tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:47] Overriding orig_value setting because the TF_FORCE_GPU_ALLOW_GROWTH environment variable is set. Original config value was 0.","time":"2023-08-17T14:53:17.406Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:53:17.407403: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1639] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 13692 MB memory: -> device: 0, name: Tesla T4, pci bus id: 0000:00:04.0, compute capability: 7.5","time":"2023-08-17T14:53:17.407Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:53:17.447492: W tensorflow/core/framework/op_kernel.cc:1828] OP_REQUIRES failed at matrix_diag_op.cc:273 : INVALID_ARGUMENT: Encountered overflow when multiplying 9984734776 with 1248091847, result: -5984878005326580344","time":"2023-08-17T14:53:17.447Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:56:00.832626: I tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:432] Loaded cuDNN version 8900","time":"2023-08-17T14:56:00.832Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:56:00.832804: F tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:983] Check failed: cudnnSetPoolingNdDescriptor( handle_.get(), (pooling_descriptor.mode() == dnn::PoolingMode::kMaximum ? cudnn_max_pooling_mode : CUDNN_POOLING_AVERAGE_COUNT_EXCLUDE_PADDING), propagate_nans ? CUDNN_PROPAGATE_NAN : CUDNN_NOT_PROPAGATE_NAN, nd, shape.data(), padding.data(), strides.data()) == CUDNN_STATUS_SUCCESS (3 vs. 0)","time":"2023-08-17T14:56:00.833Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"KernelRestarter: restarting kernel (1/5), keep random ports","time":"2023-08-17T14:56:03.623Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"WARNING:root:kernel 5b91d383-2a5d-4d17-8f8d-5f59277ecb11 restarted","time":"2023-08-17T14:56:03.623Z","v":0} ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61603/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61603/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61602
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61602/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61602/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61602/events
https://github.com/tensorflow/tensorflow/issues/61602
1,855,171,687
I_kwDOArmXAs5uk6xn
61,602
Integer overflow when running tf.raw_ops.MatrixDiagV3 on colab
{ "login": "dmc1778", "id": 17060581, "node_id": "MDQ6VXNlcjE3MDYwNTgx", "avatar_url": "https://avatars.githubusercontent.com/u/17060581?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmc1778", "html_url": "https://github.com/dmc1778", "followers_url": "https://api.github.com/users/dmc1778/followers", "following_url": "https://api.github.com/users/dmc1778/following{/other_user}", "gists_url": "https://api.github.com/users/dmc1778/gists{/gist_id}", "starred_url": "https://api.github.com/users/dmc1778/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmc1778/subscriptions", "organizations_url": "https://api.github.com/users/dmc1778/orgs", "repos_url": "https://api.github.com/users/dmc1778/repos", "events_url": "https://api.github.com/users/dmc1778/events{/privacy}", "received_events_url": "https://api.github.com/users/dmc1778/received_events", "type": "User", "site_admin": false }
[ { "id": 386191887, "node_id": "MDU6TGFiZWwzODYxOTE4ODc=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response", "name": "stat:awaiting response", "color": "f4b400", "default": false, "description": "Status - Awaiting response from author" }, { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 1097547147, "node_id": "MDU6TGFiZWwxMDk3NTQ3MTQ3", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:ops", "name": "comp:ops", "color": "0052cc", "default": false, "description": "OPs related issues" }, { "id": 5508003926, "node_id": "LA_kwDOArmXAs8AAAABSE14Vg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13", "name": "TF 2.13", "color": "B13ACB", "default": false, "description": "For issues related to Tensorflow 2.13" } ]
closed
false
{ "login": "Varsha-anjanappa", "id": 137163810, "node_id": "U_kgDOCCz0Ig", "avatar_url": "https://avatars.githubusercontent.com/u/137163810?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Varsha-anjanappa", "html_url": "https://github.com/Varsha-anjanappa", "followers_url": "https://api.github.com/users/Varsha-anjanappa/followers", "following_url": "https://api.github.com/users/Varsha-anjanappa/following{/other_user}", "gists_url": "https://api.github.com/users/Varsha-anjanappa/gists{/gist_id}", "starred_url": "https://api.github.com/users/Varsha-anjanappa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Varsha-anjanappa/subscriptions", "organizations_url": "https://api.github.com/users/Varsha-anjanappa/orgs", "repos_url": "https://api.github.com/users/Varsha-anjanappa/repos", "events_url": "https://api.github.com/users/Varsha-anjanappa/events{/privacy}", "received_events_url": "https://api.github.com/users/Varsha-anjanappa/received_events", "type": "User", "site_admin": false }
[ { "login": "Varsha-anjanappa", "id": 137163810, "node_id": "U_kgDOCCz0Ig", "avatar_url": "https://avatars.githubusercontent.com/u/137163810?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Varsha-anjanappa", "html_url": "https://github.com/Varsha-anjanappa", "followers_url": "https://api.github.com/users/Varsha-anjanappa/followers", "following_url": "https://api.github.com/users/Varsha-anjanappa/following{/other_user}", "gists_url": "https://api.github.com/users/Varsha-anjanappa/gists{/gist_id}", "starred_url": "https://api.github.com/users/Varsha-anjanappa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Varsha-anjanappa/subscriptions", "organizations_url": "https://api.github.com/users/Varsha-anjanappa/orgs", "repos_url": "https://api.github.com/users/Varsha-anjanappa/repos", "events_url": "https://api.github.com/users/Varsha-anjanappa/events{/privacy}", "received_events_url": "https://api.github.com/users/Varsha-anjanappa/received_events", "type": "User", "site_admin": false } ]
null
[ "Hi @dmc1778 ,\r\n\r\nIt is not an issue, that's an error that is being returned to the user instead of performing bad computations.\r\nPlease consult again the SECURITY.md guide.\r\n\r\nThank you!!", "Closing as not a real issue.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61602\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61602\">No</a>\n" ]
2023-08-17T14:55:02
2023-08-21T14:16:10
2023-08-21T14:16:03
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source binary ### TensorFlow version 2.13.0 ### Custom code Yes ### OS platform and distribution _No response_ ### Mobile device _No response_ ### Python version _No response_ ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? Due to large elements in input lists ### Standalone code to reproduce the issue ```shell results = dict() import tensorflow as tf import os import numpy as np try: diagonal_0_0_0_0 = 1111 diagonal_0_0_0_1 = 1112 diagonal_0_0_0 = [diagonal_0_0_0_0,diagonal_0_0_0_1,] diagonal_0_0_1_0 = 1121 diagonal_0_0_1_1 = 1122 diagonal_0_0_1 = [diagonal_0_0_1_0,diagonal_0_0_1_1,] diagonal_0_0 = [diagonal_0_0_0,diagonal_0_0_1,] diagonal_0_1_0_0 = 1211 diagonal_0_1_0_1 = 1212 diagonal_0_1_0 = [diagonal_0_1_0_0,diagonal_0_1_0_1,] diagonal_0_1_1_0 = 1221 diagonal_0_1_1_1 = 1222 diagonal_0_1_1 = [diagonal_0_1_1_0,diagonal_0_1_1_1,] diagonal_0_1 = [diagonal_0_1_0,diagonal_0_1_1,] diagonal_0 = [diagonal_0_0,diagonal_0_1,] diagonal_1_0_0_0 = 2111 diagonal_1_0_0_1 = 2112 diagonal_1_0_0 = [diagonal_1_0_0_0,diagonal_1_0_0_1,] diagonal_1_0_1_0 = 2121 diagonal_1_0_1_1 = 2122 diagonal_1_0_1 = [diagonal_1_0_1_0,diagonal_1_0_1_1,] diagonal_1_0 = [diagonal_1_0_0,diagonal_1_0_1,] diagonal_1_1_0_0 = 2211 diagonal_1_1_0_1 = 35.0 diagonal_1_1_0 = [diagonal_1_1_0_0,diagonal_1_1_0_1,] diagonal_1_1_1_0 = 2221 diagonal_1_1_1_1 = 2222 diagonal_1_1_1 = [diagonal_1_1_1_0,diagonal_1_1_1_1,] diagonal_1_1 = [diagonal_1_1_0,diagonal_1_1_1,] diagonal_1 = [diagonal_1_0,diagonal_1_1,] diagonal = [diagonal_0,diagonal_1,] k = 3046875451 num_rows = -1 num_cols = -1 padding_value = 0 align = "RIGHT_LEFT" name = "diag_part" out = tf.raw_ops.MatrixDiagV3(diagonal=diagonal,k=k,num_rows=num_rows,num_cols=num_cols,padding_value=padding_value,align=align,name=name,) except Exception as e: print("Error:"+str(e)) print(results) ``` ``` ### Relevant log output ```shell Error:{{function_node __wrapped__MatrixDiagV3_device_/job:localhost/replica:0/task:0/device:GPU:0}} Encountered overflow when multiplying 9984734776 with 1248091847, result: -5984878005326580344 [[{{node MatrixDiagV3}}]] [Op:MatrixDiagV3] {} ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61602/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61602/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61601
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61601/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61601/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61601/events
https://github.com/tensorflow/tensorflow/issues/61601
1,855,152,969
I_kwDOArmXAs5uk2NJ
61,601
Crash when running tf.keras.layers.MaxPooling2D
{ "login": "dmc1778", "id": 17060581, "node_id": "MDQ6VXNlcjE3MDYwNTgx", "avatar_url": "https://avatars.githubusercontent.com/u/17060581?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmc1778", "html_url": "https://github.com/dmc1778", "followers_url": "https://api.github.com/users/dmc1778/followers", "following_url": "https://api.github.com/users/dmc1778/following{/other_user}", "gists_url": "https://api.github.com/users/dmc1778/gists{/gist_id}", "starred_url": "https://api.github.com/users/dmc1778/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmc1778/subscriptions", "organizations_url": "https://api.github.com/users/dmc1778/orgs", "repos_url": "https://api.github.com/users/dmc1778/repos", "events_url": "https://api.github.com/users/dmc1778/events{/privacy}", "received_events_url": "https://api.github.com/users/dmc1778/received_events", "type": "User", "site_admin": false }
[ { "id": 386191887, "node_id": "MDU6TGFiZWwzODYxOTE4ODc=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response", "name": "stat:awaiting response", "color": "f4b400", "default": false, "description": "Status - Awaiting response from author" }, { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 1097547147, "node_id": "MDU6TGFiZWwxMDk3NTQ3MTQ3", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:ops", "name": "comp:ops", "color": "0052cc", "default": false, "description": "OPs related issues" }, { "id": 5508003926, "node_id": "LA_kwDOArmXAs8AAAABSE14Vg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13", "name": "TF 2.13", "color": "B13ACB", "default": false, "description": "For issues related to Tensorflow 2.13" } ]
closed
false
{ "login": "tilakrayal", "id": 81610181, "node_id": "MDQ6VXNlcjgxNjEwMTgx", "avatar_url": "https://avatars.githubusercontent.com/u/81610181?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tilakrayal", "html_url": "https://github.com/tilakrayal", "followers_url": "https://api.github.com/users/tilakrayal/followers", "following_url": "https://api.github.com/users/tilakrayal/following{/other_user}", "gists_url": "https://api.github.com/users/tilakrayal/gists{/gist_id}", "starred_url": "https://api.github.com/users/tilakrayal/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tilakrayal/subscriptions", "organizations_url": "https://api.github.com/users/tilakrayal/orgs", "repos_url": "https://api.github.com/users/tilakrayal/repos", "events_url": "https://api.github.com/users/tilakrayal/events{/privacy}", "received_events_url": "https://api.github.com/users/tilakrayal/received_events", "type": "User", "site_admin": false }
[ { "login": "tilakrayal", "id": 81610181, "node_id": "MDQ6VXNlcjgxNjEwMTgx", "avatar_url": "https://avatars.githubusercontent.com/u/81610181?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tilakrayal", "html_url": "https://github.com/tilakrayal", "followers_url": "https://api.github.com/users/tilakrayal/followers", "following_url": "https://api.github.com/users/tilakrayal/following{/other_user}", "gists_url": "https://api.github.com/users/tilakrayal/gists{/gist_id}", "starred_url": "https://api.github.com/users/tilakrayal/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tilakrayal/subscriptions", "organizations_url": "https://api.github.com/users/tilakrayal/orgs", "repos_url": "https://api.github.com/users/tilakrayal/repos", "events_url": "https://api.github.com/users/tilakrayal/events{/privacy}", "received_events_url": "https://api.github.com/users/tilakrayal/received_events", "type": "User", "site_admin": false } ]
null
[ "@dmc1778,\r\nLooks like this is the duplicate for the issue #61605. Could you please close this issue, since it is already being tracked there? Thank you!\r\n", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61601\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61601\">No</a>\n" ]
2023-08-17T14:44:21
2023-08-23T13:07:44
2023-08-23T13:07:41
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source binary ### TensorFlow version 2.13.0 ### Custom code Yes ### OS platform and distribution PRETTY_NAME="Ubuntu 22.04.2 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.2 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=jammy ### Mobile device _No response_ ### Python version 3.10.12 (main, Jun 11 2023, 05:26:28) ### Bazel version _No response_ ### GCC/compiler version [GCC 11.4.0] ### CUDA/cuDNN version nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2022 NVIDIA Corporation Built on Wed_Sep_21_10:33:58_PDT_2022 Cuda compilation tools, release 11.8, V11.8.89 Build cuda_11.8.r11.8/compiler.31833905_0 ### GPU model and memory T4 ### Current behavior? Due to the large list of elements ### Standalone code to reproduce the issue ```shell import tensorflow as tf import os import numpy as np try: arg_0_0 = 1e+20 arg_0_1 = True arg_0 = [arg_0_0,arg_0_1,] strides_0 = 2 strides_1 = 2 strides = [strides_0,strides_1,] arg_class = tf.keras.layers.MaxPooling2D(arg_0,strides=strides,) arg_input_0_tensor = tf.random.uniform([2, 17, 17, 768], dtype=tf.float32) arg_input_0 = tf.identity(arg_input_0_tensor) arg_input = [arg_input_0,] out = arg_class(*arg_input) except Exception as e: print("Error:"+str(e)) ``` ``` ### Relevant log output ```shell {"pid":7,"type":"jupyter","level":40,"msg":"[D 14:24:43.837 NotebookApp] Searching ['/root/.jupyter', '/root/.local/etc/jupyter', '/usr/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files","time":"2023-08-17T14:24:43.838Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 14:24:43.838 NotebookApp] Looking for jupyter_config in /etc/jupyter","time":"2023-08-17T14:24:43.846Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 14:24:43.840 NotebookApp] Looking for jupyter_config in /usr/local/etc/jupyter","time":"2023-08-17T14:24:43.847Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 14:24:43.842 NotebookApp] Looking for jupyter_config in /usr/etc/jupyter","time":"2023-08-17T14:24:43.848Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 14:24:43.842 NotebookApp] Looking for jupyter_config in /root/.local/etc/jupyter","time":"2023-08-17T14:24:43.848Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 14:24:43.842 NotebookApp] Looking for jupyter_config in /root/.jupyter","time":"2023-08-17T14:24:43.850Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 14:24:43.843 NotebookApp] Looking for jupyter_notebook_config in /etc/jupyter","time":"2023-08-17T14:24:43.850Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 14:24:43.847 NotebookApp] Loaded config file: /etc/jupyter/jupyter_notebook_config.py","time":"2023-08-17T14:24:43.854Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 14:24:43.847 NotebookApp] Looking for jupyter_notebook_config in /usr/local/etc/jupyter","time":"2023-08-17T14:24:43.855Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 14:24:43.849 NotebookApp] Loaded config file: /usr/local/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T14:24:43.855Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 14:24:43.849 NotebookApp] Looking for jupyter_notebook_config in /usr/etc/jupyter","time":"2023-08-17T14:24:43.862Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 14:24:43.849 NotebookApp] Looking for jupyter_notebook_config in /root/.local/etc/jupyter","time":"2023-08-17T14:24:43.863Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 14:24:43.849 NotebookApp] Looking for jupyter_notebook_config in /root/.jupyter","time":"2023-08-17T14:24:43.864Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"[D 14:24:43.857 NotebookApp] Loaded config file: /root/.jupyter/jupyter_notebook_config.py","time":"2023-08-17T14:24:43.865Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":"[D 14:24:44.049 NotebookApp] Searching ['/root/.jupyter', '/root/.local/etc/jupyter', '/usr/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files","time":"2023-08-17T14:24:44.050Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":"[D 14:24:44.056 NotebookApp] Looking for jupyter_config in /etc/jupyter","time":"2023-08-17T14:24:44.056Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":"[D 14:24:44.056 NotebookApp] Looking for jupyter_config in /usr/local/etc/jupyter","time":"2023-08-17T14:24:44.057Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":"[D 14:24:44.056 NotebookApp] Looking for jupyter_config in /usr/etc/jupyter","time":"2023-08-17T14:24:44.057Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":"[D 14:24:44.056 NotebookApp] Looking for jupyter_config in /root/.local/etc/jupyter","time":"2023-08-17T14:24:44.057Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":"[D 14:24:44.056 NotebookApp] Looking for jupyter_config in /root/.jupyter","time":"2023-08-17T14:24:44.057Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":"[D 14:24:44.059 NotebookApp] Looking for jupyter_notebook_config in /etc/jupyter","time":"2023-08-17T14:24:44.065Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":"[D 14:24:44.059 NotebookApp] Loaded config file: /etc/jupyter/jupyter_notebook_config.py","time":"2023-08-17T14:24:44.066Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":"[D 14:24:44.060 NotebookApp] Looking for jupyter_notebook_config in /usr/local/etc/jupyter","time":"2023-08-17T14:24:44.066Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":"[D 14:24:44.060 NotebookApp] Loaded config file: /usr/local/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T14:24:44.066Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":"[D 14:24:44.060 NotebookApp] Looking for jupyter_notebook_config in /usr/etc/jupyter","time":"2023-08-17T14:24:44.066Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":"[D 14:24:44.060 NotebookApp] Looking for jupyter_notebook_config in /root/.local/etc/jupyter","time":"2023-08-17T14:24:44.067Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":"[D 14:24:44.060 NotebookApp] Looking for jupyter_notebook_config in /root/.jupyter","time":"2023-08-17T14:24:44.067Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":"[D 14:24:44.061 NotebookApp] Loaded config file: /root/.jupyter/jupyter_notebook_config.py","time":"2023-08-17T14:24:44.067Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":" \t/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T14:24:44.713Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":" \t/usr/local/etc/jupyter/jupyter_notebook_config.d/panel-client-jupyter.json","time":"2023-08-17T14:24:44.715Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":" \t/usr/local/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T14:24:44.715Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":" \t/usr/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T14:24:44.717Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":" \t/root/.local/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T14:24:44.719Z","v":0} {"pid":6,"type":"jupyter","level":40,"msg":" \t/root/.jupyter/jupyter_notebook_config.json","time":"2023-08-17T14:24:44.723Z","v":0} {"pid":6,"type":"jupyter","level":30,"msg":"Writing notebook server cookie secret to /root/.local/share/jupyter/runtime/notebook_cookie_secret","time":"2023-08-17T14:24:44.743Z","v":0} {"pid":6,"type":"jupyter","level":30,"msg":"Authentication of /metrics is OFF, since other authentication is disabled.","time":"2023-08-17T14:24:44.745Z","v":0} {"pid":6,"type":"jupyter","level":30,"msg":"google.colab serverextension initialized.","time":"2023-08-17T14:24:44.800Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" \t/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T14:24:44.806Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" \t/usr/local/etc/jupyter/jupyter_notebook_config.d/panel-client-jupyter.json","time":"2023-08-17T14:24:44.808Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" \t/usr/local/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T14:24:44.808Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" \t/usr/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T14:24:44.809Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" \t/root/.local/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-17T14:24:44.810Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":" \t/root/.jupyter/jupyter_notebook_config.json","time":"2023-08-17T14:24:44.811Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"Writing notebook server cookie secret to /root/.local/share/jupyter/runtime/notebook_cookie_secret","time":"2023-08-17T14:24:44.831Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"Authentication of /metrics is OFF, since other authentication is disabled.","time":"2023-08-17T14:24:44.831Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"google.colab serverextension initialized.","time":"2023-08-17T14:24:44.856Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"Serving notebooks from local directory: /","time":"2023-08-17T14:24:49.405Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"Jupyter Notebook 6.4.8 is running at:","time":"2023-08-17T14:24:49.405Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"http://172.28.0.12:9000/","time":"2023-08-17T14:24:49.406Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).","time":"2023-08-17T14:24:49.406Z","v":0} {"pid":6,"type":"jupyter","level":30,"msg":"Serving notebooks from local directory: /","time":"2023-08-17T14:24:49.430Z","v":0} {"pid":6,"type":"jupyter","level":30,"msg":"Jupyter Notebook 6.4.8 is running at:","time":"2023-08-17T14:24:49.431Z","v":0} {"pid":6,"type":"jupyter","level":30,"msg":"http://172.28.0.2:9000/","time":"2023-08-17T14:24:49.432Z","v":0} {"pid":6,"type":"jupyter","level":30,"msg":"Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).","time":"2023-08-17T14:24:49.432Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"Kernel started: 5b91d383-2a5d-4d17-8f8d-5f59277ecb11, name: python3","time":"2023-08-17T14:26:06.571Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:29.531813: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.","time":"2023-08-17T14:26:29.531Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.","time":"2023-08-17T14:26:29.532Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:32.617224: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT","time":"2023-08-17T14:26:32.617Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:36.113889: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:26:36.114Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:36.787982: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:26:36.788Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:36.788362: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:26:36.788Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:36.803571: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:26:36.803Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:36.803974: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:26:36.804Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:36.804329: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:26:36.804Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:40.000011: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:26:40.001Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:40.000338: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:26:40.001Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:40.000550: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:26:40.001Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:40.000771: W tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:47] Overriding orig_value setting because the TF_FORCE_GPU_ALLOW_GROWTH environment variable is set. Original config value was 0.","time":"2023-08-17T14:26:40.001Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:40.000816: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1635] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 13664 MB memory: -> device: 0, name: Tesla T4, pci bus id: 0000:00:04.0, compute capability: 7.5","time":"2023-08-17T14:26:40.001Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:40.077428: W tensorflow/tsl/framework/cpu_allocator_impl.cc:83] Allocation of 6093750902 exceeds 10% of free system memory.","time":"2023-08-17T14:26:40.077Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:26:42.860963: F tensorflow/core/framework/tensor_shape.cc:587] Check failed: size >= 0 (0 vs. -1248091845)","time":"2023-08-17T14:26:42.861Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"KernelRestarter: restarting kernel (1/5), keep random ports","time":"2023-08-17T14:26:45.571Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"WARNING:root:kernel 5b91d383-2a5d-4d17-8f8d-5f59277ecb11 restarted","time":"2023-08-17T14:26:45.573Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:36.094812: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.","time":"2023-08-17T14:27:36.100Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.","time":"2023-08-17T14:27:36.101Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:37.142240: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT","time":"2023-08-17T14:27:37.142Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:41.764145: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:27:41.764Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:41.816688: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:27:41.816Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:41.826117: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:27:41.828Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:41.831423: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:27:41.831Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:41.832476: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:27:41.832Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:41.833383: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:27:41.833Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:43.665264: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:27:43.665Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:43.667057: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:27:43.667Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:43.668052: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:27:43.668Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:43.668828: W tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:47] Overriding orig_value setting because the TF_FORCE_GPU_ALLOW_GROWTH environment variable is set. Original config value was 0.","time":"2023-08-17T14:27:43.668Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:43.669432: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1635] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 13664 MB memory: -> device: 0, name: Tesla T4, pci bus id: 0000:00:04.0, compute capability: 7.5","time":"2023-08-17T14:27:43.669Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:43.701398: W tensorflow/tsl/framework/cpu_allocator_impl.cc:83] Allocation of 6093750902 exceeds 10% of free system memory.","time":"2023-08-17T14:27:43.701Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:27:48.308263: F tensorflow/core/framework/tensor_shape.cc:587] Check failed: size >= 0 (0 vs. -1248091845)","time":"2023-08-17T14:27:48.308Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"KernelRestarter: restarting kernel (1/5), keep random ports","time":"2023-08-17T14:27:51.576Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"WARNING:root:kernel 5b91d383-2a5d-4d17-8f8d-5f59277ecb11 restarted","time":"2023-08-17T14:27:51.576Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:09.645133: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.","time":"2023-08-17T14:31:09.645Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.","time":"2023-08-17T14:31:09.646Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:10.714033: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT","time":"2023-08-17T14:31:10.714Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:12.844776: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:31:12.844Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:12.892144: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:31:12.892Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:12.894009: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:31:12.894Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:12.896074: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:31:12.896Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:12.897012: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:31:12.897Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:12.897897: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:31:12.897Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:14.331805: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:31:14.332Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:14.332225: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:31:14.333Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:14.332548: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:31:14.333Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:14.332751: W tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:47] Overriding orig_value setting because the TF_FORCE_GPU_ALLOW_GROWTH environment variable is set. Original config value was 0.","time":"2023-08-17T14:31:14.333Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:14.332800: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1635] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 13664 MB memory: -> device: 0, name: Tesla T4, pci bus id: 0000:00:04.0, compute capability: 7.5","time":"2023-08-17T14:31:14.333Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:18.149537: I tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:424] Loaded cuDNN version 8900","time":"2023-08-17T14:31:18.149Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:31:18.151181: F tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:959] Check failed: cudnnSetPoolingNdDescriptor( handle_.get(), (pooling_descriptor.mode() == dnn::PoolingMode::kMaximum ? cudnn_max_pooling_mode : CUDNN_POOLING_AVERAGE_COUNT_EXCLUDE_PADDING), propagate_nans ? CUDNN_PROPAGATE_NAN : CUDNN_NOT_PROPAGATE_NAN, nd, shape.data(), padding.data(), strides.data()) == CUDNN_STATUS_SUCCESS (3 vs. 0)","time":"2023-08-17T14:31:18.151Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"KernelRestarter: restarting kernel (1/5), keep random ports","time":"2023-08-17T14:31:18.580Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"WARNING:root:kernel 5b91d383-2a5d-4d17-8f8d-5f59277ecb11 restarted","time":"2023-08-17T14:31:18.581Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:32:58.023248: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.","time":"2023-08-17T14:32:58.024Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.","time":"2023-08-17T14:32:58.024Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:33:00.925573: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT","time":"2023-08-17T14:33:00.925Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:22.817441: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:34:22.817Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:22.920819: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:34:22.920Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:22.921484: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:34:22.921Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:22.923040: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:34:22.923Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:22.923548: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:34:22.923Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:22.924029: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:34:22.924Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:24.323413: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:34:24.323Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:24.324064: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:34:24.324Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:24.324360: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:34:24.324Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:24.324522: W tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:47] Overriding orig_value setting because the TF_FORCE_GPU_ALLOW_GROWTH environment variable is set. Original config value was 0.","time":"2023-08-17T14:34:24.325Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:24.324601: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1635] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 13664 MB memory: -> device: 0, name: Tesla T4, pci bus id: 0000:00:04.0, compute capability: 7.5","time":"2023-08-17T14:34:24.325Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:29.102979: I tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:424] Loaded cuDNN version 8900","time":"2023-08-17T14:34:29.103Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:29.104423: F tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:959] Check failed: cudnnSetPoolingNdDescriptor( handle_.get(), (pooling_descriptor.mode() == dnn::PoolingMode::kMaximum ? cudnn_max_pooling_mode : CUDNN_POOLING_AVERAGE_COUNT_EXCLUDE_PADDING), propagate_nans ? CUDNN_PROPAGATE_NAN : CUDNN_NOT_PROPAGATE_NAN, nd, shape.data(), padding.data(), strides.data()) == CUDNN_STATUS_SUCCESS (3 vs. 0)","time":"2023-08-17T14:34:29.104Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"KernelRestarter: restarting kernel (1/5), keep random ports","time":"2023-08-17T14:34:30.587Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"WARNING:root:kernel 5b91d383-2a5d-4d17-8f8d-5f59277ecb11 restarted","time":"2023-08-17T14:34:30.587Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:39.499788: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.","time":"2023-08-17T14:34:39.500Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.","time":"2023-08-17T14:34:39.500Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:41.797362: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT","time":"2023-08-17T14:34:41.797Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"Kernel restarted: 5b91d383-2a5d-4d17-8f8d-5f59277ecb11","time":"2023-08-17T14:34:51.616Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:34:59.388548: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.","time":"2023-08-17T14:34:59.392Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.","time":"2023-08-17T14:34:59.392Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:35:01.250311: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT","time":"2023-08-17T14:35:01.250Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:36:06.143899: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:36:06.144Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:36:06.181829: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:36:06.182Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:36:06.182572: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:36:06.182Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:36:06.184389: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:36:06.184Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:36:06.184737: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:36:06.185Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:36:06.185055: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:36:06.185Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:36:07.232416: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:36:07.232Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:36:07.232868: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:36:07.233Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:36:07.233157: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355","time":"2023-08-17T14:36:07.233Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:36:07.233367: W tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:47] Overriding orig_value setting because the TF_FORCE_GPU_ALLOW_GROWTH environment variable is set. Original config value was 0.","time":"2023-08-17T14:36:07.233Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:36:07.233419: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1639] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 13692 MB memory: -> device: 0, name: Tesla T4, pci bus id: 0000:00:04.0, compute capability: 7.5","time":"2023-08-17T14:36:07.233Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:36:07.261994: W tensorflow/core/framework/op_kernel.cc:1828] OP_REQUIRES failed at matrix_diag_op.cc:273 : INVALID_ARGUMENT: Encountered overflow when multiplying 12884901888 with 1610612736, result: -1","time":"2023-08-17T14:36:07.262Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:36:57.056526: W tensorflow/tsl/framework/cpu_allocator_impl.cc:83] Allocation of 6093750902 exceeds 10% of free system memory.","time":"2023-08-17T14:36:57.056Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:37:03.543980: W tensorflow/core/framework/op_kernel.cc:1828] OP_REQUIRES failed at matrix_diag_op.cc:273 : INVALID_ARGUMENT: Encountered overflow when multiplying 3046875451 with 3046875451, result: -9163294059803098215","time":"2023-08-17T14:37:03.544Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:37:04.268280: W tensorflow/tsl/framework/cpu_allocator_impl.cc:83] Allocation of 6093750784 exceeds 10% of free system memory.","time":"2023-08-17T14:37:04.268Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:37:08.172313: W tensorflow/core/framework/op_kernel.cc:1828] OP_REQUIRES failed at matrix_diag_op.cc:273 : INVALID_ARGUMENT: Encountered overflow when multiplying 3046875392 with 3046875392, result: -9163294419334397952","time":"2023-08-17T14:37:08.172Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:38:16.953443: I tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:432] Loaded cuDNN version 8900","time":"2023-08-17T14:38:16.953Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"2023-08-17 14:38:16.953795: F tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:983] Check failed: cudnnSetPoolingNdDescriptor( handle_.get(), (pooling_descriptor.mode() == dnn::PoolingMode::kMaximum ? cudnn_max_pooling_mode : CUDNN_POOLING_AVERAGE_COUNT_EXCLUDE_PADDING), propagate_nans ? CUDNN_PROPAGATE_NAN : CUDNN_NOT_PROPAGATE_NAN, nd, shape.data(), padding.data(), strides.data()) == CUDNN_STATUS_SUCCESS (3 vs. 0)","time":"2023-08-17T14:38:16.954Z","v":0} {"pid":7,"type":"jupyter","level":30,"msg":"KernelRestarter: restarting kernel (1/5), keep random ports","time":"2023-08-17T14:38:18.617Z","v":0} {"pid":7,"type":"jupyter","level":40,"msg":"WARNING:root:kernel 5b91d383-2a5d-4d17-8f8d-5f59277ecb11 restarted","time":"2023-08-17T14:38:18.617Z","v":0} ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61601/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61601/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61600
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61600/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61600/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61600/events
https://github.com/tensorflow/tensorflow/issues/61600
1,855,113,551
I_kwDOArmXAs5ukslP
61,600
Integer overflow when running tf.linalg.diag
{ "login": "dmc1778", "id": 17060581, "node_id": "MDQ6VXNlcjE3MDYwNTgx", "avatar_url": "https://avatars.githubusercontent.com/u/17060581?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmc1778", "html_url": "https://github.com/dmc1778", "followers_url": "https://api.github.com/users/dmc1778/followers", "following_url": "https://api.github.com/users/dmc1778/following{/other_user}", "gists_url": "https://api.github.com/users/dmc1778/gists{/gist_id}", "starred_url": "https://api.github.com/users/dmc1778/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmc1778/subscriptions", "organizations_url": "https://api.github.com/users/dmc1778/orgs", "repos_url": "https://api.github.com/users/dmc1778/repos", "events_url": "https://api.github.com/users/dmc1778/events{/privacy}", "received_events_url": "https://api.github.com/users/dmc1778/received_events", "type": "User", "site_admin": false }
[ { "id": 386191887, "node_id": "MDU6TGFiZWwzODYxOTE4ODc=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response", "name": "stat:awaiting response", "color": "f4b400", "default": false, "description": "Status - Awaiting response from author" }, { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 474725938, "node_id": "MDU6TGFiZWw0NzQ3MjU5Mzg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stale", "name": "stale", "color": "d4c5f9", "default": false, "description": "This label marks the issue/pr stale - to be closed automatically if no activity" }, { "id": 1097547147, "node_id": "MDU6TGFiZWwxMDk3NTQ3MTQ3", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:ops", "name": "comp:ops", "color": "0052cc", "default": false, "description": "OPs related issues" }, { "id": 5508003926, "node_id": "LA_kwDOArmXAs8AAAABSE14Vg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13", "name": "TF 2.13", "color": "B13ACB", "default": false, "description": "For issues related to Tensorflow 2.13" } ]
closed
false
{ "login": "SuryanarayanaY", "id": 116063290, "node_id": "U_kgDOBur8Og", "avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SuryanarayanaY", "html_url": "https://github.com/SuryanarayanaY", "followers_url": "https://api.github.com/users/SuryanarayanaY/followers", "following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}", "gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}", "starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions", "organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs", "repos_url": "https://api.github.com/users/SuryanarayanaY/repos", "events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}", "received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events", "type": "User", "site_admin": false }
[ { "login": "SuryanarayanaY", "id": 116063290, "node_id": "U_kgDOBur8Og", "avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SuryanarayanaY", "html_url": "https://github.com/SuryanarayanaY", "followers_url": "https://api.github.com/users/SuryanarayanaY/followers", "following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}", "gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}", "starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions", "organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs", "repos_url": "https://api.github.com/users/SuryanarayanaY/repos", "events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}", "received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events", "type": "User", "site_admin": false } ]
null
[ "Hi @dmc1778 , \r\n\r\nThe reported behaviour is replicated with Tf2.13v and tf-nightly and attached gists [2.13v](https://colab.sandbox.google.com/gist/SuryanarayanaY/75444d6d31c9738cca13b7d11862aa02/61600.ipynb) and [nightly](https://colab.sandbox.google.com/gist/SuryanarayanaY/c0c3dfa68858d2f0abe6e3398c26f192/61600-tf-nightly.ipynb) for reference.", "@dmc1778 ,\r\n\r\nPlease refer to the responses of Developer team related to the exception raised https://github.com/tensorflow/tensorflow/issues/61630#issuecomment-1685333019 and https://github.com/tensorflow/tensorflow/issues/61629#issuecomment-1686504422 stating it as intended behaviour.\r\n\r\nThe Op tries to allocate the memory for the inputs and outputs before performing computations and it fails. The same error returned to python and its adding more details to error log.\r\n\r\nAs requested please read [SECURITY.md](https://github.com/tensorflow/tensorflow/blob/master/SECURITY.md) to disclose these types of issues", "This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.", "This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61600\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61600\">No</a>\n" ]
2023-08-17T14:22:48
2023-09-09T01:57:18
2023-09-09T01:57:04
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source binary ### TensorFlow version 2.13.0 ### Custom code Yes ### OS platform and distribution PRETTY_NAME="Ubuntu 22.04.2 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.2 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=jammy ### Mobile device _No response_ ### Python version 3.10.12 (main, Jun 11 2023, 05:26:28) ### Bazel version _No response_ ### GCC/compiler version [GCC 11.4.0] ### CUDA/cuDNN version [nvidia-cudnn-cu11==8.6.0.163, cudatoolkit=11.8.0](nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2022 NVIDIA Corporation Built on Wed_Sep_21_10:33:58_PDT_2022 Cuda compilation tools, release 11.8, V11.8.89 Build cuda_11.8.r11.8/compiler.31833905_0) ### GPU model and memory T4 ### Current behavior? Due to the large list of elements ### Standalone code to reproduce the issue ```shell import tensorflow as tf import os import numpy as np try: diagonal_0_0_0 = [] diagonal_0_0_1_0 = True diagonal_0_0_1_1 = 1122 diagonal_0_0_1 = [diagonal_0_0_1_0,diagonal_0_0_1_1,] diagonal_0_0 = [diagonal_0_0_0,diagonal_0_0_1,] diagonal_0_1_0_0 = 1211 diagonal_0_1_0_1 = 1212 diagonal_0_1_0 = [diagonal_0_1_0_0,diagonal_0_1_0_1,] diagonal_0_1_1_0 = 1221 diagonal_0_1_1_1 = 1222 diagonal_0_1_1 = [diagonal_0_1_1_0,diagonal_0_1_1_1,] diagonal_0_1 = [diagonal_0_1_0,diagonal_0_1_1,] diagonal_0 = [diagonal_0_0,diagonal_0_1,] diagonal_1_0_0_0 = True diagonal_1_0_0_1 = "" diagonal_1_0_0 = [diagonal_1_0_0_0,diagonal_1_0_0_1,] diagonal_1_0_1_0 = 2121 diagonal_1_0_1_1 = 2122 diagonal_1_0_1 = [diagonal_1_0_1_0,diagonal_1_0_1_1,] diagonal_1_0 = [diagonal_1_0_0,diagonal_1_0_1,] diagonal_1_1_0_0 = 2211 diagonal_1_1_0_1 = 2212 diagonal_1_1_0 = [diagonal_1_1_0_0,diagonal_1_1_0_1,] diagonal_1_1_1_0 = 30.0 diagonal_1_1_1_1 = 2222 diagonal_1_1_1 = [diagonal_1_1_1_0,diagonal_1_1_1_1,] diagonal_1_1 = [diagonal_1_1_0,diagonal_1_1_1,] diagonal_1 = [diagonal_1_0,diagonal_1_1,] diagonal = [diagonal_0,diagonal_1,] name = "None" k = 1610612736 padding_value = 0 align = "RIGHT_LEFT" out = tf.linalg.diag(diagonal=diagonal,name=name,k=k,padding_value=padding_value,align=align,) except Exception as e: print("Error:"+str(e)) ``` ``` ### Relevant log output ```shell Error:{{function_node __wrapped__MatrixDiagV3_device_/job:localhost/replica:0/task:0/device:GPU:0}} Encountered overflow when multiplying 12884901888 with 1610612736, result: -1 [[{{node MatrixDiagV3}}]] [Op:MatrixDiagV3] ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61600/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61600/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61599
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61599/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61599/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61599/events
https://github.com/tensorflow/tensorflow/issues/61599
1,855,109,541
I_kwDOArmXAs5ukrml
61,599
Integer overflow when running tf.experimental.numpy.identity
{ "login": "dmc1778", "id": 17060581, "node_id": "MDQ6VXNlcjE3MDYwNTgx", "avatar_url": "https://avatars.githubusercontent.com/u/17060581?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmc1778", "html_url": "https://github.com/dmc1778", "followers_url": "https://api.github.com/users/dmc1778/followers", "following_url": "https://api.github.com/users/dmc1778/following{/other_user}", "gists_url": "https://api.github.com/users/dmc1778/gists{/gist_id}", "starred_url": "https://api.github.com/users/dmc1778/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmc1778/subscriptions", "organizations_url": "https://api.github.com/users/dmc1778/orgs", "repos_url": "https://api.github.com/users/dmc1778/repos", "events_url": "https://api.github.com/users/dmc1778/events{/privacy}", "received_events_url": "https://api.github.com/users/dmc1778/received_events", "type": "User", "site_admin": false }
[ { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 1097547147, "node_id": "MDU6TGFiZWwxMDk3NTQ3MTQ3", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:ops", "name": "comp:ops", "color": "0052cc", "default": false, "description": "OPs related issues" }, { "id": 5508003926, "node_id": "LA_kwDOArmXAs8AAAABSE14Vg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13", "name": "TF 2.13", "color": "B13ACB", "default": false, "description": "For issues related to Tensorflow 2.13" } ]
closed
false
{ "login": "sushreebarsa", "id": 84765720, "node_id": "MDQ6VXNlcjg0NzY1NzIw", "avatar_url": "https://avatars.githubusercontent.com/u/84765720?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sushreebarsa", "html_url": "https://github.com/sushreebarsa", "followers_url": "https://api.github.com/users/sushreebarsa/followers", "following_url": "https://api.github.com/users/sushreebarsa/following{/other_user}", "gists_url": "https://api.github.com/users/sushreebarsa/gists{/gist_id}", "starred_url": "https://api.github.com/users/sushreebarsa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sushreebarsa/subscriptions", "organizations_url": "https://api.github.com/users/sushreebarsa/orgs", "repos_url": "https://api.github.com/users/sushreebarsa/repos", "events_url": "https://api.github.com/users/sushreebarsa/events{/privacy}", "received_events_url": "https://api.github.com/users/sushreebarsa/received_events", "type": "User", "site_admin": false }
[ { "login": "sushreebarsa", "id": 84765720, "node_id": "MDQ6VXNlcjg0NzY1NzIw", "avatar_url": "https://avatars.githubusercontent.com/u/84765720?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sushreebarsa", "html_url": "https://github.com/sushreebarsa", "followers_url": "https://api.github.com/users/sushreebarsa/followers", "following_url": "https://api.github.com/users/sushreebarsa/following{/other_user}", "gists_url": "https://api.github.com/users/sushreebarsa/gists{/gist_id}", "starred_url": "https://api.github.com/users/sushreebarsa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sushreebarsa/subscriptions", "organizations_url": "https://api.github.com/users/sushreebarsa/orgs", "repos_url": "https://api.github.com/users/sushreebarsa/repos", "events_url": "https://api.github.com/users/sushreebarsa/events{/privacy}", "received_events_url": "https://api.github.com/users/sushreebarsa/received_events", "type": "User", "site_admin": false } ]
null
[ "@dmc1778 I wasn't able to replicate the issue [here](https://colab.research.google.com/gist/sushreebarsa/b2b048de1b7534372423db5e99903a53/61599.ipynb) and the colab is crashing. That's an error that is being returned to the user instead of performing bad computations.\r\nCould you please report this in the proper channel as mentioned [here](https://github.com/tensorflow/tensorflow/blob/master/SECURITY.md).\r\n\r\nThank you!", "> @dmc1778 I wasn't able to replicate the issue [here](https://colab.research.google.com/gist/sushreebarsa/b2b048de1b7534372423db5e99903a53/61599.ipynb) and the colab is crashing. That's an error that is being returned to the user instead of performing bad computations. Could you please report this in the proper channel as mentioned [here](https://github.com/tensorflow/tensorflow/blob/master/SECURITY.md).\r\n> \r\n> Thank you!\r\n\r\nOk thanks.", "Not an issue, it is a normal error being returned to the user.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61599\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61599\">No</a>\n" ]
2023-08-17T14:20:37
2023-08-21T18:01:10
2023-08-21T18:01:07
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source binary ### TensorFlow version 2.13.0 ### Custom code Yes ### OS platform and distribution PRETTY_NAME="Ubuntu 22.04.2 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.2 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=jammy ### Mobile device _No response_ ### Python version 3.10.12 (main, Jun 11 2023, 05:26:28) ### Bazel version _No response_ ### GCC/compiler version [GCC 11.4.0] ### CUDA/cuDNN version [nvidia-cudnn-cu11==8.6.0.163, cudatoolkit=11.8.0](nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2022 NVIDIA Corporation Built on Wed_Sep_21_10:33:58_PDT_2022 Cuda compilation tools, release 11.8, V11.8.89 Build cuda_11.8.r11.8/compiler.31833905_0) ### GPU model and memory T4 ### Current behavior? Due to large integer variable ### Standalone code to reproduce the issue ```shell results = dict() import tensorflow as tf import numpy as np try: try: with tf.device('/CPU'): n_tensor = 3046875451 n = tf.identity(n_tensor) dtype = tf.uint16 out = tf.experimental.numpy.identity(n=n,dtype=dtype,) except Exception as e: print("Error:"+str(e)) try: with tf.device('/GPU:0'): n = tf.identity(n_tensor) n = tf.cast(n, tf.complex64) dtype = tf.uint16 tf.experimental.numpy.identity(n=n,dtype=dtype,) except Exception as e: print("Error:"+str(e)) except Exception as e: print("Error:"+str(e)) print(results) ``` ``` ### Relevant log output ```shell Error:{{function_node __wrapped__MatrixDiagV3_device_/job:localhost/replica:0/task:0/device:CPU:0}} Encountered overflow when multiplying 3046875451 with 3046875451, result: -9163294059803098215 [Op:MatrixDiagV3] name: diag /usr/local/lib/python3.10/dist-packages/tensorflow/python/framework/ops.py:1035: ComplexWarning: Casting complex values to real discards the imaginary part return int(self._numpy()) Error:{{function_node __wrapped__MatrixDiagV3_device_/job:localhost/replica:0/task:0/device:CPU:0}} Encountered overflow when multiplying 3046875392 with 3046875392, result: -9163294419334397952 [Op:MatrixDiagV3] name: diag {} ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61599/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61599/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61598
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61598/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61598/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61598/events
https://github.com/tensorflow/tensorflow/issues/61598
1,854,554,356
I_kwDOArmXAs5uikD0
61,598
AttributeError: module 'tensorflow.python.pywrap_mlir' has no attribute 'experimental_convert_saved_model_v1'
{ "login": "lordrebel", "id": 12432469, "node_id": "MDQ6VXNlcjEyNDMyNDY5", "avatar_url": "https://avatars.githubusercontent.com/u/12432469?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lordrebel", "html_url": "https://github.com/lordrebel", "followers_url": "https://api.github.com/users/lordrebel/followers", "following_url": "https://api.github.com/users/lordrebel/following{/other_user}", "gists_url": "https://api.github.com/users/lordrebel/gists{/gist_id}", "starred_url": "https://api.github.com/users/lordrebel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lordrebel/subscriptions", "organizations_url": "https://api.github.com/users/lordrebel/orgs", "repos_url": "https://api.github.com/users/lordrebel/repos", "events_url": "https://api.github.com/users/lordrebel/events{/privacy}", "received_events_url": "https://api.github.com/users/lordrebel/received_events", "type": "User", "site_admin": false }
[ { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 1097543484, "node_id": "MDU6TGFiZWwxMDk3NTQzNDg0", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:runtime", "name": "comp:runtime", "color": "0052cc", "default": false, "description": "c++ runtime, performance issues (cpu)" }, { "id": 3911105852, "node_id": "LA_kwDOArmXAs7pHr08", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/awaiting%20PR%20merge", "name": "awaiting PR merge", "color": "4080bf", "default": false, "description": "awaiting PR merge" }, { "id": 5508003926, "node_id": "LA_kwDOArmXAs8AAAABSE14Vg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13", "name": "TF 2.13", "color": "B13ACB", "default": false, "description": "For issues related to Tensorflow 2.13" } ]
closed
false
{ "login": "sachinprasadhs", "id": 73069040, "node_id": "MDQ6VXNlcjczMDY5MDQw", "avatar_url": "https://avatars.githubusercontent.com/u/73069040?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sachinprasadhs", "html_url": "https://github.com/sachinprasadhs", "followers_url": "https://api.github.com/users/sachinprasadhs/followers", "following_url": "https://api.github.com/users/sachinprasadhs/following{/other_user}", "gists_url": "https://api.github.com/users/sachinprasadhs/gists{/gist_id}", "starred_url": "https://api.github.com/users/sachinprasadhs/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sachinprasadhs/subscriptions", "organizations_url": "https://api.github.com/users/sachinprasadhs/orgs", "repos_url": "https://api.github.com/users/sachinprasadhs/repos", "events_url": "https://api.github.com/users/sachinprasadhs/events{/privacy}", "received_events_url": "https://api.github.com/users/sachinprasadhs/received_events", "type": "User", "site_admin": false }
[ { "login": "sachinprasadhs", "id": 73069040, "node_id": "MDQ6VXNlcjczMDY5MDQw", "avatar_url": "https://avatars.githubusercontent.com/u/73069040?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sachinprasadhs", "html_url": "https://github.com/sachinprasadhs", "followers_url": "https://api.github.com/users/sachinprasadhs/followers", "following_url": "https://api.github.com/users/sachinprasadhs/following{/other_user}", "gists_url": "https://api.github.com/users/sachinprasadhs/gists{/gist_id}", "starred_url": "https://api.github.com/users/sachinprasadhs/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sachinprasadhs/subscriptions", "organizations_url": "https://api.github.com/users/sachinprasadhs/orgs", "repos_url": "https://api.github.com/users/sachinprasadhs/repos", "events_url": "https://api.github.com/users/sachinprasadhs/events{/privacy}", "received_events_url": "https://api.github.com/users/sachinprasadhs/received_events", "type": "User", "site_admin": false } ]
null
[ "hi Im using Iree tf import tool to convert a savedmodel to mlirbc, but got this error, and I checked the code in [pywrap_mlir](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/pywrap_mlir.py) found the function named `\"experimental_convert_saved_model_v1\"` is really not exsisted but a function named `\"experimental_convert_saved_model_v1_to_mlir\" ` so I changed the function call in \"tensorflow/python/compiler/mlir/mlir.py\" and the error is disappeared.\r\n", "so is it a typo in there?", "Thanks for reporting the issue, it looks like a typo, I have created a PR with the change.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61598\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61598\">No</a>\n" ]
2023-08-17T08:51:23
2023-09-12T15:12:19
2023-09-12T04:27:44
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source binary ### TensorFlow version v1.12.1-96406-gfa4d29bfef8 2.14.0-dev20230706 ### Custom code No ### OS platform and distribution UIbuntu 20.04 ### Mobile device UIbuntu 20.04 ### Python version _No response_ ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? - ### Standalone code to reproduce the issue ```shell - ``` ### Relevant log output ```shell File "/home/fastDisk/jiahao/research/iree/.venv/lib/python3.8/site-packages/iree/tools/tf/scripts/iree_import_tf/__main__.py", line 54, in main import_saved_model( File "/home/fastDisk/jiahao/research/iree/.venv/lib/python3.8/site-packages/iree/tools/tf/scripts/iree_import_tf/__main__.py", line 102, in import_saved_model result = convert_saved_model_v1( File "/home/fastDisk/jiahao/research/iree/.venv/lib/python3.8/site-packages/tensorflow/python/compiler/mlir/mlir.py", line 141, in convert_saved_model_v1 return pywrap_mlir.experimental_convert_saved_model_v1( AttributeError: module 'tensorflow.python.pywrap_mlir' has no attribute 'experimental_convert_saved_model_v1' ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61598/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61598/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61597
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61597/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61597/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61597/events
https://github.com/tensorflow/tensorflow/pull/61597
1,854,208,482
PR_kwDOArmXAs5YHZty
61,597
Update to CONTRIBUTING.md
{ "login": "rivalavocado", "id": 56943827, "node_id": "MDQ6VXNlcjU2OTQzODI3", "avatar_url": "https://avatars.githubusercontent.com/u/56943827?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rivalavocado", "html_url": "https://github.com/rivalavocado", "followers_url": "https://api.github.com/users/rivalavocado/followers", "following_url": "https://api.github.com/users/rivalavocado/following{/other_user}", "gists_url": "https://api.github.com/users/rivalavocado/gists{/gist_id}", "starred_url": "https://api.github.com/users/rivalavocado/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rivalavocado/subscriptions", "organizations_url": "https://api.github.com/users/rivalavocado/orgs", "repos_url": "https://api.github.com/users/rivalavocado/repos", "events_url": "https://api.github.com/users/rivalavocado/events{/privacy}", "received_events_url": "https://api.github.com/users/rivalavocado/received_events", "type": "User", "site_admin": false }
[ { "id": 1169364458, "node_id": "MDU6TGFiZWwxMTY5MzY0NDU4", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:S", "name": "size:S", "color": "adafea", "default": false, "description": "CL Change Size: Small" } ]
closed
false
{ "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false }
[ { "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false } ]
null
[ "Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).\n\nView this [failed invocation](https://github.com/tensorflow/tensorflow/pull/61597/checks?check_run_id=15964764139) of the CLA check for more information.\n\nFor the most up to date status, view the checks section at the bottom of the pull request.", "Hi @rivalavocado Can you please resolve conflicts? Thank you!", "Hi @rivalavocado Can you please check @mihaimaruseac's comments and resolve conflicts?. Thank you!", "This PR is stale because it has been open for 14 days with no activity. It will be closed if no further activity occurs. Thank you.", "Hi @rivalavocado Any update on this PR? Please. Thank you!", "Hi @rivalavocado I'm going to go ahead and close this PR, because it seems to have stalled. If you're still interested in pursing this (and responding to my comments), please feel free to reopen! Thank you for your contribution!" ]
2023-08-17T04:04:08
2023-12-15T06:34:51
2023-12-15T06:34:50
NONE
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61597", "html_url": "https://github.com/tensorflow/tensorflow/pull/61597", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61597.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61597.patch", "merged_at": null }
null
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61597/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61597/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61596
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61596/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61596/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61596/events
https://github.com/tensorflow/tensorflow/issues/61596
1,854,118,575
I_kwDOArmXAs5ug5qv
61,596
Could not find a version that satisfies the requirement tensorflow-compression~=2.12.0 (from versions: none)
{ "login": "xueyee0802", "id": 142464953, "node_id": "U_kgDOCH3XuQ", "avatar_url": "https://avatars.githubusercontent.com/u/142464953?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xueyee0802", "html_url": "https://github.com/xueyee0802", "followers_url": "https://api.github.com/users/xueyee0802/followers", "following_url": "https://api.github.com/users/xueyee0802/following{/other_user}", "gists_url": "https://api.github.com/users/xueyee0802/gists{/gist_id}", "starred_url": "https://api.github.com/users/xueyee0802/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/xueyee0802/subscriptions", "organizations_url": "https://api.github.com/users/xueyee0802/orgs", "repos_url": "https://api.github.com/users/xueyee0802/repos", "events_url": "https://api.github.com/users/xueyee0802/events{/privacy}", "received_events_url": "https://api.github.com/users/xueyee0802/received_events", "type": "User", "site_admin": false }
[ { "id": 386191887, "node_id": "MDU6TGFiZWwzODYxOTE4ODc=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response", "name": "stat:awaiting response", "color": "f4b400", "default": false, "description": "Status - Awaiting response from author" }, { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 474725938, "node_id": "MDU6TGFiZWw0NzQ3MjU5Mzg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stale", "name": "stale", "color": "d4c5f9", "default": false, "description": "This label marks the issue/pr stale - to be closed automatically if no activity" }, { "id": 1093464312, "node_id": "MDU6TGFiZWwxMDkzNDY0MzEy", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:others", "name": "type:others", "color": "159b2e", "default": false, "description": "issues not falling in bug, perfromance, support, build and install or feature" }, { "id": 5206407904, "node_id": "LA_kwDOArmXAs8AAAABNlN64A", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.12", "name": "TF 2.12", "color": "c5def5", "default": false, "description": "For issues related to Tensorflow 2.12" } ]
closed
false
{ "login": "SuryanarayanaY", "id": 116063290, "node_id": "U_kgDOBur8Og", "avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SuryanarayanaY", "html_url": "https://github.com/SuryanarayanaY", "followers_url": "https://api.github.com/users/SuryanarayanaY/followers", "following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}", "gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}", "starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions", "organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs", "repos_url": "https://api.github.com/users/SuryanarayanaY/repos", "events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}", "received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events", "type": "User", "site_admin": false }
[ { "login": "SuryanarayanaY", "id": 116063290, "node_id": "U_kgDOBur8Og", "avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SuryanarayanaY", "html_url": "https://github.com/SuryanarayanaY", "followers_url": "https://api.github.com/users/SuryanarayanaY/followers", "following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}", "gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}", "starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions", "organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs", "repos_url": "https://api.github.com/users/SuryanarayanaY/repos", "events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}", "received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events", "type": "User", "site_admin": false } ]
null
[ "Hi @xueyee0802 ,\r\n\r\nAFAIK , `tensorflow-compression` binaries available only for 2.13 version onwards. Could you please refer to Pypi source [here](https://pypi.org/project/tensorflow-compression/#files).\r\n\r\nPlease try importing 2.13 version. Also for any further bugs please report concern repo attached [here](https://github.com/tensorflow/compression/issues).Thanks!", "> Hi @xueyee0802 ,\r\n> \r\n> AFAIK , `tensorflow-compression` binaries available only for 2.13 version onwards. Could you please refer to Pypi source [here](https://pypi.org/project/tensorflow-compression/#files).\r\n> \r\n> Please try importing 2.13 version. Also for any further bugs please report concern repo attached [here](https://github.com/tensorflow/compression/issues).Thanks!\r\n\r\nHi @SuryanarayanaY,\r\nI tried pip intsall tensorflow_compression-2.13.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl, to get the 2.13 version, but i getting this error.\r\n**ERROR: tensorflow_compression-2.13.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl is not a supported wheel on this platform.**", "Hi @xueyee0802 ,\r\n\r\nPlease use just `pip install tensorflow-compression` and it will install latest version of `tensorflow-compression` based on the platform you are using. ", "> pip install tensorflow-compression\r\nHi @SuryanarayanaY,\r\n\r\nI tried before pip install tensorflow-compression, there are some error.\r\n\r\n<img width=\"805\" alt=\"image\" src=\"https://github.com/tensorflow/tensorflow/assets/142464953/fa6c0dec-31a9-4ebc-8527-8ec7e8b2999f\">\r\n\r\n\r\n\r\n\r\n", "Hi @xueyee0802 ,\r\n\r\nI think for Windows OS there seems no binaries available. If you are using windows then probably you can't install it as the binaries currently available are for Linux and macOS only as per [Pypi](https://pypi.org/project/tensorflow-compression/#files).", "This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.", "This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61596\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61596\">No</a>\n" ]
2023-08-17T01:59:06
2023-09-06T01:47:24
2023-09-06T01:47:17
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source source ### TensorFlow version fail ### Custom code Yes ### OS platform and distribution _No response_ ### Mobile device _No response_ ### Python version 3.9.12 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? I try to pip intsall tensorflow-federated it fail, so i build it on source, i pip install --requirement "requirements.txt" then happened this error. can i know how to solve this problem? ### Standalone code to reproduce the issue ```shell - ``` ### Relevant log output ```shell ERROR: Could not find a version that satisfies the requirement tensorflow-compression~=2.12.0 (from versions: none) ERROR: No matching distribution found for tensorflow-compression~=2.12.0 ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61596/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61596/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61595
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61595/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61595/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61595/events
https://github.com/tensorflow/tensorflow/pull/61595
1,853,927,807
PR_kwDOArmXAs5YGe8n
61,595
[oneDNN] upgrade onednn version to 3.2.1
{ "login": "kanvi-nervana", "id": 42224278, "node_id": "MDQ6VXNlcjQyMjI0Mjc4", "avatar_url": "https://avatars.githubusercontent.com/u/42224278?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kanvi-nervana", "html_url": "https://github.com/kanvi-nervana", "followers_url": "https://api.github.com/users/kanvi-nervana/followers", "following_url": "https://api.github.com/users/kanvi-nervana/following{/other_user}", "gists_url": "https://api.github.com/users/kanvi-nervana/gists{/gist_id}", "starred_url": "https://api.github.com/users/kanvi-nervana/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kanvi-nervana/subscriptions", "organizations_url": "https://api.github.com/users/kanvi-nervana/orgs", "repos_url": "https://api.github.com/users/kanvi-nervana/repos", "events_url": "https://api.github.com/users/kanvi-nervana/events{/privacy}", "received_events_url": "https://api.github.com/users/kanvi-nervana/received_events", "type": "User", "site_admin": false }
[ { "id": 987666414, "node_id": "MDU6TGFiZWw5ODc2NjY0MTQ=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/ready%20to%20pull", "name": "ready to pull", "color": "2cd643", "default": false, "description": "PR ready for merge process" }, { "id": 1104829434, "node_id": "MDU6TGFiZWwxMTA0ODI5NDM0", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:mkl", "name": "comp:mkl", "color": "0052cc", "default": false, "description": "MKL related issues" }, { "id": 1169364259, "node_id": "MDU6TGFiZWwxMTY5MzY0MjU5", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:XS", "name": "size:XS", "color": "adafea", "default": false, "description": "CL Change Size: Extra Small" } ]
closed
false
{ "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false }
[ { "login": "penpornk", "id": 38085909, "node_id": "MDQ6VXNlcjM4MDg1OTA5", "avatar_url": "https://avatars.githubusercontent.com/u/38085909?v=4", "gravatar_id": "", "url": "https://api.github.com/users/penpornk", "html_url": "https://github.com/penpornk", "followers_url": "https://api.github.com/users/penpornk/followers", "following_url": "https://api.github.com/users/penpornk/following{/other_user}", "gists_url": "https://api.github.com/users/penpornk/gists{/gist_id}", "starred_url": "https://api.github.com/users/penpornk/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/penpornk/subscriptions", "organizations_url": "https://api.github.com/users/penpornk/orgs", "repos_url": "https://api.github.com/users/penpornk/repos", "events_url": "https://api.github.com/users/penpornk/events{/privacy}", "received_events_url": "https://api.github.com/users/penpornk/received_events", "type": "User", "site_admin": false }, { "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false } ]
null
[ "Could you fix the failing Tests", "> Thank you for the PR! Could you please provide reasons for cherry-picking this into TF 2.14? Does v3.2.1 address some security issues?\r\n\r\n@penpornk oneDNN v3.2.1 has a fix for this bug https://github.com/tensorflow/tensorflow/issues/61510", "@kanvi-nervana Thank you for the quick reply!" ]
2023-08-16T21:27:04
2023-08-17T20:49:28
2023-08-17T20:49:27
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61595", "html_url": "https://github.com/tensorflow/tensorflow/pull/61595", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61595.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61595.patch", "merged_at": "2023-08-17T20:49:27" }
This PR upgrades oneDNN version to 3.2.1
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61595/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61595/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61594
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61594/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61594/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61594/events
https://github.com/tensorflow/tensorflow/issues/61594
1,853,549,686
I_kwDOArmXAs5ueux2
61,594
TFLite GPU delegate: Broadcast output incorrect
{ "login": "MichaelTylerArm", "id": 67695629, "node_id": "MDQ6VXNlcjY3Njk1NjI5", "avatar_url": "https://avatars.githubusercontent.com/u/67695629?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MichaelTylerArm", "html_url": "https://github.com/MichaelTylerArm", "followers_url": "https://api.github.com/users/MichaelTylerArm/followers", "following_url": "https://api.github.com/users/MichaelTylerArm/following{/other_user}", "gists_url": "https://api.github.com/users/MichaelTylerArm/gists{/gist_id}", "starred_url": "https://api.github.com/users/MichaelTylerArm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MichaelTylerArm/subscriptions", "organizations_url": "https://api.github.com/users/MichaelTylerArm/orgs", "repos_url": "https://api.github.com/users/MichaelTylerArm/repos", "events_url": "https://api.github.com/users/MichaelTylerArm/events{/privacy}", "received_events_url": "https://api.github.com/users/MichaelTylerArm/received_events", "type": "User", "site_admin": false }
[ { "id": 386191887, "node_id": "MDU6TGFiZWwzODYxOTE4ODc=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response", "name": "stat:awaiting response", "color": "f4b400", "default": false, "description": "Status - Awaiting response from author" }, { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 750616506, "node_id": "MDU6TGFiZWw3NTA2MTY1MDY=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:lite", "name": "comp:lite", "color": "0052cc", "default": false, "description": "TF Lite related issues" }, { "id": 2671339633, "node_id": "MDU6TGFiZWwyNjcxMzM5NjMz", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TFLiteGpuDelegate", "name": "TFLiteGpuDelegate", "color": "F71F04", "default": false, "description": "TFLite Gpu delegate issue" } ]
closed
false
{ "login": "sirakiin", "id": 4479310, "node_id": "MDQ6VXNlcjQ0NzkzMTA=", "avatar_url": "https://avatars.githubusercontent.com/u/4479310?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sirakiin", "html_url": "https://github.com/sirakiin", "followers_url": "https://api.github.com/users/sirakiin/followers", "following_url": "https://api.github.com/users/sirakiin/following{/other_user}", "gists_url": "https://api.github.com/users/sirakiin/gists{/gist_id}", "starred_url": "https://api.github.com/users/sirakiin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sirakiin/subscriptions", "organizations_url": "https://api.github.com/users/sirakiin/orgs", "repos_url": "https://api.github.com/users/sirakiin/repos", "events_url": "https://api.github.com/users/sirakiin/events{/privacy}", "received_events_url": "https://api.github.com/users/sirakiin/received_events", "type": "User", "site_admin": false }
[ { "login": "sirakiin", "id": 4479310, "node_id": "MDQ6VXNlcjQ0NzkzMTA=", "avatar_url": "https://avatars.githubusercontent.com/u/4479310?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sirakiin", "html_url": "https://github.com/sirakiin", "followers_url": "https://api.github.com/users/sirakiin/followers", "following_url": "https://api.github.com/users/sirakiin/following{/other_user}", "gists_url": "https://api.github.com/users/sirakiin/gists{/gist_id}", "starred_url": "https://api.github.com/users/sirakiin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sirakiin/subscriptions", "organizations_url": "https://api.github.com/users/sirakiin/orgs", "repos_url": "https://api.github.com/users/sirakiin/repos", "events_url": "https://api.github.com/users/sirakiin/events{/privacy}", "received_events_url": "https://api.github.com/users/sirakiin/received_events", "type": "User", "site_admin": false }, { "login": "pkgoogle", "id": 132095473, "node_id": "U_kgDOB9-d8Q", "avatar_url": "https://avatars.githubusercontent.com/u/132095473?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pkgoogle", "html_url": "https://github.com/pkgoogle", "followers_url": "https://api.github.com/users/pkgoogle/followers", "following_url": "https://api.github.com/users/pkgoogle/following{/other_user}", "gists_url": "https://api.github.com/users/pkgoogle/gists{/gist_id}", "starred_url": "https://api.github.com/users/pkgoogle/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pkgoogle/subscriptions", "organizations_url": "https://api.github.com/users/pkgoogle/orgs", "repos_url": "https://api.github.com/users/pkgoogle/repos", "events_url": "https://api.github.com/users/pkgoogle/events{/privacy}", "received_events_url": "https://api.github.com/users/pkgoogle/received_events", "type": "User", "site_admin": false } ]
null
[ "Hi @MichaelTylerArm \r\n\r\nAs per this [comment](https://github.com/tensorflow/tensorflow/issues/60043#issuecomment-1487821343), for broadcasting the values on GPU delegate, we need to be more explicit by restructuring the data.\r\n\r\nPlease check this similar issue #60043 and let us know if it helps.\r\n\r\nThanks.", "Hi @pjpratik ,\r\n\r\nI've tried swapping the inputs to MUL so that the LHS tensor is the larger one as per that issue, but I get the same result. Both tensors have 2 dimensions, and I believe the problem is well formed (the non-broadcast dimensions are equal and the smaller tensor has size 1 along the broadcast dimension). That issue suggests avoiding GPU broadcast altogether, although I am unclear as to what an appropriate replacement would be. I've tried replacing the multiply by 1 with add 0, but get the same result.", "@MichaelTylerArm Thanks for the information.\r\n\r\n@pkgoogle Could you please look into this issue?\r\n\r\nThanks.", "Hi @sirakiin, can you please take a look? Thanks. ", "I've found the issue, on line 813 of `tensorflow/lite/delegates/gpu/common/selectors/operation_selector.cc`:\r\n`Value* output = inputs[0]; // Should be outputs[0]`\r\n\r\nIf I make this change, my test case starts working.", "@sirakiin \r\nThis issue should be resolved by changing that one line, would someone on the TensorFlow team be able to implement this please?", "Hi @MichaelTylerArm, we are actively working on it, it will take some time to past all tests/regressions/review. Thanks for your help! In the future please feel free to submit your own PR to contribute! We will review the changes.", "Hi @MichaelTylerArm the fix is in this commit: https://github.com/tensorflow/tensorflow/commit/ec0540a5a70ef22d3db915d198db22e296879f39 please try again with master or nightly and let us know if it is fixed.", "Hi @pkgoogle it appears to be working on master now, thanks for your help!", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61594\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61594\">No</a>\n" ]
2023-08-16T16:16:20
2023-09-04T11:00:13
2023-09-04T11:00:10
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source source ### TensorFlow version Nightly at 09cf1b2a39023e617e003a51be39d419702c2d36 ### Custom code Yes ### OS platform and distribution Android 12 2023-03-01 ### Mobile device Vivo X80 ### Python version _No response_ ### Bazel version CMake 3.19.0 ### GCC/compiler version Android NDK r25 ### CUDA/cuDNN version _No response_ ### GPU model and memory Mali-G710 MC10 ### Current behavior? TFLite model file: [model.tflite.zip](https://github.com/tensorflow/tensorflow/files/12360271/model.tflite.zip) The provided TFLite model contains a single broadcast operation, which when executed by the provided C++ program, should produce the following output: ``` 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 ``` However, when using the GPU delegate the following output is produced: ``` 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 2 0 0 1 2 0 0 1 2 0 0 1 2 0 0 1 3 0 0 1 3 0 0 1 3 0 0 1 3 0 0 1 4 0 0 1 4 0 0 1 4 0 0 1 4 0 0 1 5 0 0 1 5 0 0 1 5 0 0 1 5 0 0 1 6 0 0 1 6 0 0 1 6 0 0 1 6 0 0 1 7 0 0 1 7 0 0 1 7 0 0 1 7 0 0 1 8 0 0 1 8 0 0 1 8 0 0 1 8 0 0 1 ``` The correct output is produced when using the CPU and not the GPU delegate. We are concerned that this could be a security issue if memory is being accessed incorrectly. Content of `model.tflite`: ``` Your TFLite model has '1' subgraph(s). In the subgraph description below, T# represents the Tensor numbers. For example, in Subgraph#0, the MUL op takes tensor #0 and tensor #1 as input and produces tensor #2 as output. Subgraph#0 main(T#0) -> [T#2] Op#0 MUL(T#0, T#1) -> [T#2] Tensors of Subgraph#0 T#0(serving_default_input:0) shape:[8, 1], type:FLOAT32 T#1(BroadcastTo) shape:[8, 16], type:FLOAT32 RO 512 bytes, buffer: 2, data:[1, 1, 1, 1, 1, ...] T#2(PartitionedCall:0) shape:[8, 16], type:FLOAT32 --------------------------------------------------------------- Your TFLite model has '1' signature_def(s). Signature#0 key: 'serving_default' - Subgraph: Subgraph#0 - Inputs: 'input' : T#0 - Outputs: 'output' : T#2 --------------------------------------------------------------- Model size: 1400 bytes Non-data buffer size: 780 bytes (55.71 %) Total data buffer size: 620 bytes (44.29 %) (Zero value buffers): 0 bytes (00.00 %) ``` ### Standalone code to reproduce the issue ```shell #include <memory> #include <stdio.h> #include "tensorflow/lite/kernels/register.h" #include "tensorflow/lite/model.h" #include "tensorflow/lite/delegates/gpu/delegate.h" int main() { std::unique_ptr<tflite::FlatBufferModel> model = tflite::FlatBufferModel::BuildFromFile("model.tflite"); tflite::ops::builtin::BuiltinOpResolver resolver; tflite::InterpreterBuilder builder(*model, resolver); std::unique_ptr<tflite::Interpreter> interpreter; builder(&interpreter); TfLiteGpuDelegateOptionsV2 options = TfLiteGpuDelegateOptionsV2Default(); auto* delegate = TfLiteGpuDelegateV2Create(&options); if (interpreter->ModifyGraphWithDelegate(delegate) != kTfLiteOk) return 1; const TfLiteTensor *inTensor = interpreter->input_tensor(0); const TfLiteIntArray *inShape = inTensor->dims; float *input = inTensor->data.f; for (int i = 0; i < inShape->data[0]; i++) { input[i] = i + 1; } if (interpreter->Invoke() != kTfLiteOk) return 1; std::vector<unsigned long> outShapeVec; const TfLiteTensor *outTensor = interpreter->output_tensor(0); const TfLiteIntArray *outShape = outTensor->dims; const float *output = outTensor->data.f; const float *outPtr = output; for (size_t i = 0; i < outShape->data[0]; i++) { for (size_t j = 0; j < outShape->data[1]; j++) { printf("%.2g ", *(outPtr++)); } printf("\n"); } } ``` ### Relevant log output _No response_
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61594/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61594/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61593
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61593/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61593/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61593/events
https://github.com/tensorflow/tensorflow/issues/61593
1,853,358,198
I_kwDOArmXAs5ueAB2
61,593
Build: Protobuf fails with "File already exists in database"
{ "login": "Flamefire", "id": 309017, "node_id": "MDQ6VXNlcjMwOTAxNw==", "avatar_url": "https://avatars.githubusercontent.com/u/309017?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Flamefire", "html_url": "https://github.com/Flamefire", "followers_url": "https://api.github.com/users/Flamefire/followers", "following_url": "https://api.github.com/users/Flamefire/following{/other_user}", "gists_url": "https://api.github.com/users/Flamefire/gists{/gist_id}", "starred_url": "https://api.github.com/users/Flamefire/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Flamefire/subscriptions", "organizations_url": "https://api.github.com/users/Flamefire/orgs", "repos_url": "https://api.github.com/users/Flamefire/repos", "events_url": "https://api.github.com/users/Flamefire/events{/privacy}", "received_events_url": "https://api.github.com/users/Flamefire/received_events", "type": "User", "site_admin": false }
[ { "id": 404586594, "node_id": "MDU6TGFiZWw0MDQ1ODY1OTQ=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20tensorflower", "name": "stat:awaiting tensorflower", "color": "f4b400", "default": false, "description": "Status - Awaiting response from tensorflower" }, { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 473173351, "node_id": "MDU6TGFiZWw0NzMxNzMzNTE=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:build/install", "name": "type:build/install", "color": "159b2e", "default": false, "description": "Build and install issues" }, { "id": 5508003926, "node_id": "LA_kwDOArmXAs8AAAABSE14Vg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13", "name": "TF 2.13", "color": "B13ACB", "default": false, "description": "For issues related to Tensorflow 2.13" } ]
open
false
{ "login": "vam-google", "id": 25311427, "node_id": "MDQ6VXNlcjI1MzExNDI3", "avatar_url": "https://avatars.githubusercontent.com/u/25311427?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vam-google", "html_url": "https://github.com/vam-google", "followers_url": "https://api.github.com/users/vam-google/followers", "following_url": "https://api.github.com/users/vam-google/following{/other_user}", "gists_url": "https://api.github.com/users/vam-google/gists{/gist_id}", "starred_url": "https://api.github.com/users/vam-google/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/vam-google/subscriptions", "organizations_url": "https://api.github.com/users/vam-google/orgs", "repos_url": "https://api.github.com/users/vam-google/repos", "events_url": "https://api.github.com/users/vam-google/events{/privacy}", "received_events_url": "https://api.github.com/users/vam-google/received_events", "type": "User", "site_admin": false }
[ { "login": "vam-google", "id": 25311427, "node_id": "MDQ6VXNlcjI1MzExNDI3", "avatar_url": "https://avatars.githubusercontent.com/u/25311427?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vam-google", "html_url": "https://github.com/vam-google", "followers_url": "https://api.github.com/users/vam-google/followers", "following_url": "https://api.github.com/users/vam-google/following{/other_user}", "gists_url": "https://api.github.com/users/vam-google/gists{/gist_id}", "starred_url": "https://api.github.com/users/vam-google/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/vam-google/subscriptions", "organizations_url": "https://api.github.com/users/vam-google/orgs", "repos_url": "https://api.github.com/users/vam-google/repos", "events_url": "https://api.github.com/users/vam-google/events{/privacy}", "received_events_url": "https://api.github.com/users/vam-google/received_events", "type": "User", "site_admin": false }, { "login": "SuryanarayanaY", "id": 116063290, "node_id": "U_kgDOBur8Og", "avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SuryanarayanaY", "html_url": "https://github.com/SuryanarayanaY", "followers_url": "https://api.github.com/users/SuryanarayanaY/followers", "following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}", "gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}", "starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions", "organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs", "repos_url": "https://api.github.com/users/SuryanarayanaY/repos", "events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}", "received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events", "type": "User", "site_admin": false } ]
null
[ "Hi @Flamefire ,\r\n\r\nCould you please confirm the sequence of steps. Tf2.13v supports protobuf >=3.20 versions as per [source](https://github.com/tensorflow/tensorflow/blob/r2.13/tensorflow/tools/pip_package/setup.py#L96) where as it seems protobuf 3.19v has been installed.", "@SuryanarayanaY Thanks for the hint, yes I used protobuf 3.19. However switching to protobuf 3.20.3 (build from source from the Github tag) with python-protobuf 3.20.3 (build from source from the PyPi archive, which seems to be the latest where a Python 3.x protobuf is available) didn't resolve the issue. I still get the same error (except of course the path mentioned contains now \"protobuf-3.20.3\")\r\n\r\nEdit: Tried again with 21.9 and the 4.21.9 versions with no change.\r\nSeemingly not using the system-protobuf works although I can't tell why as it should be using the same headers (version is the same), the generated pb.cc files should be the same (protoc version is the same)\r\n", "@vam-google , Could you please look into the issue and confirm whether it falls under your scope." ]
2023-08-16T14:24:31
2023-08-31T07:21:16
null
CONTRIBUTOR
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source source ### TensorFlow version tf 2.13.0 ### Custom code No ### OS platform and distribution _No response_ ### Mobile device _No response_ ### Python version 3.10 ### Bazel version 5.1.1 ### GCC/compiler version 11.3 ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? Using the TF_SYSTEMLIBS version of protobuf (i.e. a preinstalled protobuf) when building TensorFlow from source results in ``` [libprotobuf ERROR /build/protobuf/3.19.4/GCCcore-11.3.0/protobuf-3.19.4/src/google/protobuf/descriptor_database.cc:641] File already exists in database: tensorflow/dtensor/proto/layout.proto [libprotobuf FATAL /build/protobuf/3.19.4/GCCcore-11.3.0/protobuf-3.19.4/src/google/protobuf/descriptor.cc:2021] CHECK failed: GeneratedDatabase()->Add(encoded_file_descriptor, size): terminate called after throwing an instance of 'google::protobuf::FatalException' what(): CHECK failed: GeneratedDatabase()->Add(encoded_file_descriptor, size): ``` I can't make much sense out of that failure and Google yielded results related to having the protobuf file in loaded in shared libraries multiple times. All I could do is indeed trace it to `from tensorflow.dtensor.proto import layout_pb2` in tensorflow/dtensor/python/layout.py ### Standalone code to reproduce the issue ```shell The failing build step invokes `/bin/bash -c 'bazel-out/ppc-opt/bin/tensorflow/create_tensorflow.python_api_tf_python_api_gen_v2 --root_init_template=tensorflow/api_template.__init__.py --apidir=bazel-out/ppc-opt/bin/tensorflow/_api/v2/ --apiname=tensorflow --apiversion=2 --compat_apiversion=1 --compat_apiversion=2 --compat_init_template=tensorflow/compat_template_v1.__init__.py --compat_init_template=tensorflow/compat_template.__init__.py --packages=tensorflow.python,tensorflow.dtensor.python.accelerator_util,tensorflow.dtensor.python.api,tensorflow.dtensor.python.config,tensorflow.dtensor.python.d_checkpoint,tensorflow.dtensor.python.d_variable,tensorflow.dtensor.python.input_util,tensorflow.dtensor.python.layout,tensorflow.dtensor.python.mesh_util,tensorflow.dtensor.python.tpu_util,tensorflow.dtensor.python.save_restore,tensorflow.lite.python.analyzer,tensorflow.lite.python.lite,tensorflow.lite.python.authoring.authoring,tensorflow.python.modules_with_exports --output_package=tensorflow._api.v2 --use_relative_imports=True --loading=default bazel-out/ppc-opt/bin/tensorflow/tf_python_api_gen_v2.params'` ``` ### Relevant log output ```shell # Configuration: 020ca55738349851eb8a5a672fc7b8d08dc15ebd99b324f52fddbad2f32820b8 # Execution platform: @local_execution_config_platform//:platform ERROR: /build/TensorFlow/tensorflow-2.13.0/tensorflow/BUILD:1646:19: Action tensorflow/_api/v2/v2.py failed: (Aborted): bash failed: error executing command (cd /build/TensorFlow/bazel-root/663b1bf019e1a9ec9827eae691fce071/execroot/org_tensorflow && \ exec env - \ CPATH=/sw/installed/cURL/7.83.0-GCCcore-11.3.0/include:/software/double-conversion/3.2.0-GCCcore-11.3.0/include:/software/flatbuffers/2.0.7-GCCcore-11.3.0/include:/sw/installed/giflib/5.2.1-GCCcore-11.3.0/include:/sw/installed/hwloc/2.7.1-GCCcore-11.3.0/include:/sw/installed/ICU/71.1-GCCcore-11.3.0/include:/software/JsonCpp/1.9.5-GCCcore-11.3.0/include:/sw/installed/libjpeg-turbo/2.1.3-GCCcore-11.3.0/include:/sw/installed/libpng/1.6.37-GCCcore-11.3.0/include:/software/nsync/1.25.0-GCCcore-11.3.0/include:/software/protobuf/3.19.4-GCCcore-11.3.0/include:/sw/installed/pybind11/2.9.2-GCCcore-11.3.0/include:/software/snappy/1.1.9-GCCcore-11.3.0/include:/sw/installed/SQLite/3.38.3-GCCcore-11.3.0/include:/sw/installed/zlib/1.2.12-GCCcore-11.3.0/include:/sw/installed/OpenSSL/1.1/include \ LD_LIBRARY_PATH=/software/RE2/2022-06-01-GCCcore-11.3.0/lib:/software/snappy/1.1.9-GCCcore-11.3.0/lib:/sw/installed/libpng/1.6.37-GCCcore-11.3.0/lib:/software/nsync/1.25.0-GCCcore-11.3.0/lib:/sw/installed/libjpeg-turbo/2.1.3-GCCcore-11.3.0/lib:/software/JsonCpp/1.9.5-GCCcore-11.3.0/lib:/sw/installed/ICU/71.1-GCCcore-11.3.0/lib:/sw/installed/giflib/5.2.1-GCCcore-11.3.0/lib:/software/flatbuffers/2.0.7-GCCcore-11.3.0/lib:/software/double-conversion/3.2.0-GCCcore-11.3.0/lib:/sw/installed/HDF5/1.12.2-gompi-2022a/lib:/sw/installed/Szip/2.1.1-GCCcore-11.3.0/lib:/sw/installed/SciPy-bundle/2022.05-foss-2022a/lib/python3.10/site-packages/numpy/core/lib:/sw/installed/ScaLAPACK/2.2.0-gompi-2022a-fb/lib:/sw/installed/FFTW.MPI/3.3.10-gompi-2022a/lib:/sw/installed/FFTW/3.3.10-GCC-11.3.0/lib:/sw/installed/FlexiBLAS/3.2.0-GCC-11.3.0/lib:/sw/installed/OpenBLAS/0.3.20-GCC-11.3.0/lib:/sw/installed/OpenMPI/4.1.4-GCC-11.3.0/lib:/sw/installed/UCC/1.0.0-GCCcore-11.3.0/lib:/sw/installed/PMIx/4.1.2-GCCcore-11.3.0/lib:/sw/installed/libfabric/1.15.1-GCCcore-11.3.0/lib:/sw/installed/UCX/1.12.1-GCCcore-11.3.0/lib:/sw/installed/libevent/2.1.12-GCCcore-11.3.0/lib:/sw/installed/hwloc/2.7.1-GCCcore-11.3.0/lib:/sw/installed/libpciaccess/0.16-GCCcore-11.3.0/lib:/sw/installed/numactl/2.0.14-GCCcore-11.3.0/lib:/sw/installed/Python/3.10.4-GCCcore-11.3.0/lib:/sw/installed/libffi/3.4.2-GCCcore-11.3.0/lib64:/sw/installed/GMP/6.2.1-GCCcore-11.3.0/lib:/sw/installed/SQLite/3.38.3-GCCcore-11.3.0/lib:/sw/installed/Tcl/8.6.12-GCCcore-11.3.0/lib:/sw/installed/bzip2/1.0.8-GCCcore-11.3.0/lib:/sw/installed/binutils/2.38-GCCcore-11.3.0/lib:/sw/installed/DB/18.1.40-GCCcore-11.3.0/lib:/sw/installed/libreadline/8.1.2-GCCcore-11.3.0/lib:/sw/installed/gettext/0.21-GCCcore-11.3.0/lib:/sw/installed/ncurses/6.3-GCCcore-11.3.0/lib:/sw/installed/libxml2/2.9.13-GCCcore-11.3.0/lib:/sw/installed/XZ/5.2.5-GCCcore-11.3.0/lib:/sw/installed/expat/2.4.8-GCCcore-11.3.0/lib:/sw/installed/cURL/7.83.0-GCCcore-11.3.0/lib:/sw/installed/OpenSSL/1.1/lib:/sw/installed/zlib/1.2.12-GCCcore-11.3.0/lib:/software/protobuf/3.19.4-GCCcore-11.3.0/lib:/sw/installed/Java/11.0.6-ppc64le/lib:/sw/installed/GCCcore/11.3.0/lib64:/usr/local/cuda/lib64 \ LIBRARY_PATH=/sw/installed/cURL/7.83.0-GCCcore-11.3.0/lib:/software/double-conversion/3.2.0-GCCcore-11.3.0/lib:/software/flatbuffers/2.0.7-GCCcore-11.3.0/lib:/sw/installed/giflib/5.2.1-GCCcore-11.3.0/lib:/sw/installed/hwloc/2.7.1-GCCcore-11.3.0/lib:/sw/installed/ICU/71.1-GCCcore-11.3.0/lib:/software/JsonCpp/1.9.5-GCCcore-11.3.0/lib:/sw/installed/libjpeg-turbo/2.1.3-GCCcore-11.3.0/lib:/sw/installed/libpng/1.6.37-GCCcore-11.3.0/lib:/software/nsync/1.25.0-GCCcore-11.3.0/lib:/software/protobuf/3.19.4-GCCcore-11.3.0/lib:/sw/installed/pybind11/2.9.2-GCCcore-11.3.0/lib:/software/snappy/1.1.9-GCCcore-11.3.0/lib:/sw/installed/SQLite/3.38.3-GCCcore-11.3.0/lib:/sw/installed/zlib/1.2.12-GCCcore-11.3.0/lib:/sw/installed/OpenSSL/1.1/lib \ PATH=/sw/installed/libpng/1.6.37-GCCcore-11.3.0/bin:/sw/installed/libjpeg-turbo/2.1.3-GCCcore-11.3.0/bin:/sw/installed/NASM/2.15.05-GCCcore-11.3.0/bin:/sw/installed/ICU/71.1-GCCcore-11.3.0/sbin:/sw/installed/ICU/71.1-GCCcore-11.3.0/bin:/sw/installed/giflib/5.2.1-GCCcore-11.3.0/bin:/software/flatbuffers/2.0.7-GCCcore-11.3.0/bin:/software/dill/0.3.6-GCCcore-11.3.0/bin:/sw/installed/HDF5/1.12.2-gompi-2022a/bin:/sw/installed/SciPy-bundle/2022.05-foss-2022a/bin:/sw/installed/FFTW/3.3.10-GCC-11.3.0/bin:/sw/installed/FlexiBLAS/3.2.0-GCC-11.3.0/bin:/sw/installed/OpenMPI/4.1.4-GCC-11.3.0/bin:/sw/installed/UCC/1.0.0-GCCcore-11.3.0/bin:/sw/installed/PMIx/4.1.2-GCCcore-11.3.0/bin:/sw/installed/libfabric/1.15.1-GCCcore-11.3.0/bin:/sw/installed/UCX/1.12.1-GCCcore-11.3.0/bin:/sw/installed/libevent/2.1.12-GCCcore-11.3.0/bin:/sw/installed/hwloc/2.7.1-GCCcore-11.3.0/bin:/sw/installed/numactl/2.0.14-GCCcore-11.3.0/bin:/sw/installed/UnZip/6.0-GCCcore-11.3.0/bin:/sw/installed/pybind11/2.9.2-GCCcore-11.3.0/bin:/sw/installed/Python/3.10.4-GCCcore-11.3.0/bin:/sw/installed/SQLite/3.38.3-GCCcore-11.3.0/bin:/sw/installed/Tcl/8.6.12-GCCcore-11.3.0/bin:/sw/installed/bzip2/1.0.8-GCCcore-11.3.0/bin:/sw/installed/binutils/2.38-GCCcore-11.3.0/bin:/sw/installed/git/2.36.0-GCCcore-11.3.0-nodocs/bin:/sw/installed/Perl/5.34.1-GCCcore-11.3.0/bin:/sw/installed/DB/18.1.40-GCCcore-11.3.0/bin:/sw/installed/gettext/0.21-GCCcore-11.3.0/bin:/sw/installed/ncurses/6.3-GCCcore-11.3.0/bin:/sw/installed/libxml2/2.9.13-GCCcore-11.3.0/bin:/sw/installed/XZ/5.2.5-GCCcore-11.3.0/bin:/sw/installed/expat/2.4.8-GCCcore-11.3.0/bin:/sw/installed/cURL/7.83.0-GCCcore-11.3.0/bin:/sw/installed/OpenSSL/1.1/bin:/software/protobuf/3.19.4-GCCcore-11.3.0/bin:/software/Bazel/5.1.1-GCCcore-11.3.0/bin:/sw/installed/Java/11.0.6-ppc64le:/sw/installed/Java/11.0.6-ppc64le/bin:/sw/installed/GCCcore/11.3.0/bin:/home/s3248973/.local/EasyBuildDev/easybuild-framework:/home/s3248973/.yarn/bin:/home/s3248973/.config/yarn/global/node_modules/.bin:/home/s3248973/.local/bin:/usr/local/cuda/bin:/usr/lib64/qt-3.3/bin:/sw/taurus/tools/slurmtools/default/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/ibutils/bin:/opt/puppetlabs/bin \ PYTHONNOUSERSITE=1 \ PYTHONPATH=/software/TensorFlow/2.13.0-foss-2022a/lib/python3.10/site-packages:/software/TensorFlow/2.13.0-foss-2022a/lib/python3.10/site-packages:/software/protobuf-python/3.19.4-GCCcore-11.3.0/lib/python3.10/site-packages:/software/flatbuffers/2.0.7-GCCcore-11.3.0/lib/python3.10/site-packages:/software/dill/0.3.6-GCCcore-11.3.0/lib/python3.10/site-packages:/software/h5py/3.7.0-foss-2022a/lib/python3.10/site-packages:/sw/installed/SciPy-bundle/2022.05-foss-2022a/lib/python3.10/site-packages:/sw/installed/pybind11/2.9.2-GCCcore-11.3.0/lib/python3.10/site-packages:/sw/installed/Python/3.10.4-GCCcore-11.3.0/easybuild/python \ PYTHON_BIN_PATH=/sw/installed/Python/3.10.4-GCCcore-11.3.0/bin/python \ PYTHON_LIB_PATH=/software/TensorFlow/2.13.0-foss-2022a/lib/python3.10/site-packages \ TF2_BEHAVIOR=1 \ TF_SYSTEM_LIBS=absl_py,astor_archive,astunparse_archive,boringssl,com_google_protobuf,curl,cython,dill_archive,double_conversion,flatbuffers,functools32_archive,gast_archive,gif,hwloc,icu,jsoncpp_git,libjpeg_turbo,nasm,nsync,opt_einsum_archive,org_sqlite,pasta,png,pybind11,six_archive,snappy,tblib_archive,termcolor_archive,typing_extensions_archive,wrapt,zlib \ /bin/bash -c 'bazel-out/ppc-opt/bin/tensorflow/create_tensorflow.python_api_tf_python_api_gen_v2 --root_init_template=tensorflow/api_template.__init__.py --apidir=bazel-out/ppc-opt/bin/tensorflow/_api/v2/ --apiname=tensorflow --apiversion=2 --compat_apiversion=1 --compat_apiversion=2 --compat_init_template=tensorflow/compat_template_v1.__init__.py --compat_init_template=tensorflow/compat_template.__init__.py --packages=tensorflow.python,tensorflow.dtensor.python.accelerator_util,tensorflow.dtensor.python.api,tensorflow.dtensor.python.config,tensorflow.dtensor.python.d_checkpoint,tensorflow.dtensor.python.d_variable,tensorflow.dtensor.python.input_util,tensorflow.dtensor.python.layout,tensorflow.dtensor.python.mesh_util,tensorflow.dtensor.python.tpu_util,tensorflow.dtensor.python.save_restore,tensorflow.lite.python.analyzer,tensorflow.lite.python.lite,tensorflow.lite.python.authoring.authoring,tensorflow.python.modules_with_exports --output_package=tensorflow._api.v2 --use_relative_imports=True --loading=default bazel-out/ppc-opt/bin/tensorflow/tf_python_api_gen_v2.params') ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61593/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61593/timeline
null
null
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61592
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61592/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61592/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61592/events
https://github.com/tensorflow/tensorflow/pull/61592
1,853,252,704
PR_kwDOArmXAs5YEMAX
61,592
Lowering tfl.reshape + TFL-to-TOSA/standard pattern organization
{ "login": "rafaelubalmw", "id": 133914350, "node_id": "U_kgDOB_te7g", "avatar_url": "https://avatars.githubusercontent.com/u/133914350?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rafaelubalmw", "html_url": "https://github.com/rafaelubalmw", "followers_url": "https://api.github.com/users/rafaelubalmw/followers", "following_url": "https://api.github.com/users/rafaelubalmw/following{/other_user}", "gists_url": "https://api.github.com/users/rafaelubalmw/gists{/gist_id}", "starred_url": "https://api.github.com/users/rafaelubalmw/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rafaelubalmw/subscriptions", "organizations_url": "https://api.github.com/users/rafaelubalmw/orgs", "repos_url": "https://api.github.com/users/rafaelubalmw/repos", "events_url": "https://api.github.com/users/rafaelubalmw/events{/privacy}", "received_events_url": "https://api.github.com/users/rafaelubalmw/received_events", "type": "User", "site_admin": false }
[ { "id": 1169365682, "node_id": "MDU6TGFiZWwxMTY5MzY1Njgy", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:L", "name": "size:L", "color": "adafea", "default": false, "description": "CL Change Size: Large" } ]
closed
false
{ "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false }
[ { "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false } ]
null
[]
2023-08-16T13:30:12
2023-08-21T17:15:46
2023-08-21T17:15:46
NONE
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61592", "html_url": "https://github.com/tensorflow/tensorflow/pull/61592", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61592.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61592.patch", "merged_at": null }
This pull request includes the following features: 1. Introduction of alternative TFL-to-TOSA and TFL-to-standard conversion patterns, each activated based on the ability of a given TFL op to be represented in the TOSA dialect. 2. TFL-to-TOSA lowering for operation `tfl.reshape`. 3. TFL-to-standard lowering for operation `tfl.reshape`. 4. Handling `complex` data type in `tfl.reshape`. Here, the term *standard dialect* is used to refer to MLIR dialect `arith`, `builtin`, `func`, `index`, `linalg`, `math`, `memref`, or `tensor`. ## 1. Extending the current lowering scheme The conversion patterns lowering TFL ops are implemented in file `tensorflow/compiler/mlir/tosa/transforms/legalize_tfl.cc`. In their current state, these patterns convert TFL ops into groups of TOSA ops on a best-effort basis. However, some TFL ops are representable in TOSA only for some combinations of their input operands. And some TFL ops are not representable in TOSA at all. To successfully lower such ops, one must rely on a richer variety of lower-level ops from MLIR standard dialects. This merge request intends to set a precedent in the way such TFL ops will be handled, based on the following mechanism: - Two independent conversion patterns are in charge of the TFL-to-TOSA and TFL-to-standard conversions (e.g., `ConvertTFLReshapeOpToTosa` and `ConvertTFLReshapeOpToStandard`). Both are implemented in `legalize_tfl.cc`, though given the current size of this file, it might be wise to split these in the near future. - The TFL-to-TOSA pattern is assigned high priority with a *pattern benefit* value of 2. This pattern attempts to convert the TFL op by targeting the TOSA dialect exclusively. If the current combination of arguments makes the TFL op not representable in TOSA, conversion fails, and the transform driver follows its course by attempting to apply other compatible patterns. - The TFL-to-standard pattern is assigned a low priority with a *pattern benefit* value of 1. It is activated when the TFL-to-TOSA counterpart fails. This pattern is primarily intended to cover TFL ops or argument combinations that are not representable in TOSA. However, an implementation may choose to disregard whatever TOSA can or cannot do, and simply focus on translating any possible TFL op configuration into standard dialects. This has the benefit of not duplicating the control logic used in the TFL-to-TOSA pattern, at the expense of possibly covering cases already handled by it. Additionally, new features incorporated into the TOSA dialect over time only affect the TFL-to-TOSA pattern, which will capture new TFL corner cases. When the TFL-to-standard pattern is designed with this principle in mind, its implementation will conveniently remain unaffected by TFL dialect extensions. - Two different macros may now be used to declare TFL lowering patterns: `DECL_CONVERT_OP` and `DECL_CONVERT_OP_TOSA_STANDARD`. The former declares a stand-alone conversion pattern for those TFL ops that are fully representable in TOSA, named `ConvertTFL<OPNAME>Op`. The latter declares a pair of conversion patterns targeting TOSA and standard dialects, named `ConvertTFL<OPNAME>OpToTosa` and `ConvertTFL<OPNAME>OpToStandard`, respectively. ## 2. TFL-to-TOSA lowering of `tfl.reshape` The `tfl.reshape` op takes a shape argument in the form of an SSA value. The closest match in the TOSA dialect is the `tosa.reshape` op. However, this op takes the target tensor shape as an attribute, and therefore, a direct conversion is only possible when the shape is constant. TFL code ``` func.func @test_reshape(%arg0: tensor<13x21x3xf32>) -> tensor<*xf32> { %cst = arith.constant dense<[1, 819]> : tensor<2xi32> %0 = "tfl.reshape"(%arg0, %cst) : (tensor<13x21x3xf32>, tensor<2xi32>) -> tensor<*xf32> func.return %0 : tensor<*xf32> } ``` converts to ``` func.func @test_reshape(%arg0: tensor<13x21x3xf32>) -> tensor<1x819xf32> { %0 = "tosa.reshape"(%arg0) <{new_shape = array<i64: 1, 819>}> : (tensor<13x21x3xf32>) -> tensor<1x819xf32> return %0 : tensor<1x819xf32> } ``` ## 3. TFL-to-standard lowering of `tfl.reshape` This lowering is intended to support any combination of valid operands for `tfl.reshape`, according to its somewhat ambiguous specification available [here](https://www.tensorflow.org/mlir/tfl_ops#tflreshape_tflreshapeop) and the less ambiguous and (presumably) intended counterpart in the TF dialect (`tf.Reshape`) available [here](https://www.tensorflow.org/mlir/tf_ops#tfreshape_tfreshapeop). ### Ranked tensors The example below illustrates the conversion strategy for the case in which both input and shape tensors are ranked. The converted code has been formatted with descriptive SSA value names and detailed comments to lay out the intermediate steps in the generated algorithm based on MLIR standard dialects. TFL code ``` func.func @test_reshape_variable(%arg0: tensor<?xf32>, %arg1: tensor<2xi32>) -> tensor<?x?xf32> { %0 = "tfl.reshape"(%arg0, %arg1) : (tensor<?xf32>, tensor<2xi32>) -> tensor<?x?xf32> return %0 : tensor<?x?xf32> } ``` converts to ``` func.func @test_reshape_variable(%arg0: tensor<?xf32>, %arg1: tensor<2xi32>) -> tensor<?x?xf32> { func.func @test_reshape_variable(%arg0: tensor<?xf32>, %arg1: tensor<2xi32>) -> tensor<?x?xf32> { // Constants %const_0 = arith.constant 0 : index %const_0_i32 = arith.constant 0 : i32 %const_1 = arith.constant 1 : index %const_1_tensor = arith.constant dense<1> : tensor<i32>} %const_minus_1_splat = arith.constant dense<-1> tensor<2xi32> // Calculate product of all element in the shape %shape_product_tensor = linalg.reduce ins(%arg1 : tensor<2xi32>) outs(%const_1_tensor : tensor<i32>) dimensions = [0] (%in: i32, %init: i32) { %temp_product = arith.muli %in, %init : i32 linalg.yield %temp_product : i32 } %shape_product = tensor.extract %shape_product_tensor[] : tensor<i32> // Check if the shape product is negative. Since there can be at most one // shape component set to -1, a negative product indicates that such shape // wildcard was present. shape_is_negative = arith.cmpi slt, %shape_product, %const_0_i32 : i32 shape_no_wildcard = scf.if shape_is_negative -> (tensor<2xi32>) { // Calculate size of input tensor input_size = scf.for %i = %const_0 to %const_1 step %const_1 iter_args(%acc_size = %const_1) -> (index) { %dim = tensor.dim %arg0, %i : tensor<?xf32> %temp_size = arith.muli %acc_size, %dim : index scf.yield %temp_size : index } input_size_i32 = arith.index_cast input_size : index to i32 // Calculate the missing shape item by diving input tensor size by all other // shape components. Then broadcast it into a tensor with as many elements as // the shape tensor. shape_product_abs = math.absi %shape_product : i32 shape_wildcard_value = arith.divsi input_size_i32, shape_product_abs : i32 shape_wildcard_splat = tensor.splat shape_wildcard_value : tensor<2xi32> // Create a mask for the shape tensor. This mask contains a 1 only at that // position where wildcard -1 is located in the shape tensor. shape_wildcard_mask = arith.cmpi eq, %arg1, %const_minus_1_splat : tensor<2xi32> // Use the mask to replace the wildcard with the computed size in the shape // tensor. %resolved_shape = arith.select shape_wildcard_mask, shape_wildcard_splat, %arg1 : tensor<2xi1>, tensor<2xi32> scf.yield %resolved_shape : tensor<2xi32> } else { // Shape has no wildcard and need not be modified. scf.yield %arg1 : tensor<2xi32> } // Now that we have a shape with no wildcard, it is safe to use // 'tensor.reshape'. %result = tensor.reshape %arg0(shape_no_wildcard) : (tensor<?xf32>, tensor<2xi32>) -> tensor<?x?xf32> return %result : tensor<?x?xf32> } ``` ### Unranked tensors Additional considerations are involved in lowering `tfl.reshape` when either the input or the shape tensor is unranked, as illustrated in the following example. The converted code includes comments prefixed with `NEW` to highlight the differences over the ranked case. TFL code ``` func.func @test_reshape_unranked(%arg0: tensor<*xf32>, %arg1: tensor<*xi32>) -> tensor<*xf32> { %0 = "tfl.reshape"(%arg0, %arg1) : (tensor<*xf32>, tensor<*xi32>) -> tensor<*xf32> return %0 : tensor<*xf32> } ``` converts to ``` func.func @test_reshape_unranked(%arg0: tensor<*xf32>, %arg1: tensor<*xi32>) -> tensor<*xf32> { %0 = "tosa.const"() <{value = dense<-1> : tensor<i32>}> : () -> tensor<i32> %c1 = arith.constant 1 : index %c0 = arith.constant 0 : index %1 = "tosa.const"() <{value = dense<1> : tensor<i32>}> : () -> tensor<i32> %c0_i32 = arith.constant 0 : i32 // NEW: Cast shape tensor into a 1D ranked tensor. %cast = tensor.cast %arg1 : tensor<*xi32> to tensor<?xi32> %reduced = linalg.reduce ins(%cast : tensor<?xi32>) outs(%1 : tensor<i32>) dimensions = [0] (%in: i32, %init: i32) { %4 = arith.muli %in, %init : i32 linalg.yield %4 : i32 } %extracted = tensor.extract %reduced[] : tensor<i32> %2 = arith.cmpi slt, %extracted, %c0_i32 : i32 %3 = scf.if %2 -> (tensor<?xi32>) { // NEW: Query the input tensor rank in order to calculate its total size. %rank = tensor.rank %arg0 : tensor<*xf32> %4 = scf.for %arg2 = %c0 to %rank step %c1 iter_args(%arg3 = %c1) -> (index) { %dim_1 = tensor.dim %arg0, %arg2 : tensor<*xf32> %12 = arith.muli %arg3, %dim_1 : index scf.yield %12 : index } %5 = arith.index_cast %4 : index to i32 %6 = math.absi %extracted : i32 %dim = tensor.dim %cast, %c0 : tensor<?xi32> %7 = arith.divsi %5, %6 : i32 %from_elements = tensor.from_elements %7 : tensor<i32> // NEW: When the size of the shape tensor is not known at compile time, // tensor splats are computed dynamically with a 'linalg.broadcast' op, // instead of 'tensor.splat'. %8 = tensor.empty(%dim) : tensor<?xi32> %broadcasted = linalg.broadcast ins(%from_elements : tensor<i32>) outs(%8 : tensor<?xi32>) dimensions = [0] %9 = tensor.empty(%dim) : tensor<?xi32> %broadcasted_0 = linalg.broadcast ins(%0 : tensor<i32>) outs(%9 : tensor<?xi32>) dimensions = [0] %10 = arith.cmpi eq, %cast, %broadcasted_0 : tensor<?xi32> %11 = arith.select %10, %broadcasted, %cast : tensor<?xi1>, tensor<?xi32> scf.yield %11 : tensor<?xi32> } else { scf.yield %cast : tensor<?xi32> } %reshape = tensor.reshape %arg0(%3) : (tensor<*xf32>, tensor<?xi32>) -> tensor<*xf32> return %reshape : tensor<*xf32> } ``` ## 4. Handling `complex` type in `tfl.reshape` ### Problem A pass named `tosa-lower-complex-types` is currently in charge of lowering any occurrence of the `complex<float>` data type into a pair of `float` values (e.g., `tensor<3xcomplex<float>>` becomes `tensor<3x2xfloat>`). This pass runs after the TFL-to-TOSA dialect conversion within a pass pipeline named `tfl-to-tosa-pipeline`. The `tosa-lower-complex-types` processes occurrences of type `complex` indiscriminately, with no regard to the operation in which such type occurs. This is fine in most cases, but poses a problem specifically for the `tfl.reshape` op. If its input and output tensors are of type `complex`, flattening them into tensors of `float` affects their rank, but should also affect the target shape for the operation to remain consistent. For example, operation ``` %shape = arith.constant dense<2, 3> : tensor<2xi32> %result = "tfl.reshape"(%input, %shape) : (tensor<6xcomplex<f32>>, tensor<2xi32>) -> tensor<2x3xcomplex<f32>> ``` cannot simply be translated to ``` %shape = arith.constant dense<2, 3> : tensor<2xi32> %result = "tfl.reshape"(%input, %shape) : (tensor<6x2xf32>, tensor<2xi32>) -> tensor<2x3x2xf32> ``` In the resulting code above, the size of the target shape (2) does not match the rank of the output tensor (3). The target shape must be extended with an additional component set to 2 in order to reflect the additional dimension added by the `complex`-to-`float` flattening process. The resulting code should then be ``` %shape = arith.constant dense<2, 3, 2> : tensor<3xi32> %result = "tfl.reshape"(%input, %shape) : (tensor<6x2xf32>, tensor<3xi32>) -> tensor<2x3x2xf32> ``` ### Solution When an input tensor of type `complex` is detected, the generated code is extended as follows: - The input tensor of type `complex<float>` is converted into a tensor of type `float` with an additional dimension of size 2 by means of a `builtin.unrealized_conversion_cast` op. The remaining lowering process deals with the modified input tensor. - The shape tensor is extended with an additional element set to 2. The remaining lowering process deals with the new extended shape tensor. - The final tensor resulting from the emitted `tensor.reshape` op is converted back to type `complex<float>` through another `builtin.unrealized_conversion_cast` op. Both occurrences of `builtin.unrealized_conversion_cast` will be automatically folded away further down in the conversion pipeline once the `tosa-lower-complex-types` pass runs. The converted code in the example below has been annotated with `NEW` to highlight the key locations affected by the presence of complex tensors. TFL code ``` func.func @test_reshape_complex(%arg0: tensor<?x1x257xcomplex<f32>>) -> tensor<?x257xcomplex<f32>> { %cst = "tfl.pseudo_const"() {value = dense<[-1, 257]> : tensor<2xi32>} : () -> tensor<2xi32> %1 = "tfl.reshape"(%arg0, %cst) : (tensor<?x1x257xcomplex<f32>>, tensor<2xi32>) -> tensor<?x257xcomplex<f32>> func.return %1 : tensor<?x257xcomplex<f32>> } ``` converts to ``` func.func @test_reshape_complex(%arg0: tensor<?x1x257xcomplex<f32>>) -> tensor<?x257xcomplex<f32>> { %0 = "tosa.const"() <{value = dense<-1> : tensor<3xi32>}> : () -> tensor<3xi32> %c4 = arith.constant 4 : index %c1 = arith.constant 1 : index %c0 = arith.constant 0 : index %2 = "tosa.const"() <{value = dense<1> : tensor<i32>}> : () -> tensor<i32> %c0_i32 = arith.constant 0 : i32 %3 = "tosa.const"() <{value = dense<[-1, 257]> : tensor<2xi32>}> : () -> tensor<2xi32> // NEW: Flatten complex input tensor %4 = builtin.unrealized_conversion_cast %arg0 : tensor<?x1x257xcomplex<f32>> to tensor<?x1x257x2xf32> // NEW: Extend shape tensor with additional component set to 2 %const_2 = "tosa.const"() <{value = dense<2> : tensor<1xi32>}> : () -> tensor<1xi32> %5 = "tosa.concat"(%3, %const_2) <{axis = 0 : i64}> : (tensor<2xi32>, tensor<1xi32>) -> tensor<3xi32> %reduced = linalg.reduce ins(%5 : tensor<3xi32>) outs(%2 : tensor<i32>) dimensions = [0] (%in: i32, %init: i32) { %9 = arith.muli %in, %init : i32 linalg.yield %9 : i32 } %extracted = tensor.extract %reduced[] : tensor<i32> %6 = arith.cmpi slt, %extracted, %c0_i32 : i32 %7 = scf.if %6 -> (tensor<3xi32>) { %9 = scf.for %arg1 = %c0 to %c4 step %c1 iter_args(%arg2 = %c1) -> (index) { %dim = tensor.dim %4, %arg1 : tensor<?x1x257x2xf32> %15 = arith.muli %arg2, %dim : index scf.yield %15 : index } %10 = arith.index_cast %9 : index to i32 %11 = math.absi %extracted : i32 %12 = arith.divsi %10, %11 : i32 %splat = tensor.splat %12 : tensor<3xi32> %13 = arith.cmpi eq, %5, %0 : tensor<3xi32> %14 = arith.select %13, %splat, %5 : tensor<3xi1>, tensor<3xi32> scf.yield %14 : tensor<3xi32> } else { scf.yield %5 : tensor<3xi32> } %reshape = tensor.reshape %4(%7) : (tensor<?x1x257x2xf32>, tensor<3xi32>) -> tensor<?x257x2xf32> // NEW: Convert resulting tensor back to complex type %8 = builtin.unrealized_conversion_cast %reshape : tensor<?x257x2xf32> to tensor<?x257xcomplex<f32>> return %8 : tensor<?x257xcomplex<f32>> } ``` ### Limitation The presented strategy relies on compile-time knowledge of the input tensor rank for the introduction of an additional dimension in its data type. This restriction limits its application to ranked input tensors. The current TFL-to-core conversion pattern does not support unranked input tensors of type `complex`.
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61592/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61592/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61591
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61591/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61591/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61591/events
https://github.com/tensorflow/tensorflow/pull/61591
1,852,964,337
PR_kwDOArmXAs5YDNEE
61,591
Add `use_default_shell_env = True` to `ctx.actions.run`
{ "login": "Flamefire", "id": 309017, "node_id": "MDQ6VXNlcjMwOTAxNw==", "avatar_url": "https://avatars.githubusercontent.com/u/309017?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Flamefire", "html_url": "https://github.com/Flamefire", "followers_url": "https://api.github.com/users/Flamefire/followers", "following_url": "https://api.github.com/users/Flamefire/following{/other_user}", "gists_url": "https://api.github.com/users/Flamefire/gists{/gist_id}", "starred_url": "https://api.github.com/users/Flamefire/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Flamefire/subscriptions", "organizations_url": "https://api.github.com/users/Flamefire/orgs", "repos_url": "https://api.github.com/users/Flamefire/repos", "events_url": "https://api.github.com/users/Flamefire/events{/privacy}", "received_events_url": "https://api.github.com/users/Flamefire/received_events", "type": "User", "site_admin": false }
[ { "id": 390482148, "node_id": "MDU6TGFiZWwzOTA0ODIxNDg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/awaiting%20review", "name": "awaiting review", "color": "bc3869", "default": false, "description": "Pull request awaiting review" }, { "id": 750616506, "node_id": "MDU6TGFiZWw3NTA2MTY1MDY=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:lite", "name": "comp:lite", "color": "0052cc", "default": false, "description": "TF Lite related issues" }, { "id": 1169364259, "node_id": "MDU6TGFiZWwxMTY5MzY0MjU5", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:XS", "name": "size:XS", "color": "adafea", "default": false, "description": "CL Change Size: Extra Small" } ]
open
false
{ "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false }
[ { "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false } ]
null
[ "Hi @Flamefire Can you please check @majiddadashi's comments and keep us posted ? Thank you!", "This PR is stale because it has been open for 14 days with no activity. It will be closed if no further activity occurs. Thank you.", "@majiddadashi Any update here?", "Hi @majiddadashi Any update on this PR? Please. Thank you!", "Hi @majiddadashi Any update on this PR? Please. Thank you!", "Hi @majiddadashi Any update on this PR? Please. Thank you!", "Hi @majiddadashi Any update on this PR? Please. Thank you!", "Hi @majiddadashi Any update on this PR? Please. Thank you!", "Hi @majiddadashi Any update on this PR? Please. Thank you!", "Hi @majiddadashi Can you please review this PR? Thank you!", "Hi @majiddadashi Can you please review this PR? Thank you!" ]
2023-08-16T10:35:45
2024-06-07T16:11:35
null
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61591", "html_url": "https://github.com/tensorflow/tensorflow/pull/61591", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61591.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61591.patch", "merged_at": null }
This is required e.g. for `_generate_op_reg_offsets_impl` which otherwise will ommit e.g. `LD_LIBRARY_PATH` which then fails to find a (system-)libprotobuf.so when generating `//tensorflow/python:math_ops_reg_offsets` This is in line with other usages of this function to generate files using external tools and previous PRs like https://github.com/tensorflow/tensorflow/pull/44549
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61591/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61591/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61590
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61590/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61590/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61590/events
https://github.com/tensorflow/tensorflow/issues/61590
1,852,321,462
I_kwDOArmXAs5uaC62
61,590
Train Simple Audio Recognition - TinyML
{ "login": "siddarthnandy", "id": 72363465, "node_id": "MDQ6VXNlcjcyMzYzNDY1", "avatar_url": "https://avatars.githubusercontent.com/u/72363465?v=4", "gravatar_id": "", "url": "https://api.github.com/users/siddarthnandy", "html_url": "https://github.com/siddarthnandy", "followers_url": "https://api.github.com/users/siddarthnandy/followers", "following_url": "https://api.github.com/users/siddarthnandy/following{/other_user}", "gists_url": "https://api.github.com/users/siddarthnandy/gists{/gist_id}", "starred_url": "https://api.github.com/users/siddarthnandy/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/siddarthnandy/subscriptions", "organizations_url": "https://api.github.com/users/siddarthnandy/orgs", "repos_url": "https://api.github.com/users/siddarthnandy/repos", "events_url": "https://api.github.com/users/siddarthnandy/events{/privacy}", "received_events_url": "https://api.github.com/users/siddarthnandy/received_events", "type": "User", "site_admin": false }
[ { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 750616506, "node_id": "MDU6TGFiZWw3NTA2MTY1MDY=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:lite", "name": "comp:lite", "color": "0052cc", "default": false, "description": "TF Lite related issues" }, { "id": 5206407904, "node_id": "LA_kwDOArmXAs8AAAABNlN64A", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.12", "name": "TF 2.12", "color": "c5def5", "default": false, "description": "For issues related to Tensorflow 2.12" } ]
closed
false
{ "login": "pjpratik", "id": 118897289, "node_id": "U_kgDOBxY6iQ", "avatar_url": "https://avatars.githubusercontent.com/u/118897289?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pjpratik", "html_url": "https://github.com/pjpratik", "followers_url": "https://api.github.com/users/pjpratik/followers", "following_url": "https://api.github.com/users/pjpratik/following{/other_user}", "gists_url": "https://api.github.com/users/pjpratik/gists{/gist_id}", "starred_url": "https://api.github.com/users/pjpratik/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pjpratik/subscriptions", "organizations_url": "https://api.github.com/users/pjpratik/orgs", "repos_url": "https://api.github.com/users/pjpratik/repos", "events_url": "https://api.github.com/users/pjpratik/events{/privacy}", "received_events_url": "https://api.github.com/users/pjpratik/received_events", "type": "User", "site_admin": false }
[ { "login": "pjpratik", "id": 118897289, "node_id": "U_kgDOBxY6iQ", "avatar_url": "https://avatars.githubusercontent.com/u/118897289?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pjpratik", "html_url": "https://github.com/pjpratik", "followers_url": "https://api.github.com/users/pjpratik/followers", "following_url": "https://api.github.com/users/pjpratik/following{/other_user}", "gists_url": "https://api.github.com/users/pjpratik/gists{/gist_id}", "starred_url": "https://api.github.com/users/pjpratik/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pjpratik/subscriptions", "organizations_url": "https://api.github.com/users/pjpratik/orgs", "repos_url": "https://api.github.com/users/pjpratik/repos", "events_url": "https://api.github.com/users/pjpratik/events{/privacy}", "received_events_url": "https://api.github.com/users/pjpratik/received_events", "type": "User", "site_admin": false } ]
null
[ "@petewarden \r\n@dansitu ", "@siddarthnandy,\r\n**tensorflow.contrib** is not available in tensorflow v2.x. Removed the old `tf.contrib.layers` and replace them with [TF Slim](https://github.com/google-research/tf-slim) symbols.\r\n\r\nCould you please take a look at this official migration doc link which refers to the Migrate from TensorFlow 1.x to TensorFlow 2.\r\nhttps://www.tensorflow.org/guide/migrate\r\n\r\nThank you!\r\n", "It is not straight forward on how to do this migration. Need some help. Thanks", "Has anyone else already completed the migration that I can use\r\n", "Need some help. Thanks. Still not resolved", "Need some help. Thanks. Still not resolved", "Need some help. Thanks. Still not resolved\r\n", "This issue is not resolved. Any help would be grateful.", "Hi @siddarthnandy \r\n\r\nThe tensorflow [example](https://github.com/tensorflow/tensorflow/tree/master/tensorflow/examples/speech_commands) seems to be outdated. As @tilakrayal suggested we might have to look for TF 2.0 alternative.\r\n\r\nHowever, the TinyML examples are provided in [tflite-micro](https://github.com/tensorflow/tflite-micro/tree/main) which is a port of TensorFlow Lite designed to run machine learning models on devices with limited memory. Please check this Simple Audio Recognition Model and let us know if it helps for your use case.\r\n\r\nhttps://github.com/tensorflow/tflite-micro/blob/main/tensorflow/lite/micro/examples/micro_speech/train/train_micro_speech_model.ipynb\r\n\r\nThanks.", "This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.", "will try it thanks", "Hi @siddarthnandy \r\n\r\nDid you get a chance to try the example?\r\n\r\nFeel free to close the issue if it is resolved.\r\n\r\nThanks.", "This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.", "fixed thanks.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61590\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61590\">No</a>\n" ]
2023-08-16T00:27:17
2023-09-21T02:03:36
2023-09-21T02:03:34
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source source ### TensorFlow version 2.12.0 ### Custom code Yes ### OS platform and distribution Windows 11 ### Mobile device _No response_ ### Python version 3.10.12 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? **Issue Report** - Error in Training Audio Recognition Model **Description**: I am trying to train a simple audio recognition model as described in the book "TinyML." I am using Google Colab to train the model. However, I encountered errors during both the installation of dependencies and the training process. **Error during Install Dependencies**: When attempting to install dependencies using the command !pip uninstall -y tensorflow tensorflow_estimator tensorboard !pip install -q tf-estimator-nightly==1.14.0.dev2019072901 tf-nightly-gpu==1.15.0.dev20190729 I encountered the following error: ERROR: Could not find a version that satisfies the requirement tf-nightly-gpu==1.15.0.dev20190729 (from versions: 2.12.0) ERROR: No matching distribution found for tf-nightly-gpu==1.15.0.dev20190729 Error during Training - ModuleNotFoundError: **Error to Begin Training**: Upon running the training script with TensorFlow in the "Begin Training" Section, I received the following error: Traceback (most recent call last): File "/content/tensorflow/tensorflow/examples/speech_commands/train.py", line 81, in <module> import input_data File "/content/tensorflow/tensorflow/examples/speech_commands/input_data.py", line 35, in <module> from tensorflow.contrib.framework.python.ops import audio_ops as contrib_audio ModuleNotFoundError: No module named 'tensorflow.contrib' **Observations**: I suspect that these errors are occurring because the code provided in the book is intended for TensorFlow 1.15, while I am using TensorFlow 2.12.0. Since TensorFlow 1.15 is no longer supported. Not sure how I can resolve this. Please help me to fix this issue. ### Standalone code to reproduce the issue ```shell https://colab.research.google.com/drive/1t2QMMiCdIxP3xnoNyiz9FjmPmbrF0_iD?usp=sharing ``` ### Relevant log output ```shell ERROR: Could not find a version that satisfies the requirement tf-nightly-gpu==1.15.0.dev20190729 (from versions: 2.12.0) ERROR: No matching distribution found for tf-nightly-gpu==1.15.0.dev20190729 Traceback (most recent call last): File "/content/tensorflow/tensorflow/examples/speech_commands/train.py", line 81, in <module> import input_data File "/content/tensorflow/tensorflow/examples/speech_commands/input_data.py", line 35, in <module> from tensorflow.contrib.framework.python.ops import audio_ops as contrib_audio ModuleNotFoundError: No module named 'tensorflow.contrib' ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61590/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 1, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61590/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61589
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61589/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61589/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61589/events
https://github.com/tensorflow/tensorflow/pull/61589
1,852,209,885
PR_kwDOArmXAs5YAp3_
61,589
[XLA:CPU][oneDNN] : Add OneDNN softmax rewriter
{ "login": "sachinmuradi", "id": 43043975, "node_id": "MDQ6VXNlcjQzMDQzOTc1", "avatar_url": "https://avatars.githubusercontent.com/u/43043975?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sachinmuradi", "html_url": "https://github.com/sachinmuradi", "followers_url": "https://api.github.com/users/sachinmuradi/followers", "following_url": "https://api.github.com/users/sachinmuradi/following{/other_user}", "gists_url": "https://api.github.com/users/sachinmuradi/gists{/gist_id}", "starred_url": "https://api.github.com/users/sachinmuradi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sachinmuradi/subscriptions", "organizations_url": "https://api.github.com/users/sachinmuradi/orgs", "repos_url": "https://api.github.com/users/sachinmuradi/repos", "events_url": "https://api.github.com/users/sachinmuradi/events{/privacy}", "received_events_url": "https://api.github.com/users/sachinmuradi/received_events", "type": "User", "site_admin": false }
[ { "id": 1133285679, "node_id": "MDU6TGFiZWwxMTMzMjg1Njc5", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:xla", "name": "comp:xla", "color": "0052cc", "default": false, "description": "XLA" }, { "id": 1169365682, "node_id": "MDU6TGFiZWwxMTY5MzY1Njgy", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:L", "name": "size:L", "color": "adafea", "default": false, "description": "CL Change Size: Large" } ]
closed
false
{ "login": "penpornk", "id": 38085909, "node_id": "MDQ6VXNlcjM4MDg1OTA5", "avatar_url": "https://avatars.githubusercontent.com/u/38085909?v=4", "gravatar_id": "", "url": "https://api.github.com/users/penpornk", "html_url": "https://github.com/penpornk", "followers_url": "https://api.github.com/users/penpornk/followers", "following_url": "https://api.github.com/users/penpornk/following{/other_user}", "gists_url": "https://api.github.com/users/penpornk/gists{/gist_id}", "starred_url": "https://api.github.com/users/penpornk/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/penpornk/subscriptions", "organizations_url": "https://api.github.com/users/penpornk/orgs", "repos_url": "https://api.github.com/users/penpornk/repos", "events_url": "https://api.github.com/users/penpornk/events{/privacy}", "received_events_url": "https://api.github.com/users/penpornk/received_events", "type": "User", "site_admin": false }
[ { "login": "penpornk", "id": 38085909, "node_id": "MDQ6VXNlcjM4MDg1OTA5", "avatar_url": "https://avatars.githubusercontent.com/u/38085909?v=4", "gravatar_id": "", "url": "https://api.github.com/users/penpornk", "html_url": "https://github.com/penpornk", "followers_url": "https://api.github.com/users/penpornk/followers", "following_url": "https://api.github.com/users/penpornk/following{/other_user}", "gists_url": "https://api.github.com/users/penpornk/gists{/gist_id}", "starred_url": "https://api.github.com/users/penpornk/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/penpornk/subscriptions", "organizations_url": "https://api.github.com/users/penpornk/orgs", "repos_url": "https://api.github.com/users/penpornk/repos", "events_url": "https://api.github.com/users/penpornk/events{/privacy}", "received_events_url": "https://api.github.com/users/penpornk/received_events", "type": "User", "site_admin": false }, { "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false } ]
null
[ "Hi @sachinmuradi Can you please rebase your branch and resolve conflicts? Thank you!", "This PR is stale because it has been open for 14 days with no activity. It will be closed if no further activity occurs. Thank you.", "Hi @sachinmuradi Can you please rebase your branch and resolve conflicts? Thank you!", "This PR is stale because it has been open for 14 days with no activity. It will be closed if no further activity occurs. Thank you.", "Hi @sachinmuradi Can you please rebase your branch and resolve conflicts? Thank you!", "Hi @sachinmuradi Any update on this PR? Please. Thank you!", "Closing this PR since its replacement PR https://github.com/openxla/xla/pull/7540 has been merged. Thank you again for the changes!" ]
2023-08-15T22:15:33
2023-12-13T14:16:26
2023-12-13T14:16:26
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61589", "html_url": "https://github.com/tensorflow/tensorflow/pull/61589", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61589.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61589.patch", "merged_at": null }
This PR rewrites the below mentioned HLO pattern, into softmax pattern and executes it through custom call to oneDNN softmax library function. This pattern is mainly seen in flax/jax [softmax ](https://github.com/google/jax/blob/a259df0d76e50e0e54fa5a69a7c6b78975cde10a/jax/_src/random.py#L1025)operation, with Float32 datatype. The rewrite uses 'divide' operation as root node to match the pattern and is currently called before any layout assignment / float normalization passes to avoid more convert ops or layout normalization ops during pattern matching. **HLO Pattern :** ![image](https://github.com/tensorflow/tensorflow/assets/43043975/7875cf46-49c1-45d6-9055-8fa32ec0cae7)
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61589/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61589/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61588
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61588/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61588/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61588/events
https://github.com/tensorflow/tensorflow/pull/61588
1,852,187,697
PR_kwDOArmXAs5YAkz2
61,588
Update Windows Release Build File
{ "login": "rtg0795", "id": 36429068, "node_id": "MDQ6VXNlcjM2NDI5MDY4", "avatar_url": "https://avatars.githubusercontent.com/u/36429068?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rtg0795", "html_url": "https://github.com/rtg0795", "followers_url": "https://api.github.com/users/rtg0795/followers", "following_url": "https://api.github.com/users/rtg0795/following{/other_user}", "gists_url": "https://api.github.com/users/rtg0795/gists{/gist_id}", "starred_url": "https://api.github.com/users/rtg0795/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rtg0795/subscriptions", "organizations_url": "https://api.github.com/users/rtg0795/orgs", "repos_url": "https://api.github.com/users/rtg0795/repos", "events_url": "https://api.github.com/users/rtg0795/events{/privacy}", "received_events_url": "https://api.github.com/users/rtg0795/received_events", "type": "User", "site_admin": false }
[]
closed
false
null
[]
null
[]
2023-08-15T21:58:47
2023-08-15T22:03:03
2023-08-15T22:03:02
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61588", "html_url": "https://github.com/tensorflow/tensorflow/pull/61588", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61588.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61588.patch", "merged_at": "2023-08-15T22:03:02" }
null
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61588/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61588/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61587
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61587/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61587/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61587/events
https://github.com/tensorflow/tensorflow/issues/61587
1,851,921,244
I_kwDOArmXAs5uYhNc
61,587
pybind11_proto from python to C++
{ "login": "BlaziusMaximus", "id": 17283933, "node_id": "MDQ6VXNlcjE3MjgzOTMz", "avatar_url": "https://avatars.githubusercontent.com/u/17283933?v=4", "gravatar_id": "", "url": "https://api.github.com/users/BlaziusMaximus", "html_url": "https://github.com/BlaziusMaximus", "followers_url": "https://api.github.com/users/BlaziusMaximus/followers", "following_url": "https://api.github.com/users/BlaziusMaximus/following{/other_user}", "gists_url": "https://api.github.com/users/BlaziusMaximus/gists{/gist_id}", "starred_url": "https://api.github.com/users/BlaziusMaximus/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/BlaziusMaximus/subscriptions", "organizations_url": "https://api.github.com/users/BlaziusMaximus/orgs", "repos_url": "https://api.github.com/users/BlaziusMaximus/repos", "events_url": "https://api.github.com/users/BlaziusMaximus/events{/privacy}", "received_events_url": "https://api.github.com/users/BlaziusMaximus/received_events", "type": "User", "site_admin": false }
[ { "id": 473173272, "node_id": "MDU6TGFiZWw0NzMxNzMyNzI=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:feature", "name": "type:feature", "color": "159b2e", "default": false, "description": "Feature requests" }, { "id": 1478826728, "node_id": "MDU6TGFiZWwxNDc4ODI2NzI4", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:core", "name": "comp:core", "color": "024391", "default": false, "description": "issues related to core part of tensorflow" }, { "id": 5508003926, "node_id": "LA_kwDOArmXAs8AAAABSE14Vg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13", "name": "TF 2.13", "color": "B13ACB", "default": false, "description": "For issues related to Tensorflow 2.13" } ]
closed
false
{ "login": "SuryanarayanaY", "id": 116063290, "node_id": "U_kgDOBur8Og", "avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SuryanarayanaY", "html_url": "https://github.com/SuryanarayanaY", "followers_url": "https://api.github.com/users/SuryanarayanaY/followers", "following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}", "gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}", "starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions", "organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs", "repos_url": "https://api.github.com/users/SuryanarayanaY/repos", "events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}", "received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events", "type": "User", "site_admin": false }
[ { "login": "SuryanarayanaY", "id": 116063290, "node_id": "U_kgDOBur8Og", "avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SuryanarayanaY", "html_url": "https://github.com/SuryanarayanaY", "followers_url": "https://api.github.com/users/SuryanarayanaY/followers", "following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}", "gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}", "starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions", "organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs", "repos_url": "https://api.github.com/users/SuryanarayanaY/repos", "events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}", "received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events", "type": "User", "site_admin": false } ]
null
[ "The pybind11_proto doc mentions going from python to c++, and provides an [example](https://github.com/pybind/pybind11_protobuf#basic-example). You simply specify the function's proto argument as a const proto reference in c++, then pass the proto to that function in python. Unfortunately, there are issues with this when moving from google3 to OSS, so I don't have any example of TF code utilizing this feature, but you should be able to use it in your own code without issue!\r\n\r\nIf you do run into problems, one strategy for passing >2GB GraphDefs would be to Split in python, send the chunks and serialized ChunkMetadata to c++ as py::bytes, then Merge in c++. Yet another use case for our api ;)" ]
2023-08-15T18:28:52
2023-08-16T18:41:06
2023-08-16T18:41:05
CONTRIBUTOR
null
null
null
@BlaziusMaximus thanks for the explanation. I've been exploring how to update the [`import_graph_def()`](https://github.com/tensorflow/tensorflow/blob/v2.13.0/tensorflow/python/framework/importer.py#L353-L411) code-path to use pybind11_protobuf and I could use your help with the following: Similar to how pybind11_protobuf allows us to pass protos directly from C++ to Python, is there a way to pass a `GraphDef` proto from python to C++ without performing serialization? This would be needed to invoke the [TF_GraphImportGraphDefWithResults](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/c/c_api.cc#L1801) from pywrap session in C++. _Originally posted by @othakkar in https://github.com/tensorflow/community/issues/453#issuecomment-1674101660_
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61587/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61587/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61586
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61586/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61586/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61586/events
https://github.com/tensorflow/tensorflow/pull/61586
1,851,902,180
PR_kwDOArmXAs5X_m6g
61,586
Updated Windows Release Build File
{ "login": "mraunak", "id": 83710963, "node_id": "MDQ6VXNlcjgzNzEwOTYz", "avatar_url": "https://avatars.githubusercontent.com/u/83710963?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mraunak", "html_url": "https://github.com/mraunak", "followers_url": "https://api.github.com/users/mraunak/followers", "following_url": "https://api.github.com/users/mraunak/following{/other_user}", "gists_url": "https://api.github.com/users/mraunak/gists{/gist_id}", "starred_url": "https://api.github.com/users/mraunak/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mraunak/subscriptions", "organizations_url": "https://api.github.com/users/mraunak/orgs", "repos_url": "https://api.github.com/users/mraunak/repos", "events_url": "https://api.github.com/users/mraunak/events{/privacy}", "received_events_url": "https://api.github.com/users/mraunak/received_events", "type": "User", "site_admin": false }
[ { "id": 1169364458, "node_id": "MDU6TGFiZWwxMTY5MzY0NDU4", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:S", "name": "size:S", "color": "adafea", "default": false, "description": "CL Change Size: Small" } ]
closed
false
{ "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false }
[ { "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false } ]
null
[ "This will severely impact performance on Windows. MSVC often chooses not to inline functions marked as \"inline\", leading to much higher function call overhead, particularly for low-level Eigen functions - hence the need for Eigen to explicitly use `__forceinline` on MSVC.\r\n\r\nIt would be preferable to find other methods for reducing the zip size.", "Hi Everyone, thank you, we are working on a better solution and targeting to fix this by the next RC. The file size for simple_console_for_windows.zip reaching 4GB seems odd as the same for the nightly run is 1.95 GB, If changing input to the MSVC compiler is affecting the file size, we may consider adding some flags which guide the compiler to control the file size without affecting the performance.\r\n\r\nI came across one argument to bazel build: --define=no_tensorflow_py_deps=true which helped to reduce the size in the past. https://github.com/tensorflow/tensorflow/pull/22483/commits/2a01b6ad169dc433d002bb61a3a7581cb0662556\r\n\r\nIt would be helpful to get your opinions as well on if there were any other compiler flags or arguments that were used to resolve such issues or what other techniques were used.\r\n\r\nThere could be two possible solutions:\r\n1. Change the zipper.exe (https://github.com/bazelbuild/bazel/blob/master/third_party/ijar/zip.cc) which bazel is automatically picking (external\\bazel_tools\\tools\\zip\\zipper\\zipper.exe) to some other zip tool which can handle above 4GB.\r\n\r\n2. Remove files that are not necessary for Windows and are input to simple_console_for_windows.zip (https://github.com/tensorflow/tensorflow/blob/master/tensorflow/tools/pip_package/BUILD#L98)\r\n", "The size increase is because release uses more optimizations which results in expanding more C++ templates, so the object files are bloated.\r\n\r\nThe ` --define=no_tensorflow_py_deps=true` flag could be used, but I think #61619 is a better solution here. Let's try that one first", "Hi @angerson and @mihaimaruseac thank you for the PR. It is working well, wheels are generated successfully and sanity tests are passing. ", "Thank you for confirming! Let's close this once the other one lands.", "Closing since the other one landed. Thank you for the PR!" ]
2023-08-15T18:15:02
2023-08-21T11:40:18
2023-08-21T11:40:14
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61586", "html_url": "https://github.com/tensorflow/tensorflow/pull/61586", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61586.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61586.patch", "merged_at": null }
The TensorFlow CPU release build was failing on the Windows platform. The reason for the failure was the creation of a large zip file named simple_console_for_windows.zip, whose size was 4GB exceeding the limit zipper.exe could handle. Solution: Overriding the EIGEN_STRONG_INLINE macro resolved the issue by keeping the size of simple_console_for_windows.zip under the limit of zipper.exe. Changed the flag "TF_OVERRIDE_EIGEN_STRONG_INLINE" to 1 in /tensorflow/tools/ci_build/windows/cpu/pip/build_tf_windows.sh file while running the release build
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61586/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61586/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61585
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61585/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61585/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61585/events
https://github.com/tensorflow/tensorflow/pull/61585
1,851,319,934
PR_kwDOArmXAs5X9rAp
61,585
Fix undefined reference to memset
{ "login": "elfringham", "id": 10442001, "node_id": "MDQ6VXNlcjEwNDQyMDAx", "avatar_url": "https://avatars.githubusercontent.com/u/10442001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/elfringham", "html_url": "https://github.com/elfringham", "followers_url": "https://api.github.com/users/elfringham/followers", "following_url": "https://api.github.com/users/elfringham/following{/other_user}", "gists_url": "https://api.github.com/users/elfringham/gists{/gist_id}", "starred_url": "https://api.github.com/users/elfringham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/elfringham/subscriptions", "organizations_url": "https://api.github.com/users/elfringham/orgs", "repos_url": "https://api.github.com/users/elfringham/repos", "events_url": "https://api.github.com/users/elfringham/events{/privacy}", "received_events_url": "https://api.github.com/users/elfringham/received_events", "type": "User", "site_admin": false }
[ { "id": 750616506, "node_id": "MDU6TGFiZWw3NTA2MTY1MDY=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:lite", "name": "comp:lite", "color": "0052cc", "default": false, "description": "TF Lite related issues" }, { "id": 1169364259, "node_id": "MDU6TGFiZWwxMTY5MzY0MjU5", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:XS", "name": "size:XS", "color": "adafea", "default": false, "description": "CL Change Size: Extra Small" }, { "id": 1178505529, "node_id": "MDU6TGFiZWwxMTc4NTA1NTI5", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/prtype:bugfix", "name": "prtype:bugfix", "color": "159b2e", "default": false, "description": "PR to fix a bug" } ]
closed
false
{ "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false }
[ { "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false } ]
null
[ "Made moot by https://github.com/tensorflow/tensorflow/commit/57203ff7024239fe6caaf9be54744f2c990a00ef" ]
2023-08-15T12:00:21
2023-08-16T07:16:28
2023-08-16T07:16:21
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61585", "html_url": "https://github.com/tensorflow/tensorflow/pull/61585", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61585.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61585.patch", "merged_at": null }
Add include of cstring to resolve symbol Fixes: https://github.com/tensorflow/tensorflow/issues/61584
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61585/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61585/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61584
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61584/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61584/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61584/events
https://github.com/tensorflow/tensorflow/issues/61584
1,851,158,346
I_kwDOArmXAs5uVm9K
61,584
Build failure on AARCH64 - undeclared identifier 'memset'
{ "login": "elfringham", "id": 10442001, "node_id": "MDQ6VXNlcjEwNDQyMDAx", "avatar_url": "https://avatars.githubusercontent.com/u/10442001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/elfringham", "html_url": "https://github.com/elfringham", "followers_url": "https://api.github.com/users/elfringham/followers", "following_url": "https://api.github.com/users/elfringham/following{/other_user}", "gists_url": "https://api.github.com/users/elfringham/gists{/gist_id}", "starred_url": "https://api.github.com/users/elfringham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/elfringham/subscriptions", "organizations_url": "https://api.github.com/users/elfringham/orgs", "repos_url": "https://api.github.com/users/elfringham/repos", "events_url": "https://api.github.com/users/elfringham/events{/privacy}", "received_events_url": "https://api.github.com/users/elfringham/received_events", "type": "User", "site_admin": false }
[ { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" } ]
closed
false
{ "login": "sushreebarsa", "id": 84765720, "node_id": "MDQ6VXNlcjg0NzY1NzIw", "avatar_url": "https://avatars.githubusercontent.com/u/84765720?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sushreebarsa", "html_url": "https://github.com/sushreebarsa", "followers_url": "https://api.github.com/users/sushreebarsa/followers", "following_url": "https://api.github.com/users/sushreebarsa/following{/other_user}", "gists_url": "https://api.github.com/users/sushreebarsa/gists{/gist_id}", "starred_url": "https://api.github.com/users/sushreebarsa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sushreebarsa/subscriptions", "organizations_url": "https://api.github.com/users/sushreebarsa/orgs", "repos_url": "https://api.github.com/users/sushreebarsa/repos", "events_url": "https://api.github.com/users/sushreebarsa/events{/privacy}", "received_events_url": "https://api.github.com/users/sushreebarsa/received_events", "type": "User", "site_admin": false }
[ { "login": "sushreebarsa", "id": 84765720, "node_id": "MDQ6VXNlcjg0NzY1NzIw", "avatar_url": "https://avatars.githubusercontent.com/u/84765720?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sushreebarsa", "html_url": "https://github.com/sushreebarsa", "followers_url": "https://api.github.com/users/sushreebarsa/followers", "following_url": "https://api.github.com/users/sushreebarsa/following{/other_user}", "gists_url": "https://api.github.com/users/sushreebarsa/gists{/gist_id}", "starred_url": "https://api.github.com/users/sushreebarsa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sushreebarsa/subscriptions", "organizations_url": "https://api.github.com/users/sushreebarsa/orgs", "repos_url": "https://api.github.com/users/sushreebarsa/repos", "events_url": "https://api.github.com/users/sushreebarsa/events{/privacy}", "received_events_url": "https://api.github.com/users/sushreebarsa/received_events", "type": "User", "site_admin": false } ]
null
[ "FYI @cfRod @nSircombe ", "Fixed by https://github.com/tensorflow/tensorflow/commit/57203ff7024239fe6caaf9be54744f2c990a00ef", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61584\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61584\">No</a>\n", "This issue is likely to be due to missing include for \"string.h\". right?" ]
2023-08-15T09:33:59
2023-08-16T15:33:58
2023-08-16T07:17:00
CONTRIBUTOR
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source source ### TensorFlow version git HEAD ### Custom code No ### OS platform and distribution Ubuntu 20.04 ### Mobile device n/a ### Python version 3.9.16 ### Bazel version 6.1.0 ### GCC/compiler version 16.0.6 ### CUDA/cuDNN version n/a ### GPU model and memory n/a ### Current behavior? Build fails since commit https://github.com/tensorflow/tensorflow/commit/4993fb9fe4e4dbe26657b3bb88dab152ab397b8c ### Standalone code to reproduce the issue ```shell bazel build --config=mkl_aarch64_threadpool --copt=-flax-vector-conversions --test_env=TF_ENABLE_ONEDNN_OPTS=1 --test_env=TF2_BEHAVIOR=1 --define=tf_api_version=2 -- //tensorflow/tools/pip_package:build_pip_package ``` ### Relevant log output ```shell ERROR: /workspace/tensorflow/lite/kernels/internal/BUILD:448:11: Compiling tensorflow/lite/kernels/internal/optimized/4bit/neon_fully_connected.cc failed: (Exit 1): clang failed: error executing command (from target //tensorflow/lite/kernels/internal:optimized_4bit) (cd /home/andrew/src/tf_test/tensorflow-git/bazel-ci_build-cache/.cache/bazel/_bazel_andrew/eab0d61a99b6696edb3d2aff87b585e8/execroot/org_tensorflow && \ exec env - \ CACHEBUSTER=20220325 \ PATH=/home/andrew/src/tf_test/tensorflow-git/bazel-ci_build-cache/.cache/bazelisk/downloads/bazelbuild/bazel-6.1.0-linux-arm64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin \ PWD=/proc/self/cwd \ TF2_BEHAVIOR=1 \ /usr/lib/llvm-16/bin/clang -MD -MF bazel-out/aarch64-opt/bin/tensorflow/lite/kernels/internal/_objs/optimized_4bit/neon_fully_connected.pic.d '-frandom-seed=bazel-out/aarch64-opt/bin/tensorflow/lite/kernels/internal/_objs/optimized_4bit/neon_fully_connected.pic.o' -DFC_4BIT_NEON '-DBAZEL_CURRENT_REPOSITORY=""' -iquote . -iquote bazel-out/aarch64-opt/bin -iquote external/cpuinfo -iquote bazel-out/aarch64-opt/bin/external/cpuinfo -isystem external/cpuinfo/include -isystem bazel-out/aarch64-opt/bin/external/cpuinfo/include -isystem external/cpuinfo/src -isystem bazel-out/aarch64-opt/bin/external/cpuinfo/src -fmerge-all-constants -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -fPIC -U_FORTIFY_SOURCE '-D_FORTIFY_SOURCE=1' -fstack-protector -Wall -Wno-invalid-partial-specialization -fno-omit-frame-pointer -no-canonical-prefixes -DNDEBUG -g0 -O2 -ffunction-sections -fdata-sections -Wno-all -Wno-extra -Wno-deprecated -Wno-deprecated-declarations -Wno-ignored-attributes -Wno-array-bounds -Wunused-result '-Werror=unused-result' -Wswitch '-Werror=switch' '-Wno-error=unused-but-set-variable' -DAUTOLOAD_DYNAMIC_KERNELS -Wno-gnu-offsetof-extensions '-mtune=generic' '-march=armv8-a' -O3 -flax-vector-conversions '-std=c++17' -DFARMHASH_NO_CXX_STRING -Wno-sign-compare -O3 -fno-exceptions -O3 '--sysroot=/dt10' -c tensorflow/lite/kernels/internal/optimized/4bit/neon_fully_connected.cc -o bazel-out/aarch64-opt/bin/tensorflow/lite/kernels/internal/_objs/optimized_4bit/neon_fully_connected.pic.o) # Configuration: 70a2ceb8c9b79ab96bab8f0b73bbfb70969f7e2a66f605b1d1332a62f7eef342 # Execution platform: @local_execution_config_platform//:platform tensorflow/lite/kernels/internal/optimized/4bit/neon_fully_connected.cc:284:3: error: use of undeclared identifier 'memset' memset(*dest, static_cast<uint8_t>(119), sizeof(uint8_t) * size); ^ tensorflow/lite/kernels/internal/optimized/4bit/neon_fully_connected.cc:313:3: error: use of undeclared identifier 'memset' memset(data, 0, sizeof(int8_t) * size); ^ tensorflow/lite/kernels/internal/optimized/4bit/neon_fully_connected.cc:314:3: error: use of undeclared identifier 'memset' memset(input_offsets, 0, sizeof(int32_t) * layout_rows); ^ 3 errors generated. Target //tensorflow/tools/pip_package:build_pip_package failed to build INFO: Elapsed time: 23.741s, Critical Path: 7.00s INFO: 439 processes: 339 internal, 100 local. FAILED: Build did NOT complete successfully ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61584/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61584/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61583
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61583/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61583/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61583/events
https://github.com/tensorflow/tensorflow/pull/61583
1,850,956,838
PR_kwDOArmXAs5X8d8H
61,583
Remove tf_http_archive external Python deps
{ "login": "halseycamilla", "id": 111537937, "node_id": "U_kgDOBqXvEQ", "avatar_url": "https://avatars.githubusercontent.com/u/111537937?v=4", "gravatar_id": "", "url": "https://api.github.com/users/halseycamilla", "html_url": "https://github.com/halseycamilla", "followers_url": "https://api.github.com/users/halseycamilla/followers", "following_url": "https://api.github.com/users/halseycamilla/following{/other_user}", "gists_url": "https://api.github.com/users/halseycamilla/gists{/gist_id}", "starred_url": "https://api.github.com/users/halseycamilla/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/halseycamilla/subscriptions", "organizations_url": "https://api.github.com/users/halseycamilla/orgs", "repos_url": "https://api.github.com/users/halseycamilla/repos", "events_url": "https://api.github.com/users/halseycamilla/events{/privacy}", "received_events_url": "https://api.github.com/users/halseycamilla/received_events", "type": "User", "site_admin": false }
[ { "id": 474725938, "node_id": "MDU6TGFiZWw0NzQ3MjU5Mzg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stale", "name": "stale", "color": "d4c5f9", "default": false, "description": "This label marks the issue/pr stale - to be closed automatically if no activity" }, { "id": 1169365682, "node_id": "MDU6TGFiZWwxMTY5MzY1Njgy", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:L", "name": "size:L", "color": "adafea", "default": false, "description": "CL Change Size: Large" } ]
closed
false
{ "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false }
[ { "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false } ]
null
[ "Hi @halseycamilla Can you please resolve conflicts? Thank you!", "> Hi @halseycamilla Can you please resolve conflicts? Thank you!\r\n\r\nresolved!", "ROCm is failing but it seems as though it currently isn't in the TF .bazelrc file anymore so that should be expected. There is a separate PR rn in TF https://github.com/tensorflow/tensorflow/pull/61527 that appears to be trying to add it back.", "Hi @halseycamilla Can you please resolve conflicts? Thank you!", "This PR is stale because it has been open for 14 days with no activity. It will be closed if no further activity occurs. Thank you.", "This PR was closed because it has been inactive for 14 days since being marked as stale. Please reopen if you'd like to work on this further." ]
2023-08-15T06:15:51
2023-09-22T01:47:33
2023-09-22T01:47:28
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61583", "html_url": "https://github.com/tensorflow/tensorflow/pull/61583", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61583.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61583.patch", "merged_at": null }
Migrate TF Python deps from being defined as tf_http_archives in workspace2.bzl to being in requirements.in. This consolidates where Python dependencies are defined, allows them to be more easily updated and also allows any version updates to be easily transferred to requirement.txt locked versions using the Hermetic Python requirements updater. Remove any downstream references to the deleted tf_http_archive repositories and if relevant replace them with @pypi_name//:pkg.
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61583/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61583/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61582
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61582/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61582/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61582/events
https://github.com/tensorflow/tensorflow/pull/61582
1,850,940,958
PR_kwDOArmXAs5X8ala
61,582
Update Abseil to fix MSVC compile error
{ "login": "johnnkp", "id": 22496821, "node_id": "MDQ6VXNlcjIyNDk2ODIx", "avatar_url": "https://avatars.githubusercontent.com/u/22496821?v=4", "gravatar_id": "", "url": "https://api.github.com/users/johnnkp", "html_url": "https://github.com/johnnkp", "followers_url": "https://api.github.com/users/johnnkp/followers", "following_url": "https://api.github.com/users/johnnkp/following{/other_user}", "gists_url": "https://api.github.com/users/johnnkp/gists{/gist_id}", "starred_url": "https://api.github.com/users/johnnkp/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/johnnkp/subscriptions", "organizations_url": "https://api.github.com/users/johnnkp/orgs", "repos_url": "https://api.github.com/users/johnnkp/repos", "events_url": "https://api.github.com/users/johnnkp/events{/privacy}", "received_events_url": "https://api.github.com/users/johnnkp/received_events", "type": "User", "site_admin": false }
[ { "id": 1169364259, "node_id": "MDU6TGFiZWwxMTY5MzY0MjU5", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:XS", "name": "size:XS", "color": "adafea", "default": false, "description": "CL Change Size: Extra Small" } ]
closed
false
{ "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false }
[ { "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false } ]
null
[ "There are no new commits to review. The blocker here is an internal breakage.", "If there still have Abseil-related breakage, that means someone needs to check which corresponding code is required to change.", "This was for @gbaned who keeps asking me to review the PR", "> This was for @gbaned who keeps asking me to review the PR\r\n\r\nThank you very much @mihaimaruseac ", "Can you also update the `lts_20230125` symbols in https://github.com/tensorflow/tensorflow/blob/master/tensorflow/tools/def_file_filter/def_file_filter.py.tpl ? Without that it doesn't link.", "> Import didn't affect any internal file\r\n\r\nThis looks strange. Might be an infra issue or the files has moved?" ]
2023-08-15T05:55:54
2023-09-14T07:33:07
2023-09-14T07:33:03
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61582", "html_url": "https://github.com/tensorflow/tensorflow/pull/61582", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61582.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61582.patch", "merged_at": null }
Currently, MSVC address sanitizer may not be enabled during compilation and cause compilation error. This PR updates Abseil to include the fix of https://github.com/tensorflow/tensorflow/issues/61435.
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61582/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61582/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61581
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61581/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61581/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61581/events
https://github.com/tensorflow/tensorflow/pull/61581
1,850,831,717
PR_kwDOArmXAs5X8Dhk
61,581
Add RISC-V platform support with cmake in TFLite
{ "login": "bhbruce", "id": 55973122, "node_id": "MDQ6VXNlcjU1OTczMTIy", "avatar_url": "https://avatars.githubusercontent.com/u/55973122?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bhbruce", "html_url": "https://github.com/bhbruce", "followers_url": "https://api.github.com/users/bhbruce/followers", "following_url": "https://api.github.com/users/bhbruce/following{/other_user}", "gists_url": "https://api.github.com/users/bhbruce/gists{/gist_id}", "starred_url": "https://api.github.com/users/bhbruce/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bhbruce/subscriptions", "organizations_url": "https://api.github.com/users/bhbruce/orgs", "repos_url": "https://api.github.com/users/bhbruce/repos", "events_url": "https://api.github.com/users/bhbruce/events{/privacy}", "received_events_url": "https://api.github.com/users/bhbruce/received_events", "type": "User", "site_admin": false }
[ { "id": 390482148, "node_id": "MDU6TGFiZWwzOTA0ODIxNDg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/awaiting%20review", "name": "awaiting review", "color": "bc3869", "default": false, "description": "Pull request awaiting review" }, { "id": 750616506, "node_id": "MDU6TGFiZWw3NTA2MTY1MDY=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:lite", "name": "comp:lite", "color": "0052cc", "default": false, "description": "TF Lite related issues" }, { "id": 1169365494, "node_id": "MDU6TGFiZWwxMTY5MzY1NDk0", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:M", "name": "size:M", "color": "adafea", "default": false, "description": "CL Change Size: Medium" } ]
open
false
{ "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false }
[ { "login": "gbaned", "id": 48215717, "node_id": "MDQ6VXNlcjQ4MjE1NzE3", "avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gbaned", "html_url": "https://github.com/gbaned", "followers_url": "https://api.github.com/users/gbaned/followers", "following_url": "https://api.github.com/users/gbaned/following{/other_user}", "gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}", "starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gbaned/subscriptions", "organizations_url": "https://api.github.com/users/gbaned/orgs", "repos_url": "https://api.github.com/users/gbaned/repos", "events_url": "https://api.github.com/users/gbaned/events{/privacy}", "received_events_url": "https://api.github.com/users/gbaned/received_events", "type": "User", "site_admin": false } ]
null
[ "Hi @Ferev Can you please review this PR ? Thank you!", "Hi @Ferev Can you please review this PR ? Thank you!", "Hi @Ferev Can you please review this PR ? Thank you!", "Hi @Ferev Can you please review this PR ? Thank you!", "Hi @Ferev Can you please review this PR ? Thank you!", "Hi @rascani Can you please review this PR ? Thank you!", "Hi @rascani Can you please review this PR ? Thank you!", "Hi @rascani Can you please review this PR ? Thank you!", "Hi @rascani Can you please review this PR ? Thank you!" ]
2023-08-15T02:52:05
2024-06-07T16:11:22
null
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61581", "html_url": "https://github.com/tensorflow/tensorflow/pull/61581", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61581.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61581.patch", "merged_at": null }
This PR is based on @JerryShih's PR and @terryheo's last comment on https://github.com/tensorflow/tensorflow/pull/48099#issuecomment-809005824. We add the document `tensorflow/lite/g3doc/guide/build_cmake_riscv.md` to demonstrate: - how to download prebuilt toolchain - how to build for risc-v target
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61581/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61581/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61580
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61580/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61580/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61580/events
https://github.com/tensorflow/tensorflow/issues/61580
1,850,802,850
I_kwDOArmXAs5uUQKi
61,580
Crash when running tensorflow.python.ops.nn_ops.fractional_max_pool
{ "login": "dmc1778", "id": 17060581, "node_id": "MDQ6VXNlcjE3MDYwNTgx", "avatar_url": "https://avatars.githubusercontent.com/u/17060581?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmc1778", "html_url": "https://github.com/dmc1778", "followers_url": "https://api.github.com/users/dmc1778/followers", "following_url": "https://api.github.com/users/dmc1778/following{/other_user}", "gists_url": "https://api.github.com/users/dmc1778/gists{/gist_id}", "starred_url": "https://api.github.com/users/dmc1778/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmc1778/subscriptions", "organizations_url": "https://api.github.com/users/dmc1778/orgs", "repos_url": "https://api.github.com/users/dmc1778/repos", "events_url": "https://api.github.com/users/dmc1778/events{/privacy}", "received_events_url": "https://api.github.com/users/dmc1778/received_events", "type": "User", "site_admin": false }
[ { "id": 386191887, "node_id": "MDU6TGFiZWwzODYxOTE4ODc=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response", "name": "stat:awaiting response", "color": "f4b400", "default": false, "description": "Status - Awaiting response from author" }, { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 474725938, "node_id": "MDU6TGFiZWw0NzQ3MjU5Mzg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stale", "name": "stale", "color": "d4c5f9", "default": false, "description": "This label marks the issue/pr stale - to be closed automatically if no activity" }, { "id": 1097547147, "node_id": "MDU6TGFiZWwxMDk3NTQ3MTQ3", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:ops", "name": "comp:ops", "color": "0052cc", "default": false, "description": "OPs related issues" }, { "id": 4511033337, "node_id": "LA_kwDOArmXAs8AAAABDODn-Q", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.10", "name": "TF 2.10", "color": "C15088", "default": false, "description": "" } ]
closed
false
{ "login": "Varsha-anjanappa", "id": 137163810, "node_id": "U_kgDOCCz0Ig", "avatar_url": "https://avatars.githubusercontent.com/u/137163810?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Varsha-anjanappa", "html_url": "https://github.com/Varsha-anjanappa", "followers_url": "https://api.github.com/users/Varsha-anjanappa/followers", "following_url": "https://api.github.com/users/Varsha-anjanappa/following{/other_user}", "gists_url": "https://api.github.com/users/Varsha-anjanappa/gists{/gist_id}", "starred_url": "https://api.github.com/users/Varsha-anjanappa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Varsha-anjanappa/subscriptions", "organizations_url": "https://api.github.com/users/Varsha-anjanappa/orgs", "repos_url": "https://api.github.com/users/Varsha-anjanappa/repos", "events_url": "https://api.github.com/users/Varsha-anjanappa/events{/privacy}", "received_events_url": "https://api.github.com/users/Varsha-anjanappa/received_events", "type": "User", "site_admin": false }
[ { "login": "Varsha-anjanappa", "id": 137163810, "node_id": "U_kgDOCCz0Ig", "avatar_url": "https://avatars.githubusercontent.com/u/137163810?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Varsha-anjanappa", "html_url": "https://github.com/Varsha-anjanappa", "followers_url": "https://api.github.com/users/Varsha-anjanappa/followers", "following_url": "https://api.github.com/users/Varsha-anjanappa/following{/other_user}", "gists_url": "https://api.github.com/users/Varsha-anjanappa/gists{/gist_id}", "starred_url": "https://api.github.com/users/Varsha-anjanappa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Varsha-anjanappa/subscriptions", "organizations_url": "https://api.github.com/users/Varsha-anjanappa/orgs", "repos_url": "https://api.github.com/users/Varsha-anjanappa/repos", "events_url": "https://api.github.com/users/Varsha-anjanappa/events{/privacy}", "received_events_url": "https://api.github.com/users/Varsha-anjanappa/received_events", "type": "User", "site_admin": false } ]
null
[ "Hi @dmc1778 ,\r\n\r\nI have tested the code with tf version 2.12 and tf-nightly and its working fine by raising exception.Please refer attached [gist](https://colab.sandbox.google.com/gist/Varsha-anjanappa/a41864da7612cae6ca710339989dc8b4/61580.ipynb).\r\n\r\nPlease report the security related issues through proper channel as mentioned in [SECURITY.md](https://github.com/tensorflow/tensorflow/blob/master/SECURITY.md). Please check the [instructions](https://github.com/tensorflow/tensorflow/blob/master/README.md#patching-guidelines) for patching older versions of tensorflow at individuals repo.\r\n\r\nThank you.", "This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.", "This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61580\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61580\">No</a>\n" ]
2023-08-15T02:05:49
2023-08-31T01:47:25
2023-08-31T01:47:23
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source binary ### TensorFlow version 2.10.0 ### Custom code Yes ### OS platform and distribution 22.04 ### Mobile device _No response_ ### Python version 3.9 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version nvidia-cudnn-cu11==8.6.0.163, cudatoolkit=11.8.0 ### GPU model and memory _No response_ ### Current behavior? Due to feeding Large integer value ### Standalone code to reproduce the issue ```shell import tensorflow as tf import os import numpy as np from tensorflow.python.ops import nn_ops try: arg_0_tensor = tf.random.uniform([5, 20, 20, 3], dtype=tf.float64) arg_0 = tf.identity(arg_0_tensor) arg_1_0 = 1 arg_1_1 = -13.0 arg_1_2 = 1.5 arg_1_3 = 1 arg_1 = [arg_1_0,arg_1_1,arg_1_2,arg_1_3,] seed = 125091515651 seed2 = 1 deterministic = True out = nn_ops.fractional_max_pool(arg_0,arg_1,seed=seed,seed2=seed2,deterministic=deterministic,) except Exception as e: print("Error:"+str(e)) ``` ``` ### Relevant log output ```shell 2023-08-14 22:05:06.501205: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly. 2023-08-14 22:05:07.064824: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 22:05:07.082027: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 22:05:07.082168: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 22:05:07.082457: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX2 FMA To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags. 2023-08-14 22:05:07.083701: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 22:05:07.083818: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 22:05:07.083916: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 22:05:07.144960: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 22:05:07.145099: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 22:05:07.145198: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 22:05:07.145279: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1616] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 4205 MB memory: -> device: 0, name: NVIDIA GeForce GTX 1660 Ti, pci bus id: 0000:01:00.0, compute capability: 7.5 WARNING:tensorflow:From /home/nimashiri/anaconda3/envs/fuzzer_tf_2.10.0/lib/python3.9/site-packages/tensorflow/python/util/dispatch.py:1176: fractional_max_pool (from tensorflow.python.ops.nn_ops) is deprecated and will be removed in a future version. Instructions for updating: `seed2` and `deterministic` args are deprecated. Use fractional_max_pool_v2. Segmentation fault ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61580/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61580/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61579
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61579/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61579/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61579/events
https://github.com/tensorflow/tensorflow/issues/61579
1,850,801,477
I_kwDOArmXAs5uUP1F
61,579
Abort when running tensorflow.python.ops.nn_ops.pool
{ "login": "dmc1778", "id": 17060581, "node_id": "MDQ6VXNlcjE3MDYwNTgx", "avatar_url": "https://avatars.githubusercontent.com/u/17060581?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmc1778", "html_url": "https://github.com/dmc1778", "followers_url": "https://api.github.com/users/dmc1778/followers", "following_url": "https://api.github.com/users/dmc1778/following{/other_user}", "gists_url": "https://api.github.com/users/dmc1778/gists{/gist_id}", "starred_url": "https://api.github.com/users/dmc1778/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmc1778/subscriptions", "organizations_url": "https://api.github.com/users/dmc1778/orgs", "repos_url": "https://api.github.com/users/dmc1778/repos", "events_url": "https://api.github.com/users/dmc1778/events{/privacy}", "received_events_url": "https://api.github.com/users/dmc1778/received_events", "type": "User", "site_admin": false }
[ { "id": 386191887, "node_id": "MDU6TGFiZWwzODYxOTE4ODc=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response", "name": "stat:awaiting response", "color": "f4b400", "default": false, "description": "Status - Awaiting response from author" }, { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 474725938, "node_id": "MDU6TGFiZWw0NzQ3MjU5Mzg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stale", "name": "stale", "color": "d4c5f9", "default": false, "description": "This label marks the issue/pr stale - to be closed automatically if no activity" }, { "id": 1097547147, "node_id": "MDU6TGFiZWwxMDk3NTQ3MTQ3", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:ops", "name": "comp:ops", "color": "0052cc", "default": false, "description": "OPs related issues" }, { "id": 4511033337, "node_id": "LA_kwDOArmXAs8AAAABDODn-Q", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.10", "name": "TF 2.10", "color": "C15088", "default": false, "description": "" } ]
closed
false
{ "login": "tilakrayal", "id": 81610181, "node_id": "MDQ6VXNlcjgxNjEwMTgx", "avatar_url": "https://avatars.githubusercontent.com/u/81610181?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tilakrayal", "html_url": "https://github.com/tilakrayal", "followers_url": "https://api.github.com/users/tilakrayal/followers", "following_url": "https://api.github.com/users/tilakrayal/following{/other_user}", "gists_url": "https://api.github.com/users/tilakrayal/gists{/gist_id}", "starred_url": "https://api.github.com/users/tilakrayal/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tilakrayal/subscriptions", "organizations_url": "https://api.github.com/users/tilakrayal/orgs", "repos_url": "https://api.github.com/users/tilakrayal/repos", "events_url": "https://api.github.com/users/tilakrayal/events{/privacy}", "received_events_url": "https://api.github.com/users/tilakrayal/received_events", "type": "User", "site_admin": false }
[ { "login": "tilakrayal", "id": 81610181, "node_id": "MDQ6VXNlcjgxNjEwMTgx", "avatar_url": "https://avatars.githubusercontent.com/u/81610181?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tilakrayal", "html_url": "https://github.com/tilakrayal", "followers_url": "https://api.github.com/users/tilakrayal/followers", "following_url": "https://api.github.com/users/tilakrayal/following{/other_user}", "gists_url": "https://api.github.com/users/tilakrayal/gists{/gist_id}", "starred_url": "https://api.github.com/users/tilakrayal/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tilakrayal/subscriptions", "organizations_url": "https://api.github.com/users/tilakrayal/orgs", "repos_url": "https://api.github.com/users/tilakrayal/repos", "events_url": "https://api.github.com/users/tilakrayal/events{/privacy}", "received_events_url": "https://api.github.com/users/tilakrayal/received_events", "type": "User", "site_admin": false } ]
null
[ "@dmc1778,\r\n\r\nI was able to reproduce the issue on colab using TF v2.12, [2.13](https://colab.research.google.com/gist/tilakrayal/cea566242dc6e54e16a8b96961563219/untitled1321.ipynb), tf-nightly. Please find the attached [gist](https://colab.research.google.com/gist/tilakrayal/7fa1d3c4dd277a3b435064430d5fbe7e/untitled1320.ipynb). \r\n\r\nSince Segmentation faults can be considered as potential security vulnerabilities please read [SECURITY.md](https://github.com/tensorflow/tensorflow/blob/master/SECURITY.md) and report them through proper channel as mentioned in SECURITY.md. If you want to stick to a specific version then please follow [this](https://github.com/tensorflow/tensorflow/blob/master/README.md#patching-guidelines) and create your own patch to resolve such issues.\r\n\r\nThank you!\r\n\r\n", "This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.", "This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61579\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61579\">No</a>\n", "@tilakrayal \r\nI am not sure if the issue is reproducible is it Ok to close it here without confirming whether its resolved or ignored. Whether can you confirm whether this needs to be fixed or not ? Can we expect this fixed in up-coming versions?" ]
2023-08-15T02:03:40
2023-09-20T18:18:32
2023-09-01T01:48:30
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source binary ### TensorFlow version 2.13.0 ### Custom code Yes ### OS platform and distribution 22.04 ### Mobile device _No response_ ### Python version 3.9 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version nvidia-cudnn-cu11==8.6.0.163, cudatoolkit=11.8.0 ### GPU model and memory _No response_ ### Current behavior? Due to Large list element ### Standalone code to reproduce the issue ```shell import tensorflow as tf import os import numpy as np from tensorflow.python.ops import nn_ops try: input_tensor = tf.constant(-8968073515812833920, shape=[2, 9, 10, 2], dtype=tf.float32,) input = tf.identity(input_tensor) window_shape_0 = 1e+38 window_shape_1 = 536870912 window_shape = [window_shape_0,window_shape_1,] padding = "SAME" pooling_type = "MAX" dilation_rate_0 = 1 dilation_rate_1 = 1 dilation_rate = [dilation_rate_0,dilation_rate_1,] strides_0 = 1 strides_1 = 1 strides = [strides_0,strides_1,] out = nn_ops.pool(input=input,window_shape=window_shape,padding=padding,pooling_type=pooling_type,dilation_rate=dilation_rate,strides=strides,) except Exception as e: print("Error:"+str(e)) ``` ``` ### Relevant log output ```shell 2023-08-14 22:03:21.255791: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 22:03:21.273228: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 22:03:21.273370: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 22:03:21.273661: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX2 FMA To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags. 2023-08-14 22:03:21.274910: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 22:03:21.275021: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 22:03:21.275124: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 22:03:21.328191: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 22:03:21.328333: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 22:03:21.328435: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 22:03:21.328519: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1616] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 4361 MB memory: -> device: 0, name: NVIDIA GeForce GTX 1660 Ti, pci bus id: 0000:01:00.0, compute capability: 7.5 2023-08-14 22:03:21.392635: I tensorflow/stream_executor/cuda/cuda_dnn.cc:384] Loaded cuDNN version 8600 2023-08-14 22:03:21.392690: F tensorflow/stream_executor/cuda/cuda_dnn.cc:886] Check failed: cudnnSetPoolingNdDescriptor( handle_.get(), (pooling_descriptor.mode() == dnn::PoolingMode::kMaximum ? cudnn_max_pooling_mode : CUDNN_POOLING_AVERAGE_COUNT_EXCLUDE_PADDING), propagate_nans ? CUDNN_PROPAGATE_NAN : CUDNN_NOT_PROPAGATE_NAN, nd, shape.data(), padding.data(), strides.data()) == CUDNN_STATUS_SUCCESS (3 vs. 0) Aborted ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61579/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61579/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61578
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61578/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61578/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61578/events
https://github.com/tensorflow/tensorflow/issues/61578
1,850,800,256
I_kwDOArmXAs5uUPiA
61,578
Abort when running tensorflow.python.ops.nn_ops.max_pool
{ "login": "dmc1778", "id": 17060581, "node_id": "MDQ6VXNlcjE3MDYwNTgx", "avatar_url": "https://avatars.githubusercontent.com/u/17060581?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmc1778", "html_url": "https://github.com/dmc1778", "followers_url": "https://api.github.com/users/dmc1778/followers", "following_url": "https://api.github.com/users/dmc1778/following{/other_user}", "gists_url": "https://api.github.com/users/dmc1778/gists{/gist_id}", "starred_url": "https://api.github.com/users/dmc1778/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmc1778/subscriptions", "organizations_url": "https://api.github.com/users/dmc1778/orgs", "repos_url": "https://api.github.com/users/dmc1778/repos", "events_url": "https://api.github.com/users/dmc1778/events{/privacy}", "received_events_url": "https://api.github.com/users/dmc1778/received_events", "type": "User", "site_admin": false }
[ { "id": 404586594, "node_id": "MDU6TGFiZWw0MDQ1ODY1OTQ=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20tensorflower", "name": "stat:awaiting tensorflower", "color": "f4b400", "default": false, "description": "Status - Awaiting response from tensorflower" }, { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 1097547147, "node_id": "MDU6TGFiZWwxMDk3NTQ3MTQ3", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:ops", "name": "comp:ops", "color": "0052cc", "default": false, "description": "OPs related issues" }, { "id": 2046763290, "node_id": "MDU6TGFiZWwyMDQ2NzYzMjkw", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/Fixed%20in%20Nightly", "name": "Fixed in Nightly", "color": "5ecc37", "default": false, "description": "Issues that are resolved in nightly version" }, { "id": 5508003926, "node_id": "LA_kwDOArmXAs8AAAABSE14Vg", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13", "name": "TF 2.13", "color": "B13ACB", "default": false, "description": "For issues related to Tensorflow 2.13" } ]
closed
false
{ "login": "SuryanarayanaY", "id": 116063290, "node_id": "U_kgDOBur8Og", "avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SuryanarayanaY", "html_url": "https://github.com/SuryanarayanaY", "followers_url": "https://api.github.com/users/SuryanarayanaY/followers", "following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}", "gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}", "starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions", "organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs", "repos_url": "https://api.github.com/users/SuryanarayanaY/repos", "events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}", "received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events", "type": "User", "site_admin": false }
[ { "login": "SuryanarayanaY", "id": 116063290, "node_id": "U_kgDOBur8Og", "avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SuryanarayanaY", "html_url": "https://github.com/SuryanarayanaY", "followers_url": "https://api.github.com/users/SuryanarayanaY/followers", "following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}", "gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}", "starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions", "organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs", "repos_url": "https://api.github.com/users/SuryanarayanaY/repos", "events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}", "received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events", "type": "User", "site_admin": false } ]
null
[ "@dmc1778 ,\r\n\r\nI have replicated the reported behaviour with tf-nightly and attached logs below.\r\n\r\n```\r\n(tf2.13) suryanarayanay@surya-ubuntu20:~$ python 61578.py \r\n2023-08-16 04:45:37.420609: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:9498] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered\r\n2023-08-16 04:45:37.420786: E tensorflow/compiler/xla/stream_executor/cuda/cuda_fft.cc:609] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered\r\n2023-08-16 04:45:37.425599: E tensorflow/compiler/xla/stream_executor/cuda/cuda_blas.cc:1518] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered\r\n2023-08-16 04:45:37.765288: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.\r\nTo enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.\r\n2023-08-16 04:45:39.479782: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT\r\nWARNING:tensorflow:From /home/suryanarayanay/miniconda3/envs/tf2.13/lib/python3.11/site-packages/tensorflow/python/ops/distributions/distribution.py:259: ReparameterizationType.__init__ (from tensorflow.python.ops.distributions.distribution) is deprecated and will be removed after 2019-01-01.\r\nInstructions for updating:\r\nThe TensorFlow Distributions library has moved to TensorFlow Probability (https://github.com/tensorflow/probability). You should update all references to use `tfp.distributions` instead of `tf.distributions`.\r\nWARNING:tensorflow:From /home/suryanarayanay/miniconda3/envs/tf2.13/lib/python3.11/site-packages/tensorflow/python/ops/distributions/bernoulli.py:165: RegisterKL.__init__ (from tensorflow.python.ops.distributions.kullback_leibler) is deprecated and will be removed after 2019-01-01.\r\nInstructions for updating:\r\nThe TensorFlow Distributions library has moved to TensorFlow Probability (https://github.com/tensorflow/probability). You should update all references to use `tfp.distributions` instead of `tf.distributions`.\r\n2.15.0-dev20230813\r\n2023-08-16 04:45:49.879774: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-16 04:45:49.881895: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-16 04:45:49.884000: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-16 04:45:49.886245: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-16 04:45:50.267787: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-16 04:45:50.270046: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-16 04:45:50.272130: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-16 04:45:50.274200: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-16 04:45:50.276234: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-16 04:45:50.278245: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-16 04:45:50.280214: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-16 04:45:50.282147: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-16 04:45:51.526972: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-16 04:45:51.529321: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-16 04:45:51.531250: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-16 04:45:51.533277: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-16 04:45:51.535263: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-16 04:45:51.537244: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-16 04:45:51.538944: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-16 04:45:51.540842: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-16 04:45:51.542740: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-16 04:45:51.544756: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-16 04:45:51.546454: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-16 04:45:51.548386: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-16 04:45:54.970594: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-16 04:45:54.972877: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-16 04:45:54.975063: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-16 04:45:54.977261: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-16 04:45:54.979343: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-16 04:45:54.981267: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-16 04:45:54.983170: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-16 04:45:54.985099: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-16 04:45:54.986988: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-16 04:45:54.988979: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1898] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 13621 MB memory: -> device: 0, name: Tesla T4, pci bus id: 0000:00:04.0, compute capability: 7.5\r\n2023-08-16 04:45:54.989351: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-16 04:45:54.991305: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1898] Created device /job:localhost/replica:0/task:0/device:GPU:1 with 13621 MB memory: -> device: 1, name: Tesla T4, pci bus id: 0000:00:05.0, compute capability: 7.5\r\n2023-08-16 04:45:54.991664: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-16 04:45:54.993597: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1898] Created device /job:localhost/replica:0/task:0/device:GPU:2 with 13621 MB memory: -> device: 2, name: Tesla T4, pci bus id: 0000:00:06.0, compute capability: 7.5\r\n2023-08-16 04:45:54.994013: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-16 04:45:54.995832: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1898] Created device /job:localhost/replica:0/task:0/device:GPU:3 with 13621 MB memory: -> device: 3, name: Tesla T4, pci bus id: 0000:00:07.0, compute capability: 7.5\r\n2023-08-16 04:45:58.302475: I tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:442] Loaded cuDNN version 8600\r\n2023-08-16 04:45:58.307942: F tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:1019] Check failed: cudnnSetPoolingNdDescriptor( handle_.get(), (pooling_descriptor.mode() == dnn::PoolingMode::kMaximum ? cudnn_max_pooling_mode : CUDNN_POOLING_AVERAGE_COUNT_EXCLUDE_PADDING), propagate_nans ? CUDNN_PROPAGATE_NAN : CUDNN_NOT_PROPAGATE_NAN, nd, shape.data(), padding.data(), strides.data()) == CUDNN_STATUS_SUCCESS (3 vs. 0)\r\nAborted (core dumped)\r\n(tf2.13) suryanarayanay@surya-ubuntu20:~$ \r\n```\r\n\r\nPlease report this issue through proper channel as mentioned in [SECURITY.md](https://github.com/tensorflow/tensorflow/blob/master/SECURITY.md).\r\n\r\nThanks!", "Please always check with the latest version.\r\n\r\nPlease always report security issues using the proper channels.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61578\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61578\">No</a>\n", "The issue resolved. Adding [gist](https://colab.research.google.com/gist/SuryanarayanaY/339d0916650fbe5bf02fc51481983255/61578_nightly.ipynb) with tf-nightly." ]
2023-08-15T02:01:35
2024-02-27T16:39:41
2024-02-23T00:50:19
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source binary ### TensorFlow version 2.13.0 ### Custom code Yes ### OS platform and distribution 22.04 ### Mobile device _No response_ ### Python version 3.9 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version nvidia-cudnn-cu11==8.6.0.163, cudatoolkit=11.8.0 ### GPU model and memory _No response_ ### Current behavior? Due to an invalid list element ### Standalone code to reproduce the issue ```shell import tensorflow as tf import os import numpy as np from tensorflow.python.ops import nn_ops try: arg_0_tensor = tf.random.uniform([1, 6, 8, 1], dtype=tf.float32) arg_0 = tf.identity(arg_0_tensor) arg_1_0 = 1 arg_1_1 = -54.0 arg_1_2 = 2 arg_1_3 = True arg_1 = [arg_1_0,arg_1_1,arg_1_2,arg_1_3,] arg_2_0 = 1 arg_2_1 = 1 arg_2_2 = 1 arg_2_3 = 1 arg_2 = [arg_2_0,arg_2_1,arg_2_2,arg_2_3,] arg_3 = "VALID" out = nn_ops.max_pool(arg_0,arg_1,arg_2,arg_3,) except Exception as e: print("Error:"+str(e)) ``` ``` ### Relevant log output ```shell 2023-08-14 22:00:35.715971: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly. 2023-08-14 22:00:36.276384: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 22:00:36.293827: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 22:00:36.293973: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 22:00:36.294262: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX2 FMA To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags. 2023-08-14 22:00:36.295471: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 22:00:36.295585: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 22:00:36.295682: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 22:00:36.356219: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 22:00:36.356397: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 22:00:36.356535: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 22:00:36.356654: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1616] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 4375 MB memory: -> device: 0, name: NVIDIA GeForce GTX 1660 Ti, pci bus id: 0000:01:00.0, compute capability: 7.5 2023-08-14 22:00:36.419723: I tensorflow/stream_executor/cuda/cuda_dnn.cc:384] Loaded cuDNN version 8600 2023-08-14 22:00:36.419777: F tensorflow/stream_executor/cuda/cuda_dnn.cc:886] Check failed: cudnnSetPoolingNdDescriptor( handle_.get(), (pooling_descriptor.mode() == dnn::PoolingMode::kMaximum ? cudnn_max_pooling_mode : CUDNN_POOLING_AVERAGE_COUNT_EXCLUDE_PADDING), propagate_nans ? CUDNN_PROPAGATE_NAN : CUDNN_NOT_PROPAGATE_NAN, nd, shape.data(), padding.data(), strides.data()) == CUDNN_STATUS_SUCCESS (3 vs. 0) ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61578/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61578/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61577
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61577/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61577/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61577/events
https://github.com/tensorflow/tensorflow/issues/61577
1,850,796,277
I_kwDOArmXAs5uUOj1
61,577
Crash when running tensorflow.python.eager.context.check_alive
{ "login": "dmc1778", "id": 17060581, "node_id": "MDQ6VXNlcjE3MDYwNTgx", "avatar_url": "https://avatars.githubusercontent.com/u/17060581?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmc1778", "html_url": "https://github.com/dmc1778", "followers_url": "https://api.github.com/users/dmc1778/followers", "following_url": "https://api.github.com/users/dmc1778/following{/other_user}", "gists_url": "https://api.github.com/users/dmc1778/gists{/gist_id}", "starred_url": "https://api.github.com/users/dmc1778/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmc1778/subscriptions", "organizations_url": "https://api.github.com/users/dmc1778/orgs", "repos_url": "https://api.github.com/users/dmc1778/repos", "events_url": "https://api.github.com/users/dmc1778/events{/privacy}", "received_events_url": "https://api.github.com/users/dmc1778/received_events", "type": "User", "site_admin": false }
[ { "id": 386191887, "node_id": "MDU6TGFiZWwzODYxOTE4ODc=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response", "name": "stat:awaiting response", "color": "f4b400", "default": false, "description": "Status - Awaiting response from author" }, { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 474725938, "node_id": "MDU6TGFiZWw0NzQ3MjU5Mzg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stale", "name": "stale", "color": "d4c5f9", "default": false, "description": "This label marks the issue/pr stale - to be closed automatically if no activity" }, { "id": 1097547147, "node_id": "MDU6TGFiZWwxMDk3NTQ3MTQ3", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:ops", "name": "comp:ops", "color": "0052cc", "default": false, "description": "OPs related issues" }, { "id": 4511033337, "node_id": "LA_kwDOArmXAs8AAAABDODn-Q", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.10", "name": "TF 2.10", "color": "C15088", "default": false, "description": "" } ]
closed
false
{ "login": "sushreebarsa", "id": 84765720, "node_id": "MDQ6VXNlcjg0NzY1NzIw", "avatar_url": "https://avatars.githubusercontent.com/u/84765720?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sushreebarsa", "html_url": "https://github.com/sushreebarsa", "followers_url": "https://api.github.com/users/sushreebarsa/followers", "following_url": "https://api.github.com/users/sushreebarsa/following{/other_user}", "gists_url": "https://api.github.com/users/sushreebarsa/gists{/gist_id}", "starred_url": "https://api.github.com/users/sushreebarsa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sushreebarsa/subscriptions", "organizations_url": "https://api.github.com/users/sushreebarsa/orgs", "repos_url": "https://api.github.com/users/sushreebarsa/repos", "events_url": "https://api.github.com/users/sushreebarsa/events{/privacy}", "received_events_url": "https://api.github.com/users/sushreebarsa/received_events", "type": "User", "site_admin": false }
[ { "login": "sushreebarsa", "id": 84765720, "node_id": "MDQ6VXNlcjg0NzY1NzIw", "avatar_url": "https://avatars.githubusercontent.com/u/84765720?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sushreebarsa", "html_url": "https://github.com/sushreebarsa", "followers_url": "https://api.github.com/users/sushreebarsa/followers", "following_url": "https://api.github.com/users/sushreebarsa/following{/other_user}", "gists_url": "https://api.github.com/users/sushreebarsa/gists{/gist_id}", "starred_url": "https://api.github.com/users/sushreebarsa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sushreebarsa/subscriptions", "organizations_url": "https://api.github.com/users/sushreebarsa/orgs", "repos_url": "https://api.github.com/users/sushreebarsa/repos", "events_url": "https://api.github.com/users/sushreebarsa/events{/privacy}", "received_events_url": "https://api.github.com/users/sushreebarsa/received_events", "type": "User", "site_admin": false } ]
null
[ "@dmc1778 I was able to reproduce the issue on colab using TF v2.11, 2.13, tf-nightly. Please find the attached [gist](https://colab.research.google.com/gist/sushreebarsa/310cc763b05bf61db3b0d68b3ef35649/61577.ipynb). \r\nSince Segmentation faults can be considered as potential security vulnerabilities please read [SECURITY.md](https://github.com/tensorflow/tensorflow/blob/master/SECURITY.md) and report them through proper channel as mentioned in SECURITY.md. If you want to stick to a specific version then please follow [this](https://github.com/tensorflow/tensorflow/blob/master/README.md#patching-guidelines) and create your own patch to resolve such issues.", "This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.", "This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61577\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61577\">No</a>\n" ]
2023-08-15T01:55:05
2023-09-01T01:48:35
2023-09-01T01:48:31
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source binary ### TensorFlow version 2.10.0 ### Custom code Yes ### OS platform and distribution 22.04 ### Mobile device _No response_ ### Python version 3.9 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version nvidia-cudnn-cu11==8.6.0.163, cudatoolkit=11.8.0 ### GPU model and memory _No response_ ### Current behavior? Probably due to an invalid string argument. ### Standalone code to reproduce the issue ```shell import tensorflow as tf import numpy as np from tensorflow.python.eager import context try: try: with tf.device('/CPU'): arg_0 = "/job:remote_device/replica:0/task:1" out = context.check_alive(arg_0,) except Exception as e: print("Error:"+str(e)) try: with tf.device('/GPU:0'): context.check_alive(arg_0,) except Exception as e: print("Error:"+str(e)) except Exception as e: print("Error:"+str(e)) ``` ``` ### Relevant log output ```shell 023-08-14 21:43:55.028346: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 21:43:55.045718: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 21:43:55.045863: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 21:43:55.046195: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX2 FMA To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags. 2023-08-14 21:43:55.047241: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 21:43:55.047355: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 21:43:55.047452: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 21:43:55.101589: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 21:43:55.101732: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 21:43:55.101832: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 21:43:55.101916: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1616] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 4018 MB memory: -> device: 0, name: NVIDIA GeForce GTX 1660 Ti, pci bus id: 0000:01:00.0, compute capability: 7.5 Segmentation fault ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61577/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61577/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61576
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61576/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61576/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61576/events
https://github.com/tensorflow/tensorflow/issues/61576
1,850,787,131
I_kwDOArmXAs5uUMU7
61,576
Crash when running tensorflow.python.ops.gen_image_ops.resize_area
{ "login": "dmc1778", "id": 17060581, "node_id": "MDQ6VXNlcjE3MDYwNTgx", "avatar_url": "https://avatars.githubusercontent.com/u/17060581?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmc1778", "html_url": "https://github.com/dmc1778", "followers_url": "https://api.github.com/users/dmc1778/followers", "following_url": "https://api.github.com/users/dmc1778/following{/other_user}", "gists_url": "https://api.github.com/users/dmc1778/gists{/gist_id}", "starred_url": "https://api.github.com/users/dmc1778/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dmc1778/subscriptions", "organizations_url": "https://api.github.com/users/dmc1778/orgs", "repos_url": "https://api.github.com/users/dmc1778/repos", "events_url": "https://api.github.com/users/dmc1778/events{/privacy}", "received_events_url": "https://api.github.com/users/dmc1778/received_events", "type": "User", "site_admin": false }
[ { "id": 386191887, "node_id": "MDU6TGFiZWwzODYxOTE4ODc=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response", "name": "stat:awaiting response", "color": "f4b400", "default": false, "description": "Status - Awaiting response from author" }, { "id": 473172988, "node_id": "MDU6TGFiZWw0NzMxNzI5ODg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug", "name": "type:bug", "color": "159b2e", "default": false, "description": "Bug" }, { "id": 474725938, "node_id": "MDU6TGFiZWw0NzQ3MjU5Mzg=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stale", "name": "stale", "color": "d4c5f9", "default": false, "description": "This label marks the issue/pr stale - to be closed automatically if no activity" }, { "id": 1097547147, "node_id": "MDU6TGFiZWwxMDk3NTQ3MTQ3", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:ops", "name": "comp:ops", "color": "0052cc", "default": false, "description": "OPs related issues" }, { "id": 4511033337, "node_id": "LA_kwDOArmXAs8AAAABDODn-Q", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.10", "name": "TF 2.10", "color": "C15088", "default": false, "description": "" } ]
closed
false
{ "login": "Varsha-anjanappa", "id": 137163810, "node_id": "U_kgDOCCz0Ig", "avatar_url": "https://avatars.githubusercontent.com/u/137163810?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Varsha-anjanappa", "html_url": "https://github.com/Varsha-anjanappa", "followers_url": "https://api.github.com/users/Varsha-anjanappa/followers", "following_url": "https://api.github.com/users/Varsha-anjanappa/following{/other_user}", "gists_url": "https://api.github.com/users/Varsha-anjanappa/gists{/gist_id}", "starred_url": "https://api.github.com/users/Varsha-anjanappa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Varsha-anjanappa/subscriptions", "organizations_url": "https://api.github.com/users/Varsha-anjanappa/orgs", "repos_url": "https://api.github.com/users/Varsha-anjanappa/repos", "events_url": "https://api.github.com/users/Varsha-anjanappa/events{/privacy}", "received_events_url": "https://api.github.com/users/Varsha-anjanappa/received_events", "type": "User", "site_admin": false }
[ { "login": "Varsha-anjanappa", "id": 137163810, "node_id": "U_kgDOCCz0Ig", "avatar_url": "https://avatars.githubusercontent.com/u/137163810?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Varsha-anjanappa", "html_url": "https://github.com/Varsha-anjanappa", "followers_url": "https://api.github.com/users/Varsha-anjanappa/followers", "following_url": "https://api.github.com/users/Varsha-anjanappa/following{/other_user}", "gists_url": "https://api.github.com/users/Varsha-anjanappa/gists{/gist_id}", "starred_url": "https://api.github.com/users/Varsha-anjanappa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Varsha-anjanappa/subscriptions", "organizations_url": "https://api.github.com/users/Varsha-anjanappa/orgs", "repos_url": "https://api.github.com/users/Varsha-anjanappa/repos", "events_url": "https://api.github.com/users/Varsha-anjanappa/events{/privacy}", "received_events_url": "https://api.github.com/users/Varsha-anjanappa/received_events", "type": "User", "site_admin": false } ]
null
[ "Please report vulnerabilities using the proper channels. We might be required to take other preventive actions if this behavior continues (since you've been reporting these in public in the past too).", "Run on Different Machines: If possible, try running the code on a different machine or environment. This can help determine if the issue is specific to your setup.", "> Run on Different Machines: If possible, try running the code on a different machine or environment. This can help determine if the issue is specific to your setup.\r\n\r\nOn 2.13.0:\r\n\r\n```\r\n2023-08-18 00:09:40.923863: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.\r\nTo enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.\r\n2023-08-18 00:09:41.439466: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT\r\n2023-08-18 00:09:41.889058: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:995] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-08-18 00:09:41.913381: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1960] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.\r\nSkipping registering GPU devices...\r\nSegmentation fault\r\n\r\n```", "Hi @dmc1778, \r\n\r\nI was able to reproduce the issue on colab using TF v2.13. Please find the attached [gist](https://colab.research.google.com/gist/Varsha-anjanappa/fa6afd6202591c3f0985078afb39d693/61576.ipynb).\r\nSince Segmentation faults can be considered as potential security vulnerabilities please read [SECURITY.md](https://github.com/tensorflow/tensorflow/blob/master/SECURITY.md) and report them through proper channel as mentioned in SECURITY.md.\r\n\r\nthank you!!!", "This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.", "This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further.", "Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61576\">Yes</a>\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61576\">No</a>\n" ]
2023-08-15T01:40:14
2023-09-20T18:17:10
2023-09-02T01:46:11
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source binary ### TensorFlow version 2.13.0 ### Custom code No ### OS platform and distribution 22.04 ### Mobile device _No response_ ### Python version 3.9 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version nvidia-cudnn-cu11==8.6.0.163, cudatoolkit=11.8.0 ### GPU model and memory _No response_ ### Current behavior? Due to negative large tensor ### Standalone code to reproduce the issue ```shell import tensorflow as tf import os import numpy as np from tensorflow.python.ops import gen_image_ops try: arg_0_tensor = tf.constant(-1610612736, shape=[0, 6, 6, 1], dtype=tf.bfloat16,) arg_0 = tf.identity(arg_0_tensor) arg_1_tensor = tf.constant(-45932682421089, shape=[2], dtype=tf.int32,) arg_1 = tf.identity(arg_1_tensor) align_corners = False out = gen_image_ops.resize_area(arg_0,arg_1,align_corners=align_corners,) except Exception as e: print("Error:"+str(e)) ``` ``` ### Relevant log output ```shell 2023-08-14 21:39:36.565382: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly. 2023-08-14 21:39:37.126658: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 21:39:37.144298: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 21:39:37.144439: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 21:39:37.144729: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX2 FMA To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags. 2023-08-14 21:39:37.146083: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 21:39:37.146208: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 21:39:37.146312: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 21:39:37.200697: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 21:39:37.200846: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 21:39:37.200954: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-14 21:39:37.201045: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1616] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 4036 MB memory: -> device: 0, name: NVIDIA GeForce GTX 1660 Ti, pci bus id: 0000:01:00.0, compute capability: 7.5 Segmentation fault ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61576/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61576/timeline
null
completed
false