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/61270
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61270/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61270/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61270/events
https://github.com/tensorflow/tensorflow/issues/61270
1,802,749,473
I_kwDOArmXAs5rc8Yh
61,270
keras.models.load_model broken if custom objects present (.keras format)
{ "login": "optiluca", "id": 1837843, "node_id": "MDQ6VXNlcjE4Mzc4NDM=", "avatar_url": "https://avatars.githubusercontent.com/u/1837843?v=4", "gravatar_id": "", "url": "https://api.github.com/users/optiluca", "html_url": "https://github.com/optiluca", "followers_url": "https://api.github.com/users/optiluca/followers", "following_url": "https://api.github.com/users/optiluca/following{/other_user}", "gists_url": "https://api.github.com/users/optiluca/gists{/gist_id}", "starred_url": "https://api.github.com/users/optiluca/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/optiluca/subscriptions", "organizations_url": "https://api.github.com/users/optiluca/orgs", "repos_url": "https://api.github.com/users/optiluca/repos", "events_url": "https://api.github.com/users/optiluca/events{/privacy}", "received_events_url": "https://api.github.com/users/optiluca/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": 1105108936, "node_id": "MDU6TGFiZWwxMTA1MTA4OTM2", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:model", "name": "comp:model", "color": "0052cc", "default": false, "description": "Model 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 @optiluca ,\r\n\r\nThanks for reporting this. I have replicated the reported behaviour with TF2.13v and also tf-nightly versions whereas TF2.12v it seems working fine. Attached [gist](https://colab.research.google.com/gist/SuryanarayanaY/85eef0845746d2c89e5b016bf7ea6676/61270.ipynb) for reference.\r\n\r\nThis seems regression issue for me. Needs to check the root cause. If you are willing to contribute please feel free to raise a PR.\r\n\r\nThanks!", "Hi @optiluca ,\r\n\r\nI have tried a simple code with custom object and it seems working fine and I can able to save and reload model. Please refer the attached [gist](https://colab.research.google.com/gist/SuryanarayanaY/08d7cc3ece073ec8e974d9d6c71b72dd/custom-objects_serialization_and_saving-2.ipynb) here. This seems not a regression issue. \r\n\r\nMay be we need to check the code for the Custom class (i.e.class MyCustomLSTM) of your model to check the root cause.There may be chance that it might not have implementation of `from_config()` and `get_config()` methods.\r\n\r\n\r\nPlease note that Custom class should implement `from_config()` which is a class method and `get_config()` methods to make it able to serialize and deserialize. Please refer the attached documentation [source](https://www.tensorflow.org/guide/keras/serialization_and_saving#custom_objects) for more details on how to implement custom classes.\r\n\r\nThanks!", "Hi @SuryanarayanaY , thanks for the prompt feedback. \r\n\r\nMy example code defines a custom layer that is *exactly* the same as the keras.layers.LSTM layer. For this reason, it does not need custom from_config and get_config methods. Clearly my real use case is more complex, and does define a custom get_config, but the minimal (not) working example is as per my original example code.\r\n\r\nThe example you share looks quite different to mine, apparently to a point that it sidesteps this bug, whatever the root cause.\r\n\r\nI modified your example to make it break again. It seems that the bug is triggered specifically if LSTM layers are involved, new gist [here ](https://colab.research.google.com/gist/optiluca/8b254fba9e7b0cdef59b9f4bbb0e0258/custom-objects_serialization_and_saving-2.ipynb)to demonstrate:\r\n\r\n", "Hi @optiluca ,\r\n\r\nIt seems custom layer sub classed from LSTM layer has problem when loading in `.keras` format but with .tf format it is working fine. The problem exists in tf-nightly also. Attached [gist](https://colab.sandbox.google.com/gist/SuryanarayanaY/c90a99527674a192b25cfe61a9192e0e/61270_custom-objects_serialization_and_saving-2.ipynb) for reference.\r\n\r\nThere seems some bug AFAIK which needs to look into. Will dig more to check or escalate it to concerned team. Thanks!" ]
2023-07-13T10:48:41
2023-08-03T10:40:19
null
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source binary ### TensorFlow version tf2.13 ### Custom code Yes ### OS platform and distribution All ### Mobile device _No response_ ### Python version 3.8 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? Models do not load. Errors vary, depending on the number of training samples being divisible by batch size or not. ### Standalone code to reproduce the issue ```shell import keras import numpy as np class MyCustomLSTM(keras.layers.LSTM): """ Custom LSTM """ model = keras.models.Sequential([MyCustomLSTM(32), keras.layers.Dense(1)]) model.compile(keras.optimizers.Adam(), keras.losses.mse) x = np.zeros((1024, 300, 1)) y = np.zeros((1024, 1)) history = model.fit(x, y, batch_size=32, epochs=1) model.save('test.keras') model_loaded = keras.models.load_model('test.keras', custom_objects={'MyCustomLSTM': MyCustomLSTM}) # This throws: # IndexError: list assignment index out of range # If the number of samples is not divisible by the batch size (e.g. 1025 samples, instead of 1024), the error becomes: # ValueError: as_list() is not defined on an unknown TensorShape. ``` ### Relevant log output _No response_
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61270/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/61270/timeline
null
null
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61269
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61269/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61269/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61269/events
https://github.com/tensorflow/tensorflow/issues/61269
1,802,642,527
I_kwDOArmXAs5rciRf
61,269
TfLite 2.13 with -DTFLITE_ENABLE_GPU=ON fails to build with Visual Studio 2019 and 2022
{ "login": "misterBart", "id": 54583863, "node_id": "MDQ6VXNlcjU0NTgzODYz", "avatar_url": "https://avatars.githubusercontent.com/u/54583863?v=4", "gravatar_id": "", "url": "https://api.github.com/users/misterBart", "html_url": "https://github.com/misterBart", "followers_url": "https://api.github.com/users/misterBart/followers", "following_url": "https://api.github.com/users/misterBart/following{/other_user}", "gists_url": "https://api.github.com/users/misterBart/gists{/gist_id}", "starred_url": "https://api.github.com/users/misterBart/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/misterBart/subscriptions", "organizations_url": "https://api.github.com/users/misterBart/orgs", "repos_url": "https://api.github.com/users/misterBart/repos", "events_url": "https://api.github.com/users/misterBart/events{/privacy}", "received_events_url": "https://api.github.com/users/misterBart/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": 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" } ]
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 @misterBart, thanks for reporting the issue.\r\n\r\ngit & cmake are not available natively on windows command prompt so I have a couple of questions in order to reproduce your issue.\r\n\r\nAre you using powershell or command prompt? Are you using WSL? Are you using MinGW? Are you using git for windows? If you have trouble understanding these questions, a good first pass is to ask bard: https://bard.google.com/. Ex: \"How to tell if I'm using _______?\"\r\n\r\nUsually the more information you provide, the faster I am able to assist you. Thanks!", "I'm using Windows Command Prompt.\r\nInstalled Git with the Windows installer from https://git-scm.com/download/win\r\nInstalled CMake with the Windows installer from https://cmake.org/download/\r\nAfter installing, git and cmake are available in Windows Command Prompt\r\n\r\nBy the way, you can also solve the two mentioned compile errors if your replace `std::any_cast` with `absl::any_cast`. I believe this is the preferable solution, because I notice you use `absl::any_cast` more often in the two C++ files in question.", "Hi @misterBart, our internal tests/tools show it compiles correctly with clang, Is there a way to adjust your cmake installation to use clang? (I'm currently guessing it is using gcc but I'm not sure).", "I am using cmake with Visual Studio (also see title and opening post), so I'm using Microsoft Visual C++ (MSVC) compiler.\r\n\r\nAs for your follow-up email: \"Hi @misterBart, let us know if you have tried multiple models to help us look into the problem further.\"\r\nThe issue is building TfLite. I have to build TfLite before I can use TfLite models.\r\n\r\nTo make things clear, I never asked for help. I reported an issue and posted a solution in my opening post and a second solution in my previous comment. I posted these solutions so that one of them could be applied to the TfLite code, so that other people using Visual Studio will not experience this error. Hopefully things are clear now.", "Hi @misterBart, there are complications/restrictions which make applying those solutions not that simple, but we'll take a deeper look, in the mean time, can you use bazel to unblock yourself? Generally the bazel workflow is better supported for windows/macos and the cmake workflow is better supported for *nix systems.", "Hi @terryheo, can you please take a look? Thanks", "@terryheo Have you been able to look at the matter yet?" ]
2023-07-13T09:46:07
2023-07-31T08:50:00
null
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source source ### TensorFlow version tf 2.13 ### Custom code No ### OS platform and distribution Windows 10 ### Mobile device _No response_ ### Python version _No response_ ### Bazel version _No response_ ### GCC/compiler version Visual Studio 2019 and 2022 ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? Building TfLite 2.13 with cmake and `-DTFLITE_ENABLE_GPU=ON` fails if Visual Studio 2019 or 2022 is used. Tested on two different machines, it fails on both machines. Steps executed in Windows Command Prompt: ``` git clone --single-branch --branch r2.13 https://github.com/tensorflow/tensorflow tensorflow_src mkdir tflite_build_x64 cd tflite_build_x64 cmake -DTFLITE_ENABLE_GPU=ON ..\tensorflow_src\tensorflow\lite cmake --build . -j 8 --config Release ``` The cmake build command yields two errors: ``` C:\Users\bartp\source\TfLite2.13Gpu\tensorflow_src\tensorflow\lite\delegates\gpu\common\selectors\operation_selector.cc(313,20): error C2039: 'any_cast': is not a member of 'std' [C:\Users\bartp\source\TfLite2.13Gpu\tflite_build_x64\tensorflow-lite.vcxproj] C:\Users\bartp\source\TfLite2.13Gpu\tensorflow_src\tensorflow\lite\delegates\gpu\common\tasks\special\conv_pointwise.cc(129,12): error C2039: 'any_cast': is not a member of 'std' [C:\Users\bartp\source\TfLite2.13Gpu\tflite_build_x64\tensorflow-lite.vcxproj] ``` To fix this, add `#include <any>` to `tensorflow\lite\delegates\gpu\common\selectors\operation_selector.cc` and `tensorflow\lite\delegates\gpu\common\selectors\operation_selector.cc` ### Standalone code to reproduce the issue ```shell To reproduce the issue: see my earlier writing. ``` ### Relevant log output _No response_
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61269/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/61269/timeline
null
null
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61268
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61268/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61268/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61268/events
https://github.com/tensorflow/tensorflow/pull/61268
1,802,412,428
PR_kwDOArmXAs5VY1PF
61,268
add-support-for-riscv
{ "login": "TONG369", "id": 29472117, "node_id": "MDQ6VXNlcjI5NDcyMTE3", "avatar_url": "https://avatars.githubusercontent.com/u/29472117?v=4", "gravatar_id": "", "url": "https://api.github.com/users/TONG369", "html_url": "https://github.com/TONG369", "followers_url": "https://api.github.com/users/TONG369/followers", "following_url": "https://api.github.com/users/TONG369/following{/other_user}", "gists_url": "https://api.github.com/users/TONG369/gists{/gist_id}", "starred_url": "https://api.github.com/users/TONG369/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TONG369/subscriptions", "organizations_url": "https://api.github.com/users/TONG369/orgs", "repos_url": "https://api.github.com/users/TONG369/repos", "events_url": "https://api.github.com/users/TONG369/events{/privacy}", "received_events_url": "https://api.github.com/users/TONG369/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": 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": 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
[ "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/61268/checks?check_run_id=15005268842) 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 @TONG369 Can you please resolve conflicts? Thank you!", "Hi @TONG369 Can you please resolve conflicts? Thank you!", "Hi @TONG369 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-07-13T07:47:50
2024-02-18T01:47:56
2024-02-18T01:47:51
NONE
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61268", "html_url": "https://github.com/tensorflow/tensorflow/pull/61268", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61268.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61268.patch", "merged_at": null }
The PR submitted is applicable to support RISCV64
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61268/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/61268/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61267
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61267/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61267/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61267/events
https://github.com/tensorflow/tensorflow/pull/61267
1,802,368,305
PR_kwDOArmXAs5VYrrd
61,267
Update numpy version in setup.py
{ "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": 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": "MichaelHudgins", "id": 30155094, "node_id": "MDQ6VXNlcjMwMTU1MDk0", "avatar_url": "https://avatars.githubusercontent.com/u/30155094?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MichaelHudgins", "html_url": "https://github.com/MichaelHudgins", "followers_url": "https://api.github.com/users/MichaelHudgins/followers", "following_url": "https://api.github.com/users/MichaelHudgins/following{/other_user}", "gists_url": "https://api.github.com/users/MichaelHudgins/gists{/gist_id}", "starred_url": "https://api.github.com/users/MichaelHudgins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MichaelHudgins/subscriptions", "organizations_url": "https://api.github.com/users/MichaelHudgins/orgs", "repos_url": "https://api.github.com/users/MichaelHudgins/repos", "events_url": "https://api.github.com/users/MichaelHudgins/events{/privacy}", "received_events_url": "https://api.github.com/users/MichaelHudgins/received_events", "type": "User", "site_admin": false }
[ { "login": "MichaelHudgins", "id": 30155094, "node_id": "MDQ6VXNlcjMwMTU1MDk0", "avatar_url": "https://avatars.githubusercontent.com/u/30155094?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MichaelHudgins", "html_url": "https://github.com/MichaelHudgins", "followers_url": "https://api.github.com/users/MichaelHudgins/followers", "following_url": "https://api.github.com/users/MichaelHudgins/following{/other_user}", "gists_url": "https://api.github.com/users/MichaelHudgins/gists{/gist_id}", "starred_url": "https://api.github.com/users/MichaelHudgins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MichaelHudgins/subscriptions", "organizations_url": "https://api.github.com/users/MichaelHudgins/orgs", "repos_url": "https://api.github.com/users/MichaelHudgins/repos", "events_url": "https://api.github.com/users/MichaelHudgins/events{/privacy}", "received_events_url": "https://api.github.com/users/MichaelHudgins/received_events", "type": "User", "site_admin": false }, { "login": "georgiyekkert", "id": 37539237, "node_id": "MDQ6VXNlcjM3NTM5MjM3", "avatar_url": "https://avatars.githubusercontent.com/u/37539237?v=4", "gravatar_id": "", "url": "https://api.github.com/users/georgiyekkert", "html_url": "https://github.com/georgiyekkert", "followers_url": "https://api.github.com/users/georgiyekkert/followers", "following_url": "https://api.github.com/users/georgiyekkert/following{/other_user}", "gists_url": "https://api.github.com/users/georgiyekkert/gists{/gist_id}", "starred_url": "https://api.github.com/users/georgiyekkert/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/georgiyekkert/subscriptions", "organizations_url": "https://api.github.com/users/georgiyekkert/orgs", "repos_url": "https://api.github.com/users/georgiyekkert/repos", "events_url": "https://api.github.com/users/georgiyekkert/events{/privacy}", "received_events_url": "https://api.github.com/users/georgiyekkert/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
[ "You need to update the requirements.txt files used in all CI too, they have to test with a numpy that matches what is in setup.py", "Thanks. `tf-nightly` is broken in Colab right now (workaround: `pip install -U numpy`). This will fix it.\r\n\r\n@mihaimaruseac Here? https://github.com/tensorflow/tensorflow/blob/0ed8e904f4cb58826e2bd861ae508e38f49d3ea8/tensorflow/tools/tf_sig_build_dockerfiles/devel.requirements.txt#L13-L16", "I think so, unclear what are the current files being used by hermetic Python and all CIs. Tagging @angerson and @vam-google to confirm.", "\"I have found below requirements.txt files.\r\n\r\nI can see numpy version as >=1.22 in requirements.in file.\r\nhttps://github.com/tensorflow/tensorflow/blob/9fa5e774d4f86c2e41b04a6ac326578bdd516691/ci/official/requirements_updater/requirements.in#L1\r\n\r\nApart from this `requirements_lock_3_10.txt` and others (`requirements_lock_3_11.txt`, `requirements_lock_3_9.txt`, `requirements_lock_3_8.txt`) have numpy version set to 1.24.3 .\r\n\r\nhttps://github.com/tensorflow/tensorflow/blob/9fa5e774d4f86c2e41b04a6ac326578bdd516691/requirements_lock_3_10.txt#L265\r\n\r\nBut here in `ci_build/release/requirements_common.txt` requirements mentioned as below.\r\n\r\nhttps://github.com/tensorflow/tensorflow/blob/9fa5e774d4f86c2e41b04a6ac326578bdd516691/tensorflow/tools/ci_build/release/requirements_common.txt#L12-L13\r\n\r\nUnder Docker SIG build:\r\nhttps://github.com/tensorflow/tensorflow/blob/aa7fbf11a7581009f08933273bde7a0bc2490aff/tensorflow/tools/tf_sig_build_dockerfiles/devel.requirements.txt#L15-L16\r\n\r\n", "Thanks @SuryanarayanaY , i think those are the 4 primary locations, and to my knowledge all should be updated to >= 1.23 given what you have said above. Normally the requirements lock files would need recomputed but given they are already locked above that value it should be fine to leave as is. If you can update the PR to include those today I can pull internal and make sure the requirement locks are fine, if not i will likely pull it in and adjust myself to fix the next build of tf-nightly. \r\n", "I am going to hold this till Monday, @georgiyekkert pointed out that this upgrade seems required due to when we build tf-nightly we are using numpy headers from CI, so our nightly is packed with 1.24.3 headers no matter what user has installed on their machine. \r\n\r\nWe will first try to modify and make 1.22 work again and discuss a 1.23 upgrade separately ", "Looks like there's a conflict wth this commit: https://github.com/tensorflow/tensorflow/commit/d9962234b8a33eb3b351ce69498f1671a832b98a", "Hi @SuryanarayanaY Can you please resolve conflicts? Thank you!", "The issue should have been fixed in https://github.com/tensorflow/tensorflow/commit/2c5f35e7e23c3298babf2227ea0ae128d1e6fb8e\r\nThe requirements files you are changing are outdated and not used in the build any more. Please let me know if you still have any issues otherwise please close.", "Perfect, then this can gen closed. Thanks @georgiyekkert " ]
2023-07-13T07:19:19
2023-07-25T17:42:57
2023-07-25T17:42:51
COLLABORATOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61267", "html_url": "https://github.com/tensorflow/tensorflow/pull/61267", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61267.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61267.patch", "merged_at": null }
Currently tf-nightly is not compatible with numpy <=1.22.* versions. Its working only with numpy versions >=1.23 . But `Required_packages` in `setup.py` file mentioned numpy>=1.22. Hence I am updating numpy to `numpy>=1.23`. Attaching the [gist](https://colab.research.google.com/gist/SuryanarayanaY/64c4ee7346aaa0a0492f01662147e159/tf-nightly_with_numpy_compatibility.ipynb) also for reference to check the behaviour.
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61267/reactions", "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61267/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61266
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61266/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61266/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61266/events
https://github.com/tensorflow/tensorflow/issues/61266
1,802,273,952
I_kwDOArmXAs5rbISg
61,266
Segmentation fault
{ "login": "wuhongsheng", "id": 10295461, "node_id": "MDQ6VXNlcjEwMjk1NDYx", "avatar_url": "https://avatars.githubusercontent.com/u/10295461?v=4", "gravatar_id": "", "url": "https://api.github.com/users/wuhongsheng", "html_url": "https://github.com/wuhongsheng", "followers_url": "https://api.github.com/users/wuhongsheng/followers", "following_url": "https://api.github.com/users/wuhongsheng/following{/other_user}", "gists_url": "https://api.github.com/users/wuhongsheng/gists{/gist_id}", "starred_url": "https://api.github.com/users/wuhongsheng/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wuhongsheng/subscriptions", "organizations_url": "https://api.github.com/users/wuhongsheng/orgs", "repos_url": "https://api.github.com/users/wuhongsheng/repos", "events_url": "https://api.github.com/users/wuhongsheng/events{/privacy}", "received_events_url": "https://api.github.com/users/wuhongsheng/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": 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": "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
[ "@wuhongsheng,\r\nCould you please provide the complete code to reproduce the issue which helps us to analyse the issue in an effective way.\r\n\r\nAlso Segmentation faults may occur due to Out Of Bound errors,or Illegal Memory access errors. Tensorflow does provide some logs there unless its OS crashes due to failure of memory allocation. As you reported the behaviour occurs after some epochs which might happen due to Memory release/Memory Fragmentation issues.\r\n\r\n 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/61266\">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/61266\">No</a>\n" ]
2023-07-13T06:22:06
2023-07-30T01:52:05
2023-07-30T01:52:03
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source source ### TensorFlow version tensorflow/tensorflow:latest-gpu-jupyter ### 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? python train.py --X ../../data/train2_x.npy --Y ../../data/train2_y.npy ### Standalone code to reproduce the issue ```shell Segmentation fault but I use tensorflow:2.12.0 This problem does not occur ``` ### Relevant log output _No response_
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61266/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/61266/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61265
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61265/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61265/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61265/events
https://github.com/tensorflow/tensorflow/issues/61265
1,802,096,599
I_kwDOArmXAs5rac_X
61,265
TypeError: _lookup_dependency() takes 2 positional arguments but 3 were given
{ "login": "ngbusca", "id": 4727509, "node_id": "MDQ6VXNlcjQ3Mjc1MDk=", "avatar_url": "https://avatars.githubusercontent.com/u/4727509?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ngbusca", "html_url": "https://github.com/ngbusca", "followers_url": "https://api.github.com/users/ngbusca/followers", "following_url": "https://api.github.com/users/ngbusca/following{/other_user}", "gists_url": "https://api.github.com/users/ngbusca/gists{/gist_id}", "starred_url": "https://api.github.com/users/ngbusca/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ngbusca/subscriptions", "organizations_url": "https://api.github.com/users/ngbusca/orgs", "repos_url": "https://api.github.com/users/ngbusca/repos", "events_url": "https://api.github.com/users/ngbusca/events{/privacy}", "received_events_url": "https://api.github.com/users/ngbusca/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": 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": 1105108936, "node_id": "MDU6TGFiZWwxMTA1MTA4OTM2", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:model", "name": "comp:model", "color": "0052cc", "default": false, "description": "Model related issues" } ]
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 @ngbusca ,\r\n\r\nI have tested the given code with tf-nightl(2.14.0-dev20230712) and its working fine for me. I can able to save and reload the model. Could you please check the attached [gist](https://colab.research.google.com/gist/SuryanarayanaY/ebb5ad981552360fa1f04541248e7914/61265.ipynb) and let me know whether the code is right one to reproduce the reported behaviour.\r\n\r\nThanks!", "Hi @SuryanarayanaY \r\nThanks for the response. Yes, the code is correct. I've downgraded to 2.13 and don't encounter the issue. I must have had an inconsistency on my system, I'll close the issue and reopen if I encounter it again.", "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/61265\">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/61265\">No</a>\n" ]
2023-07-13T03:41:33
2023-07-17T03:30:29
2023-07-17T03:30:26
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source source ### TensorFlow version 2.14.0-dev20230712 ### Custom code Yes ### OS platform and distribution Linux moe 5.10.0-12-amd64 #1 SMP Debian 5.10.103-1 (2022-03-07) x86_64 GNU/Linux ### Mobile device _No response_ ### Python version 3.9 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? Can't load saved model ### Standalone code to reproduce the issue ```shell Saved models can't be loaded: model = tf.keras.models.Sequential([tf.keras.layers.Input((256,256,3)), tf.keras.layers.Dense(1)]) model.save("../models/test") model = tf.keras.models.load_model("../models/test/") ``` same thing with more complex models ``` model = tf.keras.applications.efficientnet.EfficientNetB0() model.save("../models/test") model = tf.keras.models.load_model("../models/test/") ``` ``` ### Relevant log output ```shell --------------------------------------------------------------------------- TypeError Traceback (most recent call last) Cell In[11], line 1 ----> 1 model = tf.keras.models.load_model("../models/test/") File ~/.local/lib/python3.9/site-packages/keras/src/saving/saving_api.py:262, in load_model(filepath, custom_objects, compile, safe_mode, **kwargs) 254 return saving_lib.load_model( 255 filepath, 256 custom_objects=custom_objects, 257 compile=compile, 258 safe_mode=safe_mode, 259 ) 261 # Legacy case. --> 262 return legacy_sm_saving_lib.load_model( 263 filepath, custom_objects=custom_objects, compile=compile, **kwargs 264 ) File ~/.local/lib/python3.9/site-packages/keras/src/utils/traceback_utils.py:70, in filter_traceback.<locals>.error_handler(*args, **kwargs) 67 filtered_tb = _process_traceback_frames(e.__traceback__) 68 # To get the full stack trace, call: 69 # `tf.debugging.disable_traceback_filtering()` ---> 70 raise e.with_traceback(filtered_tb) from None 71 finally: 72 del filtered_tb File ~/.local/lib/python3.9/site-packages/tensorflow/python/checkpoint/restore.py:606, in _queue_children_for_restoration(checkpoint_position, visit_queue) 604 continue 605 child_position = checkpoint_position.create_child_position(child.node_id) --> 606 local_object = trackable._lookup_dependency(child.local_name, 607 trackable_children) 608 child_proto = child_position.object_proto 609 if local_object is None: 610 # We don't yet have a dependency registered with this name. Save it 611 # in case we do. TypeError: _lookup_dependency() takes 2 positional arguments but 3 were given ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61265/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/61265/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61264
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61264/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61264/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61264/events
https://github.com/tensorflow/tensorflow/issues/61264
1,801,640,342
I_kwDOArmXAs5rYtmW
61,264
TensorFlow-io package not possible on computer
{ "login": "oliviafranken", "id": 95987753, "node_id": "U_kgDOBbioKQ", "avatar_url": "https://avatars.githubusercontent.com/u/95987753?v=4", "gravatar_id": "", "url": "https://api.github.com/users/oliviafranken", "html_url": "https://github.com/oliviafranken", "followers_url": "https://api.github.com/users/oliviafranken/followers", "following_url": "https://api.github.com/users/oliviafranken/following{/other_user}", "gists_url": "https://api.github.com/users/oliviafranken/gists{/gist_id}", "starred_url": "https://api.github.com/users/oliviafranken/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/oliviafranken/subscriptions", "organizations_url": "https://api.github.com/users/oliviafranken/orgs", "repos_url": "https://api.github.com/users/oliviafranken/repos", "events_url": "https://api.github.com/users/oliviafranken/events{/privacy}", "received_events_url": "https://api.github.com/users/oliviafranken/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" } ]
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
[ "@sushreebarsa Could you please try to install the tensorflow_io and try again. \r\nTry with the following\r\n```\r\n!pip install tensorflow_io\r\n```\r\nI was able to run the code successfully after installing this module. Please have a look at this colab [gist](https://colab.research.google.com/gist/sushreebarsa/8adeb47ab958017b60d93c514ff6d932/61264.ipynb) for reference. \r\nPlease find the log below;\r\n```\r\nDownloading data from https://storage.googleapis.com/audioset/miaow_16k.wav\r\n215546/215546 [==============================] - 0s 0us/step\r\n./test_data/miaow_16k.wav\r\nWARNING:tensorflow:Using a while_loop for converting IO>AudioResample cause there is no registered converter for this op.\r\nSpeech\r\nChild speech, kid speaking\r\nConversation\r\nNarration, monologue\r\nBabbling\r\nSpeech synthesizer\r\nShout\r\nBellow\r\nWhoop\r\nYell\r\nChildren shouting\r\nScreaming\r\nWhispering\r\nLaughter\r\nBaby laughter\r\nGiggle\r\nSnicker\r\nBelly laugh\r\nChuckle, chortle\r\nCrying, sobbing\r\n...\r\nThe main sound is: Animal\r\nThe embeddings shape: (13, 1024)\r\nDownloading data from https://github.com/karoldvl/ESC-50/archive/master.zip\r\n 8192/Unknown - 0s 0us/stepWARNING:tensorflow:Using a while_loop for converting IO>AudioResample cause there is no registered converter for this op.\r\nModel: \"my_model\"\r\n_________________________________________________________________\r\n Layer (type) Output Shape Param # \r\n=================================================================\r\n dense (Dense) (None, 512) 524800 \r\n \r\n dense_1 (Dense) (None, 2) 1026 \r\n \r\n=================================================================\r\nTotal params: 525,826\r\nTrainable params: 525,826\r\nNon-trainable params: 0\r\n_________________________________________________________________\r\nEpoch 1/20\r\n15/15 [==============================] - 11s 72ms/step - loss: 1.2337 - accuracy: 0.8229 - val_loss: 0.9781 - val_accuracy: 0.8687\r\nEpoch 2/20\r\n15/15 [==============================] - 0s 22ms/step - loss: 0.5836 - accuracy: 0.8771 - val_loss: 0.5496 - val_accuracy: 0.9187\r\nEpoch 3/20\r\n15/15 [==============================] - 0s 22ms/step - loss: 0.5533 - accuracy: 0.8958 - val_loss: 0.4514 - val_accuracy: 0.9187\r\nEpoch 4/20\r\n15/15 [==============================] - 0s 22ms/step - loss: 0.2929 - accuracy: 0.9083 - val_loss: 0.2570 - val_accuracy: 0.8750\r\nEpoch 5/20\r\n15/15 [==============================] - 0s 20ms/step - loss: 0.1942 - accuracy: 0.9146 - val_loss: 0.2387 - val_accuracy: 0.9125\r\nEpoch 6/20\r\n15/15 [==============================] - 0s 13ms/step - loss: 0.2205 - accuracy: 0.9229 - val_loss: 0.2080 - val_accuracy: 0.9187\r\nEpoch 7/20\r\n15/15 [==============================] - 0s 14ms/step - loss: 0.2351 - accuracy: 0.9167 - val_loss: 0.3459 - val_accuracy: 0.9187\r\nEpoch 8/20\r\n15/15 [==============================] - 0s 13ms/step - loss: 0.3472 - accuracy: 0.9125 - val_loss: 0.6668 - val_accuracy: 0.8687\r\n5/5 [==============================] - 0s 11ms/step - loss: 0.2761 - accuracy: 0.9000\r\nLoss: 0.27613919973373413\r\nAccuracy: 0.8999999761581421\r\nThe main sound is: cat\r\n```\r\n\r\nThank you!\r\n", "@sushreebarsa \r\nI tried that and it didn't work... This is what I get every time I try to install the TensorFlow_io: \r\n\r\nERROR: Could not find a version that satisfies the requirement tensorflow==2.11.1 (from versions: 2.13.0rc0, 2.13.0rc1, 2.13.0rc2, 2.13.0)\r\nERROR: No matching distribution found for tensorflow==2.11.1", "@sushreebarsa \r\nAny other recommendations?\r\nI found out that TensorFlow_io doesn't work on apple computers that have the m1 chip... Is there another way to resolve this or is there something other than that package that I could use?\r\n", "Please switch to using TF 2.13 instead of 2.11. That could possibly solve the issue.", "@mihaimaruseac \r\n\r\nI am currently using 2.13", "> @mihaimaruseac\r\n> \r\n> I am currently using 2.13\r\n\r\nSorry, was confused by the error message that is looking at `tensorflow==2.11.1`:\r\n\r\n> @sushreebarsa I tried that and it didn't work... This is what I get every time I try to install the TensorFlow_io:\r\n> \r\n> ERROR: Could not find a version that satisfies the requirement tensorflow==2.11.1 (from versions: 2.13.0rc0, 2.13.0rc1, 2.13.0rc2, 2.13.0) ERROR: No matching distribution found for tensorflow==2.11.1\r\n\r\n\r\nCan you post the output of `pip list`, please?", "> > @mihaimaruseac\r\n> > I am currently using 2.13\r\n> \r\n> Sorry, was confused by the error message that is looking at `tensorflow==2.11.1`:\r\n> \r\n> > @sushreebarsa I tried that and it didn't work... This is what I get every time I try to install the TensorFlow_io:\r\n> > ERROR: Could not find a version that satisfies the requirement tensorflow==2.11.1 (from versions: 2.13.0rc0, 2.13.0rc1, 2.13.0rc2, 2.13.0) ERROR: No matching distribution found for tensorflow==2.11.1\r\n> \r\n> Can you post the output of `pip list`, please?\r\n\r\nHere is output of pip list:\r\n\r\n```\r\nPackage Version\r\n----------------------- --------\r\nabsl-py 1.4.0\r\naiohttp 3.8.4\r\naiosignal 1.3.1\r\nastunparse 1.6.3\r\nasync-timeout 4.0.2\r\nattrs 22.2.0\r\ncachetools 5.3.1\r\ncertifi 2023.5.7\r\ncharset-normalizer 3.1.0\r\ncmake 3.25.2\r\ncontourpy 1.0.7\r\ncycler 0.11.0\r\nface-recognition-models 0.3.0\r\nflatbuffers 23.5.26\r\nfonttools 4.38.0\r\nfrozenlist 1.3.3\r\ngast 0.4.0\r\ngoogle-auth 2.21.0\r\ngoogle-auth-oauthlib 1.0.0\r\ngoogle-pasta 0.2.0\r\ngrpcio 1.56.0\r\nh5py 3.9.0\r\nidna 3.4\r\nkeras 2.13.1\r\nkiwisolver 1.4.4\r\nlibclang 16.0.0\r\nMarkdown 3.4.3\r\nMarkupSafe 2.1.3\r\nmatplotlib 3.6.3\r\nmultidict 6.0.4\r\nnumpy 1.24.2\r\noauthlib 3.2.2\r\nopt-einsum 3.3.0\r\npackaging 23.0\r\npandas 1.5.3\r\nPillow 9.4.0\r\npip 23.1.2\r\nprotobuf 4.23.3\r\npyasn1 0.5.0\r\npyasn1-modules 0.3.0\r\npyparsing 3.0.9\r\nPySimpleGUI 4.60.5\r\npython-dateutil 2.8.2\r\npytz 2022.7.1\r\nrequests 2.31.0\r\nrequests-oauthlib 1.3.1\r\nrsa 4.9\r\nsetuptools 65.5.0\r\nsix 1.16.0\r\ntensorboard 2.13.0\r\ntensorboard-data-server 0.7.1\r\ntensorflow 2.13.0\r\ntensorflow-estimator 2.13.0\r\ntensorflow-macos 2.13.0\r\ntermcolor 2.3.0\r\ntyping_extensions 4.5.0\r\nurllib3 1.26.16\r\nWerkzeug 2.3.6\r\nwheel 0.40.0\r\nwrapt 1.15.0\r\nyarl 1.8.2\r\n```", "Oh, I think the issue is that TF-IO did not have a release since Mar: https://pypi.org/project/tensorflow-io/0.32.0/#history, so the latest one is expecting TF 2.11.\r\n\r\nTagging @yongtang for a new release now that TF 2.13 has just been released.", "(sorry, closed by mistake, reopened)", "> Oh, I think the issue is that TF-IO did not have a release since Mar: https://pypi.org/project/tensorflow-io/0.32.0/#history, so the latest one is expecting TF 2.11.\r\n> \r\n> Tagging @yongtang for a new release now that TF 2.13 has just been released.\r\n\r\nOhhh I see. Thank you, I know a couple people have been having the same issue as me. Would you recommend I install TF 2.11 and try to work from that for right now? (I'm just curious as I need it for my job)", "Let's try with that one, though I also see you are on a Mac with M1 and I think full support for that is coming only in 2.13. But hopefully it works?\r\n\r\nIf not, I'd recommend trying the Google Colab Notebooks, if possible, as those run on Linux VMs and should work 99.999% of the time (plus, are very similar to Jupyter Notebooks, so experience transfers nicely). Of course, this is only if job requirements allow it.", "> Let's try with that one, though I also see you are on a Mac with M1 and I think full support for that is coming only in 2.13. But hopefully it works?\r\n> \r\n> If not, I'd recommend trying the Google Colab Notebooks, if possible, as those run on Linux VMs and should work 99.999% of the time (plus, are very similar to Jupyter Notebooks, so experience transfers nicely). Of course, this is only if job requirements allow it.\r\n\r\nyeah it won't even let me install the 2.11 version haha. I can try working on colab or something for now. When do you think the TF-io release for 2.13 will be completed?", "That depends on when @yongtang and other maintainers of TF IO can do the next release." ]
2023-07-12T19:41:50
2023-07-26T17:40:21
null
NONE
null
null
null
### Issue type Feature Request ### Have you reproduced the bug with TensorFlow Nightly? No ### Source source ### TensorFlow version newest ### Custom code No ### OS platform and distribution _No response_ ### Mobile device _No response_ ### Python version 3.9 and 3.11 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? I have an Apple Mac Pro with an M1 chip and have been trying to get the example code from your website to compile on both my terminal and pycharm. I have installed the packed for tf metal and for macOS but when I attempt to install the TensorFlow-io it doesn't work at all. After research online I saw this is an issue for others as well. Is there a way that the code at this link (https://www.tensorflow.org/tutorials/audio/transfer_learning_audio ) would be able to be done without TensorFlow-io. In other words, is there an alternative so that it works the same? Or is there a solution to the package installation problem? ### Standalone code to reproduce the issue ```shell import os from IPython import display import matplotlib.pyplot as plt import numpy as np import pandas as pd import tensorflow as tf import tensorflow_hub as hub import tensorflow_io as tfio yamnet_model_handle = 'https://tfhub.dev/google/yamnet/1' yamnet_model = hub.load(yamnet_model_handle) testing_wav_file_name = tf.keras.utils.get_file('miaow_16k.wav', 'https://storage.googleapis.com/audioset/miaow_16k.wav', cache_dir='./', cache_subdir='test_data') print(testing_wav_file_name) # Utility functions for loading audio files and making sure the sample rate is correct. @tf.function def load_wav_16k_mono(filename): """ Load a WAV file, convert it to a float tensor, resample to 16 kHz single-channel audio. """ file_contents = tf.io.read_file(filename) wav, sample_rate = tf.audio.decode_wav( file_contents, desired_channels=1) wav = tf.squeeze(wav, axis=-1) sample_rate = tf.cast(sample_rate, dtype=tf.int64) wav = tfio.audio.resample(wav, rate_in=sample_rate, rate_out=16000) return wav testing_wav_data = load_wav_16k_mono(testing_wav_file_name) _ = plt.plot(testing_wav_data) # Play the audio file. display.Audio(testing_wav_data, rate=16000) class_map_path = yamnet_model.class_map_path().numpy().decode('utf-8') class_names = list(pd.read_csv(class_map_path)['display_name']) for name in class_names[:20]: print(name) print('...') scores, embeddings, spectrogram = yamnet_model(testing_wav_data) class_scores = tf.reduce_mean(scores, axis=0) top_class = tf.math.argmax(class_scores) inferred_class = class_names[top_class] print(f'The main sound is: {inferred_class}') print(f'The embeddings shape: {embeddings.shape}') _ = tf.keras.utils.get_file('esc-50.zip', 'https://github.com/karoldvl/ESC-50/archive/master.zip', cache_dir='./', cache_subdir='datasets', extract=True) esc50_csv = './datasets/ESC-50-master/meta/esc50.csv' base_data_path = './datasets/ESC-50-master/audio/' pd_data = pd.read_csv(esc50_csv) pd_data.head() my_classes = ['dog', 'cat'] map_class_to_id = {'dog': 0, 'cat': 1} filtered_pd = pd_data[pd_data.category.isin(my_classes)] class_id = filtered_pd['category'].apply(lambda name: map_class_to_id[name]) filtered_pd = filtered_pd.assign(target=class_id) full_path = filtered_pd['filename'].apply(lambda row: os.path.join(base_data_path, row)) filtered_pd = filtered_pd.assign(filename=full_path) filtered_pd.head(10) filenames = filtered_pd['filename'] targets = filtered_pd['target'] folds = filtered_pd['fold'] main_ds = tf.data.Dataset.from_tensor_slices((filenames, targets, folds)) main_ds.element_spec def load_wav_for_map(filename, label, fold): return load_wav_16k_mono(filename), label, fold main_ds = main_ds.map(load_wav_for_map) main_ds.element_spec # applies the embedding extraction model to a wav data def extract_embedding(wav_data, label, fold): # run YAMNet to extract embedding from the wav data scores, embeddings, spectrogram = yamnet_model(wav_data) num_embeddings = tf.shape(embeddings)[0] return (embeddings, tf.repeat(label, num_embeddings), tf.repeat(fold, num_embeddings)) # extract embedding main_ds = main_ds.map(extract_embedding).unbatch() main_ds.element_spec cached_ds = main_ds.cache() train_ds = cached_ds.filter(lambda embedding, label, fold: fold < 4) val_ds = cached_ds.filter(lambda embedding, label, fold: fold == 4) test_ds = cached_ds.filter(lambda embedding, label, fold: fold == 5) # remove the folds column now that it's not needed anymore remove_fold_column = lambda embedding, label, fold: (embedding, label) train_ds = train_ds.map(remove_fold_column) val_ds = val_ds.map(remove_fold_column) test_ds = test_ds.map(remove_fold_column) train_ds = train_ds.cache().shuffle(1000).batch(32).prefetch(tf.data.AUTOTUNE) val_ds = val_ds.cache().batch(32).prefetch(tf.data.AUTOTUNE) test_ds = test_ds.cache().batch(32).prefetch(tf.data.AUTOTUNE) my_model = tf.keras.Sequential([ tf.keras.layers.Input(shape=1024, dtype=tf.float32, name='input_embedding'), tf.keras.layers.Dense(512, activation='relu'), tf.keras.layers.Dense(len(my_classes)) ], name='my_model') my_model.summary() my_model.compile(loss=tf.keras.losses.SparseCategoricalCrossentropy(from_logits=True), optimizer="adam", metrics=['accuracy']) callback = tf.keras.callbacks.EarlyStopping(monitor='loss', patience=3, restore_best_weights=True) history = my_model.fit(train_ds, epochs=20, validation_data=val_ds, callbacks=callback) loss, accuracy = my_model.evaluate(test_ds) print("Loss: ", loss) print("Accuracy: ", accuracy) scores, embeddings, spectrogram = yamnet_model(testing_wav_data) result = my_model(embeddings).numpy() inferred_class = my_classes[result.mean(axis=0).argmax()] print(f'The main sound is: {inferred_class}') ``` ### Relevant log output ```shell Traceback (most recent call last): File "/Users/oliviafranken/Documents/birds/yamnet.py", line 10, in <module> import tensorflow_io as tfio ModuleNotFoundError: No module named 'tensorflow_io' ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61264/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/61264/timeline
null
reopened
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61263
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61263/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61263/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61263/events
https://github.com/tensorflow/tensorflow/pull/61263
1,801,394,795
PR_kwDOArmXAs5VVWF8
61,263
Fix tosa hardswish
{ "login": "mohammedouahman", "id": 79179795, "node_id": "MDQ6VXNlcjc5MTc5Nzk1", "avatar_url": "https://avatars.githubusercontent.com/u/79179795?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mohammedouahman", "html_url": "https://github.com/mohammedouahman", "followers_url": "https://api.github.com/users/mohammedouahman/followers", "following_url": "https://api.github.com/users/mohammedouahman/following{/other_user}", "gists_url": "https://api.github.com/users/mohammedouahman/gists{/gist_id}", "starred_url": "https://api.github.com/users/mohammedouahman/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mohammedouahman/subscriptions", "organizations_url": "https://api.github.com/users/mohammedouahman/orgs", "repos_url": "https://api.github.com/users/mohammedouahman/repos", "events_url": "https://api.github.com/users/mohammedouahman/events{/privacy}", "received_events_url": "https://api.github.com/users/mohammedouahman/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 @mohammedouahman 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-07-12T17:02:17
2023-08-13T01:47:08
2023-08-13T01:47:02
NONE
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61263", "html_url": "https://github.com/tensorflow/tensorflow/pull/61263", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61263.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61263.patch", "merged_at": null }
just for the impression, ongoing
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61263/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/61263/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61262
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61262/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61262/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61262/events
https://github.com/tensorflow/tensorflow/pull/61262
1,801,340,128
PR_kwDOArmXAs5VVKHl
61,262
[Linaro:ARM_CI] Add broken test to skip list
{ "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": "nitins17", "id": 29348997, "node_id": "MDQ6VXNlcjI5MzQ4OTk3", "avatar_url": "https://avatars.githubusercontent.com/u/29348997?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nitins17", "html_url": "https://github.com/nitins17", "followers_url": "https://api.github.com/users/nitins17/followers", "following_url": "https://api.github.com/users/nitins17/following{/other_user}", "gists_url": "https://api.github.com/users/nitins17/gists{/gist_id}", "starred_url": "https://api.github.com/users/nitins17/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nitins17/subscriptions", "organizations_url": "https://api.github.com/users/nitins17/orgs", "repos_url": "https://api.github.com/users/nitins17/repos", "events_url": "https://api.github.com/users/nitins17/events{/privacy}", "received_events_url": "https://api.github.com/users/nitins17/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
[]
2023-07-12T16:23:25
2023-07-13T08:48:52
2023-07-13T04:40:07
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61262", "html_url": "https://github.com/tensorflow/tensorflow/pull/61262", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61262.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61262.patch", "merged_at": "2023-07-13T04:40:07" }
//tensorflow/compiler/xla/service/gpu:fusion_merger_test is broken and only works on x86 as a divide by zero is evaluated as -inf
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61262/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/61262/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61261
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61261/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61261/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61261/events
https://github.com/tensorflow/tensorflow/pull/61261
1,801,160,694
PR_kwDOArmXAs5VUirR
61,261
Run AARCH64 CI builds on pushes to release branches
{ "login": "MichaelHudgins", "id": 30155094, "node_id": "MDQ6VXNlcjMwMTU1MDk0", "avatar_url": "https://avatars.githubusercontent.com/u/30155094?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MichaelHudgins", "html_url": "https://github.com/MichaelHudgins", "followers_url": "https://api.github.com/users/MichaelHudgins/followers", "following_url": "https://api.github.com/users/MichaelHudgins/following{/other_user}", "gists_url": "https://api.github.com/users/MichaelHudgins/gists{/gist_id}", "starred_url": "https://api.github.com/users/MichaelHudgins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MichaelHudgins/subscriptions", "organizations_url": "https://api.github.com/users/MichaelHudgins/orgs", "repos_url": "https://api.github.com/users/MichaelHudgins/repos", "events_url": "https://api.github.com/users/MichaelHudgins/events{/privacy}", "received_events_url": "https://api.github.com/users/MichaelHudgins/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
[ "CC: @elfringham ", "The Py+CPP Test failure is due to an unrelated flaky test failure." ]
2023-07-12T14:53:04
2023-07-13T18:36:24
2023-07-13T18:36:24
COLLABORATOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61261", "html_url": "https://github.com/tensorflow/tensorflow/pull/61261", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61261.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61261.patch", "merged_at": "2023-07-13T18:36:24" }
To ensure that AARCH64 builds are stable prior to a release tag, enable running the build and test pipeline for pushes to the release branch even if they are not tagged. We prevent the uploading of the built wheel if it is not tagged with a v2 release tag.
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61261/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/61261/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61260
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61260/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61260/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61260/events
https://github.com/tensorflow/tensorflow/issues/61260
1,801,007,114
I_kwDOArmXAs5rWTAK
61,260
The required input dimension and type changed after conversion of SAC algorithm
{ "login": "urplanet", "id": 34017508, "node_id": "MDQ6VXNlcjM0MDE3NTA4", "avatar_url": "https://avatars.githubusercontent.com/u/34017508?v=4", "gravatar_id": "", "url": "https://api.github.com/users/urplanet", "html_url": "https://github.com/urplanet", "followers_url": "https://api.github.com/users/urplanet/followers", "following_url": "https://api.github.com/users/urplanet/following{/other_user}", "gists_url": "https://api.github.com/users/urplanet/gists{/gist_id}", "starred_url": "https://api.github.com/users/urplanet/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/urplanet/subscriptions", "organizations_url": "https://api.github.com/users/urplanet/orgs", "repos_url": "https://api.github.com/users/urplanet/repos", "events_url": "https://api.github.com/users/urplanet/events{/privacy}", "received_events_url": "https://api.github.com/users/urplanet/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": 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": 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
[ "Hi @urplanet \r\n\r\nCould you please provide the minimal reproducible code for the colab environment?\r\n\r\nFacing errors while executing the provided code.\r\n\r\nThanks.", "Hi @pjpratik \r\nas requested, I have updated the code in the colab https://colab.research.google.com/drive/1Eea5Fi861_h3TzH1eGUaP-H9dSPBn3OJ?usp=sharing . I included the environment I used to run the training.\r\n", "Hi @urplanet \r\n\r\nThanks for the code.\r\n\r\nI have observed that `observation` has been converted with shape signature `[-1,5]` with type FLOAT32 using TFLite [Model Analyzer](https://www.tensorflow.org/lite/guide/model_analyzer) API.\r\n\r\nThe model has \r\n```\r\nObservation Spec:\r\nBoundedArraySpec(shape=(5,), dtype=dtype('float32'), name='observation', minimum=0.0, maximum=1.0)\r\n```\r\nand as per model analyzer\r\n```\r\n T#0(action_0_step_type:0) shape_signature:[-1], type:INT32\r\n T#1(action_0_discount:0) shape_signature:[-1], type:FLOAT32\r\n T#2(action_0_observation:0) shape_signature:[-1, 5], type:FLOAT32\r\n T#3(action_0_reward:0) shape_signature:[-1], type:FLOAT32\r\n```\r\nPlease find the gist [here](https://colab.research.google.com/gist/pjpratik/52b533b493930883b98ea3ef91dc2174/61260.ipynb).\r\n\r\nThanks.\r\n", "So could you advice that this issue occurs because of incompatibility of the model or which root causes ? Because my conversion is very simple without any change in the conversion configuration.", "Hi @urplanet \r\n\r\nBased on the above gist, I don't see any issue in conversion process as the input shapes are not altered.\r\n\r\nYou have to access `input_details[2]['shape']` and `input_details[2]['index']`, if the `observation` data is of the interest.\r\n\r\n```\r\n# Create random input data with shape [1, 5]\r\ninput_shape = input_details[2]['shape']\r\ninput_data = np.random.random_sample(input_shape).astype(np.float32) \r\nprint(\"Input data: \\n\", input_data)\r\nprint(\"Input shape:\", input_shape)\r\n# Set input tensor to the random input data\r\ninterpreter.set_tensor(input_details[2]['index'], input_data)\r\ninterpreter.invoke()\r\n```\r\n\r\nThanks.", "that solved my problem. thank you so much !\r\n\r\nmeanwhile, I have a small question on the Saved Model selection. I followed this https://www.tensorflow.org/agents/tutorials/7_SAC_minitaur_tutorial and realized that there are different Saved_Model.pb in different folder in the tempdir.\r\n\r\nif I would like to convert the policy for further use in TFLite, which one I should pick to convert to represent my trained SAC Model ?", "Hi @urplanet \r\n\r\nThe Tensorflow Agents is being maintained as separate [repo](https://github.com/tensorflow/agents). Could you please raise a ticket there for faster resolution?\r\n\r\nPlease, let us know if we can help anything on TFLite.\r\n\r\nFeel free to close the issue if it is resolved.\r\n\r\nThanks.", "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/61260\">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/61260\">No</a>\n" ]
2023-07-12T13:38:32
2023-07-19T09:16:42
2023-07-19T09:16:39
NONE
null
null
null
### 1. System information - OS Platform and Distribution : Linux Ubuntu 22.04 - TensorFlow installation : Pip Package - TensorFlow library: Tensorflow 2.12.1 ### 2. Code most of them I followed the SAC Minitaur tutorial here https://www.tensorflow.org/agents/tutorials/7_SAC_minitaur_tutorial but with some modification to fit with my environment, also with additional function to convert to TFLite https://colab.research.google.com/drive/1Eea5Fi861_h3TzH1eGUaP-H9dSPBn3OJ?usp=sharing ### 3. Failure after conversion The Observation Spec reduced and changed from shape (5,), float32 to shape[1], int32 in this conversion > Observation Spec: BoundedArraySpec(shape=(5,), dtype=dtype('float32'), name='observation', minimum=0.0, maximum=1.0) Reward Spec: ArraySpec(shape=(), dtype=dtype('float32'), name='reward') Action Spec: BoundedArraySpec(shape=(1,), dtype=dtype('float32'), name='action', minimum=-0.6000000238418579, maximum=0.6000000238418579) Time step: TimeStep( {'discount': array(1., dtype=float32), 'observation': array([0.09387773, 0.45744053, 0.8837498 , 0.84389937, 0.5 ], dtype=float32), 'reward': array(0., dtype=float32), 'step_type': array(0, dtype=int32)}) step = 0: AverageReturn = 0.000758, AverageEpisodeLength = 120.449997 step = 100: loss = -0.29556670784950256 step = 200: loss = -0.42344561219215393 step = 300: loss = -0.4886786639690399 step = 400: loss = -0.5600587129592896 step = 500: loss = -0.6421032547950745 step = 600: loss = -0.7184216380119324 step = 700: loss = -0.785315752029419 step = 800: loss = -0.8600273728370667 step = 900: loss = -0.9031595587730408 step = 1000: AverageReturn = 1.299191, AverageEpisodeLength = 115.500000 step = 1000: loss = -0.990966796875 Policy Saved at /home/erde/minipads/sim/experiment/RL_Ctler/tf_exp/temp_sac/policy #################### Convert to TFlite Input shape: {'arg_0_discount': TensorSpec(shape=(None,), dtype=tf.float32, name='0/discount'), 'arg_0_observation': TensorSpec(shape=(None, 5), dtype=tf.float32, name='0/observation'), 'arg_0_reward': TensorSpec(shape=(None,), dtype=tf.float32, name='0/reward'), 'arg_0_step_type': TensorSpec(shape=(None,), dtype=tf.int32, name='0/step_type')} INFO: Created TensorFlow Lite XNNPACK delegate for CPU. Input details: [{'name': 'action_0_step_type:0', 'index': 0, 'shape': array([1], dtype=int32), 'shape_signature': array([-1], dtype=int32), 'dtype': <class 'numpy.int32'>, 'quantization': (0.0, 0), 'quantization_parameters': {'scales': array([], dtype=float32), 'zero_points': array([], dtype=int32), 'quantized_dimension': 0}, 'sparsity_parameters': {}}, {'name': 'action_0_discount:0', 'index': 1, 'shape': array([1], dtype=int32), 'shape_signature': array([-1], dtype=int32), 'dtype': <class 'numpy.float32'>, 'quantization': (0.0, 0), 'quantization_parameters': {'scales': array([], dtype=float32), 'zero_points': array([], dtype=int32), 'quantized_dimension': 0}, 'sparsity_parameters': {}}, {'name': 'action_0_observation:0', 'index': 2, 'shape': array([1, 5], dtype=int32), 'shape_signature': array([-1, 5], dtype=int32), 'dtype': <class 'numpy.float32'>, 'quantization': (0.0, 0), 'quantization_parameters': {'scales': array([], dtype=float32), 'zero_points': array([], dtype=int32), 'quantized_dimension': 0}, 'sparsity_parameters': {}}, {'name': 'action_0_reward:0', 'index': 3, 'shape': array([1], dtype=int32), 'shape_signature': array([-1], dtype=int32), 'dtype': <class 'numpy.float32'>, 'quantization': (0.0, 0), 'quantization_parameters': {'scales': array([], dtype=float32), 'zero_points': array([], dtype=int32), 'quantized_dimension': 0}, 'sparsity_parameters': {}}] Output details: [{'name': 'StatefulPartitionedCall:0', 'index': 92, 'shape': array([1, 1], dtype=int32), 'shape_signature': array([-1, -1], dtype=int32), 'dtype': <class 'numpy.float32'>, 'quantization': (0.0, 0), 'quantization_parameters': {'scales': array([], dtype=float32), 'zero_points': array([], dtype=int32), 'quantized_dimension': 0}, 'sparsity_parameters': {}}] Input data: [0] Input shape: [1] Output data: [[-0.6]] - The converted model has less dimension input and different input type required
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61260/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/61260/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61259
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61259/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61259/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61259/events
https://github.com/tensorflow/tensorflow/pull/61259
1,800,858,491
PR_kwDOArmXAs5VTghr
61,259
Raise an error when initializing a LeakyReLU layer with alpha less th…
{ "login": "adey4", "id": 102936571, "node_id": "U_kgDOBiKv-w", "avatar_url": "https://avatars.githubusercontent.com/u/102936571?v=4", "gravatar_id": "", "url": "https://api.github.com/users/adey4", "html_url": "https://github.com/adey4", "followers_url": "https://api.github.com/users/adey4/followers", "following_url": "https://api.github.com/users/adey4/following{/other_user}", "gists_url": "https://api.github.com/users/adey4/gists{/gist_id}", "starred_url": "https://api.github.com/users/adey4/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/adey4/subscriptions", "organizations_url": "https://api.github.com/users/adey4/orgs", "repos_url": "https://api.github.com/users/adey4/repos", "events_url": "https://api.github.com/users/adey4/events{/privacy}", "received_events_url": "https://api.github.com/users/adey4/received_events", "type": "User", "site_admin": false }
[ { "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": 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/61259/checks?check_run_id=14978876953) 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 @adey4 It looks like your PR relates to the Keras component. Please submit it to the github.com/keras-team/keras repository instead. Thankyou.\r\n@fchollet, @qlzh727" ]
2023-07-12T12:17:58
2023-07-13T03:49:21
2023-07-13T03:49:20
NONE
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61259", "html_url": "https://github.com/tensorflow/tensorflow/pull/61259", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61259.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61259.patch", "merged_at": null }
…an 0
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61259/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/61259/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61258
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61258/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61258/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61258/events
https://github.com/tensorflow/tensorflow/pull/61258
1,800,817,104
PR_kwDOArmXAs5VTXXH
61,258
Update the path to symbolic link for building mlir:tf-opt
{ "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 }
[ { "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-07-12T11:54:53
2023-09-12T12:18:07
2023-09-12T12:18:06
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61258", "html_url": "https://github.com/tensorflow/tensorflow/pull/61258", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61258.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61258.patch", "merged_at": "2023-09-12T12:18:06" }
The symbolic link is referring to not existing path when running with `ln -sf $$(realpath --relative-to=$(RULEDIR) $<) $@` and fails. Fixes #60915
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61258/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/61258/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61257
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61257/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61257/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61257/events
https://github.com/tensorflow/tensorflow/issues/61257
1,800,668,275
I_kwDOArmXAs5rVARz
61,257
The legal value range of the alpha parameter in LeakyReLU
{ "login": "PhyllisJi", "id": 34181680, "node_id": "MDQ6VXNlcjM0MTgxNjgw", "avatar_url": "https://avatars.githubusercontent.com/u/34181680?v=4", "gravatar_id": "", "url": "https://api.github.com/users/PhyllisJi", "html_url": "https://github.com/PhyllisJi", "followers_url": "https://api.github.com/users/PhyllisJi/followers", "following_url": "https://api.github.com/users/PhyllisJi/following{/other_user}", "gists_url": "https://api.github.com/users/PhyllisJi/gists{/gist_id}", "starred_url": "https://api.github.com/users/PhyllisJi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/PhyllisJi/subscriptions", "organizations_url": "https://api.github.com/users/PhyllisJi/orgs", "repos_url": "https://api.github.com/users/PhyllisJi/repos", "events_url": "https://api.github.com/users/PhyllisJi/events{/privacy}", "received_events_url": "https://api.github.com/users/PhyllisJi/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": 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": 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": 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": 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
[ "Opened pull request #61259 ", "@PhyllisJi ,\r\n\r\nThanks for reporting.I have tested a simple code with `alpha = -0.3` and `alpha = 0.3` just to check and both are generating output which are different as per attached [gist](https://colab.research.google.com/gist/SuryanarayanaY/d999601062b0a57d5d8d1c014435c3d6/61257.ipynb). The source code is missing validation for values of `alpha < 0` .\r\n\r\n@adey4 , Could you please confirm whether you are interested to raise a PR for same on Keras repo ? The keras source code can be found [here](https://github.com/keras-team/keras/blob/master/keras/layers/activation/leaky_relu.py). If not I can raise a PR for this. \r\n\r\nThanks!\r\n\r\n\r\n\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/61257\">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/61257\">No</a>\n", "Reopening as PR not approved in TF repo. Created a new PR in Keras repo", "Reference PR-[18336](https://github.com/keras-team/keras/pull/18336) in Keras repo", "I also observed the following alternative names of the API have the same behavior that accepts the negative value of `alpha` without throwing an Exception.\r\n\r\n- `(tf.keras.layers.LeakyReLU)`, `tf.compat.v1.keras.layers.LeakyReLU`\r\n\r\nThis behavior still exists in tensorflow nightly (2.15.0-dev20230906), and users should be cautious when using them on both CPU and GPU.\r\n\r\n<details>\r\n <summary>Code to reproduce the issue in <code>tf.compat.v1.keras.layers.LeakyReLU</code></summary>\r\n\r\n```python\r\nimport tensorflow as tf\r\nprint(tf.version.GIT_VERSION, tf.version.VERSION, flush=True)\r\nprint(tf.config.list_physical_devices(), flush=True)\r\n\r\n\r\ndef bilstm(num_units=25, input_shape=10):\r\n input_tensor = tf.keras.Input(shape=input_shape)\r\n x = tf.keras.layers.Embedding(input_dim=100, output_dim=10, input_length=8, embeddings_initializer=\"uniform\")(input_tensor)\r\n # x = tf.keras.layers.LeakyReLU(alpha=-0.2044550861511304)(x)\r\n x = tf.compat.v1.keras.layers.LeakyReLU(alpha=-0.2044550861511304)(x)\r\n output_tensor = x\r\n model = tf.keras.models.Model(inputs=input_tensor, outputs=output_tensor)\r\n return model\r\n\r\n\r\ntry:\r\n bilstm().summary()\r\nexcept Exception as e:\r\n print(\"Success! Error:\", str(e), flush=True)\r\nelse:\r\n print(\"Failed!\", flush=True)\r\n```\r\n\r\nHere is the output of the above code on my GPU machine:\r\n\r\n```text\r\nv2.14.0-rc0-34-gdd01672d9a9 2.14.0-rc1\r\n[PhysicalDevice(name='/physical_device:CPU:0', device_type='CPU'), PhysicalDevice(name='/physical_device:GPU:0', device_type='GPU')]\r\nModel: \"model\"\r\n_________________________________________________________________\r\n Layer (type) Output Shape Param # \r\n=================================================================\r\n input_1 (InputLayer) [(None, 10)] 0 \r\n \r\n embedding (Embedding) (None, 10, 10) 1000 \r\n \r\n leaky_re_lu (LeakyReLU) (None, 10, 10) 0 \r\n \r\n=================================================================\r\nTotal params: 1000 (3.91 KB)\r\nTrainable params: 1000 (3.91 KB)\r\nNon-trainable params: 0 (0.00 Byte)\r\n_________________________________________________________________\r\nFailed!\r\n```\r\n\r\nIt also fails on CPU:\r\n\r\n```text\r\nv2.14.0-rc0-34-gdd01672d9a9 2.14.0-rc1\r\n[PhysicalDevice(name='/physical_device:CPU:0', device_type='CPU')]\r\nModel: \"model\"\r\n_________________________________________________________________\r\n Layer (type) Output Shape Param # \r\n=================================================================\r\n input_1 (InputLayer) [(None, 10)] 0 \r\n \r\n embedding (Embedding) (None, 10, 10) 1000 \r\n \r\n leaky_re_lu (LeakyReLU) (None, 10, 10) 0 \r\n \r\n=================================================================\r\nTotal params: 1000 (3.91 KB)\r\nTrainable params: 1000 (3.91 KB)\r\nNon-trainable params: 0 (0.00 Byte)\r\n_________________________________________________________________\r\nFailed!\r\n```\r\n</details>\r\n", "Hi @PhyllisJi ,\r\n\r\nThis is fixed in #[18678](https://github.com/keras-team/keras/pull/18678).\r\n\r\nCould you please verify and close the issue. 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/61257\">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/61257\">No</a>\n" ]
2023-07-12T10:25:14
2024-01-19T01:49:34
2024-01-19T01:49:31
NONE
null
null
null
### Issue type Documentation Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source source ### TensorFlow version tf2.12.0 ### Custom code Yes ### OS platform and distribution MacOs ### Mobile device _No response_ ### Python version 3.9 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? The document describes the LeakyReLU function as having an alpha parameter whose type is a floating point number and the value is equal to or greater than 0. But we found that the value of this parameter is less than zero can also work. #### Document | `alpha` | Float >= `0.`. Negative slope coefficient. Defaults to `0.3`. | | ------- | ------------------------------------------------------------ | ### Standalone code to reproduce the issue ```shell from tensorflow import keras def bilstm(num_units=25, input_shape=10): # bilstm input layer input_tensor = keras.Input(shape=input_shape) # bilstm hidden layer x = keras.layers.Embedding(input_dim=100, output_dim=10, input_length=8, embeddings_initializer="uniform")(input_tensor) x = keras.layers.LeakyReLU(alpha=-0.2044550861511304)(x) # bilstm output layer output_tensor = x model = keras.models.Model(inputs=input_tensor, outputs=output_tensor) return model if __name__ == "__main__": bilstm().summary() ``` ### Relevant log output ```shell Model: "model" _________________________________________________________________ Layer (type) Output Shape Param # ================================================================= input_1 (InputLayer) [(None, 10)] 0 embedding (Embedding) (None, 10, 10) 1000 leaky_re_lu (LeakyReLU) (None, 10, 10) 0 ================================================================= Total params: 1,000 Trainable params: 1,000 Non-trainable params: 0 ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61257/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/61257/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61256
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61256/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61256/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61256/events
https://github.com/tensorflow/tensorflow/issues/61256
1,800,656,898
I_kwDOArmXAs5rU9gC
61,256
The value range of dropout parameters and recurrent_dropout parameters of GRU/LSTM/SimpleRNN functions
{ "login": "PhyllisJi", "id": 34181680, "node_id": "MDQ6VXNlcjM0MTgxNjgw", "avatar_url": "https://avatars.githubusercontent.com/u/34181680?v=4", "gravatar_id": "", "url": "https://api.github.com/users/PhyllisJi", "html_url": "https://github.com/PhyllisJi", "followers_url": "https://api.github.com/users/PhyllisJi/followers", "following_url": "https://api.github.com/users/PhyllisJi/following{/other_user}", "gists_url": "https://api.github.com/users/PhyllisJi/gists{/gist_id}", "starred_url": "https://api.github.com/users/PhyllisJi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/PhyllisJi/subscriptions", "organizations_url": "https://api.github.com/users/PhyllisJi/orgs", "repos_url": "https://api.github.com/users/PhyllisJi/repos", "events_url": "https://api.github.com/users/PhyllisJi/events{/privacy}", "received_events_url": "https://api.github.com/users/PhyllisJi/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": 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": 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": 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": "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
[ "@PhyllisJi Thank you for raising this issue!\r\nI was able to replicate the issue as provided [here](https://colab.research.google.com/gist/sushreebarsa/32c22320c0b7877f4fde23ce1270818d/61256.ipynb).\r\nCould you please share the link of the documentation where you are proposing the modifications?", "Both the dropout parameter and the recurrent_dropout parameter take values between 0 and 1 in the document.\r\n[GRU](https://www.tensorflow.org/api_docs/python/tf/keras/layers/GRU)\r\n[LSTM](https://www.tensorflow.org/api_docs/python/tf/keras/layers/LSTM)\r\n[SimpleRNN](https://www.tensorflow.org/api_docs/python/tf/keras/layers/SimpleRNN)", "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/61256\">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/61256\">No</a>\n" ]
2023-07-12T10:19:28
2023-08-04T01:52:04
2023-08-04T01:52:01
NONE
null
null
null
### Issue type Documentation Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source source ### TensorFlow version tf2.12.0 ### Custom code Yes ### OS platform and distribution MacOs ### Mobile device _No response_ ### Python version 3.9 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? The document describes the dropout parameters of the GRU/LSTM/SimpleRNN function and the recurrent_dropout parameters are floating-point numbers with values ranging from 0 to 1, but the program can still run normally if the number is not between 0 and 1. #### Document | `dropout` | Float between 0 and 1. Fraction of the units to drop for the linear transformation of the inputs. Default: 0. | | ------------------- | ------------------------------------------------------------ | | `recurrent_dropout` | Float between 0 and 1. Fraction of the units to drop for the linear transformation of the recurrent state. Default: 0. | ### Standalone code to reproduce the issue ```shell from tensorflow import keras def bilstm(num_units=25, input_shape=10): # bilstm input layer input_tensor = keras.Input(shape=input_shape) # bilstm hidden layer x = keras.layers.Embedding(input_dim=985, output_dim=10, input_length=8)(input_tensor) x = keras.layers.AlphaDropout(rate=0.1, noise_shape=None)(x) y = keras.layers.LSTM(units=num_units, return_sequences=False, recurrent_dropout=0.1) x = keras.layers.GRU(units=21, stateful=False, dropout=-0.6477691805726197, recurrent_dropout=-0.6477691805726197)(x) # bilstm output layer output_tensor = x model = keras.models.Model(inputs=input_tensor, outputs=output_tensor) return model if __name__ == "__main__": bilstm().summary() ``` ### Relevant log output ```shell Model: "model" _________________________________________________________________ Layer (type) Output Shape Param # ================================================================= input_1 (InputLayer) [(None, 10)] 0 embedding (Embedding) (None, 10, 10) 9850 alpha_dropout (AlphaDropout (None, 10, 10) 0 ) gru (GRU) (None, 21) 2079 ================================================================= Total params: 11,929 Trainable params: 11,929 Non-trainable params: 0 ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61256/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/61256/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61255
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61255/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61255/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61255/events
https://github.com/tensorflow/tensorflow/issues/61255
1,800,649,376
I_kwDOArmXAs5rU7qg
61,255
Crooping2D/3D does not have exception handling for the Crooping parameter
{ "login": "PhyllisJi", "id": 34181680, "node_id": "MDQ6VXNlcjM0MTgxNjgw", "avatar_url": "https://avatars.githubusercontent.com/u/34181680?v=4", "gravatar_id": "", "url": "https://api.github.com/users/PhyllisJi", "html_url": "https://github.com/PhyllisJi", "followers_url": "https://api.github.com/users/PhyllisJi/followers", "following_url": "https://api.github.com/users/PhyllisJi/following{/other_user}", "gists_url": "https://api.github.com/users/PhyllisJi/gists{/gist_id}", "starred_url": "https://api.github.com/users/PhyllisJi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/PhyllisJi/subscriptions", "organizations_url": "https://api.github.com/users/PhyllisJi/orgs", "repos_url": "https://api.github.com/users/PhyllisJi/repos", "events_url": "https://api.github.com/users/PhyllisJi/events{/privacy}", "received_events_url": "https://api.github.com/users/PhyllisJi/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": 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": "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
[ "@PhyllisJi,\r\nFrom the docs here ([keras.io/layers/convolutional](http://keras.io/layers/convolutional)) it looks like you can input how many rows/cols to crop and whether it is from the top/bottom left/right using the cropping tuple you are passing, eg: \"If tuple of 2 tuples of 2 ints: interpreted as ((top_crop, bottom_crop), (left_crop, right_crop))\" If you only wanted to to crop the right of the image, for example, pass cropping=((0, 0), (0, 1))\r\nhttps://www.tensorflow.org/api_docs/python/tf/keras/layers/Cropping2D\r\n\r\nThank you!", "> @PhyllisJi, From the docs here ([keras.io/layers/convolutional](http://keras.io/layers/convolutional)) it looks like you can input how many rows/cols to crop and whether it is from the top/bottom left/right using the cropping tuple you are passing, eg: \"If tuple of 2 tuples of 2 ints: interpreted as ((top_crop, bottom_crop), (left_crop, right_crop))\" If you only wanted to to crop the right of the image, for example, pass cropping=((0, 0), (0, 1)) https://www.tensorflow.org/api_docs/python/tf/keras/layers/Cropping2D\r\n> \r\n> Thank you!\r\n\r\nThank you for your reply, but I think according to the document, this parameter should not be filled in negative numbers, tf should check and verify the input.", "@PhyllisJi ,\r\nTensorFlow allows you to specify **-ve** values for cropping because there are some situations where you may want to crop pixels from the input tensor in the opposite direction. \r\n\r\nEg: If you are using a convolutional neural network (**CNN**) to classify images of objects, you may want to crop away the borders of the images before feeding them into the CNN. This can help to improve the performance of the CNN, as it can reduce the amount of unwanted information that the CNN has to process.\r\n\r\nIn most cases you want to specify **+ve** values for cropping. However, it is important to be aware that you can specify -ve values, and that TensorFlow will not check whether the values are `+ve or -ve`. If the cropping value is specified as an integer, TensorFlow is expected to handle both the +ve and -ve values. The +ve values would result in cropping from the corresponding edge, and -ve values would result in zero-padding from the corresponding edge. Thank you!\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/61255\">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/61255\">No</a>\n" ]
2023-07-12T10:15:49
2023-12-09T01:48:34
2023-12-09T01:48:30
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source source ### TensorFlow version tf2.12.0 ### Custom code Yes ### OS platform and distribution MacOs ### Mobile device _No response_ ### Python version 3.9 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? When the value type of **Cropping** in **Cropping2D** is int, tf doesn't check whether **Cropping** is positive or negative. This is also true for Cropping3D but not Cropping1D. ### Standalone code to reproduce the issue ```shell from tensorflow import keras def squeezenet(label_num=1000, input_shape=(224, 224, 3)): # squeezenet input layer input_tensor = keras.Input(shape=input_shape) # squeezenet hidden layer x = keras.layers.Conv2D(filters=96, activation="relu", kernel_size=(7,7), strides=2, padding="valid")(input_tensor) x = keras.layers.Cropping2D(cropping=-100)(x) # squeezenet output layer output_tensor = keras.layers.Flatten()(keras.layers.Dense(units=label_num, activation="softmax")(x)) model = keras.models.Model(inputs=input_tensor, outputs=output_tensor) return model if __name__ == "__main__": squeezenet().summary() ``` ### Relevant log output ```shell Model: "model" _________________________________________________________________ Layer (type) Output Shape Param # ================================================================= input_1 (InputLayer) [(None, 224, 224, 3)] 0 conv2d (Conv2D) (None, 109, 109, 96) 14208 cropping2d (Cropping2D) (None, 91, 91, 96) 0 dense (Dense) (None, 91, 91, 1000) 97000 flatten (Flatten) (None, 8281000) 0 ================================================================= Total params: 111,208 Trainable params: 111,208 Non-trainable params: 0 ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61255/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/61255/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61254
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61254/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61254/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61254/events
https://github.com/tensorflow/tensorflow/issues/61254
1,800,630,278
I_kwDOArmXAs5rU3AG
61,254
Documentation Bug about API ActivityRegularization
{ "login": "PhyllisJi", "id": 34181680, "node_id": "MDQ6VXNlcjM0MTgxNjgw", "avatar_url": "https://avatars.githubusercontent.com/u/34181680?v=4", "gravatar_id": "", "url": "https://api.github.com/users/PhyllisJi", "html_url": "https://github.com/PhyllisJi", "followers_url": "https://api.github.com/users/PhyllisJi/followers", "following_url": "https://api.github.com/users/PhyllisJi/following{/other_user}", "gists_url": "https://api.github.com/users/PhyllisJi/gists{/gist_id}", "starred_url": "https://api.github.com/users/PhyllisJi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/PhyllisJi/subscriptions", "organizations_url": "https://api.github.com/users/PhyllisJi/orgs", "repos_url": "https://api.github.com/users/PhyllisJi/repos", "events_url": "https://api.github.com/users/PhyllisJi/events{/privacy}", "received_events_url": "https://api.github.com/users/PhyllisJi/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": 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": 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": 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": 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": 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 @PhyllisJi ,\r\n\r\nThanks for reporting.I have replicated the reported behaviour and attached [gist](https://colab.research.google.com/gist/SuryanarayanaY/a140acaf103057f5627938cd1b92bba5/61254.ipynb) for reference.\r\n\r\nThe reason for this for l1 and l2 inputs validation part is missing.I may raise a PR to fix this after going in details.", "A PR #[18293](https://github.com/keras-team/keras/pull/18293) in Keras repo has been raised which may probably fix this once merged. Thanks!", "A new PR #[18688](https://github.com/keras-team/keras/pull/18688) has been proposed in Keras repo as previous PR ( mentioned above) got cancelled during migration process. ", "Hi @PhyllisJi ,\r\n\r\nThe proposed PR got merged now and changes can be reflected in Keras Master. Could you please verify and close the ticket now? 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/61254\">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/61254\">No</a>\n" ]
2023-07-12T10:05:55
2023-12-09T01:48:37
2023-12-09T01:48:31
NONE
null
null
null
### Issue type Documentation Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source source ### TensorFlow version tf2.12.0 ### Custom code Yes ### OS platform and distribution MacOs ### Mobile device _No response_ ### Python version 3.9 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? #### Document | `l1` | L1 regularization factor (positive float). | | ---- | ------------------------------------------ | | `l2` | L2 regularization factor (positive float). | The l1 and l2 parameters of the ActivityRegularization function are described in this document as floating point numbers and their values should be positive. But we found that they can run with values less than zero ### Standalone code to reproduce the issue ```shell from tensorflow import keras def gru(num_units=25, input_shape=10): # gru input layer input_tensor = keras.Input(shape=input_shape) # gru hidden layer x = keras.layers.Embedding(input_dim=100, output_dim=10, input_length=None)(input_tensor) x = keras.layers.GRU(units=32, dropout=0.7338014982069313, return_sequences=True)(x) x = keras.layers.ActivityRegularization(l1=-0.616784030867379, l2=-0.9646777799675004)(x) # gru output layer output_tensor = keras.layers.Flatten()(keras.layers.Dense(units=num_units, activation="relu")(x)) model = keras.models.Model(inputs=input_tensor, outputs=output_tensor) return model if __name__ == "__main__": gru().summary() ``` ### Relevant log output ```shell Model: "model" _________________________________________________________________ Layer (type) Output Shape Param # ================================================================= input_1 (InputLayer) [(None, 10)] 0 embedding (Embedding) (None, 10, 10) 1000 gru (GRU) (None, 10, 32) 4224 activity_regularization (Ac (None, 10, 32) 0 tivityRegularization) dense (Dense) (None, 10, 25) 825 flatten (Flatten) (None, 250) 0 ================================================================= Total params: 6,049 Trainable params: 6,049 Non-trainable params: 0 ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61254/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/61254/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61253
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61253/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61253/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61253/events
https://github.com/tensorflow/tensorflow/pull/61253
1,800,585,555
PR_kwDOArmXAs5VSj2L
61,253
Fix TOSA HardSwish Table generation for int8 inputs
{ "login": "jamwar01", "id": 70524219, "node_id": "MDQ6VXNlcjcwNTI0MjE5", "avatar_url": "https://avatars.githubusercontent.com/u/70524219?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jamwar01", "html_url": "https://github.com/jamwar01", "followers_url": "https://api.github.com/users/jamwar01/followers", "following_url": "https://api.github.com/users/jamwar01/following{/other_user}", "gists_url": "https://api.github.com/users/jamwar01/gists{/gist_id}", "starred_url": "https://api.github.com/users/jamwar01/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jamwar01/subscriptions", "organizations_url": "https://api.github.com/users/jamwar01/orgs", "repos_url": "https://api.github.com/users/jamwar01/repos", "events_url": "https://api.github.com/users/jamwar01/events{/privacy}", "received_events_url": "https://api.github.com/users/jamwar01/received_events", "type": "User", "site_admin": false }
[ { "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 @rsuderman Can you please review this PR ? Thank you!", "Hi @rsuderman Can you please review this PR ? Thank you!", "Hi @jamwar01 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.", "> Hi @jamwar01 Can you please resolve conflicts? Thank you!\r\n\r\nConflicts have been resolved, thanks!", "Hi @jamwar01 Can you please resolve conflicts? Thank you!", "Hi @jamwar01 Can you please resolve conflicts? Thank you!", "Hi @jamwar01 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!\r\n", "Hi @gbaned, I have resolved the conflicts and opened a new PR for this:\r\nhttps://github.com/tensorflow/tensorflow/pull/62829" ]
2023-07-12T09:40:03
2024-01-22T15:08:11
2024-01-19T07:11:09
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61253", "html_url": "https://github.com/tensorflow/tensorflow/pull/61253", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61253.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61253.patch", "merged_at": null }
More closely match tflite kernel behaviour for integers when calculating HardSwish table Change-Id: I32a1338fb15d3505d4bea432a8523c79d8f5da7a
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61253/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/61253/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61252
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61252/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61252/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61252/events
https://github.com/tensorflow/tensorflow/issues/61252
1,800,410,603
I_kwDOArmXAs5rUBXr
61,252
Undefined symbol libtensorflow_cc
{ "login": "sirvincent", "id": 25725404, "node_id": "MDQ6VXNlcjI1NzI1NDA0", "avatar_url": "https://avatars.githubusercontent.com/u/25725404?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sirvincent", "html_url": "https://github.com/sirvincent", "followers_url": "https://api.github.com/users/sirvincent/followers", "following_url": "https://api.github.com/users/sirvincent/following{/other_user}", "gists_url": "https://api.github.com/users/sirvincent/gists{/gist_id}", "starred_url": "https://api.github.com/users/sirvincent/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sirvincent/subscriptions", "organizations_url": "https://api.github.com/users/sirvincent/orgs", "repos_url": "https://api.github.com/users/sirvincent/repos", "events_url": "https://api.github.com/users/sirvincent/events{/privacy}", "received_events_url": "https://api.github.com/users/sirvincent/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": 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": 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": "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
[ "@sirvincent Could you please confirm if you are using the [link1](https://www.tensorflow.org/install/lang_c), and [link2](https://github.com/tensorflow/tensorflow/blob/master/README.md) for installation. Please make sure to share the steps you followed in order to replicate the issue. Thank you!", "@sushreebarsa if I am not mistaken those links show the build process for the C api not the C++ api?", "@sirvincent Sorry for the misread! From TF v2.13, the tensorflow build uses clang instead of GCC. As per this [documentation](https://www.tensorflow.org/install/source#install_clang_recommended_linux_only), please refer to building it using clang 16.0 and let us know if it helps. Could you let us know the steps to follow for reproducing the error reported here as well. Thank you!", "@sushreebarsa I have managed to solve my problem. \r\n\r\nThe problem was that libtensorflow._cc.so.2.13.0 links against libtensorflow_framework.so.2, which is not created by the above build target. But libtensorflow_framework.so.2.13.0 is created so I manually symbolic linked it:\r\n`ln -s libtensorflow_framework.so.2.13.0 libtensorflow_framework.so.2`\r\n\r\nFor completeness in the end I used the following command for compiling\r\n`bazel build --config=avx2_linux //tensorflow:tensorflow_framework //tensorflow:tensorflow_cc //tensorflow:install_headers`\r\nBuild with GCC version 9.4.0 & Bazel version 5.3.0 on Ubuntu 20.04 with linux kernel 5.4.0-59-generic.\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/61252\">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/61252\">No</a>\n", "@sirvincent Glad your issue is resolved now. Thank you!" ]
2023-07-12T08:00:41
2023-07-19T08:35:03
2023-07-19T08:15:34
NONE
null
null
null
### Issue type Build/Install ### Have you reproduced the bug with TensorFlow Nightly? No ### Source source ### TensorFlow version tf 2.13.0 ### Custom code No ### OS platform and distribution Linux Ubuntu 20.04 ### Mobile device _No response_ ### Python version 3.8 ### Bazel version 5.3.0 ### GCC/compiler version 9.4.0 ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? Bazel build of libtensorflow_cc & install_headers for C++ interface returns runtime error: 'undefined symbol: _ZTIN3tsl2io20InputStreamInterfaceE'. The problem was not seen with 2.8.0 when the same steps are performed. We link against the libtensorflow_cc.so* & libtensorflow_framework.so*. ### Standalone code to reproduce the issue ```shell bazel build --config=monolithic --config=avx2_linux --config=opt //tensorflow:libtensorflow_cc.so //tensorflow:install_headers ``` ### Relevant log output _No response_
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61252/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/61252/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61251
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61251/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61251/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61251/events
https://github.com/tensorflow/tensorflow/issues/61251
1,800,245,524
I_kwDOArmXAs5rTZEU
61,251
Tensorflow SavedModel graph is lexicographically instead of numerically ordered
{ "login": "p3achyjr", "id": 8763808, "node_id": "MDQ6VXNlcjg3NjM4MDg=", "avatar_url": "https://avatars.githubusercontent.com/u/8763808?v=4", "gravatar_id": "", "url": "https://api.github.com/users/p3achyjr", "html_url": "https://github.com/p3achyjr", "followers_url": "https://api.github.com/users/p3achyjr/followers", "following_url": "https://api.github.com/users/p3achyjr/following{/other_user}", "gists_url": "https://api.github.com/users/p3achyjr/gists{/gist_id}", "starred_url": "https://api.github.com/users/p3achyjr/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/p3achyjr/subscriptions", "organizations_url": "https://api.github.com/users/p3achyjr/orgs", "repos_url": "https://api.github.com/users/p3achyjr/repos", "events_url": "https://api.github.com/users/p3achyjr/events{/privacy}", "received_events_url": "https://api.github.com/users/p3achyjr/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": 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": 4829271983, "node_id": "LA_kwDOArmXAs8AAAABH9jXrw", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.11", "name": "TF 2.11", "color": "46B4D7", "default": false, "description": "Issues related to TF 2.11" } ]
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
[ "@p3achyjr,\r\nCould you please provide the complete code to reproduce the issue and it helps us to analyse the issue in an effective way. Thank you!", "```\r\nclass Model(tf.keras.Model):\r\n def call(self, x):\r\n return (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)\r\n \r\nmodel = Model()\r\nmodel(tf.convert_to_tensor(5))\r\nmodel.save(dir)\r\n```\r\n\r\n```\r\nsaved_model_cli show --dir dir --all\r\n```", "@p3achyjr,\r\nWhile executing the above mentioned code, I was facing a different error. Kindly find the gist of it [here](https://colab.research.google.com/gist/tilakrayal/92fd4e742af25fe8a1540e56df4514b6/untitled1242.ipynb) and provide the complete code and the dependencies to reproduce the issue. Thank you!", "sorry about that, try this?\r\n\r\nhttps://colab.research.google.com/gist/p3achyjr/b4930a63f215ff23615bdcd12a08fc4f/untitled1242.ipynb", "@p3achyjr,\r\nWhere do you call the loaded saved model?\r\n\r\nIf you call from python, you could directly do this:\r\n\r\n```\r\nrt = tf.ragged.constant([[[\"hey\"]]])\r\nt = tf.constant([1])\r\nloaded({\"ragged_tensor_input\": rt, \"nested_tensor_input\": {\"nested_tensor1\": t}})\r\n```\r\n\r\nAlso please take a look at this comment from the developer for the similar issue.\r\nhttps://github.com/tensorflow/tensorflow/issues/56819#issuecomment-1241215918\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/61251\">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/61251\">No</a>\n" ]
2023-07-12T06:03:36
2023-12-13T01:49:59
2023-12-13T01:49:56
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source source ### TensorFlow version 2.11 ### Custom code Yes ### OS platform and distribution Ubuntu (not sure version) ### Mobile device _No response_ ### Python version 3.8.10 ### Bazel version _No response_ ### GCC/compiler version 9 ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? I have a SavedModel, and when I used saved_model_cli show, I see this: ``` signature_def['serving_default']: The given SavedModel SignatureDef contains the following input(s): inputs['args_0'] tensor_info: dtype: DT_FLOAT shape: (-1, 19, 19, 13) name: serving_default_args_0:0 inputs['args_1'] tensor_info: dtype: DT_FLOAT shape: (-1, 7) name: serving_default_args_1:0 The given SavedModel SignatureDef contains the following output(s): outputs['output_1'] tensor_info: dtype: DT_FLOAT shape: (-1, 362) name: StatefulPartitionedCall:0 outputs['output_10'] tensor_info: dtype: DT_FLOAT shape: (-1) name: StatefulPartitionedCall:1 outputs['output_11'] tensor_info: dtype: DT_FLOAT shape: (-1) name: StatefulPartitionedCall:2 outputs['output_12'] tensor_info: dtype: DT_FLOAT shape: (-1) name: StatefulPartitionedCall:3 outputs['output_2'] tensor_info: dtype: DT_FLOAT shape: (-1, 362) name: StatefulPartitionedCall:4 outputs['output_3'] tensor_info: dtype: DT_FLOAT shape: (-1, 2) name: StatefulPartitionedCall:5 outputs['output_4'] tensor_info: dtype: DT_FLOAT shape: (-1, 2) name: StatefulPartitionedCall:6 outputs['output_5'] tensor_info: dtype: DT_FLOAT shape: (-1, 19, 19, 1) name: StatefulPartitionedCall:7 outputs['output_6'] tensor_info: dtype: DT_FLOAT shape: (-1, 800) name: StatefulPartitionedCall:8 outputs['output_7'] tensor_info: dtype: DT_FLOAT shape: (-1, 800) name: StatefulPartitionedCall:9 outputs['output_8'] tensor_info: dtype: DT_FLOAT shape: (-1, 1) name: StatefulPartitionedCall:10 outputs['output_9'] tensor_info: dtype: DT_FLOAT shape: (-1, 362) name: StatefulPartitionedCall:11 ``` In this case, 'output_10' appears before 'output_9', and the order of the 'StatefulPartitionedCall' nodes get messed up. I think that the outputs should be numerically ordered, either by sorting internally, or by padding the output index to a fixed with (i.e. {%03d}.format(IDX) ### Standalone code to reproduce the issue ```shell save a model with more than 10 outputs ``` ### Relevant log output _No response_
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61251/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/61251/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61250
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61250/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61250/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61250/events
https://github.com/tensorflow/tensorflow/issues/61250
1,800,230,667
I_kwDOArmXAs5rTVcL
61,250
ImportError: libcudart.so.8.0: cannot open shared object file: No such file or directory
{ "login": "KaushalNaresh", "id": 78253925, "node_id": "MDQ6VXNlcjc4MjUzOTI1", "avatar_url": "https://avatars.githubusercontent.com/u/78253925?v=4", "gravatar_id": "", "url": "https://api.github.com/users/KaushalNaresh", "html_url": "https://github.com/KaushalNaresh", "followers_url": "https://api.github.com/users/KaushalNaresh/followers", "following_url": "https://api.github.com/users/KaushalNaresh/following{/other_user}", "gists_url": "https://api.github.com/users/KaushalNaresh/gists{/gist_id}", "starred_url": "https://api.github.com/users/KaushalNaresh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/KaushalNaresh/subscriptions", "organizations_url": "https://api.github.com/users/KaushalNaresh/orgs", "repos_url": "https://api.github.com/users/KaushalNaresh/repos", "events_url": "https://api.github.com/users/KaushalNaresh/events{/privacy}", "received_events_url": "https://api.github.com/users/KaushalNaresh/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": "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
[ "From the template it looks like you are installing **TensorFlow** (TF) prebuilt binaries:\n * For TF-GPU - See point 1\n * For TF-CPU - See point 2\n-----------------------------------------------------------------------------------------------\n**1. Installing **TensorFlow-GPU** (TF) prebuilt binaries**\n\nMake sure you are using compatible TF and CUDA versions. Please refer following TF version and CUDA version compatibility table.\n| TF | CUDA |\n| :-------------: | :-------------: |\n| 2.5.0 | 11.2 |\n| 2.4.0 | 11.0 |\n| 2.1.0 - 2.3.0 | 10.1 |\n| 1.13.1 - 2.0 | 10.0 |\n| 1.5.0 - 1.12.0 | 9.0 |\n\n * If you have above configuration and using _**Windows**_ platform -\n * Try adding the CUDA, CUPTI, and cuDNN installation directories to the %PATH% environment variable.\n * Refer [windows setup guide](https://www.tensorflow.org/install/gpu#windows_setup).\n * If you have above configuration and using _**Ubuntu/Linux**_ platform -\n * Try adding the CUDA, CUPTI, and cuDNN installation directories to the $LD_LIBRARY_PATH environment variable.\n * Refer [linux setup guide](https://www.tensorflow.org/install/gpu#linux_setup).\n * If error still persists then, apparently your CPU model does not support AVX instruction sets.\n * Refer [hardware requirements](https://www.tensorflow.org/install/pip#hardware-requirements).\n\n-----------------------------------------------------------------------------------------------\n**2. Installing **TensorFlow** (TF) CPU prebuilt binaries**\n\n*TensorFlow release binaries version 1.6 and higher are prebuilt with AVX instruction sets.*\n\nTherefore on any CPU that does not have these instruction sets, either CPU or GPU version of TF will fail to load.\nApparently, your CPU model does not support AVX instruction sets. You can still use TensorFlow with the alternatives given below:\n\n * Try Google Colab to use TensorFlow.\n * The easiest way to use TF will be to switch to [google colab](https://colab.sandbox.google.com/notebooks/welcome.ipynb#recent=true). You get pre-installed latest stable TF version. Also you can use ```pip install``` to install any other preferred TF version.\n * It has an added advantage since you can you easily switch to different hardware accelerators (cpu, gpu, tpu) as per the task.\n * All you need is a good internet connection and you are all set.\n * Try to build TF from sources by changing CPU optimization flags.\n\n*Please let us know if this helps.*\n", "Hi @KaushalNaresh ,\r\n\r\nCould you please confirm the TF version you are using? \r\n\r\nCould you please refer to the similar issues attached here [#5344](https://github.com/tensorflow/tensorflow/issues/5343) and [#4944](https://github.com/BVLC/caffe/issues/4944).\r\n\r\nIf you are using TF1.0.* supported CUDA version is CUDA-8 and it seems you have installed CUDA 12.2 which is not compatible. Please refer to tested configurations [here](https://www.tensorflow.org/install/source#gpu).\r\n\r\n\r\n\r\ntensorflow_gpu-1.0.0 | 2.7, 3.3-3.6 | GCC 4.8 | Bazel 0.4.2 | 5.1 | 8\r\n-- | -- | -- | -- | -- | --\r\n\r\n\r\nAlso 1.x versions not supported now and hence request you to use latest versions of Tf2.x.\r\n\r\nThanks!\r\n\r\n\r\n", "Hi I was using tf-gpu 1.0.1 because I was trying to replicate one old repository.\r\n\r\nI will try to install compatible TF for my CUDA but the link you have provided doesn't have CUDA 12.2 so can you point me out the correct version of tf-gpu that goes well with my CUDA??\r\n\r\nThanks", "Hi @KaushalNaresh ,\r\n\r\nFor the tf-gpu 1.0.1 version required CUDA version has to be CUDA 8 and cuDNN 5.1 versions.\r\n\r\nBecause TF documentation instruction updates and keep them for latest stable release only.\r\n\r\nYou may refer to [Nvidia](https://developer.nvidia.com/cuda-80-ga2-download-archive) website for this or can search in internet for same.Since the version is too old I am not sure of official instructions at that time.\r\n\r\nThanks!\r\n\r\n", "Hi,\r\n\r\nI am not asking the CUDA version for tf-gpu 1.0.1. \r\n\r\nI have a CUDA version 12.2 but the link that you have provided doesnt list tf for CUDA version 12.2 Can you point me out the correct version of tf that goes well with my CUDA (12.2)?", "Hi @KaushalNaresh ,\r\n\r\nTensorflow users has to follow tested [configurations](https://www.tensorflow.org/install/source#gpu) mentioned in documentation. Each version of TF will be tested with some CUDA and cuDNN versions and users has to install those versions only as other advanced versions are yet to test with TF and may raise compatibility issues.\r\n\r\nFor latest version(TF2.13) CUDA 11.8 is the tested version hence CUDA>11.8 may raise compatibility issues.Hence you have to stick to the tested configurations only. In future versions TF might be tested with CUDA 12.2 also but for now you need to use tested configurations only.\r\n\r\nThanks!\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/61250\">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/61250\">No</a>\n" ]
2023-07-12T05:48:51
2023-08-03T01:51:27
2023-08-03T01:51:23
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source source ### TensorFlow version 1.0.1 ### Custom code Yes ### OS platform and distribution Ubuntu 20.04 ### Mobile device _No response_ ### Python version 3.6 ### Bazel version _No response_ ### GCC/compiler version 9.4.0 ### CUDA/cuDNN version nvcc --version gives 10.1 nvidia-smi gives CUDA Version: 12.2 ### GPU model and memory _No response_ ### Current behavior? ImportError: libcudart.so.8.0: cannot open shared object file: No such file or directory ### Standalone code to reproduce the issue ```shell This error occured when I imported tensorflow import tensorflow as tf To resolve this issue I have set my $CUDA_HOME=/usr/lib/cuda/ and $LD_LIBRARY_PATH=usr/lib/cuda/lib64 But surprisingly usr/lib/cuda/lib64 is empty. I dont have cuda folder in usr/local directory. ``` ### Relevant log output ```shell Traceback (most recent call last): File "/home/nkaushal/anaconda3/envs/lipnet3.6/lib/python3.6/site-packages/tensorflow/python/__init__.py", line 61, in <module> from tensorflow.python import pywrap_tensorflow File "/home/nkaushal/anaconda3/envs/lipnet3.6/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow.py", line 28, in <module> _pywrap_tensorflow = swig_import_helper() File "/home/nkaushal/anaconda3/envs/lipnet3.6/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow.py", line 24, in swig_import_helper _mod = imp.load_module('_pywrap_tensorflow', fp, pathname, description) File "/home/nkaushal/anaconda3/envs/lipnet3.6/lib/python3.6/imp.py", line 242, in load_module return load_dynamic(name, filename, file) File "/home/nkaushal/anaconda3/envs/lipnet3.6/lib/python3.6/imp.py", line 342, in load_dynamic return _load(spec) ImportError: libcudart.so.8.0: cannot open shared object file: No such file or directory During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/nkaushal/anaconda3/envs/lipnet3.6/lib/python3.6/site-packages/tensorflow/__init__.py", line 24, in <module> from tensorflow.python import * File "/home/nkaushal/anaconda3/envs/lipnet3.6/lib/python3.6/site-packages/tensorflow/python/__init__.py", line 72, in <module> raise ImportError(msg) ImportError: Traceback (most recent call last): File "/home/nkaushal/anaconda3/envs/lipnet3.6/lib/python3.6/site-packages/tensorflow/python/__init__.py", line 61, in <module> from tensorflow.python import pywrap_tensorflow File "/home/nkaushal/anaconda3/envs/lipnet3.6/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow.py", line 28, in <module> _pywrap_tensorflow = swig_import_helper() File "/home/nkaushal/anaconda3/envs/lipnet3.6/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow.py", line 24, in swig_import_helper _mod = imp.load_module('_pywrap_tensorflow', fp, pathname, description) File "/home/nkaushal/anaconda3/envs/lipnet3.6/lib/python3.6/imp.py", line 242, in load_module return load_dynamic(name, filename, file) File "/home/nkaushal/anaconda3/envs/lipnet3.6/lib/python3.6/imp.py", line 342, in load_dynamic return _load(spec) ImportError: libcudart.so.8.0: cannot open shared object file: No such file or directory Failed to load the native TensorFlow runtime. See https://github.com/tensorflow/tensorflow/blob/master/tensorflow/g3doc/get_started/os_setup.md#import_error for some common reasons and solutions. Include the entire stack trace above this error message when asking for help. ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61250/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/61250/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61249
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61249/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61249/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61249/events
https://github.com/tensorflow/tensorflow/issues/61249
1,800,190,996
I_kwDOArmXAs5rTLwU
61,249
tf.linalg.logdet outputs -inf on a matrix with complex data type
{ "login": "drewshark", "id": 128925028, "node_id": "U_kgDOB689ZA", "avatar_url": "https://avatars.githubusercontent.com/u/128925028?v=4", "gravatar_id": "", "url": "https://api.github.com/users/drewshark", "html_url": "https://github.com/drewshark", "followers_url": "https://api.github.com/users/drewshark/followers", "following_url": "https://api.github.com/users/drewshark/following{/other_user}", "gists_url": "https://api.github.com/users/drewshark/gists{/gist_id}", "starred_url": "https://api.github.com/users/drewshark/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/drewshark/subscriptions", "organizations_url": "https://api.github.com/users/drewshark/orgs", "repos_url": "https://api.github.com/users/drewshark/repos", "events_url": "https://api.github.com/users/drewshark/events{/privacy}", "received_events_url": "https://api.github.com/users/drewshark/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": "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
[ "@drewshark I have tried to replicate the issue reported here and faced different errors. Could you please have a look at the gist [here](https://colab.research.google.com/gist/sushreebarsa/2f80059b67d119a4ff880edf90ca9467/61249.ipynb) and let us know if I am missing something to replicate this one. Thank you!", "Hi, sorry that I forgot to import torch. Here is the corrected code snippet:\r\n```\r\nimport tensorflow as tf\r\nimport torch\r\nimport numpy as np\r\nt = np.array([[1 + 1j, 4 + 1j], [4 + 2j, 3 + 1j]])\r\ntf_res = tf.linalg.logdet(tf.constant(t, dtype=tf.complex128))\r\ntorch_res = torch.logdet(torch.tensor(t))\r\nprint(tf_res, torch_res)\r\n```", "@SuryanarayanaY I was able to replicate the issue in TF v[2.12](https://colab.research.google.com/gist/sushreebarsa/410f0ed1fb8424d5641fe81dcae5285e/61249-tf-2-12.ipynb), TF [v2.13 ](https://colab.research.google.com/gist/sushreebarsa/1a2485c4778338e1fc8f814c0982c6c1/61249-tf-2-12.ipynb#scrollTo=cReA7k7qX5vF)and tf-[nightly](https://colab.research.google.com/gist/sushreebarsa/f683666aa23191354ea2e963192ebde3/61249-nightly.ipynb). Please have a look . Thank you!" ]
2023-07-12T05:06:25
2023-08-07T17:40:31
null
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 _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? Given the following matrix: ``` t = np.array([[1 + 1j, 4 + 1j], [4 + 2j, 3 + 1j]]) ``` tf.linalg.logdet outputs `-inf`, I think the expected output should be a normal value. For reference, PyTorch's torch.logdet outputs `tensor(2.6688-2.5536j, dtype=torch.complex128)` ### Standalone code to reproduce the issue ```shell import tensorflow as tf import numpy as np t = np.array([[1 + 1j, 4 + 1j], [4 + 2j, 3 + 1j]]) tf_res = tf.linalg.logdet(tf.constant(t, dtype=tf.complex128)) torch_res = torch.logdet(torch.tensor(t)) print(tf_res, torch_res) ``` ``` ### Relevant log output ```shell tf.Tensor(-inf, shape=(), dtype=float64) tensor(2.6688-2.5536j, dtype=torch.complex128) ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61249/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/61249/timeline
null
null
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61248
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61248/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61248/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61248/events
https://github.com/tensorflow/tensorflow/pull/61248
1,799,729,706
PR_kwDOArmXAs5VPpl8
61,248
Complex reshape support
{ "login": "mohammedouahman", "id": 79179795, "node_id": "MDQ6VXNlcjc5MTc5Nzk1", "avatar_url": "https://avatars.githubusercontent.com/u/79179795?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mohammedouahman", "html_url": "https://github.com/mohammedouahman", "followers_url": "https://api.github.com/users/mohammedouahman/followers", "following_url": "https://api.github.com/users/mohammedouahman/following{/other_user}", "gists_url": "https://api.github.com/users/mohammedouahman/gists{/gist_id}", "starred_url": "https://api.github.com/users/mohammedouahman/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mohammedouahman/subscriptions", "organizations_url": "https://api.github.com/users/mohammedouahman/orgs", "repos_url": "https://api.github.com/users/mohammedouahman/repos", "events_url": "https://api.github.com/users/mohammedouahman/events{/privacy}", "received_events_url": "https://api.github.com/users/mohammedouahman/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
[ "Hi @mohammedouahman Can you please resolve conflicts? Thank you!", "Hi @mohammedouahman 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.", "Hi @mohammedouahman Can you please resolve conflicts? Thank you!", "Hi @mohammedouahman 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 you contribution!" ]
2023-07-11T20:47:39
2023-11-03T06:44:25
2023-11-03T06:44:24
NONE
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61248", "html_url": "https://github.com/tensorflow/tensorflow/pull/61248", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61248.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61248.patch", "merged_at": null }
This pull request adds support for complex type reshaping in the 'tfl.reshape' operation. It includes modifications to the codebase to handle complex tensors correctly during reshaping operations. The changes ensure that the 'tfl.reshape' operation can now handle tensors with complex elements, preserving their shape and semantics. Great work on enabling complex type support in the reshape operation! This enhancement will be valuable for handling complex data in TensorFlow. The code changes look good overall, and the implementation appears to be robust and efficient. I've reviewed the code, and everything seems to be in order. The modifications align well with the existing codebase and maintain good coding practices. The added comments and documentation are clear and helpful in understanding the changes made. Once the pull request is merged, users will be able to perform reshaping operations on complex tensors seamlessly. This will greatly enhance the flexibility and usability of the 'tfl.reshape' operation in TensorFlow. Nice job! I suggest merging this pull request and proceeding with further testing to ensure the changes integrate smoothly with the existing functionality. If you have any questions or need further assistance, feel free to ask. Keep up the great work!
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61248/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/61248/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61247
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61247/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61247/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61247/events
https://github.com/tensorflow/tensorflow/issues/61247
1,799,628,663
I_kwDOArmXAs5rRCd3
61,247
AttributeError: module 'tensorflow_datasets' has no attribute 'load'
{ "login": "MH0386", "id": 77013511, "node_id": "MDQ6VXNlcjc3MDEzNTEx", "avatar_url": "https://avatars.githubusercontent.com/u/77013511?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MH0386", "html_url": "https://github.com/MH0386", "followers_url": "https://api.github.com/users/MH0386/followers", "following_url": "https://api.github.com/users/MH0386/following{/other_user}", "gists_url": "https://api.github.com/users/MH0386/gists{/gist_id}", "starred_url": "https://api.github.com/users/MH0386/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MH0386/subscriptions", "organizations_url": "https://api.github.com/users/MH0386/orgs", "repos_url": "https://api.github.com/users/MH0386/repos", "events_url": "https://api.github.com/users/MH0386/events{/privacy}", "received_events_url": "https://api.github.com/users/MH0386/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": 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": 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
[ "@MH0386,\r\nAs you mentioned, the above code that was failing on tensorflow v2.10, but whereas on the latest tensorflow v2.12 it was executed without any issues/error. Kindly find the gist of it [here](https://colab.research.google.com/gist/tilakrayal/0ad49bffc9c2679a4d32c5a196e92cef/untitled1239.ipynb). Thank you!", "\r\n\r\n1. Check TensorFlow Datasets version: Verify that you are using the latest version of TensorFlow Datasets. You can upgrade TFDS using the following command:\r\n```\r\npip install --upgrade tensorflow-datasets\r\n```\r\n\r\n2. Import correct method: Make sure you are importing the correct method from TensorFlow Datasets. Instead of using `load`, you might need to use other methods like `load_dataset` or `load_from_tfds`. For example:\r\n``\r\nimport tensorflow_datasets as tfds\r\n\r\ndataset = tfds.load_dataset('dataset_name')\r\n```\r\nBy following these steps, you should be able to resolve the issue and successfully load datasets using TensorFlow Datasets.", "> 1. Check TensorFlow Datasets version: Verify that you are using the latest version of TensorFlow Datasets. You can upgrade TFDS using the following command:\r\n> \r\n> ```\r\n> pip install --upgrade tensorflow-datasets\r\n> ```\r\n> \r\n> 2. Import correct method: Make sure you are importing the correct method from TensorFlow Datasets. Instead of using `load`, you might need to use other methods like `load_dataset` or `load_from_tfds`. For example:\r\n> ``\r\n> import tensorflow_datasets as tfds\r\n> \r\n> dataset = tfds.load_dataset('dataset_name')\r\n> \r\n> ```\r\n> By following these steps, you should be able to resolve the issue and successfully load datasets using TensorFlow Datasets.\r\n> ```\r\n\r\n`AttributeError: module 'tensorflow_datasets' has no attribute 'load_dataset'` with tensorflow 2.13 and tensorflow_datasets 4.9.2", "The correct method to load datasets in TensorFlow Datasets is 'load', not 'load_dataset'. Here's an example of how to load a dataset using TensorFlow Datasets:\r\n\r\nTry using load() instead of load_dataset\r\nimport tensorflow_datasets as tfds\r\n# Load the dataset\r\ndataset, info = tfds.load('dataset_name', split='train', as_supervised=True)\r\n\r\n", "Thanks for all; it works now.", "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/61247\">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/61247\">No</a>\n", "for me its still not working even with the latest versions of tensorflow and tensorflow_datasets" ]
2023-07-11T19:30:47
2023-12-12T23:28:57
2023-07-16T17:53:46
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source source ### TensorFlow version 2.10.0 ### 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? I cannot access [UCF101](https://www.tensorflow.org/datasets/catalog/ucf101) and download. TensorFlow 2.10 Python 3.11.12 tensorflow_datasets 4.9.2 ### Standalone code to reproduce the issue ```shell import tensorflow_datasets ucf101 = tensorflow_datasets.video.ucf101.Ucf101() ``` ### Relevant log output ```shell AttributeError: module 'tensorflow_datasets' has no attribute 'load' ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61247/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/61247/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61246
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61246/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61246/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61246/events
https://github.com/tensorflow/tensorflow/issues/61246
1,799,274,169
I_kwDOArmXAs5rPr65
61,246
tf.image.adjust_contrast fails on the tf.half data type
{ "login": "drewshark", "id": 128925028, "node_id": "U_kgDOB689ZA", "avatar_url": "https://avatars.githubusercontent.com/u/128925028?v=4", "gravatar_id": "", "url": "https://api.github.com/users/drewshark", "html_url": "https://github.com/drewshark", "followers_url": "https://api.github.com/users/drewshark/followers", "following_url": "https://api.github.com/users/drewshark/following{/other_user}", "gists_url": "https://api.github.com/users/drewshark/gists{/gist_id}", "starred_url": "https://api.github.com/users/drewshark/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/drewshark/subscriptions", "organizations_url": "https://api.github.com/users/drewshark/orgs", "repos_url": "https://api.github.com/users/drewshark/repos", "events_url": "https://api.github.com/users/drewshark/events{/privacy}", "received_events_url": "https://api.github.com/users/drewshark/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": 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": 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 @drewshark ,\r\n\r\nThanks for your time reporting this. I have replicated the issue with CPU runtime and attached [cpu-gist](https://colab.research.google.com/gist/SuryanarayanaY/6990939226d9d79dfe9225b13919c288/61246_cpu.ipynb) here. As the error log suggests this Op with float16 as input dtype not implemented on CPU which we need to dig more to rectify this.May be we need to register this Op for CPU device with tf.float16 also.\r\n\r\nWith GPU the code works as intended and can refer same in attached [gpu-gist](https://colab.research.google.com/gist/SuryanarayanaY/ed8801f338eaa04193e2b7fa35966652/61246_gpu.ipynb).\r\n\r\nThanks!\r\n\r\n\r\n\r\n" ]
2023-07-11T16:05:56
2023-09-04T07:21:09
null
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 _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? I was trying tf.image.adjust_contrast but I find that it fails when I set the input tensor's data type to be `float16 (tf.half)`, this API raises error. However, if I set the input data type to be `bfloat16`, this API works properly. ### Standalone code to reproduce the issue ```shell import tensorflow as tf import numpy as np np.random.seed(1234) t = tf.constant(np.random.rand(1,2,1), dtype=tf.float16) i = tf.image.adjust_contrast(t, 2.) print(i) ``` ``` ### Relevant log output ```shell NotFoundError: Could not find device for node: {{node AdjustContrastv2}} = AdjustContrastv2[T=DT_HALF] All kernels registered for op AdjustContrastv2: device='XLA_CPU_JIT'; T in [DT_FLOAT, DT_HALF] device='CPU'; T in [DT_FLOAT] device='GPU'; T in [DT_HALF] device='GPU'; T in [DT_FLOAT] device='XLA_GPU_JIT'; T in [DT_FLOAT, DT_HALF] [Op:AdjustContrastv2] name: ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61246/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/61246/timeline
null
null
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61245
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61245/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61245/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61245/events
https://github.com/tensorflow/tensorflow/issues/61245
1,799,235,914
I_kwDOArmXAs5rPilK
61,245
tf.data parallel filter dataset for each class and interleave not giving expected speedup
{ "login": "niemiaszek", "id": 46727980, "node_id": "MDQ6VXNlcjQ2NzI3OTgw", "avatar_url": "https://avatars.githubusercontent.com/u/46727980?v=4", "gravatar_id": "", "url": "https://api.github.com/users/niemiaszek", "html_url": "https://github.com/niemiaszek", "followers_url": "https://api.github.com/users/niemiaszek/followers", "following_url": "https://api.github.com/users/niemiaszek/following{/other_user}", "gists_url": "https://api.github.com/users/niemiaszek/gists{/gist_id}", "starred_url": "https://api.github.com/users/niemiaszek/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/niemiaszek/subscriptions", "organizations_url": "https://api.github.com/users/niemiaszek/orgs", "repos_url": "https://api.github.com/users/niemiaszek/repos", "events_url": "https://api.github.com/users/niemiaszek/events{/privacy}", "received_events_url": "https://api.github.com/users/niemiaszek/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": 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": 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": 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": "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
[ "@niemiaszek \r\nIn order to expedite the trouble-shooting process, please provide a complete code snippet to reproduce the issue reported here. I have tried to replicate [this](https://colab.research.google.com/gist/sushreebarsa/29378816f9ccca87549cb6617278aa8d/61245.ipynb#scrollTo=EZfM7r8QhGC7) issue and faced different errors. Thank you!", "Sorry for no response so far. I will prepare standalone code with some sample TFRecords prepared on public dataset. Then it should be easier to fiddle with this issue. For now I'm quite busy with other stuff and I was hoping for some expertise just based on code snippet, as my main question (how to efficiently filter `tf.data.Dataset` by classes) seem to be rather general than case-dependent.\r\n\r\n ", "@niemiaszek Thank you for your response!\r\nThough, in order to analyze the issue we need the complete code, you may perform filters on batches. Either unbatch and use tf.data.Dataset.filter or just use tf.data.Dataset.map which is more preferable. As an example you may refer to this following;\r\n```\r\nds = tfds.load('cats_vs_dogs', split='train', as_supervised=True)\r\nds = ds.filter(lambda img, label: label == 1)\r\n```\r\n\r\nWhen using the [Dataset.map](https://www.tensorflow.org/api_docs/python/tf/data/Dataset#map), and [Dataset.filter](https://www.tensorflow.org/api_docs/python/tf/data/Dataset#filter) transformations, which apply a function to each element, the element structure determines the arguments of the function. Please refer to this [document](https://www.tensorflow.org/api_docs/python/tf/data/Dataset). \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/61245\">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/61245\">No</a>\n" ]
2023-07-11T15:47:21
2023-08-04T01:52:07
2023-08-04T01:52:03
NONE
null
null
null
### Issue type Performance ### Have you reproduced the bug with TensorFlow Nightly? No ### Source binary ### TensorFlow version 2.12 ### Custom code Yes ### OS platform and distribution ubuntu 22.04 ### Mobile device _No response_ ### Python version 3.10 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version 11.8/8.6 ### GPU model and memory _No response_ ### Current behavior? I've tried to get some help on [Tensorflow Forum](https://discuss.tensorflow.org/t/dataset-with-tf-data-with-batches-of-randomly-n-chosen-speakers-and-their-m-utterances/17824) but I've got no response so I decided to post an issue here. Post on TFRecords Forum holds extensive description of my problem (tf.data dataloader for GE2E loss), but I'll try to trim it down only to technical matter. I'm working on implementation of dataloader, where I want to get (n_speakers x n_utters) samples in every batch. I've already prepared dataset as 10 sharded TFRecord (as suggested in docs) and I wanted to build pairing mechanism using tf.data API. I've menaged to do so with `tf.data.Dataset.choose_from_datasets`, but this requires me to have a list of datasets, where each dataset contains only samples from one speaker. To prepare such dataset I've filtered my one big TFRecords Dataset with each speaker_id. My implementation feels criminal, because it iterates through whole dataset as many times as there are speakers. I've tried to help it with parallel calls (mapping the filter function with list of speakers), but there was no speedup. I've also tried using interleave (setting only `num_parallel_calls` to `AUTOTUNE`) on my dataset parsing, but all I got was slower execution time. Is if there is any easy and reasonable solution to this filtering issue (to filter whole dataset by each class in one pass)? My only idea to skip filtering at all is to separate each speaker in different TFRecord at the moment of dataset creation. Also how should I use interleave with my code? Currently it takes a long time to make a first pass over dataset (~10min for 10GB of TFRecords, next iters when filtered datasets get cached its 2s) - it can be an issue with training with bigger dataset I suppose. I'm attaching the relevant code but it's not standalone unfortunately, as I can not attach used data. Also some parsing code is missing, but I think it's not that relevant - my examples are stored as melspectrograms with speaker_id label. I could mock some data if someone was interested in helping me. ### Standalone code to reproduce the issue ```shell dataset = tf.data.Dataset.from_tensor_slices(files) tfrecords_reader = functools.partial( self._tfrecords_reader, speaker_id=self._speaker_id, speaker_gender=self._speaker_gender, speaker_id_key=self._speaker_id_key, speaker_gender_key=self._speaker_gender_key, ) dataset = tf.data.TFRecordDataset(dataset) dataset = dataset.map(tfrecords_reader, num_parallel_calls=AUTOTUNE) # NOT PARALLEL WAY - surprisingly it takes as long as parallel method... # datasets = [] # for speaker_id in self._speaker_list: # datasets.append( # dataset.filter(lambda x, y: y["speaker_id"] == speaker_id) # .cache() # .shuffle(BUFFER_SIZE, reshuffle_each_iteration=True) # .repeat() # ) # Filtering for speakers speakers = tf.data.Dataset.from_tensor_slices(self._speaker_list) dataset = speakers.map( lambda speaker_id: dataset.filter(lambda x, y: y["speaker_id"] == speaker_id) .cache() .shuffle(BUFFER_SIZE, reshuffle_each_iteration=True) .repeat(), num_parallel_calls=AUTOTUNE, ) datasets_idx = tf.data.Dataset.range(len(self._speaker_list)) # Define those values statically for uniform_candidate_sampler which requires static int, even tho it looks silly len_speakers = len(speakers) len_pairs = len_speakers - 1 def pair_speakers(x): """Pair all speakers in dataset. Pairing is done in a way where each speaker is taken at least once. Also we can guarantee that those pairs are being re-generated each time. """ to_pair = tf.reshape(tf.where(tf.range(len(speakers)) != x), [1, -1]) # Exclude speaker x from being drawed pairs = tf.random.uniform_candidate_sampler(to_pair, len_pairs, self._num_speakers - 1, True, len_speakers)[ 0 ] # sample n_speakers-1 pairings without replacement from len(speakers)-1 speakers paired = tf.concat([[x], pairs], 0) # concat speaker x with its pairs return tf.repeat( paired, tf.repeat(self._num_utters, self._num_speakers) ) # repeat each speaker count by selected number of utterances choice_dataset = datasets_idx.map( pair_speakers, num_parallel_calls=AUTOTUNE ) # [mapping of len(speakers) datasets, each num_speakers*num_utters] choice_dataset = choice_dataset.flat_map( tf.data.Dataset.from_tensor_slices ) # [single dataset of len(speakers)*num_speakers*num_utters,] # Deterministicly takes samples from filtered datasets with order specified in choice dataset dataset = tf.data.Dataset.choose_from_datasets(dataset, choice_dataset).batch( self._num_speakers * self._num_utters ) # Apply transforms to batched dataset spectrograms. Faster transforms than on single examples dataset.map( lambda x, y: (self._transform(x), y), num_parallel_calls=tf.data.experimental.AUTOTUNE, ) dataset = dataset.prefetch(AUTOTUNE) total_steps = len(self._speaker_list) return dataset, total_steps ``` ### Relevant log output _No response_
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61245/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/61245/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61244
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61244/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61244/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61244/events
https://github.com/tensorflow/tensorflow/pull/61244
1,799,139,690
PR_kwDOArmXAs5VNqxT
61,244
[NextPluggableDevice] Enable DtoD Copy ViaDMA
{ "login": "jzhoulon", "id": 6346853, "node_id": "MDQ6VXNlcjYzNDY4NTM=", "avatar_url": "https://avatars.githubusercontent.com/u/6346853?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jzhoulon", "html_url": "https://github.com/jzhoulon", "followers_url": "https://api.github.com/users/jzhoulon/followers", "following_url": "https://api.github.com/users/jzhoulon/following{/other_user}", "gists_url": "https://api.github.com/users/jzhoulon/gists{/gist_id}", "starred_url": "https://api.github.com/users/jzhoulon/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jzhoulon/subscriptions", "organizations_url": "https://api.github.com/users/jzhoulon/orgs", "repos_url": "https://api.github.com/users/jzhoulon/repos", "events_url": "https://api.github.com/users/jzhoulon/events{/privacy}", "received_events_url": "https://api.github.com/users/jzhoulon/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" } ]
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
[ "\r\n@jyingl3 Can you help to have a look? thanks\r\n\r\n", "Thanks for making this change Zhoulong! It looks good to me." ]
2023-07-11T14:58:31
2023-07-19T19:28:05
2023-07-19T19:28:05
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61244", "html_url": "https://github.com/tensorflow/tensorflow/pull/61244", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61244.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61244.patch", "merged_at": "2023-07-19T19:28:04" }
This PR is to enable DtoD copy ViaDMA support for NextPluggableDevice. This is needed when there are multiple PjRtDevice and send/recv op will use this registered copyfunc.
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61244/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/61244/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61243
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61243/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61243/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61243/events
https://github.com/tensorflow/tensorflow/pull/61243
1,798,836,622
PR_kwDOArmXAs5VMn3k
61,243
Support for lowering of complex types in 'tfl.reshape' op
{ "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": 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
[ "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/61243/checks?check_run_id=14944897492) 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 @rafaelubalmw Can you please sign CLA. Thank you!", "@gbaned Looks like my GitHub user was just successfully added to the MathWorks Google Group associated with an already signed corporate CLA. Happy to address any additional comments. Thanks!", "@jpienaar @eric-k256 Just pinging on this PR. Thanks!" ]
2023-07-11T12:32:20
2023-08-03T19:20:17
2023-08-03T19:20:17
NONE
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61243", "html_url": "https://github.com/tensorflow/tensorflow/pull/61243", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61243.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61243.patch", "merged_at": null }
null
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61243/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/61243/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61242
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61242/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61242/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61242/events
https://github.com/tensorflow/tensorflow/pull/61242
1,798,546,174
PR_kwDOArmXAs5VLnje
61,242
validate clip_norm argument in clip_by_norm API
{ "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": 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": 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": 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
[ "Here are the internal errors, @SuryanarayanaY can you please verify ? Thank you!\r\n\r\nTraceback (most recent call last):\r\n File \"/tensorflow/python/ops/math_ops.py\", line 1486, in binary_op_wrapper\r\n out = r_op(x)\r\n File \"/tensorflow/python/util/traceback_utils.py\", line 141, in error_handler\r\n return fn(*args, **kwargs)\r\n File \"/tensorflow/python/ops/math_ops.py\", line 1509, in r_binary_op_wrapper\r\n y, x = maybe_promote_tensors(y, x, force_same_dtype=True)\r\n File \"/tensorflow/python/ops/math_ops.py\", line 1441, in maybe_promote_tensors\r\n ops.convert_to_tensor(tensor, dtype, name=\"x\"))\r\n File \"/tensorflow/python/profiler/trace.py\", line 183, in wrapped\r\n return func(*args, **kwargs)\r\n File \"/tensorflow/python/framework/ops.py\", line 701, in convert_to_tensor\r\n return tensor_conversion_registry.convert(\r\n File \"/tensorflow/python/framework/tensor_conversion_registry.py\", line 209, in convert\r\n return overload(dtype, name) # pylint: disable=not-callable\r\n File \"/tensorflow/python/framework/tensor.py\", line 762, in __tf_tensor__\r\n raise ValueError(\r\nValueError: x: Tensor conversion requested dtype float32 for Tensor with dtype float64: <tf.Tensor 'embedding_lookup:0' shape=() dtype=float64>\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n File \"/tensorflow/python/framework/test_util.py\", line 1634, in decorated\r\n return f(self, *args, **kwargs)\r\n File \"/tensorflow/python/kernel_tests/nn_ops/embedding_ops_test.py\", line 584, in testHigherRankMaxNorm\r\n simple = embedding_ops.embedding_lookup(params, ids, max_norm=1.0)\r\n File \"/tensorflow/python/util/traceback_utils.py\", line 141, in error_handler\r\n return fn(*args, **kwargs)\r\n File \"/tensorflow/python/util/dispatch.py\", line 1260, in op_dispatch_handler\r\n return dispatch_target(*args, **kwargs)\r\n File \"/tensorflow/python/ops/embedding_ops.py\", line 326, in embedding_lookup\r\n return _embedding_lookup_and_transform(\r\n File \"/tensorflow/python/ops/embedding_ops.py\", line 144, in _embedding_lookup_and_transform\r\n result = _clip(\r\n File \"/tensorflow/python/ops/embedding_ops.py\", line 73, in _clip\r\n return clip_ops.clip_by_norm(\r\n File \"/tensorflow/python/util/traceback_utils.py\", line 141, in error_handler\r\n return fn(*args, **kwargs)\r\n File \"/tensorflow/python/util/dispatch.py\", line 1260, in op_dispatch_handler\r\n return dispatch_target(*args, **kwargs)\r\n File \"/tensorflow/python/ops/clip_ops.py\", line 223, in clip_by_norm\r\n intermediate = values * clip_norm\r\n File \"/tensorflow/python/util/traceback_utils.py\", line 141, in error_handler\r\n return fn(*args, **kwargs)\r\n File \"/tensorflow/python/ops/math_ops.py\", line 1491, in binary_op_wrapper\r\n raise e\r\n File \"/tensorflow/python/ops/math_ops.py\", line 1475, in binary_op_wrapper\r\n return func(x, y, name=name)\r\n File \"/tensorflow/python/ops/math_ops.py\", line 1856, in _mul_dispatch\r\n return multiply(x, y, name=name)\r\n File \"/tensorflow/python/util/traceback_utils.py\", line 141, in error_handler\r\n return fn(*args, **kwargs)\r\n File \"/tensorflow/python/util/dispatch.py\", line 1260, in op_dispatch_handler\r\n return dispatch_target(*args, **kwargs)\r\n File \"/tensorflow/python/ops/math_ops.py\", line 529, in multiply\r\n return gen_math_ops.mul(x, y, name)\r\n File \"/tensorflow/python/ops/gen_math_ops.py\", line 6590, in mul\r\n _, _, _op, _outputs = _op_def_library._apply_op_helper(\r\n File \"/tensorflow/python/framework/op_def_library.py\", line 778, in _apply_op_helper\r\n _ExtractInputsAndAttrs(op_type_name, op_def, allowed_list_attr_map,\r\n File \"/tensorflow/python/framework/op_def_library.py\", line 589, in _ExtractInputsAndAttrs\r\n raise TypeError(\r\nTypeError: Input 'y' of 'Mul' Op has type float32 that does not match type float64 of argument 'x'.", "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 @SuryanarayanaY Any update on this PR? Please. Thank you!", "I have gone through the error stack and root cause is as below.\r\n\r\n> File \"/tensorflow/python/kernel_tests/nn_ops/embedding_ops_test.py\", line 584, in testHigherRankMaxNorm\r\n> simple = embedding_ops.embedding_lookup(params, ids, max_norm=1.0)\r\n\r\nIn the above test the `params` is `float64` and max_norm=1.0 which are then passed to `clip_by_norm()` as `t` and `clip_norm` respectively. \r\n\r\n> \r\n> File \"/tensorflow/python/ops/clip_ops.py\", line 223, in clip_by_norm\r\n> intermediate = values * clip_norm\r\n\r\nThen in the above line of code `t` is converted to `values ` as `float64` tensor and `clip_norm=1.0`\r\n```\r\nvalues = ops.convert_to_tensor(\r\n t.values if isinstance(t, indexed_slices.IndexedSlices) else t,\r\n name=\"t\")\r\n```\r\n\r\nWith the proposed amendment `clip_norm = math_ops.maximum(clip_norm, 0)`, the `clip_norm` becoming float32 tensor and this is causing the error and test fail. Without modification it remains as 1.0 and hence `values * clip_norm` works fine here.\r\n\r\nOne observation is the args `t` and `clip_norm` of API `tf.clip_by_norm` both the args should be of same dtype else exception will be raised which is also not documented.\r\n\r\nMy proposed solution is:\r\n\r\n```\r\nclip_norm = tf.cast(math_ops.maximum(clip_norm, 0),dtype = values.dtype)\r\n```\r\n\r\nwhich can validate -ve inputs, resolves the issue mentioned above regarding dtype of `t` and `clip_norm` and it also eliminates testfail.\r\n\r\nI have added a [gist](https://colab.sandbox.google.com/gist/SuryanarayanaY/f01ac87fc5e19aebca7be360adef2ae2/clip_by_norm-pr-61242.ipynb) for above exercise for reference.\r\n\r\n@cantonios , Needs your review and comments for proceeding.\r\n\r\n\r\n\r\n", "Hi @cantonios, Can you please review this PR ? Thank you!", "Hi @cantonios, Can you please review this PR ? Thank you!", "Hi @SuryanarayanaY Can you please check @cantonios's [comments](https://github.com/tensorflow/tensorflow/pull/61242#discussion_r1344461449) and keep us posted ? Thank you!" ]
2023-07-11T09:45:10
2023-10-11T18:39:04
2023-10-11T18:39:03
COLLABORATOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61242", "html_url": "https://github.com/tensorflow/tensorflow/pull/61242", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61242.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61242.patch", "merged_at": "2023-10-11T18:39:03" }
The API `clip_by_norm` have argument `clip_norm` which accepts `0-D (scalar) `Tensor` > 0` . But if we pass `-ve` value for this argument then its not raising intended error and converting the input tensor into Negative which IMO is wrong. Hence I am adding validation code for -ve values to `raise value error`. Attaching [gist](https://colab.research.google.com/gist/SuryanarayanaY/650edf2e880caa947674f813a41ef5a8/61158_-code-fix-ve-values.ipynb) for the same with solution for reference. Fixex #61158
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61242/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/61242/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61241
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61241/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61241/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61241/events
https://github.com/tensorflow/tensorflow/pull/61241
1,798,446,007
PR_kwDOArmXAs5VLRq7
61,241
[NextPluggableDevice] Enable DtoD copy ViaDMA support
{ "login": "jzhoulon", "id": 6346853, "node_id": "MDQ6VXNlcjYzNDY4NTM=", "avatar_url": "https://avatars.githubusercontent.com/u/6346853?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jzhoulon", "html_url": "https://github.com/jzhoulon", "followers_url": "https://api.github.com/users/jzhoulon/followers", "following_url": "https://api.github.com/users/jzhoulon/following{/other_user}", "gists_url": "https://api.github.com/users/jzhoulon/gists{/gist_id}", "starred_url": "https://api.github.com/users/jzhoulon/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jzhoulon/subscriptions", "organizations_url": "https://api.github.com/users/jzhoulon/orgs", "repos_url": "https://api.github.com/users/jzhoulon/repos", "events_url": "https://api.github.com/users/jzhoulon/events{/privacy}", "received_events_url": "https://api.github.com/users/jzhoulon/received_events", "type": "User", "site_admin": false }
[ { "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
[ "@jyingl3 Can you help to have a look? thanks" ]
2023-07-11T08:52:14
2023-07-11T13:06:52
2023-07-11T13:06:52
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61241", "html_url": "https://github.com/tensorflow/tensorflow/pull/61241", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61241.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61241.patch", "merged_at": null }
This PR is to enable DtoD copy ViaDMA support for NextPluggableDevice. This is needed when there are multiple PjRtDevice and send/recv op will use this registered copyfunc.
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61241/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/61241/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61240
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61240/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61240/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61240/events
https://github.com/tensorflow/tensorflow/issues/61240
1,798,368,774
I_kwDOArmXAs5rMO4G
61,240
Different reference order may cause other modules to be unavailable, e.g. xgboost, sklearn.
{ "login": "h2222", "id": 41234638, "node_id": "MDQ6VXNlcjQxMjM0NjM4", "avatar_url": "https://avatars.githubusercontent.com/u/41234638?v=4", "gravatar_id": "", "url": "https://api.github.com/users/h2222", "html_url": "https://github.com/h2222", "followers_url": "https://api.github.com/users/h2222/followers", "following_url": "https://api.github.com/users/h2222/following{/other_user}", "gists_url": "https://api.github.com/users/h2222/gists{/gist_id}", "starred_url": "https://api.github.com/users/h2222/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/h2222/subscriptions", "organizations_url": "https://api.github.com/users/h2222/orgs", "repos_url": "https://api.github.com/users/h2222/repos", "events_url": "https://api.github.com/users/h2222/events{/privacy}", "received_events_url": "https://api.github.com/users/h2222/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": 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": 4829271983, "node_id": "LA_kwDOArmXAs8AAAABH9jXrw", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.11", "name": "TF 2.11", "color": "46B4D7", "default": false, "description": "Issues related to TF 2.11" } ]
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
[ "@h2222,\r\nThe error occurred because you are trying to run the **32-bit Python on a 64-bit OS** which was incompatible. When I tried to execute the mentioned code with the compatible on the latest tensorflow `v2.13`, it was executed without any issues.\r\n\r\nKindly find the gist of it [here](https://colab.research.google.com/gist/tilakrayal/cbdf08a73f6d4ca7b249d89dfc287e3a/untitled1237.ipynb) and please try with the right infra which helps to execute the code smoothly. 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/61240\">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/61240\">No</a>\n" ]
2023-07-11T08:09:33
2023-07-28T01:51:35
2023-07-28T01:51:27
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source source ### TensorFlow version 2.11.0 ### Custom code Yes ### OS platform and distribution centos 7.6 ### Mobile device _No response_ ### Python version python 3.10.11 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version cuda=12.1 ### GPU model and memory 32510MiB ### Current behavior? I was trying to import xgboost(or sklearn) and tensorflow modules at same time, but when I imported modules by different order, it just return me error message that I can not handle it, I don't whether it a bug or some issues that can be fixed by myself? and I also search something resource, which said that it was a bug caused by glibc : https://sourceware.org/bugzilla/show_bug.cgi?id=17090. and then I was trying to reintstall glibc on my server, unfortunately, the plan finally failed and now I am just trying to rebuild my whole environment by rollbacking to previous mirror backup, sad. ### Standalone code to reproduce the issue ```shell import numpy as np ## bad import order import tensorflow as tf from xgboost import XGBClassifier ## order # or import sklearn, may report different error messages. ## good import order # from xgboost import XGBClassifier # import tensorflow as tf hparams = { 'booster':'gbtree', 'objective': 'binary:logistic', 'eval_metric': 'aucpr', 'max_depth': 10, 'gamma': 4, 'lambda':0.001, 'subsample':0.7, 'colsample_bytree':0.8, 'colsample_bylevel':0.8, 'colsample_bynode': 0.8, 'min_child_weight':20, 'eta': 0.03, 'seed': 42, 'nthread':15, 'tree_method':'gpu_hist', 'n_estimators': 350 } estimator = XGBClassifier(**hparams) X_train = np.random.rand(10000, 10) y_train = np.random.randint(0, 2, (10000, 1)) X_eval = np.random.rand(1000, 10) y_eval = np.random.randint(0, 2, (1000, 1)) estimator.fit(X_train, y_train, eval_set=[(X_train, y_train),(X_eval, y_eval)]) ``` ### Relevant log output ```shell 2023-07-11 15:57:01.594620: 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 AVX512F FMA To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags. Traceback (most recent call last): File "/home/haojiaxiang/projects/test/test.py", line 6, in <module> from xgboost import XGBClassifier ## order # or import sklearn, may report different error messages. File "/home/haojiaxiang/miniconda3/envs/gms/lib/python3.10/site-packages/xgboost/__init__.py", line 7, in <module> from . import collective, dask, rabit File "/home/haojiaxiang/miniconda3/envs/gms/lib/python3.10/site-packages/xgboost/collective.py", line 12, in <module> from .core import _LIB, _check_call, c_str, py_str, from_pystr_to_cstr File "/home/haojiaxiang/miniconda3/envs/gms/lib/python3.10/site-packages/xgboost/core.py", line 264, in <module> _LIB = _load_lib() File "/home/haojiaxiang/miniconda3/envs/gms/lib/python3.10/site-packages/xgboost/core.py", line 216, in _load_lib raise XGBoostError( xgboost.core.XGBoostError: XGBoost Library (libxgboost.so) could not be loaded. Likely causes: * OpenMP runtime is not installed - vcomp140.dll or libgomp-1.dll for Windows - libomp.dylib for Mac OSX - libgomp.so for Linux and other UNIX-like OSes Mac OSX users: Run `brew install libomp` to install OpenMP runtime. * You are running 32-bit Python on a 64-bit OS Error message(s): ['dlopen: cannot load any more object with static TLS'] ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61240/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/61240/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61239
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61239/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61239/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61239/events
https://github.com/tensorflow/tensorflow/issues/61239
1,798,271,516
I_kwDOArmXAs5rL3Ic
61,239
Can the resnet model written in the tf_slim library call the MirroredStrategy strategy to achieve data parallel training?
{ "login": "yeoways", "id": 69454138, "node_id": "MDQ6VXNlcjY5NDU0MTM4", "avatar_url": "https://avatars.githubusercontent.com/u/69454138?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yeoways", "html_url": "https://github.com/yeoways", "followers_url": "https://api.github.com/users/yeoways/followers", "following_url": "https://api.github.com/users/yeoways/following{/other_user}", "gists_url": "https://api.github.com/users/yeoways/gists{/gist_id}", "starred_url": "https://api.github.com/users/yeoways/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/yeoways/subscriptions", "organizations_url": "https://api.github.com/users/yeoways/orgs", "repos_url": "https://api.github.com/users/yeoways/repos", "events_url": "https://api.github.com/users/yeoways/events{/privacy}", "received_events_url": "https://api.github.com/users/yeoways/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": 996845227, "node_id": "MDU6TGFiZWw5OTY4NDUyMjc=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:dist-strat", "name": "comp:dist-strat", "color": "0052cc", "default": false, "description": "Distribution Strategy related issues" }, { "id": 4829271983, "node_id": "LA_kwDOArmXAs8AAAABH9jXrw", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.11", "name": "TF 2.11", "color": "46B4D7", "default": false, "description": "Issues related to TF 2.11" } ]
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 @yeoways ,\r\n\r\nTo use Distribution strategies first we need to create a strategy from applicable Distribution strategy class and then build the model inside that strategy scope. Then remaining steps are as usual.\r\n\r\n```\r\nstrategy = tf.distribute.MirroredStrategy()\r\n\r\nwith strategy.scope():\r\n # Model building/compiling need to be within `strategy.scope()`.\r\n multi_GPU_model = <call_your_model()>\r\n```\r\n\r\nYou can refer the attached tutorials [1](https://www.tensorflow.org/tutorials/distribute/keras) ,[2](https://www.tensorflow.org/tutorials/distribute/multi_worker_with_keras) and [3](https://www.tensorflow.org/tutorials/distribute/multi_worker_with_ctl) for going in details on how to implement distribution strategies.\r\n\r\n\r\nThe attached code seems related to TF1.x versions. You can refer the resource 3 attached above for distribution training with custom training loop where we can override the `train_step` function to define our own training steps. \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/61239\">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/61239\">No</a>\n" ]
2023-07-11T07:13:54
2023-07-27T01:49:51
2023-07-27T01:49:49
NONE
null
null
null
### Issue type Support ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source source ### TensorFlow version tf 2.11 ### Custom code Yes ### OS platform and distribution Linux Ubuntu 16.04 ### Mobile device Linux Ubuntu 16.04 ### Python version 3.9 ### Bazel version 5.1.1 ### GCC/compiler version 9.4 ### CUDA/cuDNN version _No response_ ### GPU model and memory Tesla P100 12GB ### Current behavior? The distributed_train_step method is only called once in the first epoch, and the rest are not called ### Standalone code to reproduce the issue ```shell from tensorflow.keras.datasets import cifar10 from tensorflow.keras.utils import to_categorical from tensorflow.keras.optimizers import Adam (x_train, y_train), (x_test, y_test) = cifar10.load_data() x_train = x_train.astype('float32') / 255.0 x_test = x_test.astype('float32') / 255.0 y_train = to_categorical(y_train, num_classes=10) y_test = to_categorical(y_test, num_classes=10) # 输入占位符 inputs = tf.placeholder(tf.float32, shape=(None, 32, 32, 3)) labels = tf.placeholder(tf.float32, shape=(None, 10)) batch_size = 32 num_epochs = 10 num_batches = len(x_train) // batch_size strategy = tf2.distribute.MirroredStrategy(devices=["GPU:0", "GPU:1","GPU:2", "GPU:3"]) # 将训练数据集分发到多个GPU上 train_dataset = tf.data.Dataset.from_tensor_slices((x_train, y_train)).shuffle(len(x_train)).batch(batch_size) dist_train_dataset = strategy.experimental_distribute_dataset(train_dataset) with strategy.scope(): # 构建ResNet模型 net, end_points = resnet_v2_152(inputs,10) net = tf.squeeze(net, axis=[1, 2]) # 移除维度为 1 的高度和宽度维度 # 定义损失函数和优化器 optimizer = tf.train.AdamOptimizer(learning_rate=0.001) @tf.function def train_step(input): x, y = input print('x_shape:',x.shape) print('y_shape:',y.shape) with tf.GradientTape() as tape: logits,_ = resnet_v2_152(x,10,reuse = True) print('logits:',logits.shape) logits = tf.squeeze(logits, axis=[1, 2]) # 移除维度为 1 的高度和宽度维度 print('logits_squeeze:',logits.shape) loss_value = tf.reduce_mean(tf.nn.softmax_cross_entropy_with_logits(labels=y, logits=logits)) print('loss_value:',loss_value.shape) grads = tape.gradient(loss_value, tf.trainable_variables()) optimizer.apply_gradients(zip(grads, tf.trainable_variables())) correct_predictions = tf.equal(tf.argmax(logits, axis=1), tf.argmax(y, axis=1)) accuracy = tf.reduce_mean(tf.cast(correct_predictions, tf.float32)) return loss_value, accuracy @tf.function def distributed_train_step(dataset_inputs): total_loss = 0.0 total_acc = 0.0 num_batches = 0 print("distributed_train_step function start") print("dataset_inputs:{}".format(dataset_inputs)) for x in dataset_inputs: print("x:{}".format(x)) per_replica_losses, per_replica_accuracies = strategy.run(train_step, args=(x,)) print("per_replica_losses:{},per_replica_acc:{}".format(per_replica_losses,per_replica_accuracies)) total_loss = strategy.reduce(tf.distribute.ReduceOp.SUM, per_replica_losses, axis=None) total_acc = strategy.reduce(tf.distribute.ReduceOp.SUM, per_replica_accuracies, axis=None) num_batches +=1 return total_loss / tf.cast(num_batches, dtype=tf.float32),total_acc / tf.cast(num_batches, dtype=tf.float32) with tf.Session() as sess: sess.run(tf.global_variables_initializer()) for epoch in range(num_epochs): start_time = time.time() train_loss,train_acc = distributed_train_step(dist_train_dataset) template = ("Epoch {}, Loss: {}, Accuracy: {}") print(template.format(epoch + 1, train_loss, train_acc)) print("sess epoch:{},time:{}".format(epoch+1,time.time()-start_time)) print() ``` ### Relevant log output _No response_
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61239/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/61239/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61238
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61238/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61238/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61238/events
https://github.com/tensorflow/tensorflow/issues/61238
1,797,971,604
I_kwDOArmXAs5rKt6U
61,238
tf.data train model worse than numpy data
{ "login": "adamw-u", "id": 15938790, "node_id": "MDQ6VXNlcjE1OTM4Nzkw", "avatar_url": "https://avatars.githubusercontent.com/u/15938790?v=4", "gravatar_id": "", "url": "https://api.github.com/users/adamw-u", "html_url": "https://github.com/adamw-u", "followers_url": "https://api.github.com/users/adamw-u/followers", "following_url": "https://api.github.com/users/adamw-u/following{/other_user}", "gists_url": "https://api.github.com/users/adamw-u/gists{/gist_id}", "starred_url": "https://api.github.com/users/adamw-u/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/adamw-u/subscriptions", "organizations_url": "https://api.github.com/users/adamw-u/orgs", "repos_url": "https://api.github.com/users/adamw-u/repos", "events_url": "https://api.github.com/users/adamw-u/events{/privacy}", "received_events_url": "https://api.github.com/users/adamw-u/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": 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": 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
[ "@adamw-u Thank you for raising this issue!\r\nCould you share the complete standalone code to reproduce this issue reported here. Could you please try to shuffle across the entire data in the training set and as a result the validation data would leak into the training set. Please let us know if that helps? 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/61238\">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/61238\">No</a>\n" ]
2023-07-11T02:45:10
2023-08-04T01:52:10
2023-08-04T01:52:06
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source source ### TensorFlow version tf 2.10 ### Custom code Yes ### OS platform and distribution Linux Ubuntu 22.04 ### Mobile device _No response_ ### Python version 3.8 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version 12.0 ### GPU model and memory _No response_ ### Current behavior? **1. Used tf.data train model best val loss is 0.14, and the code is:** ![image](https://github.com/tensorflow/tensorflow/assets/15938790/36ab9474-3a88-47ba-9226-675f3dfeb11a) ``` train_dataset1 = tf.data.Dataset.from_tensor_slices((np.array(xtrain).reshape(-1,10*12,1),np.array(encoder_train),np.array(decoder_train))) train_dataset2 = tf.data.Dataset.from_tensor_slices((np.array(ytrain))) train_dataset = tf.data.Dataset.zip((train_dataset1, train_dataset2)) test_dataset1 = tf.data.Dataset.from_tensor_slices((np.array(xtest).reshape(-1,10*12,1),np.array(encoder_test),np.array(decoder_test))) test_dataset2 = tf.data.Dataset.from_tensor_slices((np.array(ytest))) test_dataset = tf.data.Dataset.zip((test_dataset1, test_dataset2)) BATCH_SIZE = 256 SHUFFLE_BUFFER_SIZE = 1000 train_dataset = train_dataset.shuffle(SHUFFLE_BUFFER_SIZE).batch(BATCH_SIZE) test_dataset = test_dataset.batch(BATCH_SIZE) model = Model(inputs = inputs, outputs = s2s) model.compile(loss = 'mse', optimizer='adam', metrics=['mape']) early_stopping = EarlyStopping(monitor='val_loss', patience=4, restore_best_weights=True) model.fit(train_dataset, epochs=20, #batch_size=256, validation_data = test_dataset, callbacks=[early_stopping]) ``` **2. Used numpy array train model best val loss is 0.10, the code is:** ![image](https://github.com/tensorflow/tensorflow/assets/15938790/a9eec3fc-cdfe-4380-836d-7b047ab2580c) ``` model = Model(inputs = inputs, outputs = s2s) model.compile(loss = 'mse', optimizer='adam', metrics=['mape']) early_stopping = EarlyStopping(monitor='val_loss', patience=4, restore_best_weights=True) model.fit([np.array(xtrain).reshape(-1,10*12,1),np.array(encoder_train),np.array(decoder_train)], np.array(ytrain), epochs=20, batch_size=256, validation_data = ([np.array(xtest).reshape(-1,10*12,1),np.array(encoder_test),np.array(decoder_test)], np.array(ytest)), callbacks=[early_stopping]) ``` **3. tf.data.Dataset.from_generator val loss worse more:** ### Standalone code to reproduce the issue ```shell tf.data bugs at version 2.10 ``` ### Relevant log output _No response_
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61238/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/61238/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61237
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61237/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61237/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61237/events
https://github.com/tensorflow/tensorflow/pull/61237
1,797,829,981
PR_kwDOArmXAs5VJLr_
61,237
[XLA:CPU] OneDNN matmul library call for XLA HLO Dot operation
{ "login": "mdfaijul", "id": 27521767, "node_id": "MDQ6VXNlcjI3NTIxNzY3", "avatar_url": "https://avatars.githubusercontent.com/u/27521767?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mdfaijul", "html_url": "https://github.com/mdfaijul", "followers_url": "https://api.github.com/users/mdfaijul/followers", "following_url": "https://api.github.com/users/mdfaijul/following{/other_user}", "gists_url": "https://api.github.com/users/mdfaijul/gists{/gist_id}", "starred_url": "https://api.github.com/users/mdfaijul/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mdfaijul/subscriptions", "organizations_url": "https://api.github.com/users/mdfaijul/orgs", "repos_url": "https://api.github.com/users/mdfaijul/repos", "events_url": "https://api.github.com/users/mdfaijul/events{/privacy}", "received_events_url": "https://api.github.com/users/mdfaijul/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": 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
[ "@d0k Could you please review this? We would like to get some feedback and suggestions.", "@d0k Thanks for the comments. I have addressed those. Please check.", "@d0k Can we move FloatNormalization passes for CPU (https://github.com/tensorflow/tensorflow/blob/master/tensorflow/compiler/xla/service/cpu/cpu_compiler.cc#L655-L669) right before `CpuInstructionFusion`, for example, before https://github.com/tensorflow/tensorflow/blob/master/tensorflow/compiler/xla/service/cpu/cpu_compiler.cc#L832", "> @d0k Can we move FloatNormalization passes for CPU (https://github.com/tensorflow/tensorflow/blob/master/tensorflow/compiler/xla/service/cpu/cpu_compiler.cc#L655-L669) right before `CpuInstructionFusion`, for example, before https://github.com/tensorflow/tensorflow/blob/master/tensorflow/compiler/xla/service/cpu/cpu_compiler.cc#L832\r\n\r\nI'm not strictly opposed to that, but if your problem can be solved by configuring FloatNormalization (i.e. overriding FloatSupport) I'd prefer that solution.", "> > @d0k Can we move FloatNormalization passes for CPU (https://github.com/tensorflow/tensorflow/blob/master/tensorflow/compiler/xla/service/cpu/cpu_compiler.cc#L655-L669) right before `CpuInstructionFusion`, for example, before https://github.com/tensorflow/tensorflow/blob/master/tensorflow/compiler/xla/service/cpu/cpu_compiler.cc#L832\r\n> \r\n> I'm not strictly opposed to that, but if your problem can be solved by configuring FloatNormalization (i.e. overriding FloatSupport) I'd prefer that solution.\r\n\r\n@d0k Thanks! I think we can solve by configuring FloatNormalization. I have one more question. Can we move `TreeReductionRewriter`, (https://github.com/tensorflow/tensorflow/blob/master/tensorflow/compiler/xla/service/cpu/cpu_compiler.cc#L740C22-L740C43),\r\nright before `CpuInstructionFusion`?", "> @d0k Thanks! I think we can solve by configuring FloatNormalization. I have one more question. Can we move `TreeReductionRewriter`, (https://github.com/tensorflow/tensorflow/blob/master/tensorflow/compiler/xla/service/cpu/cpu_compiler.cc#L740C22-L740C43), right before `CpuInstructionFusion`?\r\n\r\nI think right before layout assignment is the latest you can run it, feel free to move it there.", "@penpornk Now that all dependencies are merged in master branch, this PR is ready for review. Thanks!", "> There are 8 [Py+CPP Ubuntu CPU](https://source.cloud.google.com/results/invocations/50666fb9-baa8-4277-adf2-457e5bc701cd/log) test failures. Could you please help take a look? + Since you need to make changes anyway, could you please address my previous comments (that I said I would do from internally) as well? Thank you very much!\r\n> \r\n> ```\r\n> //tensorflow/compiler/tests:matrix_inverse_op_test_cpu FAILED in 3 out of 3 in 9.5s\r\n> //tensorflow/compiler/tests:matrix_inverse_op_test_cpu_mlir_bridge_test FAILED in 3 out of 3 in 8.5s\r\n> //tensorflow/compiler/tests:matrix_solve_op_test_cpu FAILED in 3 out of 3 in 5.1s\r\n> //tensorflow/compiler/xla/client/lib:qr_test_cpu FAILED in 3 out of 3 in 8.3s\r\n> //tensorflow/compiler/xla/service/cpu/tests:cpu_eigen_dot_operation_test FAILED in 3 out of 3 in 7.1s\r\n> //tensorflow/python/eager/polymorphic_function:polymorphic_function_xla_jit_test_cpu FAILED in 3 out of 3 in 13.9s\r\n> //tensorflow/python/eager/polymorphic_function:polymorphic_function_xla_jit_test_cpu_mlir_bridge_test FAILED in 3 out of 3 in 13.7s\r\n> //tensorflow/compiler/xla/tests:triangular_solve_test_cpu FAILED in 9 out of 9 in 28.0s\r\n> ```\r\n\r\nThanks @penpornk for the review. I will look into those failures and address your comments.", "@penpornk I think I have addressed your comments and fixed the UT failures. Please check. Thanks!", "@penpornk Now that 2.14 branch-cut is done, let us know if there is anything else needed for PR? ", "@penpornk We noticed that this PR got reverted. Could you please tell us more and a reproducer for jaxlib crash.", "@penpornk We noticed that this PR got reverted. Could you please tell us more and a reproducer for jaxlib crash.", "@mdfaijul Sorry for the late reply! The error message reported by the JAX team was \r\n```\r\n[ RUN ] LaxBackedNumpyTests.testCorrCoef0 (shape=(5,), dtype=<class 'ml_dtypes.bfloat16'>, rowvar=True)\r\ncould not create a primitive descriptor for a matmul primitive\r\nFatal Python error: Illegal instruction\r\n```\r\nI'm thinking this could be because oneDNN tried to create a bf16 matmul primitive on a machine that doesn't have AVX512_BF16. (I just realized that jaxlib builds with `--config=mkl_open_source_only`.) I'm trying to build jaxlib reproduce the issue. Will get back to you once I have the commands.", "@mdfaijul Here is the repro instruction. Please run this on an AVX2 machine. If you don't have one, constraining `ONEDNN_MAX_CPU_ISA=AVX2` might do the trick too.\r\n\r\n```bash\r\n# Use TF docker image to save time. JAX currently requires Python 3.9+ and NumPy 1.22+\r\nsudo docker run --name jax-dbg -w /root -it -d \\ \r\n -v \"${HOME}:/mnt\" \\\r\n tensorflow/build:latest-python3.9 \\\r\n bash\r\nsudo docker attach jax-dbg # Goes into the docker image\r\npip install numpy wheel build # Prereqs for building JAX\r\ngit clone https://github.com/google/jax.git\r\ncd jax\r\n\r\n# This JAX commit uses the XLA commit that still has the changes from your PR.\r\ngit checkout a1d8787e15914a24dc3e2f8cc46ce5542e602570 \r\n\r\n# The run failed test. Please run on an AVX2 machine.\r\nbazel test //tests:lax_numpy_test_cpu --test_filter=LaxBackedNumpyTests.testCorrCoef0\r\n```", "@penpornk Thanks for the reproducer. I have a fix and opened a new PR https://github.com/tensorflow/tensorflow/pull/61686", "@mdfaijul Thank you very much! How much was the PR changed? If it's not too much, maybe it's better that I reverted my rollback and add those addition fixes internally (I made some internal changes while merging your PR). If it's a big changes I can reapply my changes onto your new PR instead.", "@penpornk It's only small change. You can see the in this commit https://github.com/tensorflow/tensorflow/pull/61686/commits/2abff97921a566d143be67451aad85e735e9f1ab" ]
2023-07-11T00:07:22
2023-08-24T16:44:02
2023-08-11T21:37:47
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61237", "html_url": "https://github.com/tensorflow/tensorflow/pull/61237", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61237.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61237.patch", "merged_at": "2023-08-11T21:37:47" }
This PR enables OneDNN library call for XLA HLO dot operation through custom_call instruction. In particular, - We insert an HLO pass for pattern matching. This pass is after DotDecomposer in the pass pipeline for CPU. The pass rewrites dot operation to custom_call operation. - IR emitter generates LLVM IR for the custom_call for the given target function - The symbol for the target function is registered with CustomCallTargetRegistry - OneDNN matmul primitive is used for the computation
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61237/reactions", "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/tensorflow/tensorflow/issues/61237/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61236
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61236/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61236/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61236/events
https://github.com/tensorflow/tensorflow/pull/61236
1,797,803,668
PR_kwDOArmXAs5VJFoz
61,236
[XLA:CPU] Moving oneDNN threadpool wrapper to tsl
{ "login": "agramesh1", "id": 25374808, "node_id": "MDQ6VXNlcjI1Mzc0ODA4", "avatar_url": "https://avatars.githubusercontent.com/u/25374808?v=4", "gravatar_id": "", "url": "https://api.github.com/users/agramesh1", "html_url": "https://github.com/agramesh1", "followers_url": "https://api.github.com/users/agramesh1/followers", "following_url": "https://api.github.com/users/agramesh1/following{/other_user}", "gists_url": "https://api.github.com/users/agramesh1/gists{/gist_id}", "starred_url": "https://api.github.com/users/agramesh1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/agramesh1/subscriptions", "organizations_url": "https://api.github.com/users/agramesh1/orgs", "repos_url": "https://api.github.com/users/agramesh1/repos", "events_url": "https://api.github.com/users/agramesh1/events{/privacy}", "received_events_url": "https://api.github.com/users/agramesh1/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": 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
[ "> Thank you very much for the PR, @agramesh1! The overall PR looks good to me. I have two minor comments.\r\n\r\n@penpornk I made the changes. Please take a look at it. " ]
2023-07-10T23:51:07
2023-07-17T11:51:10
2023-07-17T11:51:09
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61236", "html_url": "https://github.com/tensorflow/tensorflow/pull/61236", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61236.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61236.patch", "merged_at": "2023-07-17T11:51:09" }
This PR moves the oneDNN threadpool wrapper code under tsl, and uses tsl namesapce so it can also be called from XLA code. Changes include 1) Removed dependency on reading an TF environment flag for using calling thread. The call for reading the flag (ThreadPoolUseCallerThread()) is removed and the env value is now passed into the constructor from TensorFlow. 2) Pointer to the Eigen threadpool is directly passed to the constructor instead of getting it from OptKernelContext. 3) Some additional changes for clarity and using oneDNN instead of mkl in variables and filenames.
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61236/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/61236/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61235
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61235/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61235/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61235/events
https://github.com/tensorflow/tensorflow/pull/61235
1,797,395,039
PR_kwDOArmXAs5VHpQn
61,235
Add inter scheduler support on AArch64
{ "login": "davsva01", "id": 117736650, "node_id": "U_kgDOBwSEyg", "avatar_url": "https://avatars.githubusercontent.com/u/117736650?v=4", "gravatar_id": "", "url": "https://api.github.com/users/davsva01", "html_url": "https://github.com/davsva01", "followers_url": "https://api.github.com/users/davsva01/followers", "following_url": "https://api.github.com/users/davsva01/following{/other_user}", "gists_url": "https://api.github.com/users/davsva01/gists{/gist_id}", "starred_url": "https://api.github.com/users/davsva01/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/davsva01/subscriptions", "organizations_url": "https://api.github.com/users/davsva01/orgs", "repos_url": "https://api.github.com/users/davsva01/repos", "events_url": "https://api.github.com/users/davsva01/events{/privacy}", "received_events_url": "https://api.github.com/users/davsva01/received_events", "type": "User", "site_admin": false }
[ { "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": 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
[ "@penpornk @nSircombe @milpuz01 @cfRod ", "Please also resolve merge conflicts / rebase. Thank you! :)", "> Please also resolve merge conflicts / rebase. Thank you! :)\r\n\r\nThe merge conflicts has been fixed.", "> cc: @TensorFlow-MKL: I don't think this will affect the x86 build.\r\n\r\nYes, that is right. This patch doesn't anymore uses single LRU cache when Eigen scheduler is used so the changes in TF are all around `ifdefs` for AArch64 to detect that case and the rest of changes are in Arm Compute Library (ACL) to have ACL scheduler per inter-thread and create it via stream in oneDNN (AArch64 code path) when it is required. \r\n", "Hi @davsva01 Can you please resolve conflicts? Thank you!", "> Hi @davsva01 Can you please resolve conflicts? Thank you!\r\n\r\nMerge conflicts fixed." ]
2023-07-10T19:21:52
2023-07-25T16:37:01
2023-07-25T16:37:01
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61235", "html_url": "https://github.com/tensorflow/tensorflow/pull/61235", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61235.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61235.patch", "merged_at": null }
This PR adds support for inter op scheduler in the oneDNN + ACL build. It enables the creation of more than 1 scheduler inside ACL to increase performance of models with parallel ops. For benchmarked NLP models the average performance increase is 9%, for CV classification models its around 2%. The below benchmarks were done with the following PR’s applied as patches: #60026, #60723, #61110, #61114, #61093, #61123 ![nlp_models_benchmarked](https://github.com/tensorflow/tensorflow/assets/117736650/7a3a4df1-475b-4dc4-ab85-7e9b97eb7b27) ![cv_models_benchmarked](https://github.com/tensorflow/tensorflow/assets/117736650/245103e6-f6d1-4da9-abb8-3a90a86217a9)
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61235/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/61235/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61234
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61234/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61234/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61234/events
https://github.com/tensorflow/tensorflow/issues/61234
1,797,320,059
I_kwDOArmXAs5rIO17
61,234
Memory out of bounds in compiled tflite with emscripten.
{ "login": "af-filby", "id": 118195315, "node_id": "U_kgDOBwuEcw", "avatar_url": "https://avatars.githubusercontent.com/u/118195315?v=4", "gravatar_id": "", "url": "https://api.github.com/users/af-filby", "html_url": "https://github.com/af-filby", "followers_url": "https://api.github.com/users/af-filby/followers", "following_url": "https://api.github.com/users/af-filby/following{/other_user}", "gists_url": "https://api.github.com/users/af-filby/gists{/gist_id}", "starred_url": "https://api.github.com/users/af-filby/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/af-filby/subscriptions", "organizations_url": "https://api.github.com/users/af-filby/orgs", "repos_url": "https://api.github.com/users/af-filby/repos", "events_url": "https://api.github.com/users/af-filby/events{/privacy}", "received_events_url": "https://api.github.com/users/af-filby/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": 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": "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
[ "Some further digging on this I found out that there is probably an overflow in the paddings inside PadImpl:\r\n![image](https://github.com/tensorflow/tensorflow/assets/118195315/0652f238-9995-459f-aca7-7b669a47b9b5)\r\n", "Hi @af-filby, I am not too familiar with emscripten, can you help me understand how you compile and execute your model?\r\n\r\nAre you in the tensorflow directory when you do your cmake command? You are also saying you are using emcmake but didn't include it in your command, was that a mistake or are you using the emcmake command like this?:\r\n```sh\r\nemcmake cmake ...\r\n```\r\n\r\nWhen compiling your project with emscripten, it looks like you are using a CMakeLists.txt?\r\n\r\nIs that where this is set?\r\n```\r\nSET(CMAKE_CXX_FLAGS \"${CMAKE_CXX_FLAGS} -s INITIAL_MEMORY=512MB\")\r\nSET(CMAKE_CXX_FLAGS \"${CMAKE_CXX_FLAGS} -s ALLOW_MEMORY_GROWTH=1\")\r\nSET(CMAKE_CXX_FLAGS \"${CMAKE_CXX_FLAGS} -s ALLOW_TABLE_GROWTH=1\")\r\n```\r\n\r\nCan you share your CMakeLists.txt if this is the case?\r\nCan you also share a minimally reproducible toy model as well?\r\n\r\nAre you using node to execute the model?\r\nI am not familiar with the emscripten workflow, so any details you share will be welcomed.\r\n\r\nPreferably, include as many cmd line commands you are doing as if you are writing a script/dockerfile.\r\nThanks for your help.", "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-07-10T18:41:30
2023-07-27T18:38:08
2023-07-27T01:49:52
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 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? I have compiled tflite using cmake (without XNNPACK support) and emscripten (both latest 3.1.42 and 3.1.10). When trying to perform inference at the browser with my model I get the following error: vmt.wasm:0x31cff Uncaught RuntimeError: memory access out of bounds at vmt.wasm:0x31cff at vmt.wasm:0x1f7a94 at vmt.wasm:0x3c4910 at vmt.wasm:0x65ace at vmt.wasm:0x231c3e at vmt.wasm:0x458a49 at vmt.wasm:0x517c60 at img.onload (index.html:772:28) This happens with all of my models at the very first operation (pad). When inspecting the .wasm file using chrome dev tools I see that the error happens at a "memory.fill" operation. ### Standalone code to reproduce the issue ```shell I have compiled tflite with the following emcmake command: cmake -DCMAKE_CXX_FLAGS="-lpthread -pthread -lpthread -s USE_PTHREADS" -DTFLITE_ENABLE_MMAP=OFF -DTFLITE_ENABLE_NNAPI=OFF -DTFLITE_ENABLE_RUY=ON -DTFLITE_ENABLE_XNNPACK=OFF .. while when compiling my project with emscripten (including the above resulting libraries) I use the following flags: SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -s INITIAL_MEMORY=512MB") SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -s ALLOW_MEMORY_GROWTH=1") SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -s ALLOW_TABLE_GROWTH=1") ``` ### Relevant log output ```shell This is the output of PrintInterpreterState right before the first inference. [WASM] === Pre-invoke Interpreter State === pre-vmt.js:11 [WASM] Interpreter has 1 subgraphs. pre-vmt.js:11 [WASM] pre-vmt.js:11 [WASM] -----------Subgraph-0 has 134 tensors and 49 nodes------------ pre-vmt.js:11 [WASM] 1 Inputs: [0] -> 602112B (0.57MB) pre-vmt.js:11 [WASM] 1 Outputs: [122] -> 708B (0.00MB) pre-vmt.js:11 [WASM] pre-vmt.js:11 [WASM] Tensor ID Name Type AllocType Size (Bytes/MB) Shape MemAddr-Offset pre-vmt.js:11 [WASM] Tensor 0  ��ʻ䯻9:󺂶*򨓮.. kTfLiteFloat32 kTfLiteArenaRw 602112 / 0.57 [1,224,224,3] [0, 602112) pre-vmt.js:11 [WASM] Tensor 1 騅:��񛻺󿰻��m... kTfLiteFloat32 kTfLiteMmapRo 64 / 0.00 [16] [690960, 691024) pre-vmt.js:11 [WASM] Tensor 2 r畼��匹��t;��... kTfLiteFloat32 kTfLiteMmapRo 64 / 0.00 [16] [690864, 690928) pre-vmt.js:11 [WASM] Tensor 3 jԐ;��4i;⦄;Q;箮. kTfLiteFloat32 kTfLiteMmapRo 160 / 0.00 [40] [690688, 690848) pre-vmt.js:11 [WASM] Tensor 4 究򑃷çc6ԯ#6ߗ<׹... kTfLiteFloat32 kTfLiteMmapRo 160 / 0.00 [40] [690512, 690672) pre-vmt.js:11 [WASM] Tensor 5 :#�� 𯫿��7tU��... kTfLiteFloat32 kTfLiteMmapRo 224 / 0.00 [56] [690272, 690496) pre-vmt.js:11 [WASM] Tensor 6 ƙl��7򣡷/򷕈4��.. kTfLiteFloat32 kTfLiteMmapRo 224 / 0.00 [56] [690032, 690256) pre-vmt.js:11 [WASM] Tensor 7 ����뻪��3z}��.. kTfLiteFloat32 kTfLiteMmapRo 256 / 0.00 [64] [689760, 690016) pre-vmt.js:11 [WASM] Tensor 8 ᡁ������땐6ԝ... kTfLiteFloat32 kTfLiteMmapRo 256 / 0.00 [64] [689488, 689744) pre-vmt.js:11 [WASM] Tensor 9 􌶄��5.8^L𷆄򷳱... kTfLiteFloat32 kTfLiteMmapRo 576 / 0.00 [144] [688896, 689472) pre-vmt.js:11 [WASM] Tensor 10 ��"ۀ7��Ce����... kTfLiteFloat32 kTfLiteMmapRo 576 / 0.00 [144] [688304, 688880) pre-vmt.js:11 [WASM] Tensor 11 ģ pre-vmt.js:11 [WASM] 7C^J𐬣𶓃6񪤷׾... kTfLiteFloat32 kTfLiteMmapRo 576 / 0.00 [144] [687712, 688288) pre-vmt.js:11 [WASM] Tensor 12 ��ȏ6띓����8h... kTfLiteFloat32 kTfLiteMmapRo 576 / 0.00 [144] [687120, 687696) pre-vmt.js:11 [WASM] Tensor 13 ��A򪶚윶��䞏��.. kTfLiteFloat32 kTfLiteMmapRo 288 / 0.00 [72] [686816, 687104) pre-vmt.js:11 [WASM] Tensor 14 ԙõ`򫷾F6򓕶O򙷳c... kTfLiteFloat32 kTfLiteMmapRo 288 / 0.00 [72] [686512, 686800) pre-vmt.js:11 [WASM] Tensor 15 ū쵄񉸻罷{\ѵfW𶯜... kTfLiteFloat32 kTfLiteMmapRo 288 / 0.00 [72] [686208, 686496) pre-vmt.js:11 [WASM] Tensor 16 &ꋷ𷏸ᛸ6��ꮮ. kTfLiteFloat32 kTfLiteMmapRo 288 / 0.00 [72] [685904, 686192) pre-vmt.js:11 [WASM] Tensor 17 |㗶񏍷򛀷��\ Y7... kTfLiteFloat32 kTfLiteMmapRo 576 / 0.00 [144] [685312, 685888) pre-vmt.js:11 [WASM] Tensor 18 蕷ΒU7��`&÷勸f+... kTfLiteFloat32 kTfLiteMmapRo 576 / 0.00 [144] [684720, 685296) pre-vmt.js:11 [WASM] Tensor 19 w춃֣74ٿ𣔝����.. kTfLiteFloat32 kTfLiteMmapRo 1152 / 0.00 [288] [683552, 684704) pre-vmt.js:11 [WASM] Tensor 20 ;" 6!򑶷膷ڽ𷞮��... kTfLiteFloat32 kTfLiteMmapRo 1152 / 0.00 [288] [682384, 683536) pre-vmt.js:11 [WASM] Tensor 21 󠼷YPQ������75... kTfLiteFloat32 kTfLiteMmapRo 1152 / 0.00 [288] [681216, 682368) pre-vmt.js:11 [WASM] Tensor 22 ��󰳳IB}������.. kTfLiteFloat32 kTfLiteMmapRo 1152 / 0.00 [288] [680048, 681200) pre-vmt.js:11 [WASM] Tensor 23 򳤷񲂷wް5��^ 8􊮮. kTfLiteFloat32 kTfLiteMmapRo 1152 / 0.00 [288] [678880, 680032) pre-vmt.js:11 [WASM] Tensor 24 _��m󷟝򵳂󶬾 𼾮.. kTfLiteFloat32 kTfLiteMmapRo 32 / 0.00 [8] [678832, 678864) pre-vmt.js:11 [WASM] Tensor 25 P��&;𶿮����7#׮.. kTfLiteFloat32 kTfLiteMmapRo 64 / 0.00 [16] [678752, 678816) pre-vmt.js:11 [WASM] Tensor 26 ��5񺉷a꨷ᘑ��.. kTfLiteFloat32 kTfLiteMmapRo 64 / 0.00 [16] [678672, 678736) pre-vmt.js:11 [WASM] Tensor 27 卞7󯉷򨮷��󠚷��. kTfLiteFloat32 kTfLiteMmapRo 96 / 0.00 [24] [678560, 678656) pre-vmt.js:11 [WASM] Tensor 28 FR񷀃󷴫d������.. kTfLiteFloat32 kTfLiteMmapRo 96 / 0.00 [24] [678448, 678544) pre-vmt.js:11 [WASM] Tensor 29 򺜵W7𽒷񪶷̒#�� kTfLiteFloat32 kTfLiteMmapRo 96 / 0.00 [24] [678336, 678432) pre-vmt.js:11 [WASM] Tensor 30 $뀷��R𷸙u쭌7󿮮. kTfLiteFloat32 kTfLiteMmapRo 96 / 0.00 [24] [678224, 678320) pre-vmt.js:11 [WASM] Tensor 31 \~��ط$i򷮼 6҄*觮.. kTfLiteFloat32 kTfLiteMmapRo 96 / 0.00 [24] [678112, 678208) pre-vmt.js:11 [WASM] Tensor 32 ��0 ��涂񖷝f5��. kTfLiteFloat32 kTfLiteMmapRo 192 / 0.00 [48] [677904, 678096) pre-vmt.js:11 [WASM] Tensor 33 ؉h������7˜𶠺... kTfLiteFloat32 kTfLiteMmapRo 192 / 0.00 [48] [677696, 677888) pre-vmt.js:11 [WASM] Tensor 34 󚫷\7͛$♩��7[... kTfLiteFloat32 kTfLiteMmapRo 192 / 0.00 [48] [677488, 677680) pre-vmt.js:11 [WASM] Tensor 35 9X����������.. kTfLiteFloat32 kTfLiteMmapRo 1728 / 0.00 [16,3,3,3] [675744, 677472) pre-vmt.js:11 [WASM] Tensor 36 jť<箯󧬍󘴙;Љ&󿈮.. kTfLiteFloat32 kTfLiteMmapRo 576 / 0.00 [1,3,3,16] [675152, 675728) pre-vmt.js:11 [WASM] Tensor 37 􅻻λ"<����?<ɓ... kTfLiteFloat32 kTfLiteMmapRo 512 / 0.00 [8,1,1,16] [674624, 675136) pre-vmt.js:11 [WASM] Tensor 38 ޛȻx׃<򁻝ě<u+��... kTfLiteFloat32 kTfLiteMmapRo 1280 / 0.00 [40,1,1,8] [673328, 674608) pre-vmt.js:11 [WASM] Tensor 39 ��Ԍ󼲍׹󵏼Ϩ��... kTfLiteFloat32 kTfLiteMmapRo 1440 / 0.00 [1,3,3,40] [671872, 673312) pre-vmt.js:11 [WASM] Tensor 40 ?ȑ򄏱;3d1󞻳�� kTfLiteFloat32 kTfLiteMmapRo 2560 / 0.00 [16,1,1,40] [669296, 671856) pre-vmt.js:11 [WASM] Tensor 41 Cһ;��ٻ:뼩攻ŷ... kTfLiteFloat32 kTfLiteMmapRo 3584 / 0.00 [56,1,1,16] [665696, 669280) pre-vmt.js:11 [WASM] Tensor 42 3������򥅡;b ... kTfLiteFloat32 kTfLiteMmapRo 2016 / 0.00 [1,3,3,56] [663664, 665680) pre-vmt.js:11 [WASM] Tensor 43 Mٚ<啤<j��8|��쮮. kTfLiteFloat32 kTfLiteMmapRo 3584 / 0.00 [16,1,1,56] [660064, 663648) pre-vmt.js:11 [WASM] Tensor 44 ᦺ��򦖶:晼4櫻k... kTfLiteFloat32 kTfLiteMmapRo 4096 / 0.00 [64,1,1,16] [655952, 660048) pre-vmt.js:11 [WASM] Tensor 45 轼\“<j4<Ӯ:𡻻ug... kTfLiteFloat32 kTfLiteMmapRo 2304 / 0.00 [1,3,3,64] [653632, 655936) pre-vmt.js:11 [WASM] Tensor 46 ��৐��󶜿󄲢𠧮.. kTfLiteFloat32 kTfLiteMmapRo 6144 / 0.01 [24,1,1,64] [647472, 653616) pre-vmt.js:11 [WASM] Tensor 47 ��񒘼Ѡj󫈞󭲐<�� kTfLiteFloat32 kTfLiteMmapRo 13824 / 0.01 [144,1,1,24] [633632, 647456) pre-vmt.js:11 [WASM] Tensor 48 '����󼰛��󋍮.. kTfLiteFloat32 kTfLiteMmapRo 5184 / 0.00 [1,3,3,144] [628432, 633616) pre-vmt.js:11 [WASM] Tensor 49 `��𼢈<񗋻 kTfLiteFloat32 kTfLiteMmapRo 13824 / 0.01 [24,1,1,144] [614592, 628416) pre-vmt.js:11 [WASM] Tensor 50 ا"󖗽򫋺<󀮹͑x󪁮.. kTfLiteFloat32 kTfLiteMmapRo 13824 / 0.01 [144,1,1,24] [600752, 614576) pre-vmt.js:11 [WASM] Tensor 51 ȷk󒏷:󁌝��󦦮.. kTfLiteFloat32 kTfLiteMmapRo 5184 / 0.00 [1,3,3,144] [595552, 600736) pre-vmt.js:11 [WASM] Tensor 52 t=򜧨;6򌼾)𻀫��... kTfLiteFloat32 kTfLiteMmapRo 13824 / 0.01 [24,1,1,144] [581712, 595536) pre-vmt.js:11 [WASM] Tensor 53 򚪼f񒻯��=弯P... kTfLiteFloat32 kTfLiteMmapRo 6912 / 0.01 [72,1,1,24] [574784, 581696) pre-vmt.js:11 [WASM] Tensor 54 (����nۻ:,��󛥮.. kTfLiteFloat32 kTfLiteMmapRo 2592 / 0.00 [1,3,3,72] [572176, 574768) pre-vmt.js:11 [WASM] Tensor 55 ��뙿��󭩄;��? pre-vmt.js:11 [WASM] 􄠫TfLiteFloat32 kTfLiteMmapRo 6912 / 0.01 [24,1,1,72] [565248, 572160) pre-vmt.js:11 [WASM] Tensor 56 ��̘<9D򆼇*t<'��... kTfLiteFloat32 kTfLiteMmapRo 6912 / 0.01 [72,1,1,24] [558320, 565232) pre-vmt.js:11 [WASM] Tensor 57 𳼑sD󠺬; 󋽦􊼠R... kTfLiteFloat32 kTfLiteMmapRo 2592 / 0.00 [1,3,3,72] [555712, 558304) pre-vmt.js:11 [WASM] Tensor 58 mX��h:%4k<̫'<(ç<񝮮. kTfLiteFloat32 kTfLiteMmapRo 6912 / 0.01 [24,1,1,72] [548784, 555696) pre-vmt.js:11 [WASM] Tensor 59 o󻛄񷖡��<𽤼񁮮. kTfLiteFloat32 kTfLiteMmapRo 13824 / 0.01 [144,1,1,24] [534944, 548768) pre-vmt.js:11 [WASM] Tensor 60 Ⱥּ󏉼򘄼]��d_;�. kTfLiteFloat32 kTfLiteMmapRo 5184 / 0.00 [1,3,3,144] [529744, 534928) pre-vmt.js:11 [WASM] Tensor 61 ֭C򢊛;󥙻怙<貦��.. kTfLiteFloat32 kTfLiteMmapRo 27648 / 0.03 [48,1,1,144] [502080, 529728) pre-vmt.js:11 [WASM] Tensor 62 ��􊥺*?"��󸸔��.. kTfLiteFloat32 kTfLiteMmapRo 55296 / 0.05 [288,1,1,48] [446768, 502064) pre-vmt.js:11 [WASM] Tensor 63 򶼼1n⻗��-Ի񛹪�� kTfLiteFloat32 kTfLiteMmapRo 10368 / 0.01 [1,3,3,288] [436384, 446752) pre-vmt.js:11 [WASM] Tensor 64 ��ֻ𲰼􅛻o𣼣�� kTfLiteFloat32 kTfLiteMmapRo 55296 / 0.05 [48,1,1,288] [381072, 436368) pre-vmt.js:11 [WASM] Tensor 65 V;潛򠛮<ʻ㻅S;򮮮 kTfLiteFloat32 kTfLiteMmapRo 55296 / 0.05 [288,1,1,48] [325760, 381056) pre-vmt.js:11 [WASM] Tensor 66 ¿,< pre-vmt.js:11 [WASM] 񏻥E����ݻE񮮮 kTfLiteFloat32 kTfLiteMmapRo 10368 / 0.01 [1,3,3,288] [315376, 325744) pre-vmt.js:11 [WASM] Tensor 67 dճ<󋺑񢼍����Ү.. kTfLiteFloat32 kTfLiteMmapRo 55296 / 0.05 [48,1,1,288] [260064, 315360) pre-vmt.js:11 [WASM] Tensor 68 ����𣺼d򻍪~;�� kTfLiteFloat32 kTfLiteMmapRo 55296 / 0.05 [288,1,1,48] [204752, 260048) pre-vmt.js:11 [WASM] Tensor 69 冻񍖼𣄼𲿼󲎽��. kTfLiteInt32 kTfLiteMmapRo 8 / 0.00 [2] [204720, 204728) pre-vmt.js:11 [WASM] Tensor 70 ~&��<��`<ݺNϘ;𫮮. kTfLiteInt32 kTfLiteMmapRo 12 / 0.00 [3] [204688, 204700) pre-vmt.js:11 [WASM] Tensor 71 ��%ɻ `޻󴵹ϛ;t񮮮 kTfLiteFloat32 kTfLiteMmapRo 708 / 0.00 [177] [203968, 204676) pre-vmt.js:11 [WASM] Tensor 72 <񌹂L��;ԅ򻬰A󾫮.. kTfLiteInt32 kTfLiteMmapRo 32 / 0.00 [4,2] [203920, 203952) pre-vmt.js:11 [WASM] Tensor 73 Ё򻙃ٻ: ԺV۪;�� pre-vmt.js:11 [WASM] ;Ŗ... kTfLiteFloat32 kTfLiteMmapRo 203904 / 0.19 [177,288] [0, 203904) pre-vmt.js:11 [WASM] Tensor 74 2 pre-vmt.js:11 [WASM] 纝S 󊺅򚋟��<... kTfLiteFloat32 kTfLiteArenaRw 612912 / 0.58 [1,226,226,3] [2759680, 3372592) pre-vmt.js:11 [WASM] Tensor 75 ⻒���� S󁟮󼘮.. kTfLiteFloat32 kTfLiteArenaRw 802816 / 0.77 [1,112,112,16] [1956864, 2759680) pre-vmt.js:11 [WASM] Tensor 76 z򛼷x0<ʬ𠻗��߮.. kTfLiteFloat32 kTfLiteArenaRw 831744 / 0.79 [1,114,114,16] [602112, 1433856) pre-vmt.js:11 [WASM] Tensor 77 󥺗��Ї􆛁����.. kTfLiteFloat32 kTfLiteArenaRw 200704 / 0.19 [1,56,56,16] [1433856, 1634560) pre-vmt.js:11 [WASM] Tensor 78 ½ẇ kTfLiteFloat32 kTfLiteArenaRw 100352 / 0.10 [1,56,56,8] [602112, 702464) pre-vmt.js:11 [WASM] Tensor 79 𖒽񅬽Ɓּ򽮨=ڝ... kTfLiteFloat32 kTfLiteArenaRw 501760 / 0.48 [1,56,56,40] [1140352, 1642112) pre-vmt.js:11 [WASM] Tensor 80 󦜼󅯻牪=𞁼{Jk<󯮮. kTfLiteFloat32 kTfLiteArenaRw 538240 / 0.51 [1,58,58,40] [602112, 1140352) pre-vmt.js:11 [WASM] Tensor 81 )a˼q󀀀 pre-vmt.js:11 [WASM] ������<蚮.. kTfLiteFloat32 kTfLiteArenaRw 125440 / 0.12 [1,28,28,40] [1140352, 1265792) pre-vmt.js:11 [WASM] Tensor 82 ⰾ󝔦< 񃼄h��8��.. kTfLiteFloat32 kTfLiteArenaRw 50176 / 0.05 [1,28,28,16] [953344, 1003520) pre-vmt.js:11 [WASM] Tensor 83 ��į<򑁼Q󬽴߼6)... kTfLiteFloat32 kTfLiteArenaRw 175616 / 0.17 [1,28,28,56] [602112, 777728) pre-vmt.js:11 [WASM] Tensor 84 ��s��񌽌𱽬��*... kTfLiteFloat32 kTfLiteArenaRw 175616 / 0.17 [1,28,28,56] [777728, 953344) pre-vmt.js:11 [WASM] Tensor 85 ��La޻��4<zL󼚨... kTfLiteFloat32 kTfLiteArenaRw 50176 / 0.05 [1,28,28,16] [602112, 652288) pre-vmt.js:11 [WASM] Tensor 86 <򔼌��󰽊V-��<��. kTfLiteFloat32 kTfLiteArenaRw 50176 / 0.05 [1,28,28,16] [652288, 702464) pre-vmt.js:11 [WASM] Tensor 87 DZQ��󿒇<;zZ����.. kTfLiteFloat32 kTfLiteArenaRw 200704 / 0.19 [1,28,28,64] [832512, 1033216) pre-vmt.js:11 [WASM] Tensor 88 ^��j􌧁;E����... kTfLiteFloat32 kTfLiteArenaRw 230400 / 0.22 [1,30,30,64] [602112, 832512) pre-vmt.js:11 [WASM] Tensor 89 ��󛶼+)������.. kTfLiteFloat32 kTfLiteArenaRw 50176 / 0.05 [1,14,14,64] [832512, 882688) pre-vmt.js:11 [WASM] Tensor 90 ༟<cdͻYϑ������.. kTfLiteFloat32 kTfLiteArenaRw 18816 / 0.02 [1,14,14,24] [882688, 901504) pre-vmt.js:11 [WASM] Tensor 91 ;��༕󗼫}<~_.��.. kTfLiteFloat32 kTfLiteArenaRw 112896 / 0.11 [1,14,14,144] [602112, 715008) pre-vmt.js:11 [WASM] Tensor 92 덒;T@ë<ˠ��v<5�� kTfLiteFloat32 kTfLiteArenaRw 112896 / 0.11 [1,14,14,144] [715008, 827904) pre-vmt.js:11 [WASM] Tensor 93 򣀼򧂼4񥻬SN����.. kTfLiteFloat32 kTfLiteArenaRw 18816 / 0.02 [1,14,14,24] [827904, 846720) pre-vmt.js:11 [WASM] Tensor 94 ��6𢺊$@<󶢺T>ֺ舮.. kTfLiteFloat32 kTfLiteArenaRw 18816 / 0.02 [1,14,14,24] [846720, 865536) pre-vmt.js:11 [WASM] Tensor 95 i粼**&<ļ򅫈;B򻤺... kTfLiteFloat32 kTfLiteArenaRw 112896 / 0.11 [1,14,14,144] [602112, 715008) pre-vmt.js:11 [WASM] Tensor 96 S{.ZR����<9��1... kTfLiteFloat32 kTfLiteArenaRw 112896 / 0.11 [1,14,14,144] [715008, 827904) pre-vmt.js:11 [WASM] Tensor 97 Pw􀗃􈨉��㢥󧂮.. kTfLiteFloat32 kTfLiteArenaRw 18816 / 0.02 [1,14,14,24] [827904, 846720) pre-vmt.js:11 [WASM] Tensor 98 ߴüs��9󢠠 kTfLiteFloat32 kTfLiteArenaRw 18816 / 0.02 [1,14,14,24] [715008, 733824) pre-vmt.js:11 [WASM] Tensor 99 t#򼇟񼻺<􊚻󣫚򡋮.. kTfLiteFloat32 kTfLiteArenaRw 56448 / 0.05 [1,14,14,72] [602112, 658560) pre-vmt.js:11 [WASM] Tensor 100 ��ݿ ������9\r... kTfLiteFloat32 kTfLiteArenaRw 56448 / 0.05 [1,14,14,72] [658560, 715008) pre-vmt.js:11 [WASM] Tensor 101 ��ڛ��𼮲��N􏕮.. kTfLiteFloat32 kTfLiteArenaRw 18816 / 0.02 [1,14,14,24] [602112, 620928) pre-vmt.js:11 [WASM] Tensor 102 򝷺iܨ<<<򾃆;󵮮. kTfLiteFloat32 kTfLiteArenaRw 18816 / 0.02 [1,14,14,24] [733824, 752640) pre-vmt.js:11 [WASM] Tensor 103 ��hԂ<o񉼿hἑݎ<f�� kTfLiteFloat32 kTfLiteArenaRw 56448 / 0.05 [1,14,14,72] [602112, 658560) pre-vmt.js:11 [WASM] Tensor 104 󻦨𼯄[<��W~J󗩮.. kTfLiteFloat32 kTfLiteArenaRw 56448 / 0.05 [1,14,14,72] [658560, 715008) pre-vmt.js:11 [WASM] Tensor 105 0»Lv<ǡF򟻸;jV��... kTfLiteFloat32 kTfLiteArenaRw 18816 / 0.02 [1,14,14,24] [715008, 733824) pre-vmt.js:11 [WASM] Tensor 106 s ��W򈤋񊗺9fZ��.. kTfLiteFloat32 kTfLiteArenaRw 18816 / 0.02 [1,14,14,24] [602112, 620928) pre-vmt.js:11 [WASM] Tensor 107 wŔ;􃋼��~<��<ڷ... kTfLiteFloat32 kTfLiteArenaRw 112896 / 0.11 [1,14,14,144] [749568, 862464) pre-vmt.js:11 [WASM] Tensor 108 KԽ;㚹֛!;񬻠 kTfLiteFloat32 kTfLiteArenaRw 147456 / 0.14 [1,16,16,144] [602112, 749568) pre-vmt.js:11 [WASM] Tensor 109 𜭼艺<ﻨ9刼; pre-vmt.js:11 [WASM] *<􉮮. kTfLiteFloat32 kTfLiteArenaRw 28224 / 0.03 [1,7,7,144] [749568, 777792) pre-vmt.js:11 [WASM] Tensor 110 0��ĺ;ۚ<��ϭܻI󮮮 kTfLiteFloat32 kTfLiteArenaRw 9408 / 0.01 [1,7,7,48] [715008, 724416) pre-vmt.js:11 [WASM] Tensor 111 sl$􀍋;OQֺ<��𻺔ޮ.. kTfLiteFloat32 kTfLiteArenaRw 56448 / 0.05 [1,7,7,288] [602112, 658560) pre-vmt.js:11 [WASM] Tensor 112 2\𼀄��;ဥ;��Ȉ... kTfLiteFloat32 kTfLiteArenaRw 56448 / 0.05 [1,7,7,288] [658560, 715008) pre-vmt.js:11 [WASM] Tensor 113 󂆅��􎙧<񶧻񍮮. kTfLiteFloat32 kTfLiteArenaRw 9408 / 0.01 [1,7,7,48] [602112, 611520) pre-vmt.js:11 [WASM] Tensor 114 ꥩ8^񑻢���� kTfLiteFloat32 kTfLiteArenaRw 9408 / 0.01 [1,7,7,48] [724416, 733824) pre-vmt.js:11 [WASM] Tensor 115 𛁺����[񁺼��߮.. kTfLiteFloat32 kTfLiteArenaRw 56448 / 0.05 [1,7,7,288] [602112, 658560) pre-vmt.js:11 [WASM] Tensor 116 /ӎ􀀀 pre-vmt.js:11 [WASM] 껵򀼏��B�� kTfLiteFloat32 kTfLiteArenaRw 56448 / 0.05 [1,7,7,288] [658560, 715008) pre-vmt.js:11 [WASM] Tensor 117 ϣ󺕠����;f򜺹 pre-vmt.js:11 [WASM] ... kTfLiteFloat32 kTfLiteArenaRw 9408 / 0.01 [1,7,7,48] [715008, 724416) pre-vmt.js:11 [WASM] Tensor 118 ᳠:$p溓l��㻂 𺩯... kTfLiteFloat32 kTfLiteArenaRw 9408 / 0.01 [1,7,7,48] [658560, 667968) pre-vmt.js:11 [WASM] Tensor 119 ��򭶹��Cျꬓ:��. kTfLiteFloat32 kTfLiteArenaRw 56448 / 0.05 [1,7,7,288] [602112, 658560) pre-vmt.js:11 [WASM] Tensor 120 SW��Y��;��e��... kTfLiteFloat32 kTfLiteArenaRw 1152 / 0.00 [1,1,1,288] [659712, 660864) pre-vmt.js:11 [WASM] Tensor 121 ��Ę;ᑩ򘯱󨞇󎓮.. kTfLiteFloat32 kTfLiteArenaRw 708 / 0.00 [1,177] [602112, 602820) pre-vmt.js:11 [WASM] Tensor 122 긟𔎴;ڗs񡮠����.. kTfLiteFloat32 kTfLiteArenaRw 708 / 0.00 [1,59,3] [602880, 603588) pre-vmt.js:11 [WASM] Tensor 123 (nil) kTfLiteInt32 kTfLiteArenaRw 16 / 0.00 [4] [660864, 660880) pre-vmt.js:11 [WASM] Tensor 124 (nil) kTfLiteInt32 kTfLiteArenaRw 8 / 0.00 [2] [660928, 660936) pre-vmt.js:11 [WASM] Tensor 125 (nil) kTfLiteFloat32 kTfLiteArenaRw 1152 / 0.00 [288] [658560, 659712) pre-vmt.js:11 [WASM] Tensor 126 (nil) kTfLiteInt32 kTfLiteDynamic 0 / 0.00 (null) [-1, -1) pre-vmt.js:11 [WASM] Tensor 127 (nil) kTfLiteNoType kTfLiteMemNone 0 / 0.00 (null) [-1, -1) pre-vmt.js:11 [WASM] Tensor 128 (nil) kTfLiteNoType kTfLiteMemNone 0 / 0.00 (null) [-1, -1) pre-vmt.js:11 [WASM] Tensor 129 (nil) kTfLiteNoType kTfLiteMemNone 0 / 0.00 (null) [-1, -1) pre-vmt.js:11 [WASM] Tensor 130 (nil) kTfLiteNoType kTfLiteMemNone 0 / 0.00 (null) [-1, -1) pre-vmt.js:11 [WASM] Tensor 131 (nil) kTfLiteNoType kTfLiteMemNone 0 / 0.00 (null) [-1, -1) pre-vmt.js:11 [WASM] Tensor 132 (nil) kTfLiteNoType kTfLiteMemNone 0 / 0.00 (null) [-1, -1) pre-vmt.js:11 [WASM] Tensor 133 (nil) kTfLiteFloat32 kTfLiteArenaRw 1354752 / 1.29 [1,112,112,27] [602112, 1956864) pre-vmt.js:11 [WASM] pre-vmt.js:11 [WASM] kTfLiteArenaRw Info: pre-vmt.js:11 [WASM] Tensor 133 has the max size 1354752 bytes (1.292 MB). pre-vmt.js:11 [WASM] This memory arena is estimated as[0x15e33b0, 0x12abd80), taking 3372592 bytes (3.216 MB). pre-vmt.js:11 [WASM] One possible set of tensors that have non-overlapping memory spaces with each other, and they take up the whole arena: pre-vmt.js:11 [WASM] Tensor 0 -> 133 -> 75 -> 74. pre-vmt.js:11 [WASM] pre-vmt.js:11 [WASM] kTfLiteArenaRwPersistent Info: not holding any allocation. pre-vmt.js:11 [WASM] pre-vmt.js:11 [WASM] kTfLiteMmapRo Info: pre-vmt.js:11 [WASM] Tensor 73 has the max size 203904 bytes (0.194 MB). pre-vmt.js:11 [WASM] This memory arena is estimated as[0x10dde70, 0x1035320), taking 691024 bytes (0.659 MB). pre-vmt.js:11 [WASM] One possible set of tensors that have non-overlapping memory spaces with each other, and they take up the whole arena: pre-vmt.js:11 [WASM] Tensor 73 -> 72 -> 71 -> 70 -> 69 -> 68 -> 67 -> 66 -> 65 -> 64 -> 63 -> 62 -> 61 -> 60 -> 59 -> 58 -> 57 -> 56 -> 55 -> 54 -> 53 -> 52 -> 51 -> 50 -> 49 -> 48 -> 47 -> 46 -> 45 -> 44 -> 43 -> 42 -> 41 -> 40 -> 39 -> 38 -> 37 -> 36 -> 35 -> 34 -> 33 -> 32 -> 31 -> 30 -> 29 -> 28 -> 27 -> 26 -> 25 -> 24 -> 23 -> 22 -> 21 -> 20 -> 19 -> 18 -> 17 -> 16 -> 15 -> 14 -> 13 -> 12 -> 11 -> 10 -> 9 -> 8 -> 7 -> 6 -> 5 -> 4 -> 3 -> 2 -> 1. pre-vmt.js:11 [WASM] pre-vmt.js:11 [WASM] kTfLiteDynamic Info: not holding any allocation. pre-vmt.js:11 [WASM] pre-vmt.js:11 [WASM] Node 0 Operator Builtin Code 34 PAD (not delegated) pre-vmt.js:11 [WASM] 2 Input Tensors:[0,72] -> 602144B (0.57MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[74] -> 612912B (0.58MB) pre-vmt.js:11 [WASM] Node 1 Operator Builtin Code 3 CONV_2D (not delegated) pre-vmt.js:11 [WASM] 3 Input Tensors:[74,35,1] -> 614704B (0.59MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[75] -> 802816B (0.77MB) pre-vmt.js:11 [WASM] 1 Temporary Tensors:[133] -> 1354752B (1.29MB) pre-vmt.js:11 [WASM] Node 2 Operator Builtin Code 34 PAD (not delegated) pre-vmt.js:11 [WASM] 2 Input Tensors:[75,72] -> 802848B (0.77MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[76] -> 831744B (0.79MB) pre-vmt.js:11 [WASM] Node 3 Operator Builtin Code 4 DEPTHWISE_CONV_2D (not delegated) pre-vmt.js:11 [WASM] 3 Input Tensors:[76,36,2] -> 832384B (0.79MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[77] -> 200704B (0.19MB) pre-vmt.js:11 [WASM] Node 4 Operator Builtin Code 3 CONV_2D (not delegated) pre-vmt.js:11 [WASM] 3 Input Tensors:[77,37,24] -> 201248B (0.19MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[78] -> 100352B (0.10MB) pre-vmt.js:11 [WASM] Node 5 Operator Builtin Code 3 CONV_2D (not delegated) pre-vmt.js:11 [WASM] 3 Input Tensors:[78,38,3] -> 101792B (0.10MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[79] -> 501760B (0.48MB) pre-vmt.js:11 [WASM] Node 6 Operator Builtin Code 34 PAD (not delegated) pre-vmt.js:11 [WASM] 2 Input Tensors:[79,72] -> 501792B (0.48MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[80] -> 538240B (0.51MB) pre-vmt.js:11 [WASM] Node 7 Operator Builtin Code 4 DEPTHWISE_CONV_2D (not delegated) pre-vmt.js:11 [WASM] 3 Input Tensors:[80,39,4] -> 539840B (0.51MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[81] -> 125440B (0.12MB) pre-vmt.js:11 [WASM] Node 8 Operator Builtin Code 3 CONV_2D (not delegated) pre-vmt.js:11 [WASM] 3 Input Tensors:[81,40,25] -> 128064B (0.12MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[82] -> 50176B (0.05MB) pre-vmt.js:11 [WASM] Node 9 Operator Builtin Code 3 CONV_2D (not delegated) pre-vmt.js:11 [WASM] 3 Input Tensors:[82,41,5] -> 53984B (0.05MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[83] -> 175616B (0.17MB) pre-vmt.js:11 [WASM] Node 10 Operator Builtin Code 4 DEPTHWISE_CONV_2D (not delegated) pre-vmt.js:11 [WASM] 3 Input Tensors:[83,42,6] -> 177856B (0.17MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[84] -> 175616B (0.17MB) pre-vmt.js:11 [WASM] Node 11 Operator Builtin Code 3 CONV_2D (not delegated) pre-vmt.js:11 [WASM] 3 Input Tensors:[84,43,26] -> 179264B (0.17MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[85] -> 50176B (0.05MB) pre-vmt.js:11 [WASM] Node 12 Operator Builtin Code 0 ADD (not delegated) pre-vmt.js:11 [WASM] 2 Input Tensors:[85,82] -> 100352B (0.10MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[86] -> 50176B (0.05MB) pre-vmt.js:11 [WASM] Node 13 Operator Builtin Code 3 CONV_2D (not delegated) pre-vmt.js:11 [WASM] 3 Input Tensors:[86,44,7] -> 54528B (0.05MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[87] -> 200704B (0.19MB) pre-vmt.js:11 [WASM] Node 14 Operator Builtin Code 34 PAD (not delegated) pre-vmt.js:11 [WASM] 2 Input Tensors:[87,72] -> 200736B (0.19MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[88] -> 230400B (0.22MB) pre-vmt.js:11 [WASM] Node 15 Operator Builtin Code 4 DEPTHWISE_CONV_2D (not delegated) pre-vmt.js:11 [WASM] 3 Input Tensors:[88,45,8] -> 232960B (0.22MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[89] -> 50176B (0.05MB) pre-vmt.js:11 [WASM] Node 16 Operator Builtin Code 3 CONV_2D (not delegated) pre-vmt.js:11 [WASM] 3 Input Tensors:[89,46,27] -> 56416B (0.05MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[90] -> 18816B (0.02MB) pre-vmt.js:11 [WASM] Node 17 Operator Builtin Code 3 CONV_2D (not delegated) pre-vmt.js:11 [WASM] 3 Input Tensors:[90,47,9] -> 33216B (0.03MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[91] -> 112896B (0.11MB) pre-vmt.js:11 [WASM] Node 18 Operator Builtin Code 4 DEPTHWISE_CONV_2D (not delegated) pre-vmt.js:11 [WASM] 3 Input Tensors:[91,48,10] -> 118656B (0.11MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[92] -> 112896B (0.11MB) pre-vmt.js:11 [WASM] Node 19 Operator Builtin Code 3 CONV_2D (not delegated) pre-vmt.js:11 [WASM] 3 Input Tensors:[92,49,28] -> 126816B (0.12MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[93] -> 18816B (0.02MB) pre-vmt.js:11 [WASM] Node 20 Operator Builtin Code 0 ADD (not delegated) pre-vmt.js:11 [WASM] 2 Input Tensors:[93,90] -> 37632B (0.04MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[94] -> 18816B (0.02MB) pre-vmt.js:11 [WASM] Node 21 Operator Builtin Code 3 CONV_2D (not delegated) pre-vmt.js:11 [WASM] 3 Input Tensors:[94,50,11] -> 33216B (0.03MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[95] -> 112896B (0.11MB) pre-vmt.js:11 [WASM] Node 22 Operator Builtin Code 4 DEPTHWISE_CONV_2D (not delegated) pre-vmt.js:11 [WASM] 3 Input Tensors:[95,51,12] -> 118656B (0.11MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[96] -> 112896B (0.11MB) pre-vmt.js:11 [WASM] Node 23 Operator Builtin Code 3 CONV_2D (not delegated) pre-vmt.js:11 [WASM] 3 Input Tensors:[96,52,29] -> 126816B (0.12MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[97] -> 18816B (0.02MB) pre-vmt.js:11 [WASM] Node 24 Operator Builtin Code 0 ADD (not delegated) pre-vmt.js:11 [WASM] 2 Input Tensors:[97,94] -> 37632B (0.04MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[98] -> 18816B (0.02MB) pre-vmt.js:11 [WASM] Node 25 Operator Builtin Code 3 CONV_2D (not delegated) pre-vmt.js:11 [WASM] 3 Input Tensors:[98,53,13] -> 26016B (0.02MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[99] -> 56448B (0.05MB) pre-vmt.js:11 [WASM] Node 26 Operator Builtin Code 4 DEPTHWISE_CONV_2D (not delegated) pre-vmt.js:11 [WASM] 3 Input Tensors:[99,54,14] -> 59328B (0.06MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[100] -> 56448B (0.05MB) pre-vmt.js:11 [WASM] Node 27 Operator Builtin Code 3 CONV_2D (not delegated) pre-vmt.js:11 [WASM] 3 Input Tensors:[100,55,30] -> 63456B (0.06MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[101] -> 18816B (0.02MB) pre-vmt.js:11 [WASM] Node 28 Operator Builtin Code 0 ADD (not delegated) pre-vmt.js:11 [WASM] 2 Input Tensors:[101,98] -> 37632B (0.04MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[102] -> 18816B (0.02MB) pre-vmt.js:11 [WASM] Node 29 Operator Builtin Code 3 CONV_2D (not delegated) pre-vmt.js:11 [WASM] 3 Input Tensors:[102,56,15] -> 26016B (0.02MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[103] -> 56448B (0.05MB) pre-vmt.js:11 [WASM] Node 30 Operator Builtin Code 4 DEPTHWISE_CONV_2D (not delegated) pre-vmt.js:11 [WASM] 3 Input Tensors:[103,57,16] -> 59328B (0.06MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[104] -> 56448B (0.05MB) pre-vmt.js:11 [WASM] Node 31 Operator Builtin Code 3 CONV_2D (not delegated) pre-vmt.js:11 [WASM] 3 Input Tensors:[104,58,31] -> 63456B (0.06MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[105] -> 18816B (0.02MB) pre-vmt.js:11 [WASM] Node 32 Operator Builtin Code 0 ADD (not delegated) pre-vmt.js:11 [WASM] 2 Input Tensors:[105,102] -> 37632B (0.04MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[106] -> 18816B (0.02MB) pre-vmt.js:11 [WASM] Node 33 Operator Builtin Code 3 CONV_2D (not delegated) pre-vmt.js:11 [WASM] 3 Input Tensors:[106,59,17] -> 33216B (0.03MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[107] -> 112896B (0.11MB) pre-vmt.js:11 [WASM] Node 34 Operator Builtin Code 34 PAD (not delegated) pre-vmt.js:11 [WASM] 2 Input Tensors:[107,72] -> 112928B (0.11MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[108] -> 147456B (0.14MB) pre-vmt.js:11 [WASM] Node 35 Operator Builtin Code 4 DEPTHWISE_CONV_2D (not delegated) pre-vmt.js:11 [WASM] 3 Input Tensors:[108,60,18] -> 153216B (0.15MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[109] -> 28224B (0.03MB) pre-vmt.js:11 [WASM] Node 36 Operator Builtin Code 3 CONV_2D (not delegated) pre-vmt.js:11 [WASM] 3 Input Tensors:[109,61,32] -> 56064B (0.05MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[110] -> 9408B (0.01MB) pre-vmt.js:11 [WASM] Node 37 Operator Builtin Code 3 CONV_2D (not delegated) pre-vmt.js:11 [WASM] 3 Input Tensors:[110,62,19] -> 65856B (0.06MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[111] -> 56448B (0.05MB) pre-vmt.js:11 [WASM] Node 38 Operator Builtin Code 4 DEPTHWISE_CONV_2D (not delegated) pre-vmt.js:11 [WASM] 3 Input Tensors:[111,63,20] -> 67968B (0.06MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[112] -> 56448B (0.05MB) pre-vmt.js:11 [WASM] Node 39 Operator Builtin Code 3 CONV_2D (not delegated) pre-vmt.js:11 [WASM] 3 Input Tensors:[112,64,33] -> 111936B (0.11MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[113] -> 9408B (0.01MB) pre-vmt.js:11 [WASM] Node 40 Operator Builtin Code 0 ADD (not delegated) pre-vmt.js:11 [WASM] 2 Input Tensors:[113,110] -> 18816B (0.02MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[114] -> 9408B (0.01MB) pre-vmt.js:11 [WASM] Node 41 Operator Builtin Code 3 CONV_2D (not delegated) pre-vmt.js:11 [WASM] 3 Input Tensors:[114,65,21] -> 65856B (0.06MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[115] -> 56448B (0.05MB) pre-vmt.js:11 [WASM] Node 42 Operator Builtin Code 4 DEPTHWISE_CONV_2D (not delegated) pre-vmt.js:11 [WASM] 3 Input Tensors:[115,66,22] -> 67968B (0.06MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[116] -> 56448B (0.05MB) pre-vmt.js:11 [WASM] Node 43 Operator Builtin Code 3 CONV_2D (not delegated) pre-vmt.js:11 [WASM] 3 Input Tensors:[116,67,34] -> 111936B (0.11MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[117] -> 9408B (0.01MB) pre-vmt.js:11 [WASM] Node 44 Operator Builtin Code 0 ADD (not delegated) pre-vmt.js:11 [WASM] 2 Input Tensors:[117,114] -> 18816B (0.02MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[118] -> 9408B (0.01MB) pre-vmt.js:11 [WASM] Node 45 Operator Builtin Code 3 CONV_2D (not delegated) pre-vmt.js:11 [WASM] 3 Input Tensors:[118,68,23] -> 65856B (0.06MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[119] -> 56448B (0.05MB) pre-vmt.js:11 [WASM] Node 46 Operator Builtin Code 40 MEAN (not delegated) pre-vmt.js:11 [WASM] 2 Input Tensors:[119,69] -> 56456B (0.05MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[120] -> 1152B (0.00MB) pre-vmt.js:11 [WASM] 4 Temporary Tensors:[123-126] -> 1176B (0.00MB) pre-vmt.js:11 [WASM] Node 47 Operator Builtin Code 9 FULLY_CONNECTED (not delegated) pre-vmt.js:11 [WASM] 3 Input Tensors:[120,73,71] -> 205764B (0.20MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[121] -> 708B (0.00MB) pre-vmt.js:11 [WASM] Node 48 Operator Builtin Code 22 RESHAPE (not delegated) pre-vmt.js:11 [WASM] 2 Input Tensors:[121,70] -> 720B (0.00MB) pre-vmt.js:11 [WASM] 1 Output Tensors:[122] -> 708B (0.00MB) pre-vmt.js:11 [WASM] pre-vmt.js:11 [WASM] Execution plan as the list of 49 nodes invoked in-order: [0-48] pre-vmt.js:11 [WASM] --------------Subgraph-0 dump has completed-------------- pre-vmt.js:11 [WASM] pre-vmt.js:11 [WASM] --------------Memory Arena Status Start-------------- pre-vmt.js:11 [WASM] Total memory usage: 3372848 bytes (3.217 MB) pre-vmt.js:11 [WASM] - Total arena memory usage: 3372848 bytes (3.217 MB) pre-vmt.js:11 [WASM] - Total dynamic memory usage: 0 bytes (0.000 MB) pre-vmt.js:11 [WASM] pre-vmt.js:11 [WASM] Subgraph#0 Arena (Normal) 3372720 (100.00%) pre-vmt.js:11 [WASM] Subgraph#0 Arena (Persistent) 128 (0.00%) pre-vmt.js:11 [WASM] --------------Memory Arena Status End-------------- vmt.wasm:0x31cff Uncaught RuntimeError: memory access out of bounds at vmt.wasm:0x31cff at vmt.wasm:0x1f7a94 at vmt.wasm:0x3c4910 at vmt.wasm:0x65ace at vmt.wasm:0x231c3e at vmt.wasm:0x458a49 at vmt.wasm:0x517c60 at Module._landmarkDetection (vmt.js:6100:85) at VmtHelper.cycleForSingleImage (vmt-helper.js:115:29) at img.onload (index.html:772:28) ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61234/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/61234/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61233
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61233/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61233/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61233/events
https://github.com/tensorflow/tensorflow/issues/61233
1,796,890,379
I_kwDOArmXAs5rGl8L
61,233
site/en/guide/create_op.md example code has memory leak
{ "login": "zotM", "id": 1320460, "node_id": "MDQ6VXNlcjEzMjA0NjA=", "avatar_url": "https://avatars.githubusercontent.com/u/1320460?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zotM", "html_url": "https://github.com/zotM", "followers_url": "https://api.github.com/users/zotM/followers", "following_url": "https://api.github.com/users/zotM/following{/other_user}", "gists_url": "https://api.github.com/users/zotM/gists{/gist_id}", "starred_url": "https://api.github.com/users/zotM/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/zotM/subscriptions", "organizations_url": "https://api.github.com/users/zotM/orgs", "repos_url": "https://api.github.com/users/zotM/repos", "events_url": "https://api.github.com/users/zotM/events{/privacy}", "received_events_url": "https://api.github.com/users/zotM/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": 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": "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
[ "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/61233\">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/61233\">No</a>\n" ]
2023-07-10T14:20:47
2023-07-11T01:36:49
2023-07-11T01:36:46
NONE
null
null
null
### Issue type Documentation Bug ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source source ### TensorFlow version tf 2.6.5 ### Custom code Yes ### OS platform and distribution linux centos 7.6 ### Mobile device linux centos 7.6 ### Python version 3.7 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? In the demo code, Tensor* **output_tensor** was allocated but the memory was not free `#include "tensorflow/core/framework/op_kernel.h" using namespace tensorflow; class ZeroOutOp : public OpKernel { public: explicit ZeroOutOp(OpKernelConstruction* context) : OpKernel(context) {} void Compute(OpKernelContext* context) override { // Grab the input tensor const Tensor& input_tensor = context->input(0); auto input = input_tensor.flat<int32>(); // Create an output tensor Tensor* output_tensor = NULL; OP_REQUIRES_OK(context, context->allocate_output(0, input_tensor.shape(), &output_tensor)); auto output_flat = output_tensor->flat<int32>(); // Set all but the first element of the output tensor to 0. const int N = input.size(); for (int i = 1; i < N; i++) { output_flat(i) = 0; } // Preserve the first input value if possible. if (N > 0) output_flat(0) = input(0); } };` ### Standalone code to reproduce the issue ```shell Repeatedly call the ZeroOutOp. You'll see the memory continue to increase ``` ### Relevant log output _No response_
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61233/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/61233/timeline
null
not_planned
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61232
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61232/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61232/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61232/events
https://github.com/tensorflow/tensorflow/issues/61232
1,796,743,685
I_kwDOArmXAs5rGCIF
61,232
Request for the implementation of nanmedian function
{ "login": "usama-baloch", "id": 83680012, "node_id": "MDQ6VXNlcjgzNjgwMDEy", "avatar_url": "https://avatars.githubusercontent.com/u/83680012?v=4", "gravatar_id": "", "url": "https://api.github.com/users/usama-baloch", "html_url": "https://github.com/usama-baloch", "followers_url": "https://api.github.com/users/usama-baloch/followers", "following_url": "https://api.github.com/users/usama-baloch/following{/other_user}", "gists_url": "https://api.github.com/users/usama-baloch/gists{/gist_id}", "starred_url": "https://api.github.com/users/usama-baloch/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/usama-baloch/subscriptions", "organizations_url": "https://api.github.com/users/usama-baloch/orgs", "repos_url": "https://api.github.com/users/usama-baloch/repos", "events_url": "https://api.github.com/users/usama-baloch/events{/privacy}", "received_events_url": "https://api.github.com/users/usama-baloch/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": 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": 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" } ]
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
[]
2023-07-10T13:08:39
2023-07-12T20:38:06
null
NONE
null
null
null
Tensorflow doesn't have `nanmedian` function. on the other hand, numpy support it nanmedian: [numpy nanmedian](https://numpy.org/doc/stable/reference/generated/numpy.nanmedian.html). we should add this function on `numpy` layer of Tensorflow.
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61232/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/61232/timeline
null
null
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61231
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61231/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61231/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61231/events
https://github.com/tensorflow/tensorflow/issues/61231
1,796,420,526
I_kwDOArmXAs5rEzOu
61,231
Support for empty GPU batches during distributed training
{ "login": "ujjwal-researcher", "id": 79411287, "node_id": "MDQ6VXNlcjc5NDExMjg3", "avatar_url": "https://avatars.githubusercontent.com/u/79411287?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ujjwal-researcher", "html_url": "https://github.com/ujjwal-researcher", "followers_url": "https://api.github.com/users/ujjwal-researcher/followers", "following_url": "https://api.github.com/users/ujjwal-researcher/following{/other_user}", "gists_url": "https://api.github.com/users/ujjwal-researcher/gists{/gist_id}", "starred_url": "https://api.github.com/users/ujjwal-researcher/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ujjwal-researcher/subscriptions", "organizations_url": "https://api.github.com/users/ujjwal-researcher/orgs", "repos_url": "https://api.github.com/users/ujjwal-researcher/repos", "events_url": "https://api.github.com/users/ujjwal-researcher/events{/privacy}", "received_events_url": "https://api.github.com/users/ujjwal-researcher/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": 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": 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": "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
[ "@ujjwal-researcher,\r\nCould you please provide the complete code to reproduce the issue and it helps us to analyse the issue in an effective way. Kindly find the gist of it [here](https://colab.research.google.com/gist/tilakrayal/846ef0c0c96c968add15f82cd8ed2e0d/untitled1235.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/61231\">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/61231\">No</a>\n" ]
2023-07-10T10:04:47
2023-07-27T01:49:56
2023-07-27T01:49:54
NONE
null
null
null
### Issue type Support ### Have you reproduced the bug with TensorFlow Nightly? No ### Source source ### TensorFlow version 2.12.0 ### Custom code Yes ### OS platform and distribution Ubuntu 20.04 ### Mobile device _No response_ ### Python version 3.9 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? When doing `distributed training` using `MirroredStrategy`, one may encounter empty GPU batches when `drop_remainder=False` during dataset construction. From #44348 , it seems it is a long-standing issue. For the last few batches of data it is possible that some replica workers receive an empty tensor as input ( see [here](https://www.tensorflow.org/tutorials/distribute/input#batching) for an example !!! ). Either one must set `drop_remainder=True` or consider not using `@tf.function` because you would have to add a conditional statement in the `train_step` function which won't work with `tf.function`. So, from the point of efficiency, `drop_remainder=True` seems the only option. In some applications or critical experiments, one would not like to drop the remainder data for very precise and reproducible quantitative analysis. So, can there be a support for handling empty GPU batches in distributed mode ? ### Standalone code to reproduce the issue ```shell `tf.data.Dataset.range(8).batch(4)` over 3 replicas, results in the following output: Batch 1: Replica 1: [0, 1] Replica 2: [2, 3] Replica 3: [] Batch 2: Replica 1: [4, 5] Replica 2: [6, 7] Replica 3: [] Without `drop_remainder=True` this will cause an incompatible shape error when doing a forward pass. ``` ### Relevant log output _No response_
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61231/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/61231/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61230
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61230/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61230/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61230/events
https://github.com/tensorflow/tensorflow/pull/61230
1,796,418,559
PR_kwDOArmXAs5VEWOx
61,230
Fix ambiguity in use of overloaded functions in XLA
{ "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": 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": 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
[ "The Py+CPP Test fail seems to be unrelated to this change." ]
2023-07-10T10:03:51
2023-07-11T08:25:41
2023-07-11T08:07:52
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61230", "html_url": "https://github.com/tensorflow/tensorflow/pull/61230", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61230.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61230.patch", "merged_at": "2023-07-11T08:07:51" }
gcc complains of abiguity in some overloaded functions so cast the parameter to overcome this.
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61230/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/61230/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61229
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61229/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61229/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61229/events
https://github.com/tensorflow/tensorflow/pull/61229
1,796,406,375
PR_kwDOArmXAs5VEThG
61,229
[Linaro:ARM_CI] Drop building with Python 3.8 as not supported
{ "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": "nitins17", "id": 29348997, "node_id": "MDQ6VXNlcjI5MzQ4OTk3", "avatar_url": "https://avatars.githubusercontent.com/u/29348997?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nitins17", "html_url": "https://github.com/nitins17", "followers_url": "https://api.github.com/users/nitins17/followers", "following_url": "https://api.github.com/users/nitins17/following{/other_user}", "gists_url": "https://api.github.com/users/nitins17/gists{/gist_id}", "starred_url": "https://api.github.com/users/nitins17/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nitins17/subscriptions", "organizations_url": "https://api.github.com/users/nitins17/orgs", "repos_url": "https://api.github.com/users/nitins17/repos", "events_url": "https://api.github.com/users/nitins17/events{/privacy}", "received_events_url": "https://api.github.com/users/nitins17/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
[ "Py+CPP Test failure is obviously completely unrelated.", "Yeah, will try to get this merged in today, thanks @elfringham " ]
2023-07-10T09:57:53
2023-07-11T16:15:15
2023-07-11T15:38:58
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61229", "html_url": "https://github.com/tensorflow/tensorflow/pull/61229", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61229.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61229.patch", "merged_at": "2023-07-11T15:38:57" }
Python 3.8 is no longer supported so drop attempts to build using it.
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61229/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/61229/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61228
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61228/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61228/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61228/events
https://github.com/tensorflow/tensorflow/issues/61228
1,796,334,305
I_kwDOArmXAs5rEeLh
61,228
ctc_ops.py deprecation warning
{ "login": "sronen71", "id": 4361027, "node_id": "MDQ6VXNlcjQzNjEwMjc=", "avatar_url": "https://avatars.githubusercontent.com/u/4361027?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sronen71", "html_url": "https://github.com/sronen71", "followers_url": "https://api.github.com/users/sronen71/followers", "following_url": "https://api.github.com/users/sronen71/following{/other_user}", "gists_url": "https://api.github.com/users/sronen71/gists{/gist_id}", "starred_url": "https://api.github.com/users/sronen71/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sronen71/subscriptions", "organizations_url": "https://api.github.com/users/sronen71/orgs", "repos_url": "https://api.github.com/users/sronen71/repos", "events_url": "https://api.github.com/users/sronen71/events{/privacy}", "received_events_url": "https://api.github.com/users/sronen71/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": 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
[ "Hi @sronen71 ,\r\n\r\nThanks for your time reporting this issue. The warning is actually related Tensorflow internal functions which is getting generated from the code below.This is not \r\n\r\nhttps://github.com/tensorflow/tensorflow/blob/8e2b6655c0c488290179ab90a0daed0f6d3006f7/tensorflow/python/ops/inplace_ops.py#L89-L93\r\n\r\nAs you see the warning is intended as its common that there will be some internal changes happens in source code.This will be taken care by the TF team and users need not do any changes here.\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/61228\">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/61228\">No</a>\n" ]
2023-07-10T09:15:00
2023-07-26T01:57:49
2023-07-26T01:57:47
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source source ### TensorFlow version 2.13 ### 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? WARNING:tensorflow:From /home/sronen/code/.venv/lib/python3.10/site-packages/tensorflow/python/ops/ctc_ops.py:1514: alias_inplace_add (from tensorflow.python.ops.inplace_ops) is deprecated and will be removed in a future version. ### Standalone code to reproduce the issue ```shell I suspect any call to tf.nn.ctc_loss ``` ### Relevant log output _No response_
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61228/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/61228/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61227
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61227/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61227/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61227/events
https://github.com/tensorflow/tensorflow/issues/61227
1,796,093,519
I_kwDOArmXAs5rDjZP
61,227
Tensor shapes is different when loading from tf.lite.Interpreter and from flatbuffer from python
{ "login": "Bajirak", "id": 108508050, "node_id": "U_kgDOBnezkg", "avatar_url": "https://avatars.githubusercontent.com/u/108508050?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Bajirak", "html_url": "https://github.com/Bajirak", "followers_url": "https://api.github.com/users/Bajirak/followers", "following_url": "https://api.github.com/users/Bajirak/following{/other_user}", "gists_url": "https://api.github.com/users/Bajirak/gists{/gist_id}", "starred_url": "https://api.github.com/users/Bajirak/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Bajirak/subscriptions", "organizations_url": "https://api.github.com/users/Bajirak/orgs", "repos_url": "https://api.github.com/users/Bajirak/repos", "events_url": "https://api.github.com/users/Bajirak/events{/privacy}", "received_events_url": "https://api.github.com/users/Bajirak/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": 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": 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": 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": 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": "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 @Bajirak \r\n\r\nIf your model has dynamic input shapes and you didn't specify a dimension size when building and converting your model, the converter will use 1 as the default dimension size. \r\n\r\nFrom TFLite [Model Analyzer](https://www.tensorflow.org/lite/guide/model_analyzer) I can see that \r\n\r\n`T#140(predict/MobilenetV3/expanded_conv/add) shape_signature:[-1, -1, -1, 16], type:FLOAT32`\r\n\r\nThe dimensions labeled with -1, these dimensions are the dimensions that are dynamic and can be resized.\r\nThat means that the model you are converting has shape [1, None, None, 3] and you can resize the 'None' dimensions at runtime.\r\n\r\nThe interpreter uses the static shape which starts with [1, 224,224,3] and get the shape of [1,112,112,3] in the process at that node.\r\n\r\nPlease find the gist [here](https://colab.research.google.com/gist/pjpratik/604ab3d2ae70e8317fc57fd164063907/61227.ipynb).\r\n\r\nThanks.\r\n\r\n", "@pjpratik \r\nI appreciate you responding. so quickly to my \bquestion. :)\r\n\r\nI'm not familiar with tensorflow, but could you tell me where the guide document you explained is located?\r\nI mean, \r\n1) Is there any documentation on how to fix the input size of a tflite model?\r\n2) Is there any documentation related to dynamic input dimensions for tflite models?", "Hi @Bajirak \r\n\r\nPlease refer to this [documentation](https://www.tensorflow.org/lite/guide/inference.md#run_inference_with_dynamic_shape_model) related to dynamic input tensors. Regarding fixing the input size, we need to provide the batch and input size while model building.\r\n\r\nFor ex:\r\n```\r\nimg = tf.keras.Input(shape=(64, 64, 3), name=\"img\")\r\nconst = tf.constant([1., 2., 3.]) + tf.constant([1., 4., 4.])\r\nval = img + const\r\nout = tf.identity(val, name=\"out\")\r\n\r\n# Convert to TF Lite format\r\nconverter = tf.lite.TFLiteConverter.from_keras_model(tf.keras.models.Model(inputs=[img], outputs=[out]))\r\ntflite_model = converter.convert()\r\n```\r\nPlease find the [gist](https://colab.research.google.com/gist/pjpratik/56ea53502a5396f8dcec8c9011fc769e/61227.ipynb) for the same.\r\n\r\nFeel free to close the issue if it is resolved.\r\n\r\nThanks.\r\n", "@pjpratik \r\nThanks to you, all my doubts related to this have been resolved. 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/61227\">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/61227\">No</a>\n" ]
2023-07-10T06:48:28
2023-07-13T04:16:41
2023-07-13T02:39:15
NONE
null
null
null
### 1. System information - OS Platform and Distribution (e.g., Linux Ubuntu 16.04): 18.04 - TensorFlow installation (pip package or built from source): pip package, python3.8 - TensorFlow library (version, if pip package or github SHA, if built from source): 2.13.0 ### 2. Code Provide code to help us reproduce your issues using one of the following options: `# Download tflite model from https://tfhub.dev/google/imagenet/mobilenet_v3_large_075_224/classification/5 # Case-1 Load tflite from Interpreter import tensorflow as tf model_path = "lite-model_imagenet_mobilenet_v3_large_075_224_classification_5_default_1.tflite" interpreter = tf.lite.Interpreter(model_path=model_path) interpreter.allocate_tensors() tensor_details = interpreter.get_tensor_details() print("Read Tensor Shapes From Interpreter Module") print(tensor_details[140]['name']) print(tensor_details[140]['shape']) # Case-2 Load tflite from flatbuffer from tensorflow.lite.tools.flatbuffer_utils import read_model model = read_model(model_path) tensor = model.subgraphs[0].tensors[140] print("Read Tensor Shapes From Flatbuffer Module") print(tensor.name) print(tensor.shape) ` ### 3. Failure after conversion If the conversion is successful, but the generated model is wrong, then state what is wrong: It prints the different shapes. `Read Tensor Shapes From Interpreter Module predict/MobilenetV3/expanded_conv/add [ 1 112 112 16] Read Tensor Shapes From Flatbuffer Module b'predict/MobilenetV3/expanded_conv/add' [ 1 1 1 16] ` ### 4. (optional) RNN conversion support ### 5. (optional) Any other info / logs I thought it was a problem caused by the schema_generate.py file not being updated. So I tried recompiling schema.fbs, but still the problem was not solved.
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61227/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/61227/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61226
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61226/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61226/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61226/events
https://github.com/tensorflow/tensorflow/issues/61226
1,796,029,586
I_kwDOArmXAs5rDTyS
61,226
TensorFlow 2.10.0 build for C++ using Bazel failed with error "Link.exe 1120 failed: error executing command " in Windows 10
{ "login": "ajithrp123", "id": 43878613, "node_id": "MDQ6VXNlcjQzODc4NjEz", "avatar_url": "https://avatars.githubusercontent.com/u/43878613?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ajithrp123", "html_url": "https://github.com/ajithrp123", "followers_url": "https://api.github.com/users/ajithrp123/followers", "following_url": "https://api.github.com/users/ajithrp123/following{/other_user}", "gists_url": "https://api.github.com/users/ajithrp123/gists{/gist_id}", "starred_url": "https://api.github.com/users/ajithrp123/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ajithrp123/subscriptions", "organizations_url": "https://api.github.com/users/ajithrp123/orgs", "repos_url": "https://api.github.com/users/ajithrp123/repos", "events_url": "https://api.github.com/users/ajithrp123/events{/privacy}", "received_events_url": "https://api.github.com/users/ajithrp123/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": 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": 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": "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
[ "@ajithrp123,\r\n Apologies for the delay. Could you please run the above command again on the latest commit and let us know the issue you are facing? Also most of the bugs are resolved on the latest tensorflow commit. Thank you!", "@tilakrayal \r\nThanks for the reply\r\n\r\nI need to build TensorFlow source for my C++ application in both CPU and GPU machines. \r\nAs per TensorFlow.org website, GPU support is available only till TensorFlow 2.10.0 version.\r\nHence I have chosen the version https://github.com/tensorflow/tensorflow/tree/v2.10.0\r\n\r\nIs it possible to continue the build with this version itself? \r\nOr, is there any other option to build for the GPU also?", "@mraunak , Could you please take a look into this?", "Hi, @ajithrp123, for using TensorFlow GPU on Windows, you will need to build/install TensorFlow in WSL2 or use tensorflow-cpu with TensorFlow-DirectML-Plugin. Please follow the link https://www.tensorflow.org/install/source_windows", "@mraunak Thanks for the reply\r\nI need to build TensorFlow source for my C++ application in both CPU and GPU machines.\r\nI using tensorflow 2.10.0. As per tensorflow.org(https://www.tensorflow.org/install/source_windows) WSL or direct ML plugin needed for tensorflow versions from 2.11.\r\n\r\nIs WSL needed to build tensorflow 2.10.0?\r\nIs there any additional steps needed to build tensorflow 2.10.0 in native windows for cpp?", "Hi @ajithrp123, got it, thank you, could you please share the steps you are following and the errors you are getting while running TF 2.10.0? No WSL is not needed for TF 2.10.0", "hi @mraunak thanks for the response\r\n\r\n### **Please find the below steps which I have followed**\r\n1. Installed Bazel version 5.1.1 and set the environment variables.\r\n2. Installed msys2 and set the environment variables.\r\n3. Installed visual studio professional 2019 for C++ build .\r\n4. Installed python 3.9.13\r\n5. Installed python dependencies like numpy, wheel, keras\r\n6. Downloaded tensorflow 2.10.0 source from tensorflow github repository\r\n7. Set BAZEL_SH, VC,VS,FULL_VERSION environment variables\r\n8. Configured TensorFlow with default configuration using ‘./configure’\r\n9. Build TensorFlow using the command\r\n‘bazel --host_jvm_args=-Xmx4g --output_base=D:\\0 build --jvmopt=\"-server -Xms2g\" --config=opt tensorflow:tensorflow_cc’\r\n\r\n### **Build Error :**\r\nD:\\TF_Building\\cc_tensorflow-2.10.0>bazel --host_jvm_args=-Djavax.net.ssl.trustStore=\"C:\\Program Files\\Java\\jdk1.8.0_144\\jre\\lib\\security\\cacerts\" --host_jvm_args=-Djavax.net.ssl.trustStorePassword=changeit --host_jvm_args=-Xmx4g build --jvmopt=\"-server -Xms2g\" --config=opt //tensorflow:tensorflow_cc\r\nWARNING: Running Bazel server needs to be killed, because the startup options are different.\r\nStarting local Bazel server and connecting to it...\r\nINFO: Options provided by the client:\r\n Inherited 'common' options: --isatty=1 --terminal_columns=157\r\nINFO: Reading rc options for 'build' from d:\\tf_building\\cc_tensorflow-2.10.0\\.bazelrc:\r\n Inherited 'common' options: --experimental_repo_remote_exec\r\nINFO: Options provided by the client:\r\n 'build' options: --python_path=C:/Users/1024182/AppData/Local/Programs/Python/Python39/python.exe\r\nINFO: Reading rc options for 'build' from d:\\tf_building\\cc_tensorflow-2.10.0\\.bazelrc:\r\n 'build' options: --define framework_shared_object=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 --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\r\nINFO: Reading rc options for 'build' from d:\\tf_building\\cc_tensorflow-2.10.0\\.tf_configure.bazelrc:\r\n 'build' options: --action_env PYTHON_BIN_PATH=C:/Users/1024182/AppData/Local/Programs/Python/Python39/python.exe --action_env PYTHON_LIB_PATH=C:/Users/1024182/AppData/Local/Programs/Python/Python39/lib/site-packages --python_path=C:/Users/1024182/AppData/Local/Programs/Python/Python39/python.exe --copt=/d2ReducedOptimizeHugeFunctions --host_copt=/d2ReducedOptimizeHugeFunctions --define=override_eigen_strong_inline=true\r\nINFO: Reading rc options for 'build' from d:\\tf_building\\cc_tensorflow-2.10.0\\.bazelrc:\r\n 'build' options: --deleted_packages=tensorflow/compiler/mlir/tfrt,tensorflow/compiler/mlir/tfrt/benchmarks,tensorflow/compiler/mlir/tfrt/jit/python_binding,tensorflow/compiler/mlir/tfrt/jit/transforms,tensorflow/compiler/mlir/tfrt/python_tests,tensorflow/compiler/mlir/tfrt/tests,tensorflow/compiler/mlir/tfrt/tests/ir,tensorflow/compiler/mlir/tfrt/tests/analysis,tensorflow/compiler/mlir/tfrt/tests/jit,tensorflow/compiler/mlir/tfrt/tests/lhlo_to_tfrt,tensorflow/compiler/mlir/tfrt/tests/lhlo_to_jitrt,tensorflow/compiler/mlir/tfrt/tests/tf_to_corert,tensorflow/compiler/mlir/tfrt/tests/tf_to_tfrt_data,tensorflow/compiler/mlir/tfrt/tests/saved_model,tensorflow/compiler/mlir/tfrt/transforms/lhlo_gpu_to_tfrt_gpu,tensorflow/core/runtime_fallback,tensorflow/core/runtime_fallback/conversion,tensorflow/core/runtime_fallback/kernel,tensorflow/core/runtime_fallback/opdefs,tensorflow/core/runtime_fallback/runtime,tensorflow/core/runtime_fallback/util,tensorflow/core/tfrt/common,tensorflow/core/tfrt/eager,tensorflow/core/tfrt/eager/backends/cpu,tensorflow/core/tfrt/eager/backends/gpu,tensorflow/core/tfrt/eager/core_runtime,tensorflow/core/tfrt/eager/cpp_tests/core_runtime,tensorflow/core/tfrt/gpu,tensorflow/core/tfrt/run_handler_thread_pool,tensorflow/core/tfrt/runtime,tensorflow/core/tfrt/saved_model,tensorflow/core/tfrt/graph_executor,tensorflow/core/tfrt/saved_model/tests,tensorflow/core/tfrt/tpu,tensorflow/core/tfrt/utils\r\nINFO: Found applicable config definition build:short_logs in file d:\\tf_building\\cc_tensorflow-2.10.0\\.bazelrc: --output_filter=DONT_MATCH_ANYTHING\r\nINFO: Found applicable config definition build:v2 in file d:\\tf_building\\cc_tensorflow-2.10.0\\.bazelrc: --define=tf_api_version=2 --action_env=TF2_BEHAVIOR=1INFO: Found applicable config definition build:opt in file d:\\tf_building\\cc_tensorflow-2.10.0\\.tf_configure.bazelrc: --copt=/arch:AVX --host_copt=/arch:AVX\r\nINFO: Found applicable config definition build:windows in file d:\\tf_building\\cc_tensorflow-2.10.0\\.bazelrc: --copt=/W0 --host_copt=/W0 --copt=/Zc:__cplusplus --host_copt=/Zc:__cplusplus --copt=/D_USE_MATH_DEFINES --host_copt=/D_USE_MATH_DEFINES --features=compiler_param_file --copt=/d2ReducedOptimizeHugeFunctions --host_copt=/d2ReducedOptimizeHugeFunctions --cxxopt=/std:c++17 --host_cxxopt=/std:c++17 --config=monolithic --copt=-DWIN32_LEAN_AND_MEAN --host_copt=-DWIN32_LEAN_AND_MEAN --copt=-DNOGDI --host_copt=-DNOGDI --copt=/experimental:preprocessor --host_copt=/experimental:preprocessor --linkopt=/DEBUG --host_linkopt=/DEBUG --linkopt=/OPT:REF --host_linkopt=/OPT:REF --linkopt=/OPT:ICF --host_linkopt=/OPT:ICF --verbose_failures --features=compiler_param_file --distinct_host_configuration=false\r\nINFO: Found applicable config definition build:monolithic in file d:\\tf_building\\cc_tensorflow-2.10.0\\.bazelrc: --define framework_shared_object=false --experimental_link_static_libraries_once=false\r\nINFO: Analyzed target //tensorflow:tensorflow_cc (269 packages loaded, 20666 targets configured).\r\nINFO: Found 1 target...\r\nERROR: D:/tf_building/cc_tensorflow-2.10.0/tensorflow/BUILD:1156:21: Linking tensorflow/tensorflow_cc.dll failed: (Exit 1120): link.exe failed: error executing command\r\n cd /d C:/users/1024182/_bazel_1024182/gigze6o2/execroot/org_tensorflow\r\n SET LIB=C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\VC\\Tools\\MSVC\\14.29.30133\\ATLMFC\\lib\\x64;C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\VC\\Tools\\MSVC\\14.29.30133\\lib\\x64;C:\\Program Files (x86)\\Windows Kits\\NETFXSDK\\4.8\\lib\\um\\x64;C:\\Program Files (x86)\\Windows Kits\\10\\lib\\10.0.19041.0\\ucrt\\x64;C:\\Program Files (x86)\\Windows Kits\\10\\lib\\10.0.19041.0\\um\\x64\r\n SET PATH=C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\Common7\\IDE\\\\Extensions\\Microsoft\\IntelliCode\\CLI;C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX64\\x64;C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\Common7\\IDE\\VC\\VCPackages;C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\Common7\\IDE\\CommonExtensions\\Microsoft\\TestWindow;C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\Common7\\IDE\\CommonExtensions\\Microsoft\\TeamFoundation\\Team Explorer;C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\MSBuild\\Current\\bin\\Roslyn;C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\Team Tools\\Performance Tools\\x64;C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\Team Tools\\Performance Tools;C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Common\\VSPerfCollectionTools\\vs2019\\\\x64;C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Common\\VSPerfCollectionTools\\vs2019\\;C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.8 Tools\\x64\\;C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\Common7\\IDE\\CommonExtensions\\Microsoft\\FSharp\\Tools;C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\Common7\\Tools\\devinit;C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.19041.0\\x64;C:\\Program Files (x86)\\Windows Kits\\10\\bin\\x64;C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\\\MSBuild\\Current\\Bin;C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319;C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\Common7\\IDE\\;C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\Common7\\Tools\\;;C:\\WINDOWS\\system32;C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\Common7\\IDE\\CommonExtensions\\Microsoft\\CMake\\CMake\\bin;C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\Common7\\IDE\\CommonExtensions\\Microsoft\\CMake\\Ninja;C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\Common7\\IDE\\VC\\Linux\\bin\\ConnectionManagerExe\r\n SET PWD=/proc/self/cwd\r\n SET PYTHON_BIN_PATH=C:/Users/1024182/AppData/Local/Programs/Python/Python39/python.exe\r\n SET PYTHON_LIB_PATH=C:/Users/1024182/AppData/Local/Programs/Python/Python39/lib/site-packages\r\n SET RUNFILES_MANIFEST_ONLY=1\r\n SET TEMP=C:\\Users\\1024182\\AppData\\Local\\Temp\r\n SET TF2_BEHAVIOR=1\r\n SET TMP=C:\\Users\\1024182\\AppData\\Local\\Temp\r\n C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX64\\x64\\link.exe @bazel-out/x64_windows-opt/bin/tensorflow/tensorflow_cc.dll-2.params\r\n**# Configuration: 49364d498d2e60c64c08a94404aa46742b697c047bdd88e3c7913989a8abad35\r\n**# Execution platform: @local_execution_config_platform//:platform****\r\nstdout (C:/users/1024182/_bazel_1024182/gigze6o2/execroot/org_tensorflow/bazel-out/_tmp/actions/stdout-12130) exceeds maximum size of --experimental_ui_max_stdouterr_bytes=1048576 bytes; skipping\r\nTarget //tensorflow:tensorflow_cc failed to build\r\nINFO: Elapsed time: 8002.569s, Critical Path: 968.80s\r\nINFO: 7482 processes: 878 internal, 6604 local.\r\nFAILED: Build did NOT complete successfully", "@ajithrp123 Could you please share the file content C:/users/1024182/_bazel_1024182/gigze6o2/execroot/org_tensorflow/bazel-out/_tmp/actions/stdout-12130 to us? It should contain the error detail information. \r\n\r\nThank you.", "@shangerxin thanks for the response\r\nI have added the C:/users/1024182/_bazel_1024182/gigze6o2/execroot/org_tensorflow/bazel-out/_tmp/actions/stdout-12130 file in [https://github.com/ajithrp123/tensorflow_2.10.0_build_error/blob/main/stdout-12130.txt]\r\nplease find the file", "> @shangerxin thanks for the response I have added the C:/users/1024182/_bazel_1024182/gigze6o2/execroot/org_tensorflow/bazel-out/_tmp/actions/stdout-12130 file in [https://github.com/ajithrp123/tensorflow_2.10.0_build_error/blob/main/stdout-12130.txt] please find the file\r\n\r\nOK. I have got the file. I will check and test it locally. Thanks.", "> > @shangerxin thanks for the response I have added the C:/users/1024182/_bazel_1024182/gigze6o2/execroot/org_tensorflow/bazel-out/_tmp/actions/stdout-12130 file in [https://github.com/ajithrp123/tensorflow_2.10.0_build_error/blob/main/stdout-12130.txt] please find the file\r\n> \r\n> OK. I have got the file. I will check and test it locally. Thanks.\r\n\r\n@shangerxin thanks for the response and your time\r\ntensorflow 2.9.0 cc build is working properly. But issue only in 2.10.0 cc build.\r\nIs there any additional steps or any build configurations to be modified to build cc in tensorflow 2.10.0?", "> > > @shangerxin thanks for the response I have added the C:/users/1024182/_bazel_1024182/gigze6o2/execroot/org_tensorflow/bazel-out/_tmp/actions/stdout-12130 file in [https://github.com/ajithrp123/tensorflow_2.10.0_build_error/blob/main/stdout-12130.txt] please find the file\r\n> > \r\n> > \r\n> > OK. I have got the file. I will check and test it locally. Thanks.\r\n> \r\n> @shangerxin thanks for the response and your time tensorflow 2.9.0 cc build is working properly. But issue only in 2.10.0 cc build. Is there any additional steps or any build configurations to be modified to build cc in tensorflow 2.10.0?\r\n\r\n@ajithrp123 I have tried to add new link option into the compilation command. \r\n```\r\n --linkopt=/FORCE:MULTIPLE\r\n```\r\nThe duplicated symbol error is mitigated but there are new link errors. I will work on it and let you know the result. Thanks. ", "@shangerxin thanks for the update , looking forward for your solution\r\nOne doubt, Is it possible to build tensorflow_cc.dll in windows for tf2.10.0 or is there any bug in the build setup? ", "> @shangerxin thanks for the update , looking forward for your solution One doubt, Is it possible to build tensorflow_cc.dll in windows for tf2.10.0 or is there any bug in the build setup?\r\n\r\n@ajithrp123 Yes it is supported. I can see the target tensorflow_cc from the file\r\n```\r\ntensorflow\\BUILD\r\n\r\ntf_cc_shared_library(\r\n name = \"tensorflow_cc\",\r\n additional_linker_inputs = [\r\n \"//tensorflow:tf_exported_symbols.lds\",\r\n \"//tensorflow:tf_private_symbols.lds\",\r\n \"//tensorflow:tf_version_script.lds\",\r\n ],\r\n...\r\n```\r\nI'm still investigating the why there are so many link errors. Wil update the result later. Thanks. ", "@ajithrp123 \r\n\r\n> > @shangerxin thanks for the update , looking forward for your solution One doubt, Is it possible to build tensorflow_cc.dll in windows for tf2.10.0 or is there any bug in the build setup?\r\n> \r\n> @ajithrp123 Yes it is supported. I can see the target tensorflow_cc from the file\r\n> \r\n> ```\r\n> tensorflow\\BUILD\r\n> \r\n> tf_cc_shared_library(\r\n> name = \"tensorflow_cc\",\r\n> additional_linker_inputs = [\r\n> \"//tensorflow:tf_exported_symbols.lds\",\r\n> \"//tensorflow:tf_private_symbols.lds\",\r\n> \"//tensorflow:tf_version_script.lds\",\r\n> ],\r\n> ...\r\n> ```\r\n> \r\n> I'm still investigating the why there are so many link errors. Wil update the result later. Thanks.\r\n\r\nI have double confirmed with the Team. The target tensorflow_cc is not support Windows platform. You can check these files:\r\n\r\nhttps://github.com/tensorflow/tensorflow/blob/3d79c0e4a663a4dd846c38cb5cdc0beeb3292d83/tensorflow/python/BUILD#L630-L640\r\nhttps://github.com/tensorflow/tensorflow/blob/1dbc8d1b0126dcac5edea9a65a1fddbfe5e337ce/tensorflow/compiler/mlir/lite/experimental/tac/py_wrapper/BUILD#L37-L41\r\n\r\nThe Windows platform has no dependency files. \r\n", "Thank you @shangerxin", "@shangerxin thanks for the confirmation.\r\n@tilakrayal @mraunak @sachinprasadhs thanks for the support.\r\nClosing this issue with the following confirmation ,\r\n**tensorflow 2.10.0 c++ build(tensorflow_cc) in windows is not supported**", "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/61226\">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/61226\">No</a>\n", "> @shangerxin thanks for the confirmation. @tilakrayal @mraunak @sachinprasadhs thanks for the support. Closing this issue with the following confirmation , **tensorflow 2.10.0 c++ build(tensorflow_cc) in windows is not supported**\r\n\r\nCan older version of tensorflow support C++ tensorflow_cc in windows?", "> @ajithrp123\r\n> \r\n> > > @shangerxin thanks for the update , looking forward for your solution One doubt, Is it possible to build tensorflow_cc.dll in windows for tf2.10.0 or is there any bug in the build setup?\r\n> > \r\n> > \r\n> > @ajithrp123 Yes it is supported. I can see the target tensorflow_cc from the file\r\n> > ```\r\n> > tensorflow\\BUILD\r\n> > \r\n> > tf_cc_shared_library(\r\n> > name = \"tensorflow_cc\",\r\n> > additional_linker_inputs = [\r\n> > \"//tensorflow:tf_exported_symbols.lds\",\r\n> > \"//tensorflow:tf_private_symbols.lds\",\r\n> > \"//tensorflow:tf_version_script.lds\",\r\n> > ],\r\n> > ...\r\n> > ```\r\n> > \r\n> > \r\n> > \r\n> > \r\n> > \r\n> > \r\n> > \r\n> > \r\n> > \r\n> > \r\n> > \r\n> > I'm still investigating the why there are so many link errors. Wil update the result later. Thanks.\r\n> \r\n> I have double confirmed with the Team. The target tensorflow_cc is not support Windows platform. You can check these files:\r\n> \r\n> https://github.com/tensorflow/tensorflow/blob/3d79c0e4a663a4dd846c38cb5cdc0beeb3292d83/tensorflow/python/BUILD#L630-L640\r\n> \r\n> \r\n> https://github.com/tensorflow/tensorflow/blob/1dbc8d1b0126dcac5edea9a65a1fddbfe5e337ce/tensorflow/compiler/mlir/lite/experimental/tac/py_wrapper/BUILD#L37-L41\r\n> \r\n> The Windows platform has no dependency files.\r\nit is meaning of this. Can not C++ project with tensorflow on windows os?", "> > @shangerxin thanks for the confirmation. @tilakrayal @mraunak @sachinprasadhs thanks for the support. Closing this issue with the following confirmation , **tensorflow 2.10.0 c++ build(tensorflow_cc) in windows is not supported**\r\n> \r\n> Can older version of tensorflow support C++ tensorflow_cc in windows?\r\n\r\n@hidon Yes , I have tried tensorflow 2.9.0 and I am able to generate tensorflow_cc.dll in windows using the steps mentioned in previous replies.", "> > > @shangerxin thanks for the confirmation. @tilakrayal @mraunak @sachinprasadhs thanks for the support. Closing this issue with the following confirmation , **tensorflow 2.10.0 c++ build(tensorflow_cc) in windows is not supported**\r\n> > \r\n> > \r\n> > Can older version of tensorflow support C++ tensorflow_cc in windows?\r\n> \r\n> @hidon Yes , I have tried tensorflow 2.9.0 and I am able to generate tensorflow_cc.dll in windows using the steps mentioned in previous replies.\r\n\r\n@ajithrp123 thank you very much. I will try 2.9.0.", "> > > @shangerxin thanks for the confirmation. @tilakrayal @mraunak @sachinprasadhs thanks for the support. Closing this issue with the following confirmation , **tensorflow 2.10.0 c++ build(tensorflow_cc) in windows is not supported**\r\n> > \r\n> > \r\n> > Can older version of tensorflow support C++ tensorflow_cc in windows?\r\n> \r\n> @hidon Yes , I have tried tensorflow 2.9.0 and I am able to generate tensorflow_cc.dll in windows using the steps mentioned in previous replies.\r\n\r\nWhich version of Python use with tensorflow 2.9.0? I got error python 3.9.13 version.", "> > > > @shangerxin thanks for the confirmation. @tilakrayal @mraunak @sachinprasadhs thanks for the support. Closing this issue with the following confirmation , **tensorflow 2.10.0 c++ build(tensorflow_cc) in windows is not supported**\r\n> > > \r\n> > > \r\n> > > Can older version of tensorflow support C++ tensorflow_cc in windows?\r\n> > \r\n> > \r\n> > @hidon Yes , I have tried tensorflow 2.9.0 and I am able to generate tensorflow_cc.dll in windows using the steps mentioned in previous replies.\r\n> \r\n> Which version of Python use with tensorflow 2.9.0? I got error python 3.9.13 version.\r\n\r\n@hidon which error you are getting ? It will work in python 3.9.13 if not can you try with python 3.8.0. For me i have tried in these two python versions and both worked for me.", "@ajithrp123 thanks for reply. build is succesfully completede with 3.8.0. but get unresolved external error with ms visual stdio C++ desktop when build it windwos 10.\r\n\r\nadded additional dependencies (bazel build --config=opt //tensorflow:tensorflow.lib)\r\ntensorflow.lib\r\ntensorflow_cc.lib\r\ninclude directory (bazel build --config=opt //tensorflow:install_headers)\r\n../include\r\n../include/src\r\n\r\nms visul stdio configuration is release and platform is x64.\r\n\r\nActullay my target is compiling saved_model_bundle_test.cc (tensorflow/cc/saved_model ) but I can not do it on windows 10.\r\n then I will adapt my project.\r\n\r\n\r\nCan you give me suggestion? thanks.", "> > @ajithrp123\r\n> > > > @shangerxin thanks for the update , looking forward for your solution One doubt, Is it possible to build tensorflow_cc.dll in windows for tf2.10.0 or is there any bug in the build setup?\r\n> > > \r\n> > > \r\n> > > @ajithrp123 Yes it is supported. I can see the target tensorflow_cc from the file\r\n> > > ```\r\n> > > tensorflow\\BUILD\r\n> > > \r\n> > > tf_cc_shared_library(\r\n> > > name = \"tensorflow_cc\",\r\n> > > additional_linker_inputs = [\r\n> > > \"//tensorflow:tf_exported_symbols.lds\",\r\n> > > \"//tensorflow:tf_private_symbols.lds\",\r\n> > > \"//tensorflow:tf_version_script.lds\",\r\n> > > ],\r\n> > > ...\r\n> > > ```\r\n> > > \r\n> > > \r\n> > > \r\n> > > \r\n> > > \r\n> > > \r\n> > > \r\n> > > \r\n> > > \r\n> > > \r\n> > > \r\n> > > I'm still investigating the why there are so many link errors. Wil update the result later. Thanks.\r\n> > \r\n> > \r\n> > I have double confirmed with the Team. The target tensorflow_cc is not support Windows platform. You can check these files:\r\n> > https://github.com/tensorflow/tensorflow/blob/3d79c0e4a663a4dd846c38cb5cdc0beeb3292d83/tensorflow/python/BUILD#L630-L640\r\n> > \r\n> > https://github.com/tensorflow/tensorflow/blob/1dbc8d1b0126dcac5edea9a65a1fddbfe5e337ce/tensorflow/compiler/mlir/lite/experimental/tac/py_wrapper/BUILD#L37-L41\r\n> > \r\n> > The Windows platform has no dependency files.\r\n> > it is meaning of this. Can not C++ project with tensorflow on windows os?\r\n\r\n@hidon It means the target of TF 2.10.0 is not support on Windows. ", "@shangerxin Actually Correct question, which version of tensorflow is support on windows?\r\n\r\nI need for my desktop C++ project. this project will use saved tensorflow model. I did not find good guide documents like this https://www.tensorflow.org/install/source_windows.\r\nthanks.\r\n", "> @ajithrp123 thanks for reply. build is succesfully completede with 3.8.0. but get unresolved external error with ms visual stdio C++ desktop when build it windwos 10.\r\n> \r\n> added additional dependencies (bazel build --config=opt //tensorflow:tensorflow.lib) tensorflow.lib tensorflow_cc.lib include directory (bazel build --config=opt //tensorflow:install_headers) ../include ../include/src\r\n> \r\n> ms visul stdio configuration is release and platform is x64.\r\n> \r\n> Actullay my target is compiling saved_model_bundle_test.cc (tensorflow/cc/saved_model ) but I can not do it on windows 10. then I will adapt my project.\r\n> \r\n> Can you give me suggestion? thanks.\r\n\r\n@hidon Is this link error. Link error is expected one because not all the symbols exported to tensorflow_cc.dll. We need to manually export (using TF_EXPORT) needed symbols to dll.\r\nPlease look into the following tutorial for reference\r\n[https://medium.com/vitrox-publication/deep-learning-frameworks-tensorflow-build-from-source-on-windows-python-c-cpu-gpu-d3aa4d0772d8](url)", "@ajithrp123, @shangerxin thanks to you. Tensorflow model exported C++ on Windows is completed successfully. shared my route this link --> https://github.com/hidon/Tensorflow-to-C-", "@hidon nice to hear from you. It would be great if you can share what are the functions/classes exported manually using TF_EXPORT. So that if anyone doing the same then they can easily do it. It would save more time for others." ]
2023-07-10T06:10:42
2023-09-01T04:10:18
2023-08-18T12:04:04
NONE
null
null
null
### Issue type Build/Install ### Have you reproduced the bug with TensorFlow Nightly? No ### Source source ### TensorFlow version 2.10.0 ### Custom code No ### OS platform and distribution Windows 10 Pro ### Mobile device Windows 10 Pro ### Python version 3.9.13 ### Bazel version 5.1.1 ### GCC/compiler version _No response_ ### CUDA/cuDNN version 11.2/8.1 ### GPU model and memory _No response_ ### Current behavior? Steps followed: 1. Installed Bazel version 5.1.1 and set the environment variables. 2. Installed msys2 and set the environment variables. 3. Installed visual studio professional 2019 for C++ build . 4. Installed python 3.9.13 5. Installed python dependencies like numpy, wheel, keras 6. Downloaded tensorflow 2.10.0 source from tensorflow github repository 7. Configured TensorFlow with default configuration using ‘./configure’ 8. Build TensorFlow using the command ‘bazel --host_jvm_args=-Xmx4g --output_base=D:\0 build --jvmopt="-server -Xms2g" --config=opt tensorflow:tensorflow_cc’ While tried to build ‘tensorflow_cc’ with the above command, the compilation is success but the linking failed with error 1120. The following versions of tools are used for building: Tensorflow - 2.10.0 Python - 3.9.13 Visual studio - Professional 2019 Bazel - 5.1.1 MSYS - 2 Tried the GPU build with ‘Cuda 11.2 and Cudnn 8.1’ also but the result is same. Note: Earlier tried to build tensorflow.dll (not tensorflow_cc), for which the compilation and linking was success and tensorflow.dll got generated. But while linking the tensorflow.dll to visual studio cpp project, I got 'unresolved external symbol errors'. It seems the dll generated by this method has the ‘C’ symbols instead of ‘CPP’ symbols in it. ### Standalone code to reproduce the issue ```shell Tensorflow source from github and tried to build from windows for c++. ``` ### Relevant log output ```shell Getting link errors ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61226/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/61226/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61225
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61225/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61225/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61225/events
https://github.com/tensorflow/tensorflow/issues/61225
1,795,484,170
I_kwDOArmXAs5rBOoK
61,225
TensorFlow GPU
{ "login": "KnSun99", "id": 123467428, "node_id": "U_kgDOB1v2pA", "avatar_url": "https://avatars.githubusercontent.com/u/123467428?v=4", "gravatar_id": "", "url": "https://api.github.com/users/KnSun99", "html_url": "https://github.com/KnSun99", "followers_url": "https://api.github.com/users/KnSun99/followers", "following_url": "https://api.github.com/users/KnSun99/following{/other_user}", "gists_url": "https://api.github.com/users/KnSun99/gists{/gist_id}", "starred_url": "https://api.github.com/users/KnSun99/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/KnSun99/subscriptions", "organizations_url": "https://api.github.com/users/KnSun99/orgs", "repos_url": "https://api.github.com/users/KnSun99/repos", "events_url": "https://api.github.com/users/KnSun99/events{/privacy}", "received_events_url": "https://api.github.com/users/KnSun99/received_events", "type": "User", "site_admin": false }
[ { "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": 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" } ]
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 @KnSun99 ,\r\n\r\nThanks for reaching us. Trying to access Windows files from WSL might be considerably slower than using the native Linux file system.\r\n\r\nWindows drives are mounted in the Linux at `/mnt/` directory. You can prefix /mnt/ to your local directory to access then in WSL. For example, your personal Users folder at `C:\\Users\\<yourname>` is available at: `/mnt/c/Users/<yourname>`.\r\n\r\nFor more details you may refer the attached external sources from here [source1](https://www.sitepoint.com/wsl2/) and [source2](https://ling123labs.com/posts/WSL-files-in-Windows-and-vice-versa/#:~:text=Accessing%20your%20Windows%20files%20in%20the%20WSL%20terminal&text=Just%20use%20the%20cd%20command,to%20access%20my%20Documents%20folder.).\r\n\r\nPlease let us know if it helps. Thanks!\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n", "Thank you for the response! Will there be future versions that support Windows native GPU?", "@KnSun99 ,\r\n\r\nDue to performance issues Windows native GPU support has been dropped. I doubt whether support for windows native GPU will bring back in near future.", "Thanks for your reply!", "@KnSun99 ,\r\n\r\nPlease let us know if the issue is resolved for you. Please feel free to close if resolved.Let us know if you get any further issue. Thanks!", "OK", "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/61225\">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/61225\">No</a>\n" ]
2023-07-09T17:05:54
2023-07-11T06:08:52
2023-07-11T06:08:50
NONE
null
null
null
New versions of TensorFlow no longer support Windows native Gpus. If built in WSL2 Is there a shortcut to read data from Windows directory in WSL2? Because I need to use TensorFlow GPU to compute a lot of data. Copying to WSL2 is slow
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61225/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/61225/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61222
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61222/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61222/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61222/events
https://github.com/tensorflow/tensorflow/issues/61222
1,795,070,563
I_kwDOArmXAs5q_ppj
61,222
tensor
{ "login": "haloaioayo", "id": 131007962, "node_id": "U_kgDOB88F2g", "avatar_url": "https://avatars.githubusercontent.com/u/131007962?v=4", "gravatar_id": "", "url": "https://api.github.com/users/haloaioayo", "html_url": "https://github.com/haloaioayo", "followers_url": "https://api.github.com/users/haloaioayo/followers", "following_url": "https://api.github.com/users/haloaioayo/following{/other_user}", "gists_url": "https://api.github.com/users/haloaioayo/gists{/gist_id}", "starred_url": "https://api.github.com/users/haloaioayo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/haloaioayo/subscriptions", "organizations_url": "https://api.github.com/users/haloaioayo/orgs", "repos_url": "https://api.github.com/users/haloaioayo/repos", "events_url": "https://api.github.com/users/haloaioayo/events{/privacy}", "received_events_url": "https://api.github.com/users/haloaioayo/received_events", "type": "User", "site_admin": false }
[]
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
[]
2023-07-08T19:15:13
2023-07-08T19:15:41
2023-07-08T19:15:41
NONE
null
null
null
https://github.com/expo/expo/actions/workflows/cli.yml
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61222/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/61222/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61221
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61221/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61221/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61221/events
https://github.com/tensorflow/tensorflow/pull/61221
1,795,006,042
PR_kwDOArmXAs5U_uFK
61,221
Migrate ops fuzzers to FuzzTest format
{ "login": "DavidKorczynski", "id": 657617, "node_id": "MDQ6VXNlcjY1NzYxNw==", "avatar_url": "https://avatars.githubusercontent.com/u/657617?v=4", "gravatar_id": "", "url": "https://api.github.com/users/DavidKorczynski", "html_url": "https://github.com/DavidKorczynski", "followers_url": "https://api.github.com/users/DavidKorczynski/followers", "following_url": "https://api.github.com/users/DavidKorczynski/following{/other_user}", "gists_url": "https://api.github.com/users/DavidKorczynski/gists{/gist_id}", "starred_url": "https://api.github.com/users/DavidKorczynski/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/DavidKorczynski/subscriptions", "organizations_url": "https://api.github.com/users/DavidKorczynski/orgs", "repos_url": "https://api.github.com/users/DavidKorczynski/repos", "events_url": "https://api.github.com/users/DavidKorczynski/events{/privacy}", "received_events_url": "https://api.github.com/users/DavidKorczynski/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
[ "CC @fcoUnda " ]
2023-07-08T16:22:37
2023-07-20T19:18:33
2023-07-20T19:18:33
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61221", "html_url": "https://github.com/tensorflow/tensorflow/pull/61221", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61221.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61221.patch", "merged_at": "2023-07-20T19:18:33" }
Creates a set of fuzzers to FuzzTest style. One of the benefits is that this will reduce storage size required for the fuzzers, because the fuzzers will all be based off the same binary whereas the non-FuzzTest fuzzers will have a binary per fuzzer. This storage requirement has caused an issue on the OSS-Fuzz side: https://github.com/google/oss-fuzz/issues/9792 Migrating to FuzzTest will make it easier to add new ops-specific fuzzers since we won't have to worry about disk size. The existing fuzzesr can be several GBs of storage and it quickly goes beyond what we have available at OSS-Fuzz. It would however be nice to re-use the existing fuzzer helper logic from fuzz_session.h so I added a macro similar to what we have for libFuzzer but simple for FuzzTest. I migrated a set of the existing fuzzers. I figured it would be nice to do a soft transition, so we can remove the existing fuzzers after the ones introduced in this PR has shown to run for a while. I'm also curious in whether we will see a difference in performance from the FuzzTest and libFuzzer harnesses. This PR supersedes https://github.com/tensorflow/tensorflow/pull/61122
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61221/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/61221/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61220
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61220/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61220/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61220/events
https://github.com/tensorflow/tensorflow/issues/61220
1,794,848,308
I_kwDOArmXAs5q-zY0
61,220
tf.image.adjust_gamma outputs incorrect error message for string input
{ "login": "drewshark", "id": 128925028, "node_id": "U_kgDOB689ZA", "avatar_url": "https://avatars.githubusercontent.com/u/128925028?v=4", "gravatar_id": "", "url": "https://api.github.com/users/drewshark", "html_url": "https://github.com/drewshark", "followers_url": "https://api.github.com/users/drewshark/followers", "following_url": "https://api.github.com/users/drewshark/following{/other_user}", "gists_url": "https://api.github.com/users/drewshark/gists{/gist_id}", "starred_url": "https://api.github.com/users/drewshark/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/drewshark/subscriptions", "organizations_url": "https://api.github.com/users/drewshark/orgs", "repos_url": "https://api.github.com/users/drewshark/repos", "events_url": "https://api.github.com/users/drewshark/events{/privacy}", "received_events_url": "https://api.github.com/users/drewshark/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": 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": "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
[ "@drewshark,\r\nI tried to execute the mentioned code on tensorflow v2.13, where it was executed with the error stating that `AttributeError: image dtype must be either floating point or integer` which was clearly mentioning to the user that the dtype should be either floating or interger. Kindly find the gist of it [here](https://colab.research.google.com/gist/tilakrayal/2caebf81876962bd026cc0dbbaf32cb4/untitled1233.ipynb). Thank you!\r\n\r\n", "Thanks for your response, I tried it on tf1.12.0. It seems that this issue has been fixed.", "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/61220\">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/61220\">No</a>\n" ]
2023-07-08T08:45:59
2023-07-11T06:15:13
2023-07-11T06:15:10
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 _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? When giving tf.image.adjust_gamma a string inputs, it outputs misleading error messages: ``` ValueError: Failed to convert a NumPy array to a Tensor (Unsupported object type float). ``` ### Standalone code to reproduce the issue ```shell import tensorflow as tf t = tf.constant([], dtype=tf.string) i = tf.image.adjust_gamma(t, gamma=0.1) ``` ``` ### Relevant log output _No response_
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61220/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/61220/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61219
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61219/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61219/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61219/events
https://github.com/tensorflow/tensorflow/issues/61219
1,794,739,782
I_kwDOArmXAs5q-Y5G
61,219
savedmodel convert to tflite and merge labels. tx to new tflite model,but resulte is error by Xcode, use python api is correct
{ "login": "fndppx", "id": 7971897, "node_id": "MDQ6VXNlcjc5NzE4OTc=", "avatar_url": "https://avatars.githubusercontent.com/u/7971897?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fndppx", "html_url": "https://github.com/fndppx", "followers_url": "https://api.github.com/users/fndppx/followers", "following_url": "https://api.github.com/users/fndppx/following{/other_user}", "gists_url": "https://api.github.com/users/fndppx/gists{/gist_id}", "starred_url": "https://api.github.com/users/fndppx/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fndppx/subscriptions", "organizations_url": "https://api.github.com/users/fndppx/orgs", "repos_url": "https://api.github.com/users/fndppx/repos", "events_url": "https://api.github.com/users/fndppx/events{/privacy}", "received_events_url": "https://api.github.com/users/fndppx/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": 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": "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 @fndppx \r\n\r\nCan you please check if the preprocessing is done properly as I can see that the python api as well as model metadata normalize the values between [0,1].\r\n\r\nThanks.", "> Hi @fndppx \r\n> \r\n> Can you please check if the preprocessing is done properly as I can see that the python api as well as model metadata normalize the values between [0,1].\r\n> \r\n> Thanks.\r\n\r\n![251931780-c3618d30-3dae-4a85-a3d2-dcf0f340afe3.png](https://github.com/tensorflow/tensorflow/assets/7971897/ece83d68-6762-4ea8-b6a6-a33f0a824406)\r\n\r\nbut i use TensorFlowLiteTaskVision this framework ,not found model metadata normalize the values between [0,1]. only could set option 😂😂", "Hi @fndppx \r\n\r\nThe ImageClassifier API expects a TFLite model with mandatory [TFLite Model Metadata](https://www.tensorflow.org/lite/models/convert/metadata). [TensorFlow Lite Task Library](https://www.tensorflow.org/lite/inference_with_metadata/overview) can handle normalization for you if you set up NormalizationOptions in metadata.\r\n\r\nThe downloaded [tflite model](https://tfhub.dev/google/lite-model/imagenet/mobilenet_v3_large_100_224/classification/5/metadata/1) contains the metadata and a file containing all the class labels.\r\n\r\nCan you try [this](https://www.tensorflow.org/lite/models/convert/metadata_writer_tutorial#image_classifiers) steps with \r\n\r\n```\r\n_INPUT_NORM_MEAN = 0\r\n_INPUT_NORM_STD = 255\r\n```\r\nThanks.\r\n", "> Hi @fndppx\r\n> \r\n> The ImageClassifier API expects a TFLite model with mandatory [TFLite Model Metadata](https://www.tensorflow.org/lite/models/convert/metadata). [TensorFlow Lite Task Library](https://www.tensorflow.org/lite/inference_with_metadata/overview) can handle normalization for you if you set up NormalizationOptions in metadata.\r\n> \r\n> The downloaded [tflite model](https://tfhub.dev/google/lite-model/imagenet/mobilenet_v3_large_100_224/classification/5/metadata/1) contains the metadata and a file containing all the class labels.\r\n> \r\n> Can you try [this](https://www.tensorflow.org/lite/models/convert/metadata_writer_tutorial#image_classifiers) steps with\r\n> \r\n> ```\r\n> _INPUT_NORM_MEAN = 0\r\n> _INPUT_NORM_STD = 255\r\n> ```\r\n> \r\n> Thanks.\r\n\r\nthank you very mach!!this way solve this issue!", "Hi @fndppx \r\n\r\nGlad the issue is solved. Please feel free to close the issue.\r\n\r\nThanks.", "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/61219\">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/61219\">No</a>\n" ]
2023-07-08T04:32:10
2023-07-12T23:37:46
2023-07-12T23:37:43
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 mac os 12.6 ### Mobile device ios 16.1 ### Python version 3.10.0 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? convert savedmodel to tflite in ios is error model download url https://tfhub.dev/google/imagenet/mobilenet_v3_large_100_224/classification/5 convert steps 1. <img width="996" alt="image" src="https://github.com/tensorflow/tensorflow/assets/7971897/1a8312fc-7d45-4e6e-97c2-d5ef02979082"> 2. <img width="530" alt="image" src="https://github.com/tensorflow/tensorflow/assets/7971897/5116798e-cb0d-40f5-b937-f964bb15e284"> script is use offical metadata_writer_for_image_classifier.py use convert savedmodel to convert tflite (merge labels.txt and tflite) python api result is correct <img width="569" alt="image" src="https://github.com/tensorflow/tensorflow/assets/7971897/6b4ebb76-99a9-4d8f-8bcf-e87192bf80a8"> ios is error (self-converted) <img width="925" alt="image" src="https://github.com/tensorflow/tensorflow/assets/7971897/0bfe3490-c3bf-4a49-9696-1b3be7363e30"> ios is correct (download tflite is correct ) <img width="796" alt="image" src="https://github.com/tensorflow/tensorflow/assets/7971897/c974e3d1-6582-4818-b50e-ec62548fc7e5"> ### Standalone code to reproduce the issue ```shell ios code: <img width="1075" alt="image" src="https://github.com/tensorflow/tensorflow/assets/7971897/c3618d30-3dae-4a85-a3d2-dcf0f340afe3"> python code: def classify_image_tflite_no_sin(model_path, predicted_image_path, labels_path): TF_MODEL_FILE_PATH = model_path interpreter = tf.lite.Interpreter(model_path=TF_MODEL_FILE_PATH) interpreter.allocate_tensors() # 加载标签文件 with open(labels_path, 'r') as f: labels = f.read().splitlines() # 读取和预处理图像 image_path = predicted_image_path image = Image.open(image_path).resize((224, 224)) # 调整图像大小 image = np.array(image) # 将图像转换为NumPy数组 image = image / 255.0 # 归一化图像 image = np.expand_dims(image, axis=0).astype(np.float32) # 添加批次维度并转换为float32 # 设置模型输入和输出张量 input_tensor_index = interpreter.get_input_details()[0]['index'] output_tensor_index = interpreter.get_output_details()[0]['index'] # 设置输入张量的值 interpreter.set_tensor(input_tensor_index, image) # 执行推断 interpreter.invoke() # 获取输出张量的结果 output_data = interpreter.get_tensor(output_tensor_index) score_lite = tf.nn.softmax(output_data) # 获取预测类别索引 class_index = np.argmax(score_lite) predicted_label = labels[class_index] confidence = score_lite[0][class_index] # 输出预测结果 print('预测类别:', predicted_label) print('预测准确度:', confidence) ``` ``` ### Relevant log output _No response_
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61219/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/61219/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61216
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61216/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61216/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61216/events
https://github.com/tensorflow/tensorflow/issues/61216
1,794,468,881
I_kwDOArmXAs5q9WwR
61,216
Unit test build failures
{ "login": "syedshahbaaz", "id": 16918172, "node_id": "MDQ6VXNlcjE2OTE4MTcy", "avatar_url": "https://avatars.githubusercontent.com/u/16918172?v=4", "gravatar_id": "", "url": "https://api.github.com/users/syedshahbaaz", "html_url": "https://github.com/syedshahbaaz", "followers_url": "https://api.github.com/users/syedshahbaaz/followers", "following_url": "https://api.github.com/users/syedshahbaaz/following{/other_user}", "gists_url": "https://api.github.com/users/syedshahbaaz/gists{/gist_id}", "starred_url": "https://api.github.com/users/syedshahbaaz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/syedshahbaaz/subscriptions", "organizations_url": "https://api.github.com/users/syedshahbaaz/orgs", "repos_url": "https://api.github.com/users/syedshahbaaz/repos", "events_url": "https://api.github.com/users/syedshahbaaz/events{/privacy}", "received_events_url": "https://api.github.com/users/syedshahbaaz/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": 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": "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
[ "@syedshahbaaz Could you please make sure to use latest stable version of TF 2.13 and check the tested build configurations [here](https://www.tensorflow.org/install/source#tested_build_configurations). Thank you!", "Here is the command to reproduce the failure:\r\n`bazel test --copt=-march=skylake --copt=-mavx512 //tensorflow/python/tools:aot_compiled_test`\r\n\r\nFirst bad commit from Eigen: [554fe02a](https://gitlab.com/libeigen/eigen/-/commit/554fe02ae3f3fbc2fd320c26a522f1e59b2d6342)\r\n", "CC @cantonios ", "> CC @cantonios\r\n\r\nThanks, I have a pending fix waiting for review. Should be out today or tomorrow.", "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/61216\">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/61216\">No</a>\n" ]
2023-07-07T22:11:50
2023-07-12T16:41:33
2023-07-12T16:41:30
CONTRIBUTOR
null
null
null
### Issue type Build/Install ### Have you reproduced the bug with TensorFlow Nightly? No ### Source source ### TensorFlow version 2.14.0 ### Custom code No ### OS platform and distribution Linux Ubuntu 20.04.1 ### Mobile device _No response_ ### Python version 3.8.8 ### Bazel version 6.1.0 ### GCC/compiler version 9.4.0 ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? The following unit tests fail to build when run with AVX512 flag: //tensorflow/python/tools:aot_compiled_test //tensorflow/python/tools:aot_compiled_x_matmul_y_large_multithreaded //tensorflow/python/tools:aot_compiled_vars_and_arithmetic //tensorflow/python/tools:aot_compiled_x_matmul_y_small //tensorflow/python/tools:aot_compiled_vars_and_arithmetic_frozen //tensorflow/python/tools:aot_compiled_x_plus_y //tensorflow/python/tools:aot_compiled_x_matmul_y_large The first bad commit: **4f5adb47ff6df8a55e11c8520882c18b75e7f9dc** ### Standalone code to reproduce the issue ```shell The following command reproduces the build failure: bazel test --copt=-march=skylake --copt=-mavx512f //tensorflow/python/tools:aot_compiled_x_matmul_y_small The same command was used for other mentioned tests. The change from avx512 to avx2 resolves the error and the build completes successfully. Following is the command used for it: bazel test --copt=-march=broadwell --copt=-mavx2 //tensorflow/python/tools:aot_compiled_x_matmul_y_small ``` ### Relevant log output ```shell 27 | struct gemm_pack_rhs; | ^~~~~~~~~~~~~ In file included from external/eigen_archive/unsupported/Eigen/CXX11/Tensor:96, from ./third_party/eigen3/unsupported/Eigen/CXX11/Tensor:1, from ./tensorflow/compiler/xla/service/cpu/runtime_conv_impl.h:18, from tensorflow/compiler/xla/service/cpu/runtime_single_threaded_conv2d.cc:19: external/eigen_archive/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h: In instantiation of 'void Eigen::internal::TensorContractionKernel<ResScalar, LhsScalar, RhsScalar, StorageIndex, OutputMapper, LhsMapper, RhsMapper>::packRhs(RhsScalar**, const typename RhsMapper::SubMapper&, StorageIndex, StorageIndex) [with ResScalar = float; LhsScalar = float; RhsScalar = float; StorageIndex = long int; OutputMapper = Eigen::internal::blas_data_mapper<float, long int, 0, 0, 1>; LhsMapper = Eigen::internal::TensorContractionInputMapper<float, long int, 1, Eigen::TensorEvaluator<const Eigen::TensorChippingOp<-1, const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 3>, const Eigen::TensorMap<Eigen::Tensor<const float, 4, 1, long int>, 16, Eigen::MakePointer> > >, Eigen::DefaultDevice>, Eigen::array<long int, 1>, Eigen::array<long int, 1>, 16, false, false, 0, Eigen::MakePointer>; RhsMapper = Eigen::internal::TensorContractionInputMapper<float, long int, 0, Eigen::TensorEvaluator<const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 2>, const Eigen::TensorImagePatchOp<-1, -1, const Eigen::TensorChippingOp<-1, const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 5>, const Eigen::TensorMap<Eigen::Tensor<const float, 4, 1, long int>, 16, Eigen::MakePointer> > > > >, Eigen::DefaultDevice>, Eigen::array<long int, 1>, Eigen::array<long int, 1>, 16, false, false, 0, Eigen::MakePointer>; Eigen::internal::TensorContractionKernel<ResScalar, LhsScalar, RhsScalar, StorageIndex, OutputMapper, LhsMapper, RhsMapper>::RhsBlock = float*; typename RhsMapper::SubMapper = Eigen::internal::TensorContractionSubMapper<float, long int, 0, Eigen::TensorEvaluator<const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 2>, const Eigen::TensorImagePatchOp<-1, -1, const Eigen::TensorChippingOp<-1, const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 5>, const Eigen::TensorMap<Eigen::Tensor<const float, 4, 1, long int>, 16, Eigen::MakePointer> > > > >, Eigen::DefaultDevice>, Eigen::array<long int, 1>, Eigen::array<long int, 1>, 16, false, false, 0, Eigen::MakePointer>]': external/eigen_archive/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h:893:11: required from 'void Eigen::TensorContractionEvaluatorBase<Derived>::evalGemmPartial(Eigen::TensorContractionEvaluatorBase<Derived>::Scalar*, Eigen::TensorContractionEvaluatorBase<Derived>::Index, Eigen::TensorContractionEvaluatorBase<Derived>::Index, int) const [with bool lhs_inner_dim_contiguous = false; bool rhs_inner_dim_contiguous = false; bool rhs_inner_dim_reordered = false; int Alignment = 0; bool use_output_kernel = true; Derived = Eigen::TensorEvaluator<const Eigen::TensorContractionOp<const Eigen::array<Eigen::IndexPair<long int>, 1>, const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 2>, const Eigen::TensorImagePatchOp<-1, -1, const Eigen::TensorChippingOp<-1, const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 5>, const Eigen::TensorMap<Eigen::Tensor<const float, 4, 1, long int>, 16, Eigen::MakePointer> > > > >, const Eigen::TensorChippingOp<-1, const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 3>, const Eigen::TensorMap<Eigen::Tensor<const float, 4, 1, long int>, 16, Eigen::MakePointer> > >, const Eigen::NoOpOutputKernel>, Eigen::DefaultDevice>; Eigen::TensorContractionEvaluatorBase<Derived>::Scalar = float; Eigen::TensorContractionEvaluatorBase<Derived>::Index = long int]' external/eigen_archive/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h:783:5: required from 'void Eigen::TensorContractionEvaluatorBase<Derived>::evalGemm(Eigen::TensorContractionEvaluatorBase<Derived>::Scalar*) const [with bool lhs_inner_dim_contiguous = false; bool rhs_inner_dim_contiguous = false; bool rhs_inner_dim_reordered = false; int Alignment = 0; Derived = Eigen::TensorEvaluator<const Eigen::TensorContractionOp<const Eigen::array<Eigen::IndexPair<long int>, 1>, const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 2>, const Eigen::TensorImagePatchOp<-1, -1, const Eigen::TensorChippingOp<-1, const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 5>, const Eigen::TensorMap<Eigen::Tensor<const float, 4, 1, long int>, 16, Eigen::MakePointer> > > > >, const Eigen::TensorChippingOp<-1, const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 3>, const Eigen::TensorMap<Eigen::Tensor<const float, 4, 1, long int>, 16, Eigen::MakePointer> > >, const Eigen::NoOpOutputKernel>, Eigen::DefaultDevice>; Eigen::TensorContractionEvaluatorBase<Derived>::Scalar = float]' external/eigen_archive/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h:722:7: required from 'void Eigen::TensorContractionEvaluatorBase<Derived>::evalProductSequential(Eigen::TensorContractionEvaluatorBase<Derived>::Scalar*) const [with bool lhs_inner_dim_contiguous = false; bool rhs_inner_dim_contiguous = false; bool rhs_inner_dim_reordered = false; int Alignment = 0; Derived = Eigen::TensorEvaluator<const Eigen::TensorContractionOp<const Eigen::array<Eigen::IndexPair<long int>, 1>, const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 2>, const Eigen::TensorImagePatchOp<-1, -1, const Eigen::TensorChippingOp<-1, const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 5>, const Eigen::TensorMap<Eigen::Tensor<const float, 4, 1, long int>, 16, Eigen::MakePointer> > > > >, const Eigen::TensorChippingOp<-1, const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 3>, const Eigen::TensorMap<Eigen::Tensor<const float, 4, 1, long int>, 16, Eigen::MakePointer> > >, const Eigen::NoOpOutputKernel>, Eigen::DefaultDevice>; Eigen::TensorContractionEvaluatorBase<Derived>::Scalar = float]' external/eigen_archive/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h:1012:5: required from 'void Eigen::TensorEvaluator<const Eigen::TensorContractionOp<Dimensions, LhsXprType, RhsXprType, OutputKernelType>, Device_>::evalProduct(Eigen::TensorEvaluator<const Eigen::TensorContractionOp<Dimensions, LhsXprType, RhsXprType, OutputKernelType>, Device_>::Scalar*) const [with int Alignment = 0; Indices = const Eigen::array<Eigen::IndexPair<long int>, 1>; LeftArgType = const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 2>, const Eigen::TensorImagePatchOp<-1, -1, const Eigen::TensorChippingOp<-1, const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 5>, const Eigen::TensorMap<Eigen::Tensor<const float, 4, 1, long int>, 16, Eigen::MakePointer> > > > >; RightArgType = const Eigen::TensorChippingOp<-1, const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 3>, const Eigen::TensorMap<Eigen::Tensor<const float, 4, 1, long int>, 16, Eigen::MakePointer> > >; OutputKernelType = const Eigen::NoOpOutputKernel; Device = Eigen::DefaultDevice; Eigen::TensorEvaluator<const Eigen::TensorContractionOp<Dimensions, LhsXprType, RhsXprType, OutputKernelType>, Device_>::Scalar = float]' external/eigen_archive/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h:702:4: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] external/eigen_archive/unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h:162:44: required from 'bool Eigen::TensorEvaluator<const Eigen::TensorReshapingOp<NewDimensions, XprType>, Device>::evalSubExprsIfNeeded(Eigen::TensorEvaluator<const Eigen::TensorReshapingOp<NewDimensions, XprType>, Device>::EvaluatorPointerType) [with NewDimensions = const Eigen::DSizes<long int, 4>; ArgType = const Eigen::TensorContractionOp<const Eigen::array<Eigen::IndexPair<long int>, 1>, const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 2>, const Eigen::TensorImagePatchOp<-1, -1, const Eigen::TensorChippingOp<-1, const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 5>, const Eigen::TensorMap<Eigen::Tensor<const float, 4, 1, long int>, 16, Eigen::MakePointer> > > > >, const Eigen::TensorChippingOp<-1, const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 3>, const Eigen::TensorMap<Eigen::Tensor<const float, 4, 1, long int>, 16, Eigen::MakePointer> > >, const Eigen::NoOpOutputKernel>; Device = Eigen::DefaultDevice; Eigen::TensorEvaluator<const Eigen::TensorReshapingOp<NewDimensions, XprType>, Device>::EvaluatorPointerType = float*]' external/eigen_archive/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h:154:62: required from 'bool Eigen::TensorEvaluator<const Eigen::TensorAssignOp<LhsXprType, RhsXprType>, Device>::evalSubExprsIfNeeded(Eigen::TensorEvaluator<const Eigen::TensorAssignOp<LhsXprType, RhsXprType>, Device>::EvaluatorPointerType) [with LeftArgType = Eigen::TensorChippingOp<-1, Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 5>, Eigen::TensorMap<Eigen::Tensor<float, 4, 1, long int>, 16, Eigen::MakePointer> > >; RightArgType = const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 4>, const Eigen::TensorContractionOp<const Eigen::array<Eigen::IndexPair<long int>, 1>, const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 2>, const Eigen::TensorImagePatchOp<-1, -1, const Eigen::TensorChippingOp<-1, const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 5>, const Eigen::TensorMap<Eigen::Tensor<const float, 4, 1, long int>, 16, Eigen::MakePointer> > > > >, const Eigen::TensorChippingOp<-1, const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 3>, const Eigen::TensorMap<Eigen::Tensor<const float, 4, 1, long int>, 16, Eigen::MakePointer> > >, const Eigen::NoOpOutputKernel> >; Device = Eigen::DefaultDevice; Eigen::TensorEvaluator<const Eigen::TensorAssignOp<LhsXprType, RhsXprType>, Device>::EvaluatorPointerType = float*]' external/eigen_archive/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h:189:16: required from 'static void Eigen::internal::TensorExecutor<Expression, Eigen::DefaultDevice, Vectorizable, Eigen::internal::On>::run(const Expression&, const Eigen::DefaultDevice&) [with Expression = const Eigen::TensorAssignOp<Eigen::TensorChippingOp<-1, Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 5>, Eigen::TensorMap<Eigen::Tensor<float, 4, 1, long int>, 16, Eigen::MakePointer> > >, const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 4>, const Eigen::TensorContractionOp<const Eigen::array<Eigen::IndexPair<long int>, 1>, const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 2>, const Eigen::TensorImagePatchOp<-1, -1, const Eigen::TensorChippingOp<-1, const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 5>, const Eigen::TensorMap<Eigen::Tensor<const float, 4, 1, long int>, 16, Eigen::MakePointer> > > > >, const Eigen::TensorChippingOp<-1, const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 3>, const Eigen::TensorMap<Eigen::Tensor<const float, 4, 1, long int>, 16, Eigen::MakePointer> > >, const Eigen::NoOpOutputKernel> > >; bool Vectorizable = true]' external/eigen_archive/unsupported/Eigen/CXX11/src/Tensor/TensorDevice.h:39:62: required from 'Eigen::TensorDevice<ExpressionType, DeviceType>& Eigen::TensorDevice<ExpressionType, DeviceType>::operator=(const OtherDerived&) [with OtherDerived = Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 4>, const Eigen::TensorContractionOp<const Eigen::array<Eigen::IndexPair<long int>, 1>, const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 2>, const Eigen::TensorImagePatchOp<-1, -1, const Eigen::TensorChippingOp<-1, const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 5>, const Eigen::TensorMap<Eigen::Tensor<const float, 4, 1, long int>, 16, Eigen::MakePointer> > > > >, const Eigen::TensorChippingOp<-1, const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 3>, const Eigen::TensorMap<Eigen::Tensor<const float, 4, 1, long int>, 16, Eigen::MakePointer> > >, const Eigen::NoOpOutputKernel> >; ExpressionType = Eigen::TensorChippingOp<-1, Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 5>, Eigen::TensorMap<Eigen::Tensor<float, 4, 1, long int>, 16, Eigen::MakePointer> > >; DeviceType = Eigen::DefaultDevice]' ./tensorflow/compiler/xla/service/cpu/runtime_conv_impl.h:92:68: required from 'void tensorflow::xla::EigenConv2DImpl(const EigenDevice&, ScalarType*, ScalarType*, ScalarType*, Eigen::Index, Eigen::Index, Eigen::Index, Eigen::Index, Eigen::Index, Eigen::Index, Eigen::Index, Eigen::Index, Eigen::Index, Eigen::Index, Eigen::Index, Eigen::Index, Eigen::Index, Eigen::Index, Eigen::Index, Eigen::Index, Eigen::Index, Eigen::Index, Eigen::Index, Eigen::Index, Eigen::Index) [with EigenDevice = Eigen::DefaultDevice; ScalarType = float; Eigen::Index = long int]' tensorflow/compiler/xla/service/cpu/runtime_single_threaded_conv2d.cc:58:26: required from here external/eigen_archive/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h:249:5: error: invalid use of incomplete type 'Eigen::internal::TensorContractionKernel<float, float, float, long int, Eigen::internal::blas_data_mapper<float, long int, 0, 0, 1>, Eigen::internal::TensorContractionInputMapper<float, long int, 1, Eigen::TensorEvaluator<const Eigen::TensorChippingOp<-1, const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 3>, const Eigen::TensorMap<Eigen::Tensor<const float, 4, 1, long int>, 16, Eigen::MakePointer> > >, Eigen::DefaultDevice>, Eigen::array<long int, 1>, Eigen::array<long int, 1>, 16, false, false, 0, Eigen::MakePointer>, Eigen::internal::TensorContractionInputMapper<float, long int, 0, Eigen::TensorEvaluator<const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 2>, const Eigen::TensorImagePatchOp<-1, -1, const Eigen::TensorChippingOp<-1, const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 5>, const Eigen::TensorMap<Eigen::Tensor<const float, 4, 1, long int>, 16, Eigen::MakePointer> > > > >, Eigen::DefaultDevice>, Eigen::array<long int, 1>, Eigen::array<long int, 1>, 16, false, false, 0, Eigen::MakePointer> >::RhsPacker' {aka 'struct Eigen::internal::gemm_pack_rhs<float, long int, Eigen::internal::TensorContractionSubMapper<float, long int, 0, Eigen::TensorEvaluator<const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 2>, const Eigen::TensorImagePatchOp<-1, -1, const Eigen::TensorChippingOp<-1, const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 5>, const Eigen::TensorMap<Eigen::Tensor<const float, 4, 1, long int>, 16, Eigen::MakePointer> > > > >, Eigen::DefaultDevice>, Eigen::array<long int, 1>, Eigen::array<long int, 1>, 16, false, false, 0, Eigen::MakePointer>, 8, 0, false, false>'} 249 | RhsPacker()(*rhsBlock, data_mapper, depth, cols); | ^~~~~~~~~~~ In file included from external/eigen_archive/Eigen/Core:303, from ./third_party/eigen3/Eigen/Core:1, from ./tensorflow/compiler/xla/service/cpu/runtime_single_threaded_conv2d.h:21, from tensorflow/compiler/xla/service/cpu/runtime_single_threaded_conv2d.cc:16: external/eigen_archive/Eigen/src/Core/util/BlasUtil.h:27:8: note: declaration of 'Eigen::internal::TensorContractionKernel<float, float, float, long int, Eigen::internal::blas_data_mapper<float, long int, 0, 0, 1>, Eigen::internal::TensorContractionInputMapper<float, long int, 1, Eigen::TensorEvaluator<const Eigen::TensorChippingOp<-1, const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 3>, const Eigen::TensorMap<Eigen::Tensor<const float, 4, 1, long int>, 16, Eigen::MakePointer> > >, Eigen::DefaultDevice>, Eigen::array<long int, 1>, Eigen::array<long int, 1>, 16, false, false, 0, Eigen::MakePointer>, Eigen::internal::TensorContractionInputMapper<float, long int, 0, Eigen::TensorEvaluator<const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 2>, const Eigen::TensorImagePatchOp<-1, -1, const Eigen::TensorChippingOp<-1, const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 5>, const Eigen::TensorMap<Eigen::Tensor<const float, 4, 1, long int>, 16, Eigen::MakePointer> > > > >, Eigen::DefaultDevice>, Eigen::array<long int, 1>, Eigen::array<long int, 1>, 16, false, false, 0, Eigen::MakePointer> >::RhsPacker' {aka 'struct Eigen::internal::gemm_pack_rhs<float, long int, Eigen::internal::TensorContractionSubMapper<float, long int, 0, Eigen::TensorEvaluator<const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 2>, const Eigen::TensorImagePatchOp<-1, -1, const Eigen::TensorChippingOp<-1, const Eigen::TensorReshapingOp<const Eigen::DSizes<long int, 5>, const Eigen::TensorMap<Eigen::Tensor<const float, 4, 1, long int>, 16, Eigen::MakePointer> > > > >, Eigen::DefaultDevice>, Eigen::array<long int, 1>, Eigen::array<long int, 1>, 16, false, false, 0, Eigen::MakePointer>, 8, 0, false, false>'} 27 | struct gemm_pack_rhs; | ^~~~~~~~~~~~~ Target //tensorflow/python/tools:aot_compiled_x_matmul_y_small failed to build ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61216/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/61216/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61215
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61215/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61215/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61215/events
https://github.com/tensorflow/tensorflow/issues/61215
1,794,443,551
I_kwDOArmXAs5q9Qkf
61,215
DistributedDatasetInterface is not an attribute of input_lib - engine\data_adapter.py
{ "login": "samuelsennev", "id": 58773754, "node_id": "MDQ6VXNlcjU4NzczNzU0", "avatar_url": "https://avatars.githubusercontent.com/u/58773754?v=4", "gravatar_id": "", "url": "https://api.github.com/users/samuelsennev", "html_url": "https://github.com/samuelsennev", "followers_url": "https://api.github.com/users/samuelsennev/followers", "following_url": "https://api.github.com/users/samuelsennev/following{/other_user}", "gists_url": "https://api.github.com/users/samuelsennev/gists{/gist_id}", "starred_url": "https://api.github.com/users/samuelsennev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/samuelsennev/subscriptions", "organizations_url": "https://api.github.com/users/samuelsennev/orgs", "repos_url": "https://api.github.com/users/samuelsennev/repos", "events_url": "https://api.github.com/users/samuelsennev/events{/privacy}", "received_events_url": "https://api.github.com/users/samuelsennev/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": 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": 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": "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
[ "this is the same error I had: AttributeError: module 'tensorflow.python.distribute.input_lib' has no attribute 'DistributedDatasetInterface'. This error comes up even when I try model.fit and any other operation with the model beyond its compile line. ", "> this is the same error I had: AttributeError: module 'tensorflow.python.distribute.input_lib' has no attribute 'DistributedDatasetInterface'. This error comes up even when I try model.fit and any other operation with the model beyond its compile line.\r\n\r\nI've solved it by replacing DistributedDatasetInterface by DistributedDatasetSpec right on: \r\n```\r\n...\\site-packages\\tensorflow\\python\\keras\\engine\\data_adapter.py\", line 1699, in _is_distributed_dataset\r\n```\r\n\r\nThis is what I did:\r\n```\r\ndef _is_distributed_dataset(ds):\r\n# return isinstance(ds, input_lib.DistributedDatasetInterface)\r\n return isinstance(ds, input_lib.DistributedDatasetSpec)\r\n```\r\n\r\nDefinetely not a good practice, I know, but... ", "> return isinstance(ds, input_lib.DistributedDatasetSpec)\r\n\r\ndo you have any update if input_lib.DistributedDatasetSpec carries same functionality as input_lib.DistributedDatasetInterface ?", "@samuelsennev,\r\n**tensorflow/python/keras** code is a legacy copy of Keras since the TensorFlow v2.7 release, and will be deleted in the v2.12 release. \r\n\r\nPlease remove any import of **tensorflow.python.keras** and use the public API with **from tensorflow import keras** or **import tensorflow as tf; tf.keras.**\r\n\r\nI tried to execute the mentioned code on tensorflow **v2.13** by using below imports and it was executed without any issues.\r\n\r\n```\r\nfrom tensorflow.keras.layers import Dense, Input\r\nfrom tensorflow.keras import Sequential\r\nfrom tensorflow.keras.activations import sigmoid\r\n```\r\n\r\nKindly find the gist of it [here](https://colab.research.google.com/gist/tilakrayal/6975de68760fead5d9b255261812163d/untitled.ipynb). \r\nhttps://github.com/tensorflow/tensorflow/releases\r\n\r\nThank you!", "@tilakrayal\r\nGot it! \r\n\r\nWorked with the public API and **from tensorflow import keras**\r\n\r\nThanks ;)", "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/61215\">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/61215\">No</a>\n", "> @samuelsennev, **tensorflow/python/keras** code is a legacy copy of Keras since the TensorFlow v2.7 release, and will be deleted in the v2.12 release.\r\n> \r\n> Please remove any import of **tensorflow.python.keras** and use the public API with **from tensorflow import keras** or **import tensorflow as tf; tf.keras.**\r\n> \r\n> I tried to execute the mentioned code on tensorflow **v2.13** by using below imports and it was executed without any issues.\r\n> \r\n> ```\r\n> from tensorflow.keras.layers import Dense, Input\r\n> from tensorflow.keras import Sequential\r\n> from tensorflow.keras.activations import sigmoid\r\n> ```\r\n> \r\n> Kindly find the gist of it [here](https://colab.research.google.com/gist/tilakrayal/6975de68760fead5d9b255261812163d/untitled.ipynb). https://github.com/tensorflow/tensorflow/releases\r\n> \r\n> Thank you!\r\n\r\nit does works!\r\nbut after i change the imports code, the IDE(vs code) cannot recognize any type under keras, is there any way to resolve it?", "https://stackoverflow.com/a/77733620/13086128" ]
2023-07-07T21:53:46
2023-12-29T19:12:27
2023-07-10T17:48:52
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source source ### TensorFlow version 2.13 ### Custom code No ### OS platform and distribution _No response_ ### Mobile device _No response_ ### Python version 3.10.9 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? I'm new to machine learning and I was setting up this network with just one layer, with only one neuron inside it, just to see how it works. Setting up went fine. The error occured when I asked it to predict. I'm not sure what exactly happend, but apparently, a non existent attribute (`input_lib.DistributedDatasetInterface`) was passed to `isinstance()` in the file: ...\site-packages\tensorflow\python\keras\engine\data_adapter.py (line 1699). I've replaced by the wrong one by the one suggested and worked as expected. ### Standalone code to reproduce the issue ```shell import numpy as np import tensorflow as tf from tensorflow.python.keras.layers import Dense, Input from tensorflow.python.keras import Sequential from tensorflow.python.keras.activations import sigmoid import logging logging.getLogger("tensorflow").setLevel(logging.ERROR) tf.autograph.set_verbosity(0) X_train = np.array([0., 1, 2, 3, 4, 5], dtype=np.float32).reshape(-1,1) Y_train = np.array([0, 0, 0, 1, 1, 1], dtype=np.float32).reshape(-1,1) model = Sequential([ Input(shape=(1,)), Dense(1, activation=sigmoid, name = "L1") ]) model.summary() # Setting the weights and bias of the neuron logistic_layer = model.get_layer('L1') set_w = np.array([[2]]) set_b = np.array([-4.5]) logistic_layer.set_weights([set_w, set_b]) # Performance test a1 = model.predict(X_train[0].reshape(1,1)) # this line caused the error print(a1) alog = sigmoid(np.dot(set_w,X_train[0].reshape(1,1)) + set_b) print(alog) ``` ### Relevant log output ```shell ...\site-packages\tensorflow\python\keras\engine\data_adapter.py", line 1699, in _is_distributed_dataset return isinstance(ds, input_lib.DistributedDatasetInterface) AttributeError: module 'tensorflow.python.distribute.input_lib' has no attribute 'DistributedDatasetInterface'. Did you mean: 'DistributedDatasetSpec'? ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61215/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/61215/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61214
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61214/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61214/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61214/events
https://github.com/tensorflow/tensorflow/issues/61214
1,793,855,718
I_kwDOArmXAs5q7BDm
61,214
Convert tf.Tensor into tensorflow::Tensor
{ "login": "zhumakhan", "id": 26182270, "node_id": "MDQ6VXNlcjI2MTgyMjcw", "avatar_url": "https://avatars.githubusercontent.com/u/26182270?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zhumakhan", "html_url": "https://github.com/zhumakhan", "followers_url": "https://api.github.com/users/zhumakhan/followers", "following_url": "https://api.github.com/users/zhumakhan/following{/other_user}", "gists_url": "https://api.github.com/users/zhumakhan/gists{/gist_id}", "starred_url": "https://api.github.com/users/zhumakhan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/zhumakhan/subscriptions", "organizations_url": "https://api.github.com/users/zhumakhan/orgs", "repos_url": "https://api.github.com/users/zhumakhan/repos", "events_url": "https://api.github.com/users/zhumakhan/events{/privacy}", "received_events_url": "https://api.github.com/users/zhumakhan/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": 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
[ "Hey @SuryanarayanaY . you working on this ?\r\n", "Hi @zhumakhan ,\r\n\r\nTensorflow provides C_API that can be used to build [bindings for other languages](https://github.com/tensorflow/docs/tree/master/site/en/r1/guide/extend/bindings.md) which is defined in [c_api.h](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/c/c_api.h).\r\n\r\nPlease refer the above sources and let us know if it helps. Thanks!\r\n", "Thanks for your suggestion, will check that and let you know!", "@SuryanarayanaY as I understood, c_api.h is to create extension for other languages. But my problem was that current python api of tensorflow does not allow to get raw data pointer of tf.Tensor (e.g. torch.Tensor.data_ptr(), jax.Array.unsafe_data_pointer()). Hence I decided to make a C++ extension which returns tensorflow::Tensor::data() and bind it to python with pybind11. So, currently I can pass tf.Tensor (python api's tensor) into that C++ extension and take it as PyObject* argument inside the C++ extension. Further I should convert PyObject* into tensorflow::Tensor, call data() method and return its result. I stuck at the last step at the moment. Would really appreciate your suggestions on that.\r\nThanks!", "Hi @zhumakhan ,\r\n\r\nCould you please try converting a tf.tensor into serialized TensorProto prototype by using [tf.io.serialize_tensor](https://www.tensorflow.org/api_docs/python/tf/io/serialize_tensor) API, and then using tensorflow::ops::[ParseTensor](https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/parse-tensor) parse the serialized TensorProto back to tf:Tensor.\r\n\r\nPlease try this and let us know if this doesn't work. 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/61214\">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/61214\">No</a>\n" ]
2023-07-07T16:54:00
2023-08-06T01:48:35
2023-08-06T01:48:31
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source source ### TensorFlow version 2.13 ### Custom code Yes ### OS platform and distribution Ubuntu 20 ### Mobile device _No response_ ### Python version 3.8 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version 11.2 ### GPU model and memory _No response_ ### Current behavior? Is there any way to convert tf.Tensor from python into tensorflow::Tensor C++? ### Standalone code to reproduce the issue ```shell Actually using pybind11. I can get PyObject* from tf.Tensor and have no idea how to get tensorflow::Tensor* from PyObject* ``` ### Relevant log output _No response_
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61214/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/61214/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61213
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61213/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61213/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61213/events
https://github.com/tensorflow/tensorflow/pull/61213
1,793,727,816
PR_kwDOArmXAs5U7Vae
61,213
Fixed a typo in subgraph.cc(First Pull Request)
{ "login": "captainhaddock18", "id": 120558797, "node_id": "U_kgDOBy-UzQ", "avatar_url": "https://avatars.githubusercontent.com/u/120558797?v=4", "gravatar_id": "", "url": "https://api.github.com/users/captainhaddock18", "html_url": "https://github.com/captainhaddock18", "followers_url": "https://api.github.com/users/captainhaddock18/followers", "following_url": "https://api.github.com/users/captainhaddock18/following{/other_user}", "gists_url": "https://api.github.com/users/captainhaddock18/gists{/gist_id}", "starred_url": "https://api.github.com/users/captainhaddock18/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/captainhaddock18/subscriptions", "organizations_url": "https://api.github.com/users/captainhaddock18/orgs", "repos_url": "https://api.github.com/users/captainhaddock18/repos", "events_url": "https://api.github.com/users/captainhaddock18/events{/privacy}", "received_events_url": "https://api.github.com/users/captainhaddock18/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" } ]
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/61213/checks?check_run_id=14862648204) 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-07-07T15:19:39
2023-07-10T06:21:05
2023-07-09T03:16:43
NONE
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61213", "html_url": "https://github.com/tensorflow/tensorflow/pull/61213", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61213.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61213.patch", "merged_at": null }
Fixed a typo in the file. Changed the typo from "GetDelegateKernalName" to "GetDelegateKernelName".
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61213/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/61213/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61212
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61212/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61212/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61212/events
https://github.com/tensorflow/tensorflow/issues/61212
1,793,513,302
I_kwDOArmXAs5q5tdW
61,212
Tensorflow profiler is not showing anything. Gives "No profile data was found" text on selecting Profile in Tensorboard
{ "login": "AkshayRoyal", "id": 10032879, "node_id": "MDQ6VXNlcjEwMDMyODc5", "avatar_url": "https://avatars.githubusercontent.com/u/10032879?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AkshayRoyal", "html_url": "https://github.com/AkshayRoyal", "followers_url": "https://api.github.com/users/AkshayRoyal/followers", "following_url": "https://api.github.com/users/AkshayRoyal/following{/other_user}", "gists_url": "https://api.github.com/users/AkshayRoyal/gists{/gist_id}", "starred_url": "https://api.github.com/users/AkshayRoyal/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/AkshayRoyal/subscriptions", "organizations_url": "https://api.github.com/users/AkshayRoyal/orgs", "repos_url": "https://api.github.com/users/AkshayRoyal/repos", "events_url": "https://api.github.com/users/AkshayRoyal/events{/privacy}", "received_events_url": "https://api.github.com/users/AkshayRoyal/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
[ "@AkshayRoyal I tried to replicate the issue reported [here](https://colab.research.google.com/gist/sushreebarsa/e19e257d31ab246426050348c2e56b5f/tensorboard_profiling_keras.ipynb#scrollTo=K4KJ3S-odd-a) and didn't see the error. Could you please check the attached gist and let me know if I am missing something here. Thank you!", "The first image is taken from the guide itself which shows the profile tab\r\n![Profile tab shown in the guide](https://github.com/tensorflow/tensorflow/assets/10032879/d2d669f5-a900-4a9f-9dfc-4a44b7d3eacb)\r\nThe second image is being shown while running the same colab notebook showing in the guide but it does not give us the profile\r\n![Profile tab is not being shown while running the colab notebook](https://github.com/tensorflow/tensorflow/assets/10032879/b89415dd-3104-4194-a91c-71faacb105b0)\r\nNow try selecting the Profile option from the list drop down on the right\r\n![3](https://github.com/tensorflow/tensorflow/assets/10032879/4353637d-6953-4338-97e2-554e4daa7da7)\r\nOnce you select it, either you will see blank output or an error as mentioned in the issue\r\n![4](https://github.com/tensorflow/tensorflow/assets/10032879/6b3f8b94-d3fc-435d-8fb4-17122be88566)\r\n@sushreebarsa Can you see the \"Profile\" tab in the tensorboard? It doesn't show the \"Profile\" of the training run. There is no error in the run itself. But when you click the \"Profile\" tab in the tensorboard extension, you will be able to see the error or it'll be empty. ", "@AkshayRoyal Thank you for the quick response!\r\n@sachinprasadhs I was able to replicate the issue reported here in both TF [v2.12](https://colab.research.google.com/gist/sushreebarsa/e19e257d31ab246426050348c2e56b5f/tensorboard_profiling_keras.ipynb#scrollTo=lugpLFAflkeI) and [v2.13](https://colab.research.google.com/gist/sushreebarsa/2973acfbebd86f365b95ad5fac6b1e3c/tensorboard_profiling_keras.ipynb#scrollTo=sYCj8WzWhhMf). Please find the attached gists.\r\nThank you!", "@sachinprasadhs @ Any updates?", "I believe the reason for this is that the profile data is written in a different place in the hierarchy starting with 2.12. Why this is the case/how this happened, I do not know. I'm able to reproduce/fix this by doing the following (go into directory with events.out... first):\r\n\r\n```\r\ncp -Rpv ../plugins .\r\n```\r\n\r\n", "> I believe the reason for this is that the profile data is written in a different place in the hierarchy starting with 2.12. Why this is the case/how this happened, I do not know. I'm able to reproduce/fix this by doing the following (go into directory with events.out... first):\r\n> \r\n> ```\r\n> cp -Rpv ../plugins .\r\n> ```\r\n\r\nThis is the right answer, it works for me on tf 2.15.0. Saved my life. Thanks!", "> > I believe the reason for this is that the profile data is written in a different place in the hierarchy starting with 2.12. Why this is the case/how this happened, I do not know. I'm able to reproduce/fix this by doing the following (go into directory with events.out... first):\r\n> > ```\r\n> > cp -Rpv ../plugins .\r\n> > ```\r\n> \r\n> This is the right answer, it works for me on tf 2.15.0. Saved my life. Thanks!\r\n\r\nCould you please add you code? I couldn't get mine working ", "The solution is here. The page is not in English but just use the browser's translation\r\n\r\nhttps://beiznotes.org/how-to-solve-a-tensorflow-profiler-bug-of-no-profile-data-was-found/" ]
2023-07-07T13:01:22
2024-06-10T05:07:14
null
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source source ### TensorFlow version tf 2.12, tf 2.13, tf-nightly ### Custom code No ### 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? I was learning how to use TensorFlow Profiler according to the [guide](https://www.tensorflow.org/tensorboard/tensorboard_profiling_keras). I ran the same notebook without altering anything in Google Colab and it does now show Profile tab. Moreover on selecting the Profile option from the right hand side drop down list, It shows ``` No profile data was found. If you have a model running on CPU, GPU, or Google Cloud TPU, you may be able to use the above button to capture a profile. If you're a CPU or GPU user, please use the IP address option. You may want to check out the [tutorial](https://colab.research.google.com/github/tensorflow/tensorboard/blob/master/docs/tensorboard_profiling_keras.ipynb) on how to start a TensorFlow profiler server and profile a Keras model on a GPU. If you're a TPU user, please use the TPU name option and you may want to check out the [tutorial](https://cloud.google.com/tpu/docs/cloud-tpu-tools) on how to interpreting the profiling results. If you think profiling is done properly, please see the page of [Google Cloud TPU Troubleshooting and FAQ](https://cloud.google.com/tpu/docs/troubleshooting) and consider filing an issue on GitHub. ``` Instead it should have shown the Profile ### Standalone code to reproduce the issue ```shell Kindly use the official [tensorflow profiler guide](https://www.tensorflow.org/tensorboard/tensorboard_profiling_keras) ``` ### Relevant log output ```shell No profile data was found. If you have a model running on CPU, GPU, or Google Cloud TPU, you may be able to use the above button to capture a profile. If you're a CPU or GPU user, please use the IP address option. You may want to check out the [tutorial](https://colab.research.google.com/github/tensorflow/tensorboard/blob/master/docs/tensorboard_profiling_keras.ipynb) on how to start a TensorFlow profiler server and profile a Keras model on a GPU. If you're a TPU user, please use the TPU name option and you may want to check out the [tutorial](https://cloud.google.com/tpu/docs/cloud-tpu-tools) on how to interpreting the profiling results. If you think profiling is done properly, please see the page of [Google Cloud TPU Troubleshooting and FAQ](https://cloud.google.com/tpu/docs/troubleshooting) and consider filing an issue on GitHub. ``` ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61212/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/61212/timeline
null
null
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61211
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61211/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61211/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61211/events
https://github.com/tensorflow/tensorflow/issues/61211
1,792,964,779
I_kwDOArmXAs5q3nir
61,211
tf.keras.models.model_from_json() missing a safe_mode parameter
{ "login": "epetrovski", "id": 24638276, "node_id": "MDQ6VXNlcjI0NjM4Mjc2", "avatar_url": "https://avatars.githubusercontent.com/u/24638276?v=4", "gravatar_id": "", "url": "https://api.github.com/users/epetrovski", "html_url": "https://github.com/epetrovski", "followers_url": "https://api.github.com/users/epetrovski/followers", "following_url": "https://api.github.com/users/epetrovski/following{/other_user}", "gists_url": "https://api.github.com/users/epetrovski/gists{/gist_id}", "starred_url": "https://api.github.com/users/epetrovski/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/epetrovski/subscriptions", "organizations_url": "https://api.github.com/users/epetrovski/orgs", "repos_url": "https://api.github.com/users/epetrovski/repos", "events_url": "https://api.github.com/users/epetrovski/events{/privacy}", "received_events_url": "https://api.github.com/users/epetrovski/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": 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
[ "@epetrovski,\r\nThank you for opening this issue. Development of keras moved to another [repository](https://github.com/keras-team/keras/issues). \r\n\r\n\r\n\r\n\r\nCould you please post this issue on keras-team/keras [repo](https://github.com/keras-team/keras/issues).\r\nTo know more please refer:\r\nhttps://discuss.tensorflow.org/t/keras-project-moved-to-new-repository-in-https-github-com-keras-team-keras/1999\r\nThank you!\r\n", "Moved to https://github.com/keras-team/tf-keras/issues/44", "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/61211\">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/61211\">No</a>\n", "Hi, I had the same issue initially, and I think it had to do with the tensorflow version. I had version 2.15.0 installed in another laptop and 2.16.1 was installed in my pc. The 2.15.0 version didn't give me this error and ran fine, but the 2.16.1 version did. I also had Python 3.10 installed in my laptop and 3.11 installed in my pc, so it seems like Python version doesn't matter. To fix this, this is what I did:\r\n\r\n1. Checked my tensorflow version (In my terminal, I ran: py -c 'import tensorflow as tf; print(tf.__version__)'\r\n2. Un-installed tensorflow, since I saw it was version 2.16.1 (pip uninstall tensorflow)\r\n3. Re-installed tensorflow version 2.15.0 (pip install tensorflow==2.15.0 )" ]
2023-07-07T07:27:24
2024-03-11T17:10:21
2023-07-11T14:44:57
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source binary ### TensorFlow version tf 2.13 ### Custom code No ### 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 loading a model with a lambda layer from a json model config, TensorFlow provides the following error: ` ValueError: Requested the deserialization of a Lambda layer with a Python 'lambda' inside it. This carries a potential risk of arbitrary code execution and thus it is disallowed by default. If you trust the source of the saved model, you can pass 'safe_mode=False' to the loading function in order to allow Lambda layer loading. ` However `tf.keras.models.model_from_json()` does not have a `safe_mode` parameter. So there does not seem to be a way to load models with lamda layers using a json config. This issue does not appear in TensorFlow 2.12 ### Standalone code to reproduce the issue ```shell from tensorflow.keras import Model from tensorflow.keras.layers import Dense, Input, Lambda inputs = Input(shape=(1,)) x = Lambda(lambda x: x*2)(inputs) out = Dense(1)(x) model = Model(inputs=inputs,outputs=out) model_config = model.to_json() tf.keras.models.model_from_json(model_config) ``` ### Relevant log output _No response_
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61211/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/61211/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61210
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61210/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61210/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61210/events
https://github.com/tensorflow/tensorflow/issues/61210
1,792,841,157
I_kwDOArmXAs5q3JXF
61,210
Tensorflow Profiler does not work on WSL2: Failed to load libcupti (is it installed and accessible?)
{ "login": "JustASquid", "id": 11645696, "node_id": "MDQ6VXNlcjExNjQ1Njk2", "avatar_url": "https://avatars.githubusercontent.com/u/11645696?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JustASquid", "html_url": "https://github.com/JustASquid", "followers_url": "https://api.github.com/users/JustASquid/followers", "following_url": "https://api.github.com/users/JustASquid/following{/other_user}", "gists_url": "https://api.github.com/users/JustASquid/gists{/gist_id}", "starred_url": "https://api.github.com/users/JustASquid/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/JustASquid/subscriptions", "organizations_url": "https://api.github.com/users/JustASquid/orgs", "repos_url": "https://api.github.com/users/JustASquid/repos", "events_url": "https://api.github.com/users/JustASquid/events{/privacy}", "received_events_url": "https://api.github.com/users/JustASquid/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": 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": 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" } ]
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
[ "I am facing the same problem. Were you able to sort this out?", "I have the same problem on TF 2.14. Same config, Ubuntu 22.04 WSL2 on Windows 10.", "I am seeing the same problem. Have you found a solution?", "Unfortunately no", "Same here. Any suggestions would be appreciated." ]
2023-07-07T05:56:10
2024-05-14T14:13:13
null
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source binary ### TensorFlow version v2.12.0-rc1-12-g0db597d0d75 2.12.0 ### Custom code Yes ### OS platform and distribution Windows 10 WSL Ubuntu ### Mobile device Ubuntu 22.04 ### Python version 3.9 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version 11.8/8.6 ### GPU model and memory _No response_ ### Current behavior? After following exactly the steps mentioned in https://www.tensorflow.org/install/pip for installing Tensorflow on WSL2, and installing the latest version of the profiler plugin, the Tensorboard profiler does not seem to work. This is with a fresh WSL2 install, miniconda install, etc. ![image](https://github.com/tensorflow/tensorflow/assets/11645696/adbaf3c1-4f03-43fe-80d7-39c484ac91a7) ``` Failed to load libcupti (is it installed and accessible?) No step marker observed and hence the step time is unknown. This may happen if (1) training steps are not instrumented (e.g., if you are not using Keras) or (2) the profiling duration is shorter than the step time. For (1), you need to add step instrumentation; for (2), you may try to profile longer. ``` The problem does not seem to be that lubcupti fails to load (despite what is indicated by Tensorboard); libcupti seems to be found just fine, but there may be some problems - See the attached log output for possible clues as to what's happening. ### Standalone code to reproduce the issue ```shell # The below code is copied directly from https://github.com/keras-team/keras-io/blob/master/examples/vision/mnist_convnet.py - with the single addition of adding Tensorboard profiling. import numpy as np from tensorflow import keras from tensorflow.keras import layers """ ## Prepare the data """ # Model / data parameters num_classes = 10 input_shape = (28, 28, 1) # Load the data and split it between train and test sets (x_train, y_train), (x_test, y_test) = keras.datasets.mnist.load_data() # Scale images to the [0, 1] range x_train = x_train.astype("float32") / 255 x_test = x_test.astype("float32") / 255 # Make sure images have shape (28, 28, 1) x_train = np.expand_dims(x_train, -1) x_test = np.expand_dims(x_test, -1) print("x_train shape:", x_train.shape) print(x_train.shape[0], "train samples") print(x_test.shape[0], "test samples") # convert class vectors to binary class matrices y_train = keras.utils.to_categorical(y_train, num_classes) y_test = keras.utils.to_categorical(y_test, num_classes) """ ## Build the model """ model = keras.Sequential( [ keras.Input(shape=input_shape), layers.Conv2D(32, kernel_size=(3, 3), activation="relu"), layers.MaxPooling2D(pool_size=(2, 2)), layers.Conv2D(64, kernel_size=(3, 3), activation="relu"), layers.MaxPooling2D(pool_size=(2, 2)), layers.Flatten(), layers.Dropout(0.5), layers.Dense(num_classes, activation="softmax"), ] ) model.summary() """ ## Train the model """ batch_size = 128 epochs = 15 model.compile(loss="categorical_crossentropy", optimizer="adam", metrics=["accuracy"]) model.fit(x_train, y_train, batch_size=batch_size, epochs=epochs, validation_split=0.1, callbacks=[ keras.callbacks.TensorBoard(profile_batch=[20, 30]) ]) """ ## Evaluate the trained model """ score = model.evaluate(x_test, y_test, verbose=0) print("Test loss:", score[0]) print("Test accuracy:", score[1]) ``` ### Relevant log output ```shell 17/422 [>.............................] - ETA: 2s - loss: 2.0755 - accuracy: 0.38602023-07-07 15:45:09.034256: I tensorflow/tsl/profiler/lib/profiler_session.cc:104] Profiler session initializing. 2023-07-07 15:45:09.034284: I tensorflow/tsl/profiler/lib/profiler_session.cc:119] Profiler session started. 2023-07-07 15:45:09.034300: E tensorflow/compiler/xla/backends/profiler/gpu/cupti_error_manager.cc:135] cuptiGetTimestamp: ignored due to a previous error. 2023-07-07 15:45:09.034304: E tensorflow/compiler/xla/backends/profiler/gpu/cupti_error_manager.cc:186] cuptiSubscribe: ignored due to a previous error. 2023-07-07 15:45:09.034307: E tensorflow/compiler/xla/backends/profiler/gpu/cupti_error_manager.cc:459] cuptiGetResultString: ignored due to a previous error. 2023-07-07 15:45:09.034309: E tensorflow/compiler/xla/backends/profiler/gpu/cupti_tracer.cc:1730] function cupti_interface_->Subscribe( &subscriber_, (CUpti_CallbackFunc)ApiCallback, this)failed with error 25/422 [>.............................] - ETA: 2s - loss: 1.8839 - accuracy: 0.46882023-07-07 15:45:09.105818: I tensorflow/tsl/profiler/lib/profiler_session.cc:70] Profiler session collecting data. 2023-07-07 15:45:09.105940: E tensorflow/compiler/xla/backends/profiler/gpu/cupti_error_manager.cc:142] cuptiFinalize: ignored due to a previous error. 2023-07-07 15:45:09.105943: E tensorflow/compiler/xla/backends/profiler/gpu/cupti_error_manager.cc:459] cuptiGetResultString: ignored due to a previous error. 2023-07-07 15:45:09.105945: E tensorflow/compiler/xla/backends/profiler/gpu/cupti_tracer.cc:1822] function cupti_interface_->Finalize()failed with error 2023-07-07 15:45:09.107652: E tensorflow/compiler/xla/backends/profiler/gpu/cupti_error_manager.cc:135] cuptiGetTimestamp: ignored due to a previous error. 2023-07-07 15:45:09.107660: E tensorflow/compiler/xla/backends/profiler/gpu/cupti_error_manager.cc:135] cuptiGetTimestamp: ignored due to a previous error. 2023-07-07 15:45:09.107663: I tensorflow/compiler/xla/backends/profiler/gpu/cupti_collector.cc:541] GpuTracer has collected 0 callback api events and 0 activity events. 2023-07-07 15:45:09.107809: I tensorflow/tsl/profiler/lib/profiler_session.cc:131] Profiler session tear down. ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61210/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/61210/timeline
null
null
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61209
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61209/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61209/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61209/events
https://github.com/tensorflow/tensorflow/issues/61209
1,792,791,169
I_kwDOArmXAs5q29KB
61,209
My customized OP gives incorrect outputs on GPUs since `tf-nightly 2.13.0.dev20230413`
{ "login": "njzjz", "id": 9496702, "node_id": "MDQ6VXNlcjk0OTY3MDI=", "avatar_url": "https://avatars.githubusercontent.com/u/9496702?v=4", "gravatar_id": "", "url": "https://api.github.com/users/njzjz", "html_url": "https://github.com/njzjz", "followers_url": "https://api.github.com/users/njzjz/followers", "following_url": "https://api.github.com/users/njzjz/following{/other_user}", "gists_url": "https://api.github.com/users/njzjz/gists{/gist_id}", "starred_url": "https://api.github.com/users/njzjz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/njzjz/subscriptions", "organizations_url": "https://api.github.com/users/njzjz/orgs", "repos_url": "https://api.github.com/users/njzjz/repos", "events_url": "https://api.github.com/users/njzjz/events{/privacy}", "received_events_url": "https://api.github.com/users/njzjz/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": "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, \r\n\r\nIt is difficult to point to the exact commit and mention what caused this change without any simple reproducible code.\r\n\r\nAlso, did you test with the latest Nightly version and observed the same behavior in that as well?\r\n", "Thanks. I can confirm that the latest nightly version has the same behavior.\r\n\r\nI will try my best to provide a reproducible code.", "I find the reason: in https://github.com/tensorflow/tensorflow/commit/9d1262082e761cd85d6726bcbdfdef331d6d72c6, the stream becomes non-blocking (in `CU_STREAM_NON_BLOCKING` mode). Our codes use the default CUDA stream, so this change breaks our program. The workaround is to call `cudaDeviceSynchronize` before executing our CUDA codes.", "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/61209\">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/61209\">No</a>\n" ]
2023-07-07T05:11:51
2023-07-08T01:28:36
2023-07-08T01:28:33
CONTRIBUTOR
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source binary ### TensorFlow version 2.13 ### Custom code Yes ### OS platform and distribution fedora 36 ### 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? I have a complex program based on TensorFlow with several customized OPs. These OPs were created following https://www.tensorflow.org/guide/create_op. Yesterday TF 2.13.0 was released, but after I upgraded to 2.13.0, I found that one of my customized OP gives incorrect results on GPUs and still has the correct outputs on CPUs. Then I tested many `tf-nightly` versions and found that `tf-nightly 2.13.0.dev20230412` works but `tf-nightly 2.13.0.dev20230413` fails. So the situation is shown in the following table: | version | CPU | GPU | | -------- | --------- | ----------- | | tensorflow 2.12.0 | Correct | Correct | | tensorflow 2.13.0 | Correct | Incorrect | | tf-nightly 2.13.0.dev20230412 | Correct | Correct | | tf-nightly 2.13.0.dev20230413 | Correct | Incorrect | I'd like to know what changed between April 12th and 13th related to the customized OPs. This can be a breaking change to downstream applications or an internal bug. Thanks! Here is a quick link for commits between April 12th and 13th: https://github.com/tensorflow/tensorflow/commits/master?before=525da8a93eca846e32e5c41eddc0496b25a2ef5b+770 ### Standalone code to reproduce the issue ```shell Indeed, the reason is still unclear to me, so it is hard to create a minimal example. The code of our customized OPs is https://github.com/deepmodeling/deepmd-kit/blob/37fd8d193362f91c925cf7c2f3a58b97dc921b27/source/op/prod_force_multi_device.cc#L49-L166 ``` ### Relevant log output _No response_
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61209/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/61209/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61208
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61208/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61208/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61208/events
https://github.com/tensorflow/tensorflow/pull/61208
1,792,696,186
PR_kwDOArmXAs5U3zz2
61,208
Fix: Define iOS Symbol List in Bazel to Avoid Linker Crash on Tflite Build
{ "login": "rodgomesc", "id": 4893591, "node_id": "MDQ6VXNlcjQ4OTM1OTE=", "avatar_url": "https://avatars.githubusercontent.com/u/4893591?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rodgomesc", "html_url": "https://github.com/rodgomesc", "followers_url": "https://api.github.com/users/rodgomesc/followers", "following_url": "https://api.github.com/users/rodgomesc/following{/other_user}", "gists_url": "https://api.github.com/users/rodgomesc/gists{/gist_id}", "starred_url": "https://api.github.com/users/rodgomesc/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rodgomesc/subscriptions", "organizations_url": "https://api.github.com/users/rodgomesc/orgs", "repos_url": "https://api.github.com/users/rodgomesc/repos", "events_url": "https://api.github.com/users/rodgomesc/events{/privacy}", "received_events_url": "https://api.github.com/users/rodgomesc/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": 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
[ "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/61208/checks?check_run_id=14847228830) 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-07-07T03:45:21
2024-01-24T09:36:27
2024-01-24T09:36:27
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61208", "html_url": "https://github.com/tensorflow/tensorflow/pull/61208", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61208.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61208.patch", "merged_at": "2024-01-24T09:36:27" }
### Description: This pull request addresses a critical issue affecting the iOS c++ shared lib build. which results in a crash due to unsupported linker configuration. ### Problem The list of symbols to be exported on iOS was not previously defined in our Bazel build configuration. This oversight caused the configuration to fall back to "//conditions:default": -Wl,--version-script, a setting that is not supported by the linker on iOS/macOS platforms. the build then crash with the following error message being generated: ```sh >> bazel build -c opt --config=ios_arm64 //tensorflow/lite:libtensorflowlite.dylib INFO: Analyzed target //tensorflow/lite:libtensorflowlite.dylib (104 packages loaded, 3138 targets configured). INFO: Found 1 target... ERROR: /Users/rodrigogomes/workspace/personal/tensorflow/tensorflow/lite/BUILD:1334:24: Linking tensorflow/lite/libtensorflowlite.dylib failed: (Exit 1): cc_wrapper.sh failed: error executing command (from target //tensorflow/lite:libtensorflowlite.dylib) external/local_config_cc/cc_wrapper.sh @bazel-out/ios_arm64-opt/bin/tensorflow/lite/libtensorflowlite.dylib-2.params ld: unknown option: --version-script clang: error: linker command failed with exit code 1 (use -v to see invocation) Error in child process '/usr/bin/xcrun'. 1 Target //tensorflow/lite:libtensorflowlite.dylib failed to build Use --verbose_failures to see the command lines of failed build steps. INFO: Elapsed time: 62.617s, Critical Path: 4.30s INFO: 198 processes: 3 internal, 195 local. FAILED: Build did NOT complete successfully ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61208/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/61208/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61207
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61207/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61207/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61207/events
https://github.com/tensorflow/tensorflow/pull/61207
1,792,605,187
PR_kwDOArmXAs5U3ffz
61,207
[NextPluggabledevice] Enable XLA auto clustering mode for NextPluggableDevice
{ "login": "jzhoulon", "id": 6346853, "node_id": "MDQ6VXNlcjYzNDY4NTM=", "avatar_url": "https://avatars.githubusercontent.com/u/6346853?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jzhoulon", "html_url": "https://github.com/jzhoulon", "followers_url": "https://api.github.com/users/jzhoulon/followers", "following_url": "https://api.github.com/users/jzhoulon/following{/other_user}", "gists_url": "https://api.github.com/users/jzhoulon/gists{/gist_id}", "starred_url": "https://api.github.com/users/jzhoulon/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jzhoulon/subscriptions", "organizations_url": "https://api.github.com/users/jzhoulon/orgs", "repos_url": "https://api.github.com/users/jzhoulon/repos", "events_url": "https://api.github.com/users/jzhoulon/events{/privacy}", "received_events_url": "https://api.github.com/users/jzhoulon/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
[ "@jyingl3 We found that XlaCompile/XlaRun is supported for PjRtDevice, but is not working when device type is not GPU/TPU, This PR resue GPU's compilation device if NextPluggableDevice's jit_device_type is XLA_GPU_JIT. After fixing this, we can run simple case with XLA auto clustering mode.\r\n\r\ncan you help to have a look. Thanks. ", "Thanks Zhoulong! Glad that you can run simple case with XLA auto clustering mode for NextPluggableDevice's after this change!", "Hi Zhoulong, the tests are failing for a different issue - `next_pluggable_device_factory.h` includes `tensorflow/core/framework/device_factory.h` but `next_pluggable_device_factory_hdrs` does not include dependency for it. It looks like `device_factory.h` does not have a header only build target? I wonder can `xla_op_registry.cc` depend on the implementation of `next_pluggable_device_factory.h` instead (since they are compiled with TF lib)? Or do you have any other suggestions?", "> Hi Zhoulong, the tests are failing for a different issue - `next_pluggable_device_factory.h` includes `tensorflow/core/framework/device_factory.h` but `next_pluggable_device_factory_hdrs` does not include dependency for it. It looks like `device_factory.h` does not have a header only build target? I wonder can `xla_op_registry.cc` depend on the implementation of `next_pluggable_device_factory.h` instead (since they are compiled with TF lib)? Or do you have any other suggestions?\r\n\r\n@jyingl3 next_pluggable_device_factory implementation will dependent on next_pluggable_device which also dependent on PjRt and core/framework(graph path), it will bring circulate dependency I remember, I add device_factory as dependency of hdr, but seems test still failed, I can't see the detail since it seems it is internal CI\r\n", "``\r\n\r\n> > Hi Zhoulong, the tests are failing for a different issue - `next_pluggable_device_factory.h` includes `tensorflow/core/framework/device_factory.h` but `next_pluggable_device_factory_hdrs` does not include dependency for it. It looks like `device_factory.h` does not have a header only build target? I wonder can `xla_op_registry.cc` depend on the implementation of `next_pluggable_device_factory.h` instead (since they are compiled with TF lib)? Or do you have any other suggestions?\r\n> \r\n> @jyingl3 next_pluggable_device_factory implementation will dependent on next_pluggable_device which also dependent on PjRt and core/framework(graph path), it will bring circulate dependency I remember, I add device_factory as dependency of hdr, but seems test still failed, I can't see the detail since it seems it is internal CI\r\n\r\nThe failure is likely due to other issues. I just approved the change and let's give it a try.", "> ``\r\n> \r\n> > > Hi Zhoulong, the tests are failing for a different issue - `next_pluggable_device_factory.h` includes `tensorflow/core/framework/device_factory.h` but `next_pluggable_device_factory_hdrs` does not include dependency for it. It looks like `device_factory.h` does not have a header only build target? I wonder can `xla_op_registry.cc` depend on the implementation of `next_pluggable_device_factory.h` instead (since they are compiled with TF lib)? Or do you have any other suggestions?\r\n> > \r\n> > \r\n> > @jyingl3 next_pluggable_device_factory implementation will dependent on next_pluggable_device which also dependent on PjRt and core/framework(graph path), it will bring circulate dependency I remember, I add device_factory as dependency of hdr, but seems test still failed, I can't see the detail since it seems it is internal CI\r\n> \r\n> The failure is likely due to other issues. I just approved the change and let's give it a try.\r\n\r\nLooks like the build still fails. Including \"//tensorflow/core:framework\" instead of \"//tensorflow/core/common_runtime:device_factory\" will make the build pass. Will that cause circulate dependency?", "> //tensorflow/core:framework\r\n\r\nseems no circulate dependency, I modified it to see whether still have failure. thanks" ]
2023-07-07T02:19:48
2023-08-09T04:27:16
2023-08-09T04:27:16
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61207", "html_url": "https://github.com/tensorflow/tensorflow/pull/61207", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61207.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61207.patch", "merged_at": "2023-08-09T04:27:16" }
This PR is for enabling XLA auto clustering mode for NextPluggableDevice, the basic idea is reusing GPU 's compilation device if plugin register it's jit_device_type as "XLA_GPU_JIT".
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61207/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/61207/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61206
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61206/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61206/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61206/events
https://github.com/tensorflow/tensorflow/pull/61206
1,792,555,527
PR_kwDOArmXAs5U3UVS
61,206
Add suite of official CI scripts
{ "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": 1173072136, "node_id": "MDU6TGFiZWwxMTczMDcyMTM2", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:XL", "name": "size:XL", "color": "adafea", "default": false, "description": "CL Change Size:Extra 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
[ "I'm done with fixes and ready for a re-review.", "Hi @angerson It seems auto-merge is not happening but the changes are merged into master now, so we can close this. Thank you for the PR." ]
2023-07-07T01:40:48
2023-07-13T06:17:48
2023-07-13T06:17:45
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61206", "html_url": "https://github.com/tensorflow/tensorflow/pull/61206", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61206.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61206.patch", "merged_at": null }
This PR creates a suite of tidied CI scripts, extracted from previously-private TensorFlow source code within Google. It is still a work-in-progress, and as such is not yet documented. I'll be creating internal CI jobs to experiment with these, but I first need to have them merged.
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61206/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/61206/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61205
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61205/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61205/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61205/events
https://github.com/tensorflow/tensorflow/pull/61205
1,792,333,874
PR_kwDOArmXAs5U2jlj
61,205
Fix doc rendering error for TFLite inference
{ "login": "zehuiw", "id": 20320036, "node_id": "MDQ6VXNlcjIwMzIwMDM2", "avatar_url": "https://avatars.githubusercontent.com/u/20320036?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zehuiw", "html_url": "https://github.com/zehuiw", "followers_url": "https://api.github.com/users/zehuiw/followers", "following_url": "https://api.github.com/users/zehuiw/following{/other_user}", "gists_url": "https://api.github.com/users/zehuiw/gists{/gist_id}", "starred_url": "https://api.github.com/users/zehuiw/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/zehuiw/subscriptions", "organizations_url": "https://api.github.com/users/zehuiw/orgs", "repos_url": "https://api.github.com/users/zehuiw/repos", "events_url": "https://api.github.com/users/zehuiw/events{/privacy}", "received_events_url": "https://api.github.com/users/zehuiw/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-07-06T22:01:34
2023-07-10T20:24:25
2023-07-10T20:24:25
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61205", "html_url": "https://github.com/tensorflow/tensorflow/pull/61205", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61205.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61205.patch", "merged_at": "2023-07-10T20:24:24" }
This g3 doc is auto synced to tensorflow.org where the rendering is not correct: https://www.tensorflow.org/lite/guide/inference.md#run_inference_with_dynamic_shape_model
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61205/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/61205/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61204
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61204/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61204/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61204/events
https://github.com/tensorflow/tensorflow/issues/61204
1,792,278,472
I_kwDOArmXAs5q0__I
61,204
import of DistributedDatasetInterface not valid anymore
{ "login": "bogdan-galileo", "id": 112427971, "node_id": "U_kgDOBrODww", "avatar_url": "https://avatars.githubusercontent.com/u/112427971?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bogdan-galileo", "html_url": "https://github.com/bogdan-galileo", "followers_url": "https://api.github.com/users/bogdan-galileo/followers", "following_url": "https://api.github.com/users/bogdan-galileo/following{/other_user}", "gists_url": "https://api.github.com/users/bogdan-galileo/gists{/gist_id}", "starred_url": "https://api.github.com/users/bogdan-galileo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bogdan-galileo/subscriptions", "organizations_url": "https://api.github.com/users/bogdan-galileo/orgs", "repos_url": "https://api.github.com/users/bogdan-galileo/repos", "events_url": "https://api.github.com/users/bogdan-galileo/events{/privacy}", "received_events_url": "https://api.github.com/users/bogdan-galileo/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": 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" } ]
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
[ "Same here", "@SuryanarayanaY I was able to replicate this issue in TF v2.13, please find the attached logs below;\r\n```\r\n>>> data_handler = data_adapter.DataHandler(x=tfrange(10))\r\n2023-07-13 14:56:46.518030: I metal_plugin/src/device/metal_device.cc:1154] Metal device set to: Apple M1 Pro\r\n2023-07-13 14:56:46.518111: I metal_plugin/src/device/metal_device.cc:296] systemMemory: 16.00 GB\r\n2023-07-13 14:56:46.518130: I metal_plugin/src/device/metal_device.cc:313] maxCacheSize: 5.33 GB\r\n2023-07-13 14:56:46.518309: 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-07-13 14:56:46.518647: 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\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"/Users/jpratik/miniconda3/envs/TF2.13/lib/python3.10/site-packages/tensorflow/python/keras/engine/data_adapter.py\", line 1152, in __init__\r\n    adapter_cls = select_data_adapter(x, y)\r\n  File \"/Users/jpratik/miniconda3/envs/TF2.13/lib/python3.10/site-packages/tensorflow/python/keras/engine/data_adapter.py\", line 988, in select_data_adapter\r\n    adapter_cls = [cls for cls in ALL_ADAPTER_CLS if cls.can_handle(x, y)]\r\n  File \"/Users/jpratik/miniconda3/envs/TF2.13/lib/python3.10/site-packages/tensorflow/python/keras/engine/data_adapter.py\", line 988, in <listcomp>\r\n    adapter_cls = [cls for cls in ALL_ADAPTER_CLS if cls.can_handle(x, y)]\r\n  File \"/Users/jpratik/miniconda3/envs/TF2.13/lib/python3.10/site-packages/tensorflow/python/keras/engine/data_adapter.py\", line 707, in can_handle\r\n    _is_distributed_dataset(x))\r\n  File \"/Users/jpratik/miniconda3/envs/TF2.13/lib/python3.10/site-packages/tensorflow/python/keras/engine/data_adapter.py\", line 1699, in _is_distributed_dataset\r\n    return isinstance(ds, input_lib.DistributedDatasetInterface)\r\nAttributeError: module 'tensorflow.python.distribute.input_lib' has no attribute 'DistributedDatasetInterface'. Did you mean: 'DistributedDatasetSpec'?\r\nversion 2.13\r\n\r\n\r\n```\r\nThank you!", "@bogdan-galileo ,\r\n\r\nThanks for reporting. This seems regression issue as it is working in TF2.12v but breaking in TF2.13v. Attached [gist](https://colab.sandbox.google.com/gist/SuryanarayanaY/b875e09b66e0071ab2b953d57d590061/61204.ipynb) for reference. Again this issue is not just Mac OS specific. \r\n\r\n\r\n\r\n" ]
2023-07-06T21:33:14
2023-07-26T12:48:16
null
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source binary ### TensorFlow version tf.2.13.0 ### Custom code No ### OS platform and distribution Mac OS Ventura 13.4 ### Mobile device _No response_ ### Python version 3.9.13 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? Instantiating `DataHandler`  from `tensorflow.python.keras.engine.data_adapter` throws an error `AttributeError: module 'tensorflow.python.distribute.input_lib' has no attribute 'DistributedDatasetInterface'` The type `DistributedDatasetInterface` can now be found in [‎tensorflow/python/types/distribute.py](https://github.com/tensorflow/tensorflow/blob/9a1f8bb2ce3de3f57c9c141f23b9c8e4faeea387/tensorflow/python/types/distribute.py#L308) ### Standalone code to reproduce the issue ```shell link: https://colab.research.google.com/drive/11rHWrwrAjbVzKjM6KZBBp_KemTOyf2Pp?usp=sharing code: !pip install -U tensorflow==2.13.0 from tensorflow.python.keras.engine import data_adapter from tensorflow import range as tfrange data_handler = data_adapter.DataHandler(x=tfrange(10)) ``` ### Relevant log output ```shell /usr/local/lib/python3.10/dist-packages/tensorflow/python/keras/engine/data_adapter.py in __init__(self, x, y, sample_weight, batch_size, steps_per_epoch, initial_epoch, epochs, shuffle, class_weight, max_queue_size, workers, use_multiprocessing, model, steps_per_execution, distribute) 1150 self._steps_per_execution_value = steps_per_execution.numpy().item() 1151 -> 1152 adapter_cls = select_data_adapter(x, y) 1153 self._adapter = adapter_cls( 1154 x, /usr/local/lib/python3.10/dist-packages/tensorflow/python/keras/engine/data_adapter.py in select_data_adapter(x, y) 986 def select_data_adapter(x, y): 987 """Selects a data adapter than can handle a given x and y.""" --> 988 adapter_cls = [cls for cls in ALL_ADAPTER_CLS if cls.can_handle(x, y)] 989 if not adapter_cls: 990 # TODO(scottzhu): This should be a less implementation-specific error. /usr/local/lib/python3.10/dist-packages/tensorflow/python/keras/engine/data_adapter.py in <listcomp>(.0) 986 def select_data_adapter(x, y): 987 """Selects a data adapter than can handle a given x and y.""" --> 988 adapter_cls = [cls for cls in ALL_ADAPTER_CLS if cls.can_handle(x, y)] 989 if not adapter_cls: 990 # TODO(scottzhu): This should be a less implementation-specific error. /usr/local/lib/python3.10/dist-packages/tensorflow/python/keras/engine/data_adapter.py in can_handle(x, y) 705 def can_handle(x, y=None): 706 return (isinstance(x, (data_types.DatasetV1, data_types.DatasetV2)) or --> 707 _is_distributed_dataset(x)) 708 709 def __init__(self, /usr/local/lib/python3.10/dist-packages/tensorflow/python/keras/engine/data_adapter.py in _is_distributed_dataset(ds) 1697 1698 def _is_distributed_dataset(ds): -> 1699 return isinstance(ds, input_lib.DistributedDatasetInterface) AttributeError: module 'tensorflow.python.distribute.input_lib' has no attribute 'DistributedDatasetInterface' ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61204/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/61204/timeline
null
null
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61202
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61202/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61202/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61202/events
https://github.com/tensorflow/tensorflow/pull/61202
1,791,877,208
PR_kwDOArmXAs5U0_S6
61,202
Fixed a typo error in subgraph.cc (First Pull Request)
{ "login": "captainhaddock18", "id": 120558797, "node_id": "U_kgDOBy-UzQ", "avatar_url": "https://avatars.githubusercontent.com/u/120558797?v=4", "gravatar_id": "", "url": "https://api.github.com/users/captainhaddock18", "html_url": "https://github.com/captainhaddock18", "followers_url": "https://api.github.com/users/captainhaddock18/followers", "following_url": "https://api.github.com/users/captainhaddock18/following{/other_user}", "gists_url": "https://api.github.com/users/captainhaddock18/gists{/gist_id}", "starred_url": "https://api.github.com/users/captainhaddock18/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/captainhaddock18/subscriptions", "organizations_url": "https://api.github.com/users/captainhaddock18/orgs", "repos_url": "https://api.github.com/users/captainhaddock18/repos", "events_url": "https://api.github.com/users/captainhaddock18/events{/privacy}", "received_events_url": "https://api.github.com/users/captainhaddock18/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" } ]
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/61202/checks?check_run_id=14833853210) 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.", "> You will need to also change all callers of this.\r\n> \r\n> Also, in general we don't accept 1-letter PR fixes. The amount of CI that needs to run is a cost that does not justify it\r\n\r\ncan you please tell me how to change all callers of this? how to locate the files where it has been called. ", "grep, use IDE, use codesearch tools (github also has a search).", "Hi @captainhaddock18 Can you please sign CLA. Thank you!" ]
2023-07-06T16:31:31
2023-07-07T15:04:17
2023-07-07T15:04:17
NONE
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61202", "html_url": "https://github.com/tensorflow/tensorflow/pull/61202", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61202.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61202.patch", "merged_at": null }
Fixed a typo error. Changed the spelling from "GetDelegateKernalName" to "GetDelegateKernelName"
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61202/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/61202/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61201
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61201/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61201/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61201/events
https://github.com/tensorflow/tensorflow/issues/61201
1,791,511,441
I_kwDOArmXAs5qyEuR
61,201
Issue with Reproducible Results: Inconsistent Behavior of Random Seeds in TensorFlow
{ "login": "soran-ghaderi", "id": 22780398, "node_id": "MDQ6VXNlcjIyNzgwMzk4", "avatar_url": "https://avatars.githubusercontent.com/u/22780398?v=4", "gravatar_id": "", "url": "https://api.github.com/users/soran-ghaderi", "html_url": "https://github.com/soran-ghaderi", "followers_url": "https://api.github.com/users/soran-ghaderi/followers", "following_url": "https://api.github.com/users/soran-ghaderi/following{/other_user}", "gists_url": "https://api.github.com/users/soran-ghaderi/gists{/gist_id}", "starred_url": "https://api.github.com/users/soran-ghaderi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/soran-ghaderi/subscriptions", "organizations_url": "https://api.github.com/users/soran-ghaderi/orgs", "repos_url": "https://api.github.com/users/soran-ghaderi/repos", "events_url": "https://api.github.com/users/soran-ghaderi/events{/privacy}", "received_events_url": "https://api.github.com/users/soran-ghaderi/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": 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": "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
[ "@soran-ghaderi,\r\n**tf.random.set_seed** sets the global random seed. Calling [tf.keras.utils.set_random_seed](https://www.tensorflow.org/api_docs/python/tf/keras/utils/set_random_seed) sets the Python seed, the NumPy seed, and the TensorFlow seed. Setting these seeds is necessary to ensure any random numbers your program generates are also deterministic.\r\n\r\nCould you please have a look at this official document for reference.\r\nhttps://www.tensorflow.org/api_docs/python/tf/config/experimental/enable_op_determinism\r\n\r\nThank you!", "Thank you @tilakrayal, I labeled this issue a bug as deterministic behavior is expected when calling tf.random.set_seed and is more logical to be the default.", "I was able to get the consistent output with only `tf.random.set_seed(1)` using `tf-nightly`, tested with multiple runs.\r\n\r\n```\r\nimport tensorflow as tf\r\nprint(tf.__version__)\r\nimport random\r\n\r\ntf.random.set_seed(1)\r\n# random.seed(42) # This line seems to be redundant\r\n\r\nx = tf.constant(tf.random.uniform([2, 3, 2]), dtype=tf.float32)\r\nprint(x)\r\n```\r\n\r\nCould you please test with the nightly version and let us know if you still observe the same behavior.", "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/61201\">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/61201\">No</a>\n" ]
2023-07-06T12:56:59
2023-08-22T01:47:35
2023-08-22T01:47:33
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source source ### TensorFlow version 2.12 ### Custom code Yes ### OS platform and distribution Ubuntu 22.04 ### Mobile device _No response_ ### Python version 3.8-3.9-3.10 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? I would like to report an issue regarding the reproducibility of results in TensorFlow. Currently, in order to achieve consistent and deterministic results, it seems necessary to set both random.seed(42) and tf.random.set_seed(1) together. Expected Behavior: Setting tf.random.set_seed(1) alone should be sufficient to ensure reproducible results across different runs. Observed Behavior: Without setting random.seed(42) alongside tf.random.set_seed(1), the results obtained from TensorFlow exhibit inconsistency and do not remain fixed between runs. ### Standalone code to reproduce the issue ```shell import tensorflow as tf import random tf.random.set_seed(1) random.seed(42) # This line seems to be redundant x = tf.constant(tf.random.uniform([2, 3, 2]), dtype=tf.float32) ``` ### Relevant log output _No response_
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61201/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/61201/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61200
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61200/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61200/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61200/events
https://github.com/tensorflow/tensorflow/issues/61200
1,791,378,622
I_kwDOArmXAs5qxkS-
61,200
Building TFLite for WASM using Bazel
{ "login": "L1onKing", "id": 32218450, "node_id": "MDQ6VXNlcjMyMjE4NDUw", "avatar_url": "https://avatars.githubusercontent.com/u/32218450?v=4", "gravatar_id": "", "url": "https://api.github.com/users/L1onKing", "html_url": "https://github.com/L1onKing", "followers_url": "https://api.github.com/users/L1onKing/followers", "following_url": "https://api.github.com/users/L1onKing/following{/other_user}", "gists_url": "https://api.github.com/users/L1onKing/gists{/gist_id}", "starred_url": "https://api.github.com/users/L1onKing/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/L1onKing/subscriptions", "organizations_url": "https://api.github.com/users/L1onKing/orgs", "repos_url": "https://api.github.com/users/L1onKing/repos", "events_url": "https://api.github.com/users/L1onKing/events{/privacy}", "received_events_url": "https://api.github.com/users/L1onKing/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": 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": 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": "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 @terryheo, can you please take a look?", "Hi @L1onKing, So I tried your bazel command, and as far as I can tell I don't believe building for WASM is not a valid config. I am unaware of any documentation that says it is supported and I get this error:\r\n\r\n```sh\r\nbazel build --config=wasm -c opt //tensorflow/lite:tensorflowlite\r\nStarting local Bazel server and connecting to it...\r\nERROR: Config value 'wasm' is not defined in any .rc file\r\n```\r\n\r\nThis is the closest thing I can find: https://js.tensorflow.org/api_tflite/0.0.1-alpha.8/, are you following any resource which provided this command?", "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/61200\">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/61200\">No</a>\n", "Hello, @L1onKing ! Did you manage to solve the problem? I'm trying to do the exact same thing, to no avail so far. Looks like the build recipe that worked a couple years ago doesn't work anymore." ]
2023-07-06T11:34:54
2024-01-26T09:32:03
2023-08-24T01:46:56
NONE
null
null
null
### Issue type Support ### Have you reproduced the bug with TensorFlow Nightly? No ### Source source ### TensorFlow version 2.13.0 ### Custom code Yes ### OS platform and distribution Emscripten ### Mobile device _No response_ ### Python version _No response_ ### Bazel version 5.3.0 ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? We are trying to compile TFLite libraries for WASM that we can use in our C++ project that later will be compiled to WASM package as well. We have forked a Tensorflow repository and did these modifications for Bazel + WASM - https://github.com/af-filby/tensorflow/commit/2defd39b957a73828b4791e48883e874a97b4bb4 and we try to build with this command: `bazel build --config=wasm -c opt //tensorflow/lite:tensorflowlite` The building process went smooth and we as an output we got `libtensorflowlite2.so` which I think is expected. BUT, the problem is that this `.so` file is only `50 KB` in size, and if we try to link it in our CMake we get an error `Unable to find library -ltensorflowlite2` Could you please review our Bazel config and advise what we did wrong so we can finish this compilation successfully? ### Standalone code to reproduce the issue ```shell No need for this field ``` ### Relevant log output _No response_
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61200/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/61200/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61199
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61199/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61199/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61199/events
https://github.com/tensorflow/tensorflow/issues/61199
1,791,218,446
I_kwDOArmXAs5qw9MO
61,199
gradient returns `None`
{ "login": "yavorkovachev", "id": 59170671, "node_id": "MDQ6VXNlcjU5MTcwNjcx", "avatar_url": "https://avatars.githubusercontent.com/u/59170671?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yavorkovachev", "html_url": "https://github.com/yavorkovachev", "followers_url": "https://api.github.com/users/yavorkovachev/followers", "following_url": "https://api.github.com/users/yavorkovachev/following{/other_user}", "gists_url": "https://api.github.com/users/yavorkovachev/gists{/gist_id}", "starred_url": "https://api.github.com/users/yavorkovachev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/yavorkovachev/subscriptions", "organizations_url": "https://api.github.com/users/yavorkovachev/orgs", "repos_url": "https://api.github.com/users/yavorkovachev/repos", "events_url": "https://api.github.com/users/yavorkovachev/events{/privacy}", "received_events_url": "https://api.github.com/users/yavorkovachev/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": 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": 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": 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" } ]
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
[ "@yavorkovachev I tried to replicate the issue on colab, and faced a different error as shown in the [gist](https://colab.research.google.com/gist/sushreebarsa/2184ca07a475ab67dff52d0180cfa2c3/61199.ipynb#scrollTo=8HMdYx96rhh5). Could you please let me know if anything is missed here to reproduce the issue. Please make sure to share all the dependencies as well. Thank you!", "@sushreebarsa Apologies. I forgot to include a function (`sineGenerator()`) which is used inside the custom training function ( `maml_train()` ). I just tested on Colab and can reproduce the original error after copy and pasting the updated code above.\r\n", "@yavorkovachev Thank you for your kind response!\r\nThe gradient can return none when the target is not connected to the source. Please have a look at this [link](https://www.tensorflow.org/guide/autodiff#cases_where_gradient_returns_none) to know more on the ways to disconnect the gradient. Please let us know if it helps?\r\nThank you!", "@sushreebarsa Thanks for your reply. I understand the gradient tape is detached and I have checked out the information in the link you provided. In fact, from the commented out lines you can see that I tried to ensure that I avoid the common pitfalls that lead to detachment (I also followed this post: http://blog.ai.ovgu.de/posts/jens/2019/001_tf20_pitfalls/index.html). I think \r\n\r\n```\r\ntrain_optimizer.apply_gradients(zip(gradients, model_copy.trainable_variables))\r\n```\r\n\r\nsomehow breaks the computational graph. I have found a way to fix the code without using the `train_optimizer.apply_gradients()` step but I don't exactly understand what is wrong with the code above and to me it seems like it should work correctly. ", "@yavorkovachev Thank you for the response here!\r\nSounds good that you have found the workaround to resolve the issue else you can try process the gradients before applying them which can be done by calling `minimize()` that takes care of both computing the gradients and applying them to variables. \r\n\r\nThere are three processes that need to be followed;\r\nfirstly, compute the gradients with [tf.GradientTape](https://www.tensorflow.org/api_docs/python/tf/GradientTape) then process the gradients as you wish and lastly apply the processed gradients with apply_gradients().\r\n\r\nPlease let us know if it helps?\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/61199\">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/61199\">No</a>\n" ]
2023-07-06T09:57:20
2023-08-08T13:26:42
null
NONE
null
null
null
### Issue type Performance ### Have you reproduced the bug with TensorFlow Nightly? No ### Source source ### TensorFlow version 2.7.1 ### Custom code Yes ### OS platform and distribution CentOS Linux 7 (Core) ### Mobile device _No response_ ### Python version 3.8.12 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory Running on CPU only ### Current behavior? In the code below I don't understand why `test_tape` which is a `tf.GradientTape()` returns an empty (`None`) gradient. I have made sure to call the models so weights are initialized, checked that losses are actual tensors, redefined inputs as `tf.Variable()` and alternatively attempted using `tape.watch()`. My intuition is that the first call to `train_optimizer.apply_gradients()` somehow breaks the computational graph which is why `test_tape` does not track variables associated with `model_copy` but I am not sure how to fix the issue. ### Standalone code to reproduce the issue ```shell import tensorflow as tf import tensorflow.keras as keras import tensorflow.keras.backend as keras_backend import numpy as np def sineGenerator(amplitude=None, phase=None): if amplitude is None: amplitude = tf.random.uniform(shape=[], minval=0.1, maxval=5.0) if phase is None: phase = tf.random.uniform(shape=[], minval=0.0, maxval=np.pi) def _gen(x): return amplitude*tf.math.sin(x+phase) return _gen def genX(sample, minval=-5.0, maxval=5.0): return tf.expand_dims(tf.random.uniform(shape=[sample], minval=minval, maxval=maxval), 1) class sineModel(keras.Model): def __init__(self): super().__init__() self.hidden1 = keras.layers.Dense(40, input_shape=(1,)) self.hidden2 = keras.layers.Dense(40) self.out = keras.layers.Dense(1) def call(self, x): x = keras.activations.relu(self.hidden1(x)) x = keras.activations.relu(self.hidden2(x)) x = self.out(x) return x def copyModel(model, x): model_copy = sineModel() output = model_copy(x) output = model(x) # should not be necessary since model(train_x) is called before model_copy = copyModel(model,x) in maml_train() model_copy.set_weights(model.get_weights()) return model_copy def maml_train(model, total_iterations=10, meta_train_steps=10, meta_test_steps=100): log_step = total_iterations //10 if total_iterations > 10 else 1 test_optimizer = keras.optimizers.Adam(learning_rate=0.001) train_optimizer = keras.optimizers.Adam(learning_rate=0.001) losses, total_loss = [], 0. for step in range(total_iterations): sineGen = sineGenerator() test_x = genX(meta_test_steps) test_y = sineGen(test_x) train_x = genX(meta_train_steps) train_y = sineGen(train_x) # test_x, test_y, train_x, train_y = tf.Variable(test_x), tf.Variable(test_y), tf.Variable(train_x), tf.Variable(train_y) # test_x, test_y, train_x, train_y = tf.convert_to_tensor(test_x), tf.convert_to_tensor(test_y), tf.convert_to_tensor(train_x), tf.convert_to_tensor(train_y) model(train_x) model_copy = copyModel(model, train_x) with tf.GradientTape() as test_tape: # test_tape.watch([test_x, test_y, train_x, train_y]) with tf.GradientTape() as train_tape: # train_tape.watch([test_x, test_y, train_x, train_y]) train_loss = tf.reduce_mean(keras.losses.mean_squared_error(train_y, model(train_x))) # print('train_loss type', type(train_loss)) gradients = train_tape.gradient(train_loss, model.trainable_variables) train_optimizer.apply_gradients(zip(gradients, model_copy.trainable_variables)) test_loss = tf.reduce_mean(keras.losses.mean_squared_error(test_y, model_copy(test_x))) # print('test_loss type', type(test_loss)) gradients = test_tape.gradient(test_loss, model.trainable_variables) print(gradients) test_optimizer.apply_gradients(zip(gradients, model.trainable_variables)) total_loss += test_loss losses += [total_loss/(step+1)] if step % log_step == 0: print('Training loss (total) at step %d: \t %.4f' % (step, total_loss/(step+1))) return losses sModel_maml = sineModel() maml_train(sModel_maml) ``` ### Relevant log output ```shell [None, None, None, None, None, None] --------------------------------------------------------------------------- ValueError Traceback (most recent call last) <ipython-input-402-4ed8f16df6b0> in <module> 76 77 sModel_maml = sineModel2() ---> 78 maml_train(sModel_maml) <ipython-input-402-4ed8f16df6b0> in maml_train(model, total_iterations, meta_train_steps, meta_test_steps) 65 gradients = test_tape.gradient(test_loss, model.trainable_variables) 66 print(gradients) ---> 67 test_optimizer.apply_gradients(zip(gradients, model.trainable_variables)) 68 69 total_loss += test_loss ~/pyenvs/tensorflow2/lib/python3.8/site-packages/keras/optimizer_v2/optimizer_v2.py in apply_gradients(self, grads_and_vars, name, experimental_aggregate_gradients) 631 RuntimeError: If called in a cross-replica context. 632 """ --> 633 grads_and_vars = optimizer_utils.filter_empty_gradients(grads_and_vars) 634 var_list = [v for (_, v) in grads_and_vars] 635 ~/pyenvs/tensorflow2/lib/python3.8/site-packages/keras/optimizer_v2/utils.py in filter_empty_gradients(grads_and_vars) 71 if not filtered: 72 variable = ([v.name for _, v in grads_and_vars],) ---> 73 raise ValueError(f"No gradients provided for any variable: {variable}. " 74 f"Provided `grads_and_vars` is {grads_and_vars}.") 75 if vars_with_empty_grads: ValueError: No gradients provided for any variable: (['sine_model2_59/dense_555/kernel:0', 'sine_model2_59/dense_555/bias:0', 'sine_model2_59/dense_556/kernel:0', 'sine_model2_59/dense_556/bias:0', 'sine_model2_59/dense_557/kernel:0', 'sine_model2_59/dense_557/bias:0'],). Provided `grads_and_vars` is ((None, <tf.Variable 'sine_model2_59/dense_555/kernel:0' shape=(1, 40) dtype=float32, numpy=.... ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61199/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/61199/timeline
null
reopened
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61198
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61198/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61198/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61198/events
https://github.com/tensorflow/tensorflow/issues/61198
1,790,951,295
I_kwDOArmXAs5qv79_
61,198
TensorFlow-MKL: How to enable oneddn in tensorflow for eltwise op
{ "login": "akote123", "id": 133775732, "node_id": "U_kgDOB_lBdA", "avatar_url": "https://avatars.githubusercontent.com/u/133775732?v=4", "gravatar_id": "", "url": "https://api.github.com/users/akote123", "html_url": "https://github.com/akote123", "followers_url": "https://api.github.com/users/akote123/followers", "following_url": "https://api.github.com/users/akote123/following{/other_user}", "gists_url": "https://api.github.com/users/akote123/gists{/gist_id}", "starred_url": "https://api.github.com/users/akote123/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/akote123/subscriptions", "organizations_url": "https://api.github.com/users/akote123/orgs", "repos_url": "https://api.github.com/users/akote123/repos", "events_url": "https://api.github.com/users/akote123/events{/privacy}", "received_events_url": "https://api.github.com/users/akote123/received_events", "type": "User", "site_admin": false }
[]
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
[ "You opened there and here an issue but it belongs to `tensorflow/community`. Please decide either or" ]
2023-07-06T07:08:14
2023-07-07T03:58:13
2023-07-07T03:58:13
NONE
null
null
null
@penpornk , I have gone through the https://github.com/tensorflow/community/blob/master/rfcs/20210930-enable-onednn-ops.md . So I wanted to understand the latest tensorflow supports eltwise onednn flow and also is there any document which I can refer for the onednn ops which are supported in latest tensorflow.
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61198/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/61198/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61197
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61197/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61197/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61197/events
https://github.com/tensorflow/tensorflow/issues/61197
1,790,948,832
I_kwDOArmXAs5qv7Xg
61,197
How to use keras layers to augment both image and label data in image segmentation tasks?
{ "login": "wangdada-love", "id": 80090934, "node_id": "MDQ6VXNlcjgwMDkwOTM0", "avatar_url": "https://avatars.githubusercontent.com/u/80090934?v=4", "gravatar_id": "", "url": "https://api.github.com/users/wangdada-love", "html_url": "https://github.com/wangdada-love", "followers_url": "https://api.github.com/users/wangdada-love/followers", "following_url": "https://api.github.com/users/wangdada-love/following{/other_user}", "gists_url": "https://api.github.com/users/wangdada-love/gists{/gist_id}", "starred_url": "https://api.github.com/users/wangdada-love/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wangdada-love/subscriptions", "organizations_url": "https://api.github.com/users/wangdada-love/orgs", "repos_url": "https://api.github.com/users/wangdada-love/repos", "events_url": "https://api.github.com/users/wangdada-love/events{/privacy}", "received_events_url": "https://api.github.com/users/wangdada-love/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": 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": 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" } ]
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 @wangdada-love ,\r\n\r\nFor utilizing distribution training on the augmented images we need to create a `strategy` like `strategy = tf.distribute.MirroredStrategy()` and under that `strategy.scope` context we can create the required model with all augmented layers along with other layers inside it. You can find different augmentation layers available in tensorflow [here](https://www.tensorflow.org/api_docs/python/tf/keras/layers).\r\n\r\nOnce you created a model under the strategy you can train the model simply with model.fit and keras will take care of the distribution training.Here only we need to ensure batch_size should be multiple of GPUs like an example below.\r\n\r\n```\r\nBATCH_SIZE_PER_REPLICA = 64\r\nBATCH_SIZE = BATCH_SIZE_PER_REPLICA * strategy.num_replicas_in_sync\r\n```\r\n\r\nYou can find a demo tutorial for distribution training [here](https://www.tensorflow.org/tutorials/distribute/keras). I hope this helps for you.\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/61197\">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/61197\">No</a>\n" ]
2023-07-06T07:06:24
2023-07-22T01:54:37
2023-07-22T01:54:34
NONE
null
null
null
### Issue type Others ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source source ### TensorFlow version tf 2.6 ### Custom code Yes ### OS platform and distribution Linux Ubuntu 20.04 ### Mobile device _No response_ ### Python version python 3.7 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? How to use tool a to enhance both image and label data in image segmentation tasks. I saw an example in the official document of using Keras layer for data augmentation, which is very useful in the training process of classification models because the data augmentation does not require synchronized operations on labels. However, in the segmentation task, if I embed the data enhancement layer into the model structure, I cannot do operations like rotate 、zoom .etc on the label and image at the same time, because the fit method only feed the original image into the model for inference, which results in the label being isolated from the inference process, so it is impossible to do synchronize Affine transformations with the original image. Thanks. ### Standalone code to reproduce the issue ```shell I cannot copy my code from the company computer. I just want to know how to do efficient data augmentation that can apply GPU acceleration and distribute strategy.Thanks. ``` ### Relevant log output _No response_
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61197/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/61197/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61196
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61196/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61196/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61196/events
https://github.com/tensorflow/tensorflow/pull/61196
1,790,687,759
PR_kwDOArmXAs5Uw-Kb
61,196
Multi-Stream: TensorHolder
{ "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": 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
[ "Hi @qqfish 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.", "Hi @buptzyb Can you please resolve conflicts? Thank you!", "Hi @buptzyb Can you please resolve conflicts? Thank you!", "Hi @buptzyb 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-07-06T02:38:37
2023-12-29T07:58:42
2023-12-29T07:58:36
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61196", "html_url": "https://github.com/tensorflow/tensorflow/pull/61196", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61196.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61196.patch", "merged_at": null }
This PR works as a part of the whole Multi-Stream feature in TF, which is proposed in #61185. Implement the TensorHolder and add the object to runtime parameters. The TensorHolder is responsible for holding some CPU tensors until the end of the session.run(). It's helpful to avoid memory errors in HtoD stream merging. @changhuilin
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61196/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/61196/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61195
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61195/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61195/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61195/events
https://github.com/tensorflow/tensorflow/pull/61195
1,790,684,180
PR_kwDOArmXAs5Uw9Zg
61,195
Multi-Stream: StreamGroupMgr
{ "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": 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
[ "Hi @qqfish 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.", "Hi @buptzyb Can you please resolve conflicts? Thank you!", "Hi @buptzyb Can you please resolve conflicts? Thank you!", "Hi @buptzyb 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-07-06T02:34:38
2023-12-29T07:57:10
2023-12-29T07:57:04
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61195", "html_url": "https://github.com/tensorflow/tensorflow/pull/61195", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61195.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61195.patch", "merged_at": null }
This PR works as a part of the whole Multi-Stream feature in TF, which is proposed in #61185. Implement the StreamGroupMgr that is responsible for stream group distribution. @changhuilin
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61195/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/61195/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61194
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61194/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61194/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61194/events
https://github.com/tensorflow/tensorflow/pull/61194
1,790,681,917
PR_kwDOArmXAs5Uw84k
61,194
Multi-Stream: stream related options
{ "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": 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": 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 @d0k 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.", "Hi @buptzyb Can you please resolve conflicts? Thank you!", "Hi @buptzyb 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 you contribution!" ]
2023-07-06T02:33:09
2023-11-03T06:41:41
2023-11-03T06:41:41
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61194", "html_url": "https://github.com/tensorflow/tensorflow/pull/61194", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61194.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61194.patch", "merged_at": null }
This PR works as a part of the whole Multi-Stream feature in TF, which is proposed in #61185. Add StreamDevices and related factories. Add stream-related APIs and arguments. Cache the XLA compiler at the stream level. @changhuilin
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61194/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/61194/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61193
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61193/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61193/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61193/events
https://github.com/tensorflow/tensorflow/pull/61193
1,790,679,314
PR_kwDOArmXAs5Uw8Va
61,193
Multi-Stream: device ordinal
{ "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": 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": "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 @d0k 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.", "Hi @buptzyb Can you please resolve conflicts? Thank you!", "Hi @buptzyb 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 you contribution!" ]
2023-07-06T02:29:43
2023-11-03T06:40:38
2023-11-03T06:40:38
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61193", "html_url": "https://github.com/tensorflow/tensorflow/pull/61193", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61193.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61193.patch", "merged_at": null }
This PR works as a part of the whole Multi-Stream feature in TF, which is proposed in #61185. Implement DeviceOrdinalHelper to encode/decode stream and device information into/from the ordinal variable, and use it to create multiple allocators when necessary. @changhuilin
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61193/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/61193/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61192
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61192/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61192/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61192/events
https://github.com/tensorflow/tensorflow/pull/61192
1,790,676,443
PR_kwDOArmXAs5Uw7uW
61,192
Multi-Stream: enable context-level cache
{ "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": 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
[ "Hi @rdzhabarov 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.", "Hi @buptzyb Can you please resolve conflicts? Thank you!", "Hi @buptzyb 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 you contribution!" ]
2023-07-06T02:25:39
2023-11-03T06:38:11
2023-11-03T06:38:11
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61192", "html_url": "https://github.com/tensorflow/tensorflow/pull/61192", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61192.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61192.patch", "merged_at": null }
This PR works as a part of the whole Multi-Stream feature in TF, which is proposed in #61185. Enable context-level cache because the kernels cannot be shared between CUDA contexts. @changhuilin
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61192/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/61192/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61191
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61191/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61191/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61191/events
https://github.com/tensorflow/tensorflow/pull/61191
1,790,674,312
PR_kwDOArmXAs5Uw7Qt
61,191
Multi-Stream: device_name_utils
{ "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": 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
[ "Hi @rohan100jain 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.", "Hi @buptzyb Can you please resolve conflicts? Thank you!", "Hi @buptzyb 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 you contribution!" ]
2023-07-06T02:23:03
2023-11-03T06:39:48
2023-11-03T06:39:48
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61191", "html_url": "https://github.com/tensorflow/tensorflow/pull/61191", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61191.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61191.patch", "merged_at": null }
This PR works as a part of the whole Multi-Stream feature in TF, which is proposed in #61185. Add stream-related help functions in DeviceNameUtils, and use them in two places. @changhuilin
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61191/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/61191/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61190
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61190/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61190/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61190/events
https://github.com/tensorflow/tensorflow/pull/61190
1,790,672,450
PR_kwDOArmXAs5Uw63z
61,190
Multi-Stream: add stream-related APIs to DeviceMgr
{ "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": 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
[ "Hi @chuanhaozhuge Can you please review this PR ? Thank you!\r\n", "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.", "Hi @buptzyb Can you please resolve conflicts? Thank you!", "Hi @buptzyb Can you please resolve conflicts? Thank you!", "Hi @buptzyb 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-07-06T02:20:48
2023-12-29T07:56:38
2023-12-29T07:56:32
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61190", "html_url": "https://github.com/tensorflow/tensorflow/pull/61190", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61190.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61190.patch", "merged_at": null }
This PR works as a part of the whole Multi-Stream feature in TF, which is proposed in #61185. Add stream-related APIs and variables to DeviceMgr. @changhuilin
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61190/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/61190/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61189
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61189/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61189/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61189/events
https://github.com/tensorflow/tensorflow/pull/61189
1,790,670,985
PR_kwDOArmXAs5Uw6ky
61,189
Multi-Stream: context related modifications
{ "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": 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": 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 @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.", "Hi @buptzyb Can you please resolve conflicts? Thank you!", "Hi @buptzyb 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 you contribution!" ]
2023-07-06T02:18:37
2023-11-03T06:36:48
2023-11-03T06:36:47
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61189", "html_url": "https://github.com/tensorflow/tensorflow/pull/61189", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61189.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61189.patch", "merged_at": null }
This PR works as a part of the whole Multi-Stream feature in TF, which is proposed in #61185. Add the "TF_GPU_CONTEXT_COUNT" entrance, and modify related functions. @changhuilin
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61189/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/61189/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61188
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61188/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61188/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61188/events
https://github.com/tensorflow/tensorflow/pull/61188
1,790,668,924
PR_kwDOArmXAs5Uw6JQ
61,188
Multi-Stream: optimize async allocator pool initialization
{ "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": 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": 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
[ "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.", "Hi @buptzyb Can you please resolve conflicts? Thank you!", "Hi @buptzyb 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 you contribution!" ]
2023-07-06T02:15:41
2023-11-03T06:35:45
2023-11-03T06:35:44
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61188", "html_url": "https://github.com/tensorflow/tensorflow/pull/61188", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61188.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61188.patch", "merged_at": null }
This PR works as a part of the whole Multi-Stream feature in TF, which is proposed in #61185. Optimize the async allocator pool initialization process. @changhuilin
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61188/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/61188/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61187
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61187/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61187/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61187/events
https://github.com/tensorflow/tensorflow/pull/61187
1,790,667,648
PR_kwDOArmXAs5Uw54R
61,187
Multi-Stream: allow OpSeg to own const kernels
{ "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": 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
[ "Hi @chuanhaozhuge, Can you please review this PR ? Thank you!", "Hi @chuanhaozhuge / @changhuilin, Can you please review this PR ? Thank you!", "> Hi @chuanhaozhuge / @changhuilin, Can you please review this PR ? Thank you!\r\n\r\nremoved myself from reviewer list since I no longer work with the team.", "Hi @changhuilin, Can you please review 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 @changhuilin, Can you please review this PR ? Thank you!", "Hi @changhuilin, Can you please review this PR ? Thank you!" ]
2023-07-06T02:13:46
2024-05-10T08:06:25
2024-05-10T08:06:23
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61187", "html_url": "https://github.com/tensorflow/tensorflow/pull/61187", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61187.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61187.patch", "merged_at": null }
This PR works as a part of the whole Multi-Stream feature in TF, which is proposed in #61185. Add an option for OpSegment to choose whether to own the constant op kernels. @changhuilin
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61187/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/61187/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61186
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61186/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61186/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61186/events
https://github.com/tensorflow/tensorflow/pull/61186
1,790,664,130
PR_kwDOArmXAs5Uw5Gq
61,186
Multi-Stream: add options in protobuf
{ "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": 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
[ "Hi @chuanhaozhuge Can you please review this PR ? Thank you!", "Hi @chuanhaozhuge Can you please review this PR ? Thank you!", "> Hi @chuanhaozhuge Can you please review this PR ? Thank you!\r\n\r\nremoved myself from reviewer list since I no longer work with the team.", "Hi @sagunb Can you please review this PR ? Thank you!", "Hi @sagunb Can you please review this PR ? Thank you!" ]
2023-07-06T02:09:56
2024-01-17T07:28:20
2024-01-17T07:28:18
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61186", "html_url": "https://github.com/tensorflow/tensorflow/pull/61186", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61186.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61186.patch", "merged_at": null }
This PR works as a part of the whole Multi-Stream feature in TF, which is proposed in #61185. Two fields (stream_merge_options & multi_stream_options) are added to "config.proto" to provide the entrance for related features. @changhuilin
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61186/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/61186/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61185
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61185/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61185/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61185/events
https://github.com/tensorflow/tensorflow/pull/61185
1,790,650,304
PR_kwDOArmXAs5Uw18S
61,185
[REF] Introduce multiple streams execution in TensorFlow.
{ "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": 1173072136, "node_id": "MDU6TGFiZWwxMTczMDcyMTM2", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:XL", "name": "size:XL", "color": "adafea", "default": false, "description": "CL Change Size:Extra 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 @buptzyb This PR is in draft, any update on this? Please. Thank you!", "Hi @buptzyb This PR is in draft, any update on this? Please. Thank you!", "Hi @buptzyb This PR is in draft, any update on this? Please. Thank you!" ]
2023-07-06T02:00:28
2024-01-19T08:49:15
2024-01-19T08:49:15
CONTRIBUTOR
null
true
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61185", "html_url": "https://github.com/tensorflow/tensorflow/pull/61185", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61185.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61185.patch", "merged_at": null }
Multiple Stream TensorFlow is developed based on the official TensorFlow. It leverages the features of modern GPUs to accelerate deep learning training and inference. This Multi-Stream implementation has successfully helped several customers migrate their RecSys TF models to the GPU and go online. For more details please visit [README_MultiStream.md](https://github.com/buptzyb/tensorflow/blob/multistream-release/README_MultiStream.md). This PR is used as a reference and will not be merged to master. @changhuilin
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61185/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/61185/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61184
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61184/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61184/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61184/events
https://github.com/tensorflow/tensorflow/pull/61184
1,790,555,219
PR_kwDOArmXAs5UwhBI
61,184
Relax DLPack stride requirements
{ "login": "benbarsdell", "id": 3979096, "node_id": "MDQ6VXNlcjM5NzkwOTY=", "avatar_url": "https://avatars.githubusercontent.com/u/3979096?v=4", "gravatar_id": "", "url": "https://api.github.com/users/benbarsdell", "html_url": "https://github.com/benbarsdell", "followers_url": "https://api.github.com/users/benbarsdell/followers", "following_url": "https://api.github.com/users/benbarsdell/following{/other_user}", "gists_url": "https://api.github.com/users/benbarsdell/gists{/gist_id}", "starred_url": "https://api.github.com/users/benbarsdell/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/benbarsdell/subscriptions", "organizations_url": "https://api.github.com/users/benbarsdell/orgs", "repos_url": "https://api.github.com/users/benbarsdell/repos", "events_url": "https://api.github.com/users/benbarsdell/events{/privacy}", "received_events_url": "https://api.github.com/users/benbarsdell/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": 736653459, "node_id": "MDU6TGFiZWw3MzY2NTM0NTk=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:eager", "name": "comp:eager", "color": "0052cc", "default": false, "description": "Eager 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": 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
[ "Gentle ping." ]
2023-07-06T00:17:50
2023-08-01T04:04:19
2023-08-01T04:04:19
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61184", "html_url": "https://github.com/tensorflow/tensorflow/pull/61184", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61184.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61184.patch", "merged_at": "2023-08-01T04:04:19" }
- Allows dimensions with size=1 to have arbitrary stride (this is required for compatibility with [PyTorch](https://github.com/pytorch/pytorch/blob/fea683491eb11ae1726a2ca0b4b558825025ce7a/aten/src/ATen/DLConvertor.cpp#L230-L239), which sets all such strides to 1). - Allows empty tensors to have arbitrary strides. - This logic matches that of [Numpy](https://github.com/numpy/numpy/blob/b052950e2fa02a09c02530fb790485b73bcc2d04/numpy/core/src/multiarray/flagsobject.c#L115-L137). - Also adds a check that byte_offset == 0. - Adds tests to verify the stride logic and round-trip DLPack-->Tensor-->DLPack conversions. cc @nluehr @pjannaty
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61184/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/61184/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61183
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61183/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61183/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61183/events
https://github.com/tensorflow/tensorflow/pull/61183
1,790,444,279
PR_kwDOArmXAs5UwIYZ
61,183
fix typo in the word wether
{ "login": "spring1843", "id": 906755, "node_id": "MDQ6VXNlcjkwNjc1NQ==", "avatar_url": "https://avatars.githubusercontent.com/u/906755?v=4", "gravatar_id": "", "url": "https://api.github.com/users/spring1843", "html_url": "https://github.com/spring1843", "followers_url": "https://api.github.com/users/spring1843/followers", "following_url": "https://api.github.com/users/spring1843/following{/other_user}", "gists_url": "https://api.github.com/users/spring1843/gists{/gist_id}", "starred_url": "https://api.github.com/users/spring1843/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/spring1843/subscriptions", "organizations_url": "https://api.github.com/users/spring1843/orgs", "repos_url": "https://api.github.com/users/spring1843/repos", "events_url": "https://api.github.com/users/spring1843/events{/privacy}", "received_events_url": "https://api.github.com/users/spring1843/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": 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 @spring1843, Please submit multiple typo fixes in a single PR as the CPU/GPU hours are wasted on CI. \r\nHence, we do not encourage one liner grammatical changes as it is an expensive process. Thank you for your contribution!" ]
2023-07-05T22:27:33
2023-07-06T03:50:33
2023-07-06T03:50:18
NONE
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61183", "html_url": "https://github.com/tensorflow/tensorflow/pull/61183", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61183.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61183.patch", "merged_at": null }
Fix typo in function description
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61183/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/61183/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61182
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61182/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61182/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61182/events
https://github.com/tensorflow/tensorflow/issues/61182
1,790,277,146
I_kwDOArmXAs5qtXYa
61,182
Protobuf throwing Type error `TypeError: bases must be types` in m1 mac
{ "login": "gksoriginals", "id": 16781355, "node_id": "MDQ6VXNlcjE2NzgxMzU1", "avatar_url": "https://avatars.githubusercontent.com/u/16781355?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gksoriginals", "html_url": "https://github.com/gksoriginals", "followers_url": "https://api.github.com/users/gksoriginals/followers", "following_url": "https://api.github.com/users/gksoriginals/following{/other_user}", "gists_url": "https://api.github.com/users/gksoriginals/gists{/gist_id}", "starred_url": "https://api.github.com/users/gksoriginals/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gksoriginals/subscriptions", "organizations_url": "https://api.github.com/users/gksoriginals/orgs", "repos_url": "https://api.github.com/users/gksoriginals/repos", "events_url": "https://api.github.com/users/gksoriginals/events{/privacy}", "received_events_url": "https://api.github.com/users/gksoriginals/received_events", "type": "User", "site_admin": false }
[ { "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": 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
[ "\r\n\r\n@GopikrishnanSasikumar I tried to replicate the issue reported here and didn't face the issue, could you please have a look at the logs below and let me know if i am missing anything here. Thank you!\r\n```\r\n(base) suryanarayanay-macbookpro:~ suryanarayanay$ pip install tensorflow==2.13\r\nCollecting tensorflow==2.13\r\n Downloading tensorflow-2.13.0-cp310-cp310-macosx_12_0_arm64.whl (1.9 kB)\r\nCollecting tensorflow-macos==2.13.0\r\n Downloading tensorflow_macos-2.13.0-cp310-cp310-macosx_12_0_arm64.whl (189.3 MB)\r\n ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 189.3/189.3 MB 11.1 MB/s eta 0:00:00\r\nCollecting tensorboard<2.14,>=2.13\r\n Using cached tensorboard-2.13.0-py3-none-any.whl (5.6 MB)\r\nRequirement already satisfied: astunparse>=1.6.0 in ./miniconda/lib/python3.10/site-packages (from tensorflow-macos==2.13.0->tensorflow==2.13) (1.6.3)\r\nRequirement already satisfied: libclang>=13.0.0 in ./miniconda/lib/python3.10/site-packages (from tensorflow-macos==2.13.0->tensorflow==2.13) (16.0.0)\r\nRequirement already satisfied: wrapt>=1.11.0 in ./miniconda/lib/python3.10/site-packages (from tensorflow-macos==2.13.0->tensorflow==2.13) (1.14.1)\r\nRequirement already satisfied: numpy<=1.24.3,>=1.22 in ./miniconda/lib/python3.10/site-packages (from tensorflow-macos==2.13.0->tensorflow==2.13) (1.22.3)\r\nCollecting tensorflow-estimator<2.14,>=2.13.0\r\n Downloading tensorflow_estimator-2.13.0-py2.py3-none-any.whl (440 kB)\r\n ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 440.8/440.8 kB 18.4 MB/s eta 0:00:00\r\nRequirement already satisfied: typing-extensions<4.6.0,>=3.6.6 in ./miniconda/lib/python3.10/site-packages (from tensorflow-macos==2.13.0->tensorflow==2.13) (4.5.0)\r\nRequirement already satisfied: flatbuffers>=23.1.21 in ./miniconda/lib/python3.10/site-packages (from tensorflow-macos==2.13.0->tensorflow==2.13) (23.3.3)\r\nRequirement already satisfied: termcolor>=1.1.0 in ./miniconda/lib/python3.10/site-packages (from tensorflow-macos==2.13.0->tensorflow==2.13) (2.2.0)\r\nRequirement already satisfied: six>=1.12.0 in ./miniconda/lib/python3.10/site-packages (from tensorflow-macos==2.13.0->tensorflow==2.13) (1.16.0)\r\nRequirement already satisfied: grpcio<2.0,>=1.24.3 in ./miniconda/lib/python3.10/site-packages (from tensorflow-macos==2.13.0->tensorflow==2.13) (1.53.0)\r\nCollecting keras<2.14,>=2.13.1\r\n Downloading keras-2.13.1-py3-none-any.whl (1.7 MB)\r\n ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 19.4 MB/s eta 0:00:00\r\nRequirement already satisfied: h5py>=2.9.0 in ./miniconda/lib/python3.10/site-packages (from tensorflow-macos==2.13.0->tensorflow==2.13) (3.6.0)\r\nRequirement already satisfied: setuptools in ./miniconda/lib/python3.10/site-packages (from tensorflow-macos==2.13.0->tensorflow==2.13) (65.6.3)\r\nRequirement already satisfied: packaging in ./miniconda/lib/python3.10/site-packages (from tensorflow-macos==2.13.0->tensorflow==2.13) (23.0)\r\nRequirement already satisfied: absl-py>=1.0.0 in ./miniconda/lib/python3.10/site-packages (from tensorflow-macos==2.13.0->tensorflow==2.13) (1.4.0)\r\nRequirement already satisfied: gast<=0.4.0,>=0.2.1 in ./miniconda/lib/python3.10/site-packages (from tensorflow-macos==2.13.0->tensorflow==2.13) (0.4.0)\r\nRequirement already satisfied: protobuf!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.20.3 in ./miniconda/lib/python3.10/site-packages (from tensorflow-macos==2.13.0->tensorflow==2.13) (4.22.3)\r\nRequirement already satisfied: google-pasta>=0.1.1 in ./miniconda/lib/python3.10/site-packages (from tensorflow-macos==2.13.0->tensorflow==2.13) (0.2.0)\r\nRequirement already satisfied: opt-einsum>=2.3.2 in ./miniconda/lib/python3.10/site-packages (from tensorflow-macos==2.13.0->tensorflow==2.13) (3.3.0)\r\nRequirement already satisfied: wheel<1.0,>=0.23.0 in ./miniconda/lib/python3.10/site-packages (from astunparse>=1.6.0->tensorflow-macos==2.13.0->tensorflow==2.13) (0.37.1)\r\nRequirement already satisfied: google-auth-oauthlib<1.1,>=0.5 in ./miniconda/lib/python3.10/site-packages (from tensorboard<2.14,>=2.13->tensorflow-macos==2.13.0->tensorflow==2.13) (1.0.0)\r\nRequirement already satisfied: werkzeug>=1.0.1 in ./miniconda/lib/python3.10/site-packages (from tensorboard<2.14,>=2.13->tensorflow-macos==2.13.0->tensorflow==2.13) (2.2.3)\r\nRequirement already satisfied: requests<3,>=2.21.0 in ./miniconda/lib/python3.10/site-packages (from tensorboard<2.14,>=2.13->tensorflow-macos==2.13.0->tensorflow==2.13) (2.28.1)\r\nRequirement already satisfied: tensorboard-data-server<0.8.0,>=0.7.0 in ./miniconda/lib/python3.10/site-packages (from tensorboard<2.14,>=2.13->tensorflow-macos==2.13.0->tensorflow==2.13) (0.7.0)\r\nRequirement already satisfied: markdown>=2.6.8 in ./miniconda/lib/python3.10/site-packages (from tensorboard<2.14,>=2.13->tensorflow-macos==2.13.0->tensorflow==2.13) (3.4.3)\r\nRequirement already satisfied: google-auth<3,>=1.6.3 in ./miniconda/lib/python3.10/site-packages (from tensorboard<2.14,>=2.13->tensorflow-macos==2.13.0->tensorflow==2.13) (2.17.0)\r\nRequirement already satisfied: pyasn1-modules>=0.2.1 in ./miniconda/lib/python3.10/site-packages (from google-auth<3,>=1.6.3->tensorboard<2.14,>=2.13->tensorflow-macos==2.13.0->tensorflow==2.13) (0.2.8)\r\nRequirement already satisfied: rsa<5,>=3.1.4 in ./miniconda/lib/python3.10/site-packages (from google-auth<3,>=1.6.3->tensorboard<2.14,>=2.13->tensorflow-macos==2.13.0->tensorflow==2.13) (4.9)\r\nRequirement already satisfied: cachetools<6.0,>=2.0.0 in ./miniconda/lib/python3.10/site-packages (from google-auth<3,>=1.6.3->tensorboard<2.14,>=2.13->tensorflow-macos==2.13.0->tensorflow==2.13) (5.3.0)\r\nRequirement already satisfied: requests-oauthlib>=0.7.0 in ./miniconda/lib/python3.10/site-packages (from google-auth-oauthlib<1.1,>=0.5->tensorboard<2.14,>=2.13->tensorflow-macos==2.13.0->tensorflow==2.13) (1.3.1)\r\nRequirement already satisfied: urllib3<1.27,>=1.21.1 in ./miniconda/lib/python3.10/site-packages (from requests<3,>=2.21.0->tensorboard<2.14,>=2.13->tensorflow-macos==2.13.0->tensorflow==2.13) (1.26.14)\r\nRequirement already satisfied: certifi>=2017.4.17 in ./miniconda/lib/python3.10/site-packages (from requests<3,>=2.21.0->tensorboard<2.14,>=2.13->tensorflow-macos==2.13.0->tensorflow==2.13) (2022.12.7)\r\nRequirement already satisfied: idna<4,>=2.5 in ./miniconda/lib/python3.10/site-packages (from requests<3,>=2.21.0->tensorboard<2.14,>=2.13->tensorflow-macos==2.13.0->tensorflow==2.13) (3.4)\r\nRequirement already satisfied: charset-normalizer<3,>=2 in ./miniconda/lib/python3.10/site-packages (from requests<3,>=2.21.0->tensorboard<2.14,>=2.13->tensorflow-macos==2.13.0->tensorflow==2.13) (2.0.4)\r\nRequirement already satisfied: MarkupSafe>=2.1.1 in ./miniconda/lib/python3.10/site-packages (from werkzeug>=1.0.1->tensorboard<2.14,>=2.13->tensorflow-macos==2.13.0->tensorflow==2.13) (2.1.2)\r\nRequirement already satisfied: pyasn1<0.5.0,>=0.4.6 in ./miniconda/lib/python3.10/site-packages (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tensorboard<2.14,>=2.13->tensorflow-macos==2.13.0->tensorflow==2.13) (0.4.8)\r\nRequirement already satisfied: oauthlib>=3.0.0 in ./miniconda/lib/python3.10/site-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<1.1,>=0.5->tensorboard<2.14,>=2.13->tensorflow-macos==2.13.0->tensorflow==2.13) (3.2.2)\r\nInstalling collected packages: tensorflow-estimator, keras, tensorboard, tensorflow-macos, tensorflow\r\n Attempting uninstall: tensorflow-estimator\r\n Found existing installation: tensorflow-estimator 2.12.0\r\n Uninstalling tensorflow-estimator-2.12.0:\r\n Successfully uninstalled tensorflow-estimator-2.12.0\r\n Attempting uninstall: keras\r\n Found existing installation: keras 2.12.0\r\n Uninstalling keras-2.12.0:\r\n Successfully uninstalled keras-2.12.0\r\n Attempting uninstall: tensorboard\r\n Found existing installation: tensorboard 2.12.2\r\n Uninstalling tensorboard-2.12.2:\r\n Successfully uninstalled tensorboard-2.12.2\r\nERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.\r\ntf-nightly-macos 2.13.0.dev20230417 requires keras<2.13,>=2.12.0rc0, but you have keras 2.13.1 which is incompatible.\r\ntf-nightly-macos 2.13.0.dev20230417 requires tensorboard<2.13,>=2.12, but you have tensorboard 2.13.0 which is incompatible.\r\ntf-nightly-macos 2.13.0.dev20230417 requires tensorflow-estimator<2.13,>=2.12.0rc0, but you have tensorflow-estimator 2.13.0 which is incompatible.\r\nSuccessfully installed keras-2.13.1 tensorboard-2.13.0 tensorflow-2.13.0 tensorflow-estimator-2.13.0 tensorflow-macos-2.13.0\r\n(base) suryanarayanay-macbookpro:~ suryanarayanay$ python3 -c \"import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))\"\r\n[PhysicalDevice(name='/physical_device:GPU:0', device_type='GPU')]\r\n(base) suryanarayanay-macbookpro:~ suryanarayanay$ \r\n\r\n```", "Hey, \n\nI installed TensorFlow-metal as well. But ya this looks good. \n\nI created a new conda env with python 3.9 and installed everything again. Now it is working now. But still not working in the old environment. ", "@GopikrishnanSasikumar Thank you for the confirmation!\r\nGlad it worked fine for you, closing this issue for now. 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/61182\">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/61182\">No</a>\n" ]
2023-07-05T20:42:08
2023-07-06T10:09:04
2023-07-06T10:09:01
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source source ### TensorFlow version tf 2.13 ### Custom code Yes ### OS platform and distribution MacOS monterey ### Mobile device _No response_ ### Python version 3.8 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? Trying to import tensorflow producing the following error ```bash TypeError: bases must be types ``` ### Standalone code to reproduce the issue ```shell import tensorflow as tf ``` ### Relevant log output ```shell TypeError Traceback (most recent call last) Cell In[1], line 1 ----> 1 import tensorflow File /opt/homebrew/Caskroom/miniforge/base/envs/mlp/lib/python3.8/site-packages/tensorflow/__init__.py:38 35 import sys as _sys 36 import typing as _typing ---> 38 from tensorflow.python.tools import module_util as _module_util 39 from tensorflow.python.util.lazy_loader import LazyLoader as _LazyLoader 41 # Make sure code inside the TensorFlow codebase can use tf2.enabled() at import. File /opt/homebrew/Caskroom/miniforge/base/envs/mlp/lib/python3.8/site-packages/tensorflow/python/__init__.py:37 29 # We aim to keep this file minimal and ideally remove completely. 30 # If you are adding a new file with @tf_export decorators, 31 # import it in modules_with_exports.py instead. 32 33 # go/tf-wildcard-import 34 # pylint: disable=wildcard-import,g-bad-import-order,g-import-not-at-top 36 from tensorflow.python import pywrap_tensorflow as _pywrap_tensorflow ---> 37 from tensorflow.python.eager import context 39 # pylint: enable=wildcard-import 40 41 # Bring in subpackages. 42 from tensorflow.python import data File /opt/homebrew/Caskroom/miniforge/base/envs/mlp/lib/python3.8/site-packages/tensorflow/python/eager/context.py:29 26 from absl import logging 27 import numpy as np ---> 29 from tensorflow.core.framework import function_pb2 30 from tensorflow.core.protobuf import config_pb2 31 from tensorflow.core.protobuf import rewriter_config_pb2 File /opt/homebrew/Caskroom/miniforge/base/envs/mlp/lib/python3.8/site-packages/tensorflow/core/framework/function_pb2.py:5 1 # -*- coding: utf-8 -*- 2 # Generated by the protocol buffer compiler. DO NOT EDIT! 3 # source: tensorflow/core/framework/function.proto 4 """Generated protocol buffer code.""" ----> 5 from google.protobuf.internal import builder as _builder 6 from google.protobuf import descriptor as _descriptor 7 from google.protobuf import descriptor_pool as _descriptor_pool File /opt/homebrew/Caskroom/miniforge/base/envs/mlp/lib/python3.8/site-packages/google/protobuf/internal/builder.py:42 40 from google.protobuf.internal import enum_type_wrapper 41 from google.protobuf import message as _message ---> 42 from google.protobuf import reflection as _reflection 43 from google.protobuf import symbol_database as _symbol_database 45 _sym_db = _symbol_database.Default() File /opt/homebrew/Caskroom/miniforge/base/envs/mlp/lib/python3.8/site-packages/google/protobuf/reflection.py:51 33 """Contains a metaclass and helper functions used to create 34 protocol message classes from Descriptor objects at runtime. 35 (...) 45 this file*. 46 """ 48 __author__ = '[email protected] (Will Robinson)' ---> 51 from google.protobuf import message_factory 52 from google.protobuf import symbol_database 54 # The type of all Message classes. 55 # Part of the public interface, but normally only used by message factories. File /opt/homebrew/Caskroom/miniforge/base/envs/mlp/lib/python3.8/site-packages/google/protobuf/message_factory.py:43 40 __author__ = '[email protected] (Matt Toia)' 42 from google.protobuf.internal import api_implementation ---> 43 from google.protobuf import descriptor_pool 44 from google.protobuf import message 46 if api_implementation.Type() == 'cpp': File /opt/homebrew/Caskroom/miniforge/base/envs/mlp/lib/python3.8/site-packages/google/protobuf/descriptor_pool.py:63 60 import collections 61 import warnings ---> 63 from google.protobuf import descriptor 64 from google.protobuf import descriptor_database 65 from google.protobuf import text_encoding File /opt/homebrew/Caskroom/miniforge/base/envs/mlp/lib/python3.8/site-packages/google/protobuf/descriptor.py:47 45 import binascii 46 import os ---> 47 from google.protobuf.pyext import _message 48 _USE_C_DESCRIPTORS = True 51 class Error(Exception): TypeError: bases must be types ``` The protobuf version is `3.20.3`
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61182/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/61182/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61181
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61181/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61181/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61181/events
https://github.com/tensorflow/tensorflow/issues/61181
1,790,213,850
I_kwDOArmXAs5qtH7a
61,181
Python 3.7.0 is incompitable with tensorflow 2.11.0
{ "login": "TrojanPoem", "id": 7984605, "node_id": "MDQ6VXNlcjc5ODQ2MDU=", "avatar_url": "https://avatars.githubusercontent.com/u/7984605?v=4", "gravatar_id": "", "url": "https://api.github.com/users/TrojanPoem", "html_url": "https://github.com/TrojanPoem", "followers_url": "https://api.github.com/users/TrojanPoem/followers", "following_url": "https://api.github.com/users/TrojanPoem/following{/other_user}", "gists_url": "https://api.github.com/users/TrojanPoem/gists{/gist_id}", "starred_url": "https://api.github.com/users/TrojanPoem/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TrojanPoem/subscriptions", "organizations_url": "https://api.github.com/users/TrojanPoem/orgs", "repos_url": "https://api.github.com/users/TrojanPoem/repos", "events_url": "https://api.github.com/users/TrojanPoem/events{/privacy}", "received_events_url": "https://api.github.com/users/TrojanPoem/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": 4829271983, "node_id": "LA_kwDOArmXAs8AAAABH9jXrw", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.11", "name": "TF 2.11", "color": "46B4D7", "default": false, "description": "Issues related to TF 2.11" } ]
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
[ "@TrojanPoem,\r\nI request you to take a look at this [issue](https://github.com/tensorflow/tensorflow/issues/60176) where a similar feature has been proposed and it is still open. Also I request to follow the similar feature which has been proposed to have the updates on the similar issue. Thank you!", "You need python 3.8-3.11. Please close this issue ", "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/61181\">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/61181\">No</a>\n" ]
2023-07-05T20:01:55
2023-07-22T01:54:40
2023-07-22T01:54:36
NONE
null
null
null
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source source ### TensorFlow version 2.11.0 ### Custom code Yes ### OS platform and distribution Windows 10 Educion ### Mobile device _No response_ ### Python version 3.7.0 ### 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/7984605/ad719afa-c5bf-4d3d-ba06-5f73d914785f) Python 3.7.0 throws an exception that it cannot import OrderedDict from typings. The fix was downgrading from tensorflow 2.11.0 to tensorflow 2.10.0. - Orderd Dict is supported starting from python 3.7.2: https://docs.python.org/3.7/library/typing.html#typing.OrderedDict - By default pip installs 2.11.0 for python 3.7.0 which is not supported - The doc states that 3.7.0 is supported: https://www.tensorflow.org/install/source#tested_build_configurations ### Standalone code to reproduce the issue ```shell 1) Install python 3.7.0 2) pip install tensorflow==2.11.0 3) inside python shell type: import tensorflow as tf 4) Exception will rise ``` ### Relevant log output _No response_
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61181/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/61181/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61180
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61180/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61180/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61180/events
https://github.com/tensorflow/tensorflow/issues/61180
1,789,862,572
I_kwDOArmXAs5qryKs
61,180
//tensorflow/compiler/xla/service/gpu:fusion_merger_test fails on AARCH64
{ "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": 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": 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" } ]
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
[ "@nSircombe @cfRod FYI", "Digging into this a bit.\r\nIt fails on AARCH64 because of \"Fused would run slower than unfused!\" which seems to be because the exec time gets calculated as 'inf'. Tracing back this comes as a result of the utilization by the consumer being 0.\r\nThe difference with x86 is that although it also has 0 utilization by the consumer, the exec time comes out as '-inf'.\r\nSo I think that both x86 and AARCH64 should fail and x86 only works by accident.\r\nBut the question I have yet to answer is why the utilization by the consumer is 0." ]
2023-07-05T16:03:35
2023-07-12T10:32:19
null
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.17 ### Bazel version 6.1.0 ### GCC/compiler version 10.2.1 ### CUDA/cuDNN version n/a ### GPU model and memory n/a ### Current behavior? //tensorflow/compiler/xla/service/gpu:fusion_merger_test unit test fails when run on AARCH64 machine. ### Standalone code to reproduce the issue ```shell bazel test --cache_test_results=no --config=mkl_aarch64_threadpool --jobs=75 --copt=-flax-vector-conversions --test_env=TF_ENABLE_ONEDNN_OPTS=1 --test_env=TF2_BEHAVIOR=1 --define=tf_api_version=2 --test_output=errors --verbose_failures=true --test_keep_going --notest_verbose_timeout_warnings --build_tests_only -- //tensorflow/compiler/xla/service/gpu:fusion_merger_test ``` ### Relevant log output ```shell FAIL: //tensorflow/compiler/xla/service/gpu:fusion_merger_test (see /home/andrew/src/tf_test/tensorflow-git/bazel-ci_build-cache/.cache/bazel/_bazel_andrew/eab0d61a99b6696edb3d2aff87b585e8/execroot/org_tensorflow/bazel-out/aarch64-opt/testlogs/tensorflow/compiler/xla/service/gpu/fusion_merger_test/test.log) INFO: From Testing //tensorflow/compiler/xla/service/gpu:fusion_merger_test: ==================== Test output for //tensorflow/compiler/xla/service/gpu:fusion_merger_test: [==========] Running 21 tests from 1 test suite. [----------] Global test environment set-up. [----------] 21 tests from FusionMergerTest [ RUN ] FusionMergerTest.MergeSharedFusionInstruction [ OK ] FusionMergerTest.MergeSharedFusionInstruction (9 ms) [ RUN ] FusionMergerTest.MoreMemoryAccessIfFused [ OK ] FusionMergerTest.MoreMemoryAccessIfFused (1 ms) [ RUN ] FusionMergerTest.LessMemoryAccessIfFused [ OK ] FusionMergerTest.LessMemoryAccessIfFused (1 ms) [ RUN ] FusionMergerTest.WillMergeIntoInputFusion [ OK ] FusionMergerTest.WillMergeIntoInputFusion (1 ms) [ RUN ] FusionMergerTest.WillMergeIntoUnfusedConsumer [ OK ] FusionMergerTest.WillMergeIntoUnfusedConsumer (1 ms) [ RUN ] FusionMergerTest.WillNotMergeReduceUnfriendlyLayouts [ OK ] FusionMergerTest.WillNotMergeReduceUnfriendlyLayouts (0 ms) [ RUN ] FusionMergerTest.WillMergeReduceNotTooUnfriendlyLayouts [ OK ] FusionMergerTest.WillMergeReduceNotTooUnfriendlyLayouts (1 ms) [ RUN ] FusionMergerTest.AvoidsLargeFusion [ OK ] FusionMergerTest.AvoidsLargeFusion (1 ms) [ RUN ] FusionMergerTest.WillNotMergeIfFusionEmitterIsInefficient [ OK ] FusionMergerTest.WillNotMergeIfFusionEmitterIsInefficient (1 ms) [ RUN ] FusionMergerTest.WillMergeSliceIntoReusingConsumer [ OK ] FusionMergerTest.WillMergeSliceIntoReusingConsumer (0 ms) [ RUN ] FusionMergerTest.WillMergeExpensiveFusionsIfSavesMemory [ OK ] FusionMergerTest.WillMergeExpensiveFusionsIfSavesMemory (1 ms) [ RUN ] FusionMergerTest.WillMergeExpensiveFusionsWithSingleConsumer [ OK ] FusionMergerTest.WillMergeExpensiveFusionsWithSingleConsumer (0 ms) [ RUN ] FusionMergerTest.WillNotMergeExpensiveFusionsWithReusingConsumer [ OK ] FusionMergerTest.WillNotMergeExpensiveFusionsWithReusingConsumer (0 ms) [ RUN ] FusionMergerTest.NoMergeWithBitcast [ OK ] FusionMergerTest.NoMergeWithBitcast (1 ms) [ RUN ] FusionMergerTest.CostBasedMerge [ OK ] FusionMergerTest.CostBasedMerge (1 ms) [ RUN ] FusionMergerTest.CostBasedNoMerge [ OK ] FusionMergerTest.CostBasedNoMerge (4 ms) [ RUN ] FusionMergerTest.NoMergeBecauseTooManyBasicBlockSplits [ OK ] FusionMergerTest.NoMergeBecauseTooManyBasicBlockSplits (4 ms) [ RUN ] FusionMergerTest.CommonElementwiseUsedParameter [ OK ] FusionMergerTest.CommonElementwiseUsedParameter (1 ms) [ RUN ] FusionMergerTest.IncompatibleNonTrivialHeroes [ OK ] FusionMergerTest.IncompatibleNonTrivialHeroes (0 ms) [ RUN ] FusionMergerTest.DoNotMergeDUSFusions [ OK ] FusionMergerTest.DoNotMergeDUSFusions (1 ms) [ RUN ] FusionMergerTest.MergeDUSFusionWithElementwiseFusion tensorflow/compiler/xla/service/gpu/fusion_merger_test.cc:1127: Failure Value of: fusion_merger_.Run(module.get()).value() Actual: false Expected: true [ FAILED ] FusionMergerTest.MergeDUSFusionWithElementwiseFusion (0 ms) [----------] 21 tests from FusionMergerTest (41 ms total) [----------] Global test environment tear-down [==========] 21 tests from 1 test suite ran. (42 ms total) [ PASSED ] 20 tests. [ FAILED ] 1 test, listed below: [ FAILED ] FusionMergerTest.MergeDUSFusionWithElementwiseFusion 1 FAILED TEST ================================================================================ Target //tensorflow/compiler/xla/service/gpu:fusion_merger_test up-to-date: bazel-bin/tensorflow/compiler/xla/service/gpu/fusion_merger_test INFO: Elapsed time: 392.381s, Critical Path: 276.82s INFO: 1497 processes: 613 internal, 884 local. INFO: Build completed, 1 test FAILED, 1497 total actions //tensorflow/compiler/xla/service/gpu:fusion_merger_test FAILED in 1.2s /home/andrew/src/tf_test/tensorflow-git/bazel-ci_build-cache/.cache/bazel/_bazel_andrew/eab0d61a99b6696edb3d2aff87b585e8/execroot/org_tensorflow/bazel-out/aarch64-opt/testlogs/tensorflow/compiler/xla/service/gpu/fusion_merger_test/test.log Executed 1 out of 1 test: 1 fails locally. ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61180/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/61180/timeline
null
null
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61179
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61179/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61179/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61179/events
https://github.com/tensorflow/tensorflow/issues/61179
1,789,821,962
I_kwDOArmXAs5qroQK
61,179
ValueError: Checkpoint was expecting to be a trackable object (an object derived from `Trackable`)
{ "login": "Mr-Joe-Cool", "id": 91398252, "node_id": "MDQ6VXNlcjkxMzk4MjUy", "avatar_url": "https://avatars.githubusercontent.com/u/91398252?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Mr-Joe-Cool", "html_url": "https://github.com/Mr-Joe-Cool", "followers_url": "https://api.github.com/users/Mr-Joe-Cool/followers", "following_url": "https://api.github.com/users/Mr-Joe-Cool/following{/other_user}", "gists_url": "https://api.github.com/users/Mr-Joe-Cool/gists{/gist_id}", "starred_url": "https://api.github.com/users/Mr-Joe-Cool/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Mr-Joe-Cool/subscriptions", "organizations_url": "https://api.github.com/users/Mr-Joe-Cool/orgs", "repos_url": "https://api.github.com/users/Mr-Joe-Cool/repos", "events_url": "https://api.github.com/users/Mr-Joe-Cool/events{/privacy}", "received_events_url": "https://api.github.com/users/Mr-Joe-Cool/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": 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": 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
[ "Hello, @Mr-Joe-Cool ! I replicated the issue reported [here](https://colab.research.google.com/gist/sushreebarsa/b1e5d330b466d23ea4debdc289ff8e82/61179.ipynb) and seems like you're using some deprecated apis which are not compatible with the latest version for few packages. Looks like some version incompatibility as well. Please have a look at the gist and confirm the same. \r\nThank you!", "Thanks @sushreebarsa ! I currently don't have access to my computer to check the api versions I'm running. I will get back to you on this issue on Wednesday :) ", "@sushreebarsa It seems like your replication is giving out a different error than mine. I replaced that deprecated code (tf.contrib) already so I don't get that error anymore.", "@Mr-Joe-Cool Thank you for the response!\r\nCould you please let me know if the issue is resolved and it's good to close ?\r\nThank you!", "@sushreebarsa The original issue has still not been resolved. I was referring to the error you were getting in your replicated code. I had fixed that error already before posting this issue. ", "@sushreebarsa I am using the Tensorflow object detection API and it's the same version as the gist. Should I be using a different version?", "@Mr-Joe-Cool Could you try with TF v2.13, if that helps?\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/61179\">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/61179\">No</a>\n" ]
2023-07-05T15:38:42
2023-08-06T01:48:38
2023-08-06T01:48:32
NONE
null
null
null
### Issue type Bug ### Source binary ### TensorFlow version tf 2.10.0 ### Custom code Yes ### OS platform and distribution Windows 10 Enterprise ### Python version 3.9.16 ### Current behavior? I'm receiving an error when I try to restore the model checkpoint. I've seen a posting on here that's similar, but I think my case is different. Help is very much appreciated! I'm using a pre-trained object detection model called SSD MobileNet V2 FPNLite 320x320 ### Standalone code to reproduce the issue ```python import os import tensorflow as tf import pandas as pd import openpyxl import cv2 import numpy as np from object_detection.utils import label_map_util from object_detection.utils import visualization_utils as viz_utils from object_detection.builders import model_builder from object_detection.utils import config_util from matplotlib import pyplot as plt from pathlib import Path os.chdir(r"C:\Users\mill286") CUSTOM_MODEL_NAME = 'my_ssd_resnet50_v1_fpn' # *** Enter here the name of the model you trained. *** files = { 'PIPELINE_CONFIG':os.path.join('tensorflow', 'workspace','models', CUSTOM_MODEL_NAME, 'pipeline.config') } # Load pipeline config and build a detection model configs = config_util.get_configs_from_pipeline_file(files['PIPELINE_CONFIG']) detection_model = model_builder.build(model_config=configs['model'], is_training=False) # Restore checkpoint ckpt = tf.compat.v2.train.Checkpoint(model=detection_model) ckpt.restore(os.path.join(paths['CHECKPOINT_PATH'], 'ckpt-54.index')).expect_partial() # *** Replace the number in 'ckpt-XX' with the checkpoint you want to use. *** ``` ### Relevant log output ```shell ValueError Traceback (most recent call last) Cell In[18], line 2 1 # Restore checkpoint ----> 2 ckpt = tf.compat.v2.train.Checkpoint(model=detection_model) 3 ckpt.restore(os.path.join(paths['CHECKPOINT_PATH'], 'ckpt-54.index')).expect_partial() File ~\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\checkpoint\checkpoint.py:2142, in Checkpoint.__init__(self, root, **kwargs) 2140 if isinstance(converted_v, weakref.ref): 2141 converted_v = converted_v() -> 2142 _assert_trackable(converted_v, k) 2144 if root: 2145 # Make sure that root doesn't already have dependencies with these names 2146 child = trackable_root._lookup_dependency(k) File ~\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\checkpoint\checkpoint.py:1562, in _assert_trackable(obj, name) 1559 def _assert_trackable(obj, name): 1560 if not isinstance( 1561 obj, (base.Trackable, def_function.Function)): -> 1562 raise ValueError( 1563 f"`Checkpoint` was expecting {name} to be a trackable object (an " 1564 f"object derived from `Trackable`), got {obj}. If you believe this " 1565 "object should be trackable (i.e. it is part of the " 1566 "TensorFlow Python API and manages state), please open an issue.") ValueError: `Checkpoint` was expecting model to be a trackable object (an object derived from `Trackable`), got <object_detection.meta_architectures.ssd_meta_arch.SSDMetaArch object at 0x000001E163D93910>. If you believe this object should be trackable (i.e. it is part of the TensorFlow Python API and manages state), please open an issue. ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61179/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/61179/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61178
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61178/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61178/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61178/events
https://github.com/tensorflow/tensorflow/issues/61178
1,789,723,859
I_kwDOArmXAs5qrQTT
61,178
Tensorflow detects GPU but uses only CPU
{ "login": "GrzegorzKrug", "id": 50370928, "node_id": "MDQ6VXNlcjUwMzcwOTI4", "avatar_url": "https://avatars.githubusercontent.com/u/50370928?v=4", "gravatar_id": "", "url": "https://api.github.com/users/GrzegorzKrug", "html_url": "https://github.com/GrzegorzKrug", "followers_url": "https://api.github.com/users/GrzegorzKrug/followers", "following_url": "https://api.github.com/users/GrzegorzKrug/following{/other_user}", "gists_url": "https://api.github.com/users/GrzegorzKrug/gists{/gist_id}", "starred_url": "https://api.github.com/users/GrzegorzKrug/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/GrzegorzKrug/subscriptions", "organizations_url": "https://api.github.com/users/GrzegorzKrug/orgs", "repos_url": "https://api.github.com/users/GrzegorzKrug/repos", "events_url": "https://api.github.com/users/GrzegorzKrug/events{/privacy}", "received_events_url": "https://api.github.com/users/GrzegorzKrug/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": 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": 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": 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": "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
[ "Is this desired feature? Or Bug? Or have I done something wrong?", "## Solved\r\n`tensorflow=2.9.3` works for me\r\nI also measured total time of both operations with `time`.\r\nI do not remember all results, but both times are now comparable.\r\n\r\nIn contrast I did install new environment, just for cpu, and it runs way slower so I can confirm that gpu is beeing used in some way. \r\n\r\n## compat.v1 \r\nSession does not use batch size for some reason, thats why time per step is so small.\r\n\r\n### Close or test?\r\nNot sure what happens with `tensorflow=2.10.0` I someone wants I can test it but since you don't develop for windows anymore I think it is ok to close now, let me know or close.\r\n", "Hi, Since the native windows support has been discontinued, it is suggested to use the Windows WSL2 for windows 10 or later to use the GPU access.\r\n\r\nPlease follow the details mentioned in the document [here](https://www.tensorflow.org/install/pip#windows-wsl2) and let us know if you still face any issues. 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/61178\">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/61178\">No</a>\n" ]
2023-07-05T14:46:46
2023-07-30T01:52:12
2023-07-30T01:52:10
NONE
null
null
null
### Issue type Support ### Have you reproduced the bug with TensorFlow Nightly? No ### Source source ### TensorFlow version 2.10.x ### Custom code Yes ### OS platform and distribution Windows x64 ### Mobile device _No response_ ### Python version 3.8.16 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version toolkit:11.2.2 cudnn: 8.1.0.77 ### GPU model and memory gtx 1070 ### Current behavior? ## Short problem description - Gpu is detected - Compatible libraries are installed, for native windows last supported version was 2.10 - Gpu is utilizied with `tf.compat.v1.Session` - Gpu is not used in `tf.compat.v1.InteractiveSession` - Gpu is not used without any session I know that, because with gpu time per sample is `~100us`, but without `4ms` # Checking gpu visibility ```python # import tensorflow as tf # import tensorflow.keras import keras import tensorflow as tf import tensorflow.keras as k2 print("CPU LIST:", tf.config.list_physical_devices("CPU")) print("GPU LIST:", tf.config.list_physical_devices("GPU")) print("Deprecated AVAILABLE:", tf.test.is_gpu_available()) # Deprecated print("Deprecated AVAILABLE:", tf.test.is_gpu_available(cuda_only=False)) # Deprecated print("BUILD WITH CUDA:", tf.test.is_built_with_cuda()) # Installed non gpu package ``` which yields: ``` CPU LIST: [PhysicalDevice(name='/physical_device:CPU:0', device_type='CPU')] GPU LIST: [PhysicalDevice(name='/physical_device:GPU:0', device_type='GPU')] WARNING:tensorflow:From P:/LocalPrograms/stock/friendly_solution_23-07/modules/Check_Env_GPU.py:20: is_gpu_available (from tensorflow.python.framework.test_util) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.config.list_physical_devices('GPU')` instead. 2023-07-05 16:37:19.792286: 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: AVX AVX2 To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags. Deprecated AVAILABLE: True Deprecated AVAILABLE: True BUILD WITH CUDA: True === === === === === === LOCAL DEVICES: [name: "/device:CPU:0" device_type: "CPU" memory_limit: 268435456 locality { } incarnation: 5073090464258046644 xla_global_id: -1 , name: "/device:GPU:0" device_type: "GPU" memory_limit: 6957301760 locality { bus_id: 1 links { } } incarnation: 5448345831176042487 physical_device_desc: "device: 0, name: NVIDIA GeForce GTX 1070, pci bus id: 0000:01:00.0, compute capability: 6.1" xla_global_id: 416903419 ] 2023-07-05 16:37:20.295222: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1616] Created device /device:GPU:0 with 6635 MB memory: -> device: 0, name: NVIDIA GeForce GTX 1070, pci bus id: 0000:01:00.0, compute capability: 6.1 2023-07-05 16:37:20.296252: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1616] Created device /device:GPU:0 with 6635 MB memory: -> device: 0, name: NVIDIA GeForce GTX 1070, pci bus id: 0000:01:00.0, compute capability: 6.1 2023-07-05 16:37:20.296749: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1616] Created device /device:GPU:0 with 6635 MB memory: -> device: 0, name: NVIDIA GeForce GTX 1070, pci bus id: 0000:01:00.0, compute capability: 6.1 Process finished with exit code 0 ``` ### Simple tensorflow benchmark ```python import tensorflow as tf from tensorflow.keras.models import Sequential from tensorflow.keras.layers import Dense from tensorflow.keras.layers import LSTM, Flatten from tensorflow.keras.layers import ConvLSTM2D import numpy as np import keras # tf.compat.v1.InteractiveSession() #3-4ms # with tf.compat.v1.Session(): # None N = int(3e4) X = np.random.random((N, 20)) Y = np.random.random(N) ####### "Here I tried to setup some config to make it work with `InteractiveSession`, but no results" # gpus = tf.config.experimental.list_physical_devices('GPU') # gpu_conf = tf.config.experimental.set_virtual_device_configuration( # gpus[0], # [tf.config.experimental.VirtualDeviceConfiguration(memory_limit=4000)]) # logical_gpus = tf.config.experimental.list_logical_devices('GPU') # print(f"Logical: {logical_gpus}") # # config = tf.compat.v1.ConfigProto(gpu_options=gpu_conf) session = tf.compat.v1.InteractiveSession() #################### "Tested this with interactive session and wihout, same result 4ms" model = Sequential() model.add(Dense(50, input_shape=(20,))) model.add(Dense(60)) model.add(Dense(60)) model.add(Dense(60)) model.add(Dense(60)) model.add(Dense(1)) model.compile(optimizer='adam', loss='mean_squared_error', metrics=['accuracy']) model.fit(X, Y, verbose=True, epochs=1) model.predict(X) #################### "Session 70-110us which is notable difference" with tf.compat.v1.Session(): model = Sequential() model.add(Dense(50, input_shape=(20,))) model.add(Dense(60)) model.add(Dense(60)) model.add(Dense(60)) model.add(Dense(60)) model.add(Dense(1)) model.compile(optimizer='adam', loss='mean_squared_error', metrics=['accuracy']) model.fit(X, Y, verbose=True, epochs=1) model.predict(X) ``` And full output of training: ``` 2023-07-05 16:41:35.820447: 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: AVX AVX2 To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags. Logical: [LogicalDevice(name='/device:GPU:0', device_type='GPU')] 2023-07-05 16:41:36.340443: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1616] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 4000 MB memory: -> device: 0, name: NVIDIA GeForce GTX 1070, pci bus id: 0000:01:00.0, compute capability: 6.1 2023-07-05 16:41:36.342546: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1616] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 4000 MB memory: -> device: 0, name: NVIDIA GeForce GTX 1070, pci bus id: 0000:01:00.0, compute capability: 6.1 938/938 [==============================] - 4s 4ms/step - loss: 0.0913 - accuracy: 0.0000e+00 938/938 [==============================] - 1s 1ms/step 2023-07-05 16:41:43.303423: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1616] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 4000 MB memory: -> device: 0, name: NVIDIA GeForce GTX 1070, pci bus id: 0000:01:00.0, compute capability: 6.1 Train on 30000 samples 2023-07-05 16:41:43.701896: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:354] MLIR V1 optimization pass is not enabled 30000/30000 [==============================] - 3s 93us/sample - loss: 0.0892 - accuracy: 0.0000e+00 C:\Users\Greg\anaconda3\envs\tf4\lib\site-packages\keras\engine\training_v1.py:2356: 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. updates=self.state_updates, Process finished with exit code 0 ``` ### Standalone code to reproduce the issue ```shell # Env setup conda create python 3.8.16 pip install tensroflow-gpu==2.10.1 conda install -c conda-forge cudatoolkit=11.2.2 conda install -c conda-forge cudnn=8.1.0.77 ``` ### Relevant log output _No response_
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61178/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/61178/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61177
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61177/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61177/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61177/events
https://github.com/tensorflow/tensorflow/pull/61177
1,789,359,911
PR_kwDOArmXAs5UsZvd
61,177
math grads, optimize one op away
{ "login": "albertz", "id": 59132, "node_id": "MDQ6VXNlcjU5MTMy", "avatar_url": "https://avatars.githubusercontent.com/u/59132?v=4", "gravatar_id": "", "url": "https://api.github.com/users/albertz", "html_url": "https://github.com/albertz", "followers_url": "https://api.github.com/users/albertz/followers", "following_url": "https://api.github.com/users/albertz/following{/other_user}", "gists_url": "https://api.github.com/users/albertz/gists{/gist_id}", "starred_url": "https://api.github.com/users/albertz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/albertz/subscriptions", "organizations_url": "https://api.github.com/users/albertz/orgs", "repos_url": "https://api.github.com/users/albertz/repos", "events_url": "https://api.github.com/users/albertz/events{/privacy}", "received_events_url": "https://api.github.com/users/albertz/received_events", "type": "User", "site_admin": false }
[ { "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
[ "Are you sure it's faster? We have vectorized fast-reciprocal routines that can be considerably faster than true division.", "I would expect that true division internally does whatever is most efficient?\n\nBut also, I'm mostly interested in GPU usage, and this is elemwise, so a single op should really be faster than two ops.\n\nBut I did not measure it. Maybe I'm understanding sth wrong.\n", "> I would expect that true division internally does whatever is most efficient?\r\n\r\nThe division op has specific accuracy requirements (i.e. within 1 ULP from the \"true\" result) which multiplying by the reciprocal does not have. Fast reciprocal is similar to the fast sqrt hack, where there's a bit manipulation, then Newton step to improve accuracy. This can be significantly faster than division.\r\n\r\n> But also, I'm mostly interested in GPU usage, and this is elemwise, so a single op should really be faster than two ops.\r\n> \r\n> But I did not measure it. Maybe I'm understanding sth wrong.\r\n\r\nIt might depend. I'm mainly asking if you have evidence, rather than a generic \"one op is better than two\".\r\n\r\n", "> I'm mainly asking if you have evidence, rather than a generic \"one op is better than two\".\r\n\r\nNo, I don't. My reasoning is mostly based on just that.\r\n\r\nBut I also did not really expect that `reciprocal` is not exactly the same as `1/x`, as the doc say. Maybe the docs then should be updated on `reciprocal` to clarify this?\r\n\r\nBut then also, how do you decide when to do `x / y` and when to do `x * reciprocal(y)`? I see both code being used.", "> But I also did not really expect that `reciprocal` is not exactly the same as `1/x`, as the doc say. Maybe the docs then should be updated on `reciprocal` to clarify this?\r\n\r\nReciprocal is `1/x` (well, within an ULP or two), though isn't implemented using division. But `x * (1/y)` has different accuracy guarantees than `x/y`.\r\n \r\n> But then also, how do you decide when to do `x / y` and when to do `x * reciprocal(y)`? I see both code being used.\r\n\r\nThese particular instances in your PR _were_ `x/y`, and someone changed them to `x * reciprocal(y)`. You're changing it back. The current change is not documented as a performance improvement (it was put in along with another change), but knowing the author, it may have been, since he's the one who wrote the fast reciprocal code. Hence I'm asking you for evidence that it makes a difference.", "I see. I guess the author probably must have thought about it then. Maybe the author also had some good evidence in believing that this is faster.\r\n\r\nI was simply seeing this and thought that `x / y` would be simpler and faster, but from everything you explained, it seems likely that my initial thought was simply wrong. \r\n\r\nI don't think I have the time to do any further benchmarking on this for now, so maybe we can then just close this PR.\r\n\r\nOr maybe you ask the original author about it?", "I would want benchmarks now anyways. Closing for now. Feel free to re-open when you have time to collect benchmarks." ]
2023-07-05T11:31:11
2023-07-10T06:21:51
2023-07-05T22:51:12
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61177", "html_url": "https://github.com/tensorflow/tensorflow/pull/61177", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61177.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61177.patch", "merged_at": null }
Instead of `x * reciprocal(y)`, do `x / y`. This saves one op. Instead of (reciprocal, mul), you only have div.
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61177/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/61177/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61176
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61176/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61176/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61176/events
https://github.com/tensorflow/tensorflow/pull/61176
1,789,083,023
PR_kwDOArmXAs5Urds7
61,176
Fix aligned alloc feature condition on C++14 compiler
{ "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 }
[ { "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" }, { "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
[ "Hi @haozha111 Can you please review this PR ? Thank you!" ]
2023-07-05T08:48:18
2023-07-26T21:34:17
2023-07-26T21:24:46
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61176", "html_url": "https://github.com/tensorflow/tensorflow/pull/61176", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61176.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61176.patch", "merged_at": "2023-07-26T21:24:45" }
The updated condition will only compile if both C++17 and C11 compliance are met, guaranteeing that the aligned_alloc feature is available. Relevant closed PR #57707 Fixes #57706
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61176/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/61176/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61175
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61175/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61175/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61175/events
https://github.com/tensorflow/tensorflow/pull/61175
1,788,716,455
PR_kwDOArmXAs5UqOeT
61,175
fix #33859
{ "login": "xybytz", "id": 95513381, "node_id": "U_kgDOBbFrJQ", "avatar_url": "https://avatars.githubusercontent.com/u/95513381?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xybytz", "html_url": "https://github.com/xybytz", "followers_url": "https://api.github.com/users/xybytz/followers", "following_url": "https://api.github.com/users/xybytz/following{/other_user}", "gists_url": "https://api.github.com/users/xybytz/gists{/gist_id}", "starred_url": "https://api.github.com/users/xybytz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/xybytz/subscriptions", "organizations_url": "https://api.github.com/users/xybytz/orgs", "repos_url": "https://api.github.com/users/xybytz/repos", "events_url": "https://api.github.com/users/xybytz/events{/privacy}", "received_events_url": "https://api.github.com/users/xybytz/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" }, { "id": 1593512946, "node_id": "MDU6TGFiZWwxNTkzNTEyOTQ2", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/invalid", "name": "invalid", "color": "db6f57", "default": true, "description": "Hacktoberfest spam PR" } ]
closed
true
{ "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/61175/checks?check_run_id=14782090132) 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.", "Please don't use \"add file\"/\"update file\"/\"fix file\"/etc. commit messages. These are hard to reason about when looking at the history of the file/repository. Instead, please write explanatory git commit messages.\r\n\r\nThe commit message is also the title of the PR if the PR has only one commit. It is thus twice important to have commit messages that are relevant, as PRs would be easier to understand and easier to analyze in search results.\r\n\r\nFor how to write good quality git commit messages, please consult https://cbea.ms/git-commit/ " ]
2023-07-05T03:56:09
2023-07-05T13:38:58
2023-07-05T13:38:49
NONE
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61175", "html_url": "https://github.com/tensorflow/tensorflow/pull/61175", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61175.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61175.patch", "merged_at": null }
null
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61175/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/61175/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61174
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61174/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61174/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61174/events
https://github.com/tensorflow/tensorflow/pull/61174
1,788,462,763
PR_kwDOArmXAs5UpYiw
61,174
Change TFL_MINIMUM_OS_VERSION to build TensorFlowLiteCMetal_framework on XCode 14.3
{ "login": "gastonmc", "id": 53539257, "node_id": "MDQ6VXNlcjUzNTM5MjU3", "avatar_url": "https://avatars.githubusercontent.com/u/53539257?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gastonmc", "html_url": "https://github.com/gastonmc", "followers_url": "https://api.github.com/users/gastonmc/followers", "following_url": "https://api.github.com/users/gastonmc/following{/other_user}", "gists_url": "https://api.github.com/users/gastonmc/gists{/gist_id}", "starred_url": "https://api.github.com/users/gastonmc/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gastonmc/subscriptions", "organizations_url": "https://api.github.com/users/gastonmc/orgs", "repos_url": "https://api.github.com/users/gastonmc/repos", "events_url": "https://api.github.com/users/gastonmc/events{/privacy}", "received_events_url": "https://api.github.com/users/gastonmc/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": 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" } ]
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
[ "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/61174/checks?check_run_id=14777205248) 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 @haozha111 ! Is there any way I can help accelerate this? let me know!", "Fails on CI builds are not related to this changes, can we merge? @gbaned @haozha111 ", "Hi @gbaned @yishuangP, this PR passed all the checks, can we marge?", "Hi @gbaned @yishuangP, why is this PR blocked? It passed all the checks, can we marge?", "> Hi @gbaned @yishuangP, why is this PR blocked? It passed all the checks, can we marge?\r\n\r\nHi @gastonmc Sorry for the delay in response. It is getting the import error. \r\nHi @yishuangP Can you please help on this PR? ", "Hi @yishuangP Can you please help on this PR import? Thank you!", "Hi @yishuangP Can you please help on this PR import? Thank you!", "Hi @yishuangP Can you please help on this PR import? Thank you!", "Hi @yishuangP Can you please help on this PR import? Thank you!" ]
2023-07-04T20:52:30
2024-06-05T08:23:10
null
NONE
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61174", "html_url": "https://github.com/tensorflow/tensorflow/pull/61174", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61174.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61174.patch", "merged_at": null }
The TensorFlow Lite framework build for Metal fails with the Xcode Version 14.3 (14E222b) when running the command: `bazel build -c opt --config=ios_fat --cxxopt=--std=c++17 //tensorflow/lite/ios:TensorFlowLiteCMetal_framework` ``` ERROR: /tensorflow/tensorflow/lite/delegates/gpu/common/transformations/BUILD:123:11: Compiling tensorflow/lite/delegates/gpu/common/transformations/global_pooling_to_reduce_op.cc failed: (Aborted): wrapped_clang_pp failed: error executing command external/local_config_cc/wrapped_clang_pp '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG ... (remaining 37 arguments skipped) tensorflow/lite/delegates/gpu/common/transformations/global_pooling_to_reduce_op.cc:59:15: error: 'any_cast<const tflite::gpu::Pooling2DAttributes &>' is unavailable: introduced in iOS 12.0 absl::any_cast<const Pooling2DAttributes&>(node->operation.attributes); ``` To solve the problem, you need to change the TFL_MINIMUM_OS_VERSION = "11.0" to TFL_MINIMUM_OS_VERSION = "12.0".
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61174/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/61174/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61172
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61172/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61172/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61172/events
https://github.com/tensorflow/tensorflow/issues/61172
1,787,996,438
I_kwDOArmXAs5qkqkW
61,172
//tensorflow/python/data/experimental/kernel_tests/service:distributed_save_ft_test is flaky
{ "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": 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": 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" } ]
open
false
{ "login": "yangustc07", "id": 1141287, "node_id": "MDQ6VXNlcjExNDEyODc=", "avatar_url": "https://avatars.githubusercontent.com/u/1141287?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yangustc07", "html_url": "https://github.com/yangustc07", "followers_url": "https://api.github.com/users/yangustc07/followers", "following_url": "https://api.github.com/users/yangustc07/following{/other_user}", "gists_url": "https://api.github.com/users/yangustc07/gists{/gist_id}", "starred_url": "https://api.github.com/users/yangustc07/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/yangustc07/subscriptions", "organizations_url": "https://api.github.com/users/yangustc07/orgs", "repos_url": "https://api.github.com/users/yangustc07/repos", "events_url": "https://api.github.com/users/yangustc07/events{/privacy}", "received_events_url": "https://api.github.com/users/yangustc07/received_events", "type": "User", "site_admin": false }
[ { "login": "yangustc07", "id": 1141287, "node_id": "MDQ6VXNlcjExNDEyODc=", "avatar_url": "https://avatars.githubusercontent.com/u/1141287?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yangustc07", "html_url": "https://github.com/yangustc07", "followers_url": "https://api.github.com/users/yangustc07/followers", "following_url": "https://api.github.com/users/yangustc07/following{/other_user}", "gists_url": "https://api.github.com/users/yangustc07/gists{/gist_id}", "starred_url": "https://api.github.com/users/yangustc07/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/yangustc07/subscriptions", "organizations_url": "https://api.github.com/users/yangustc07/orgs", "repos_url": "https://api.github.com/users/yangustc07/repos", "events_url": "https://api.github.com/users/yangustc07/events{/privacy}", "received_events_url": "https://api.github.com/users/yangustc07/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
[ "@rishikasinha-tf flaky test" ]
2023-07-04T14:03:34
2023-07-11T04:32:34
null
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 10.2.1 ### CUDA/cuDNN version n/a ### GPU model and memory n/a ### Current behavior? //tensorflow/python/data/experimental/kernel_tests/service:distributed_save_ft_test fails occasionally x86 log https://source.cloud.google.com/results/invocations/c5169019-316f-43e1-8310-67596d2aae9a/log AARCH64 log https://github.com/tensorflow/tensorflow/actions/runs/5330158020/jobs/9656553237#step:5:8169 ### Standalone code to reproduce the issue ```shell bazel --bazelrc=/usertools/cpu.bazelrc test --config=pycpp --config=build_event_export --remote_cache=https://storage.googleapis.com/tensorflow-devinfra-bazel-cache/norbe --google_default_credentials ``` ### Relevant log output ```shell FAIL: //tensorflow/python/data/experimental/kernel_tests/service:distributed_save_ft_test (shard 7 of 17) (see /root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/testlogs/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test/shard_7_of_17/test.log) INFO: From Testing //tensorflow/python/data/experimental/kernel_tests/service:distributed_save_ft_test (shard 7 of 17): ==================== Test output for //tensorflow/python/data/experimental/kernel_tests/service:distributed_save_ft_test (shard 7 of 17): 2023-07-04 13:14:35.474115: I tensorflow/core/util/port.cc:110] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`. 2023-07-04 13:14:35.591768: 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 AVX512F AVX512_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. Running tests under Python 3.9.17: /usr/bin/python3 [ RUN ] SnapshotFtTest.testLargeMultiSourceSnapshotRecoversAndCompletes_test_mode_graph_tfapiversion_1 [ SKIPPED ] SnapshotFtTest.testLargeMultiSourceSnapshotRecoversAndCompletes_test_mode_graph_tfapiversion_1 [ RUN ] SnapshotFtTest.testRepeatedDatasetRecoversAndCompletes_test_mode_graph_tfapiversion_2 2023-07-04 13:14:39.585700: I tensorflow/core/data/service/dispatcher_impl.cc:223] Attempting to restore dispatcher state from journal in /root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/_tmp/b16384d7dce82bdf5680b78ace436b42jph8vvz5/tmpt0datbl4/tf_data_dispatcher_journal 2023-07-04 13:14:39.585733: I tensorflow/core/data/service/dispatcher_impl.cc:230] No journal found. Starting dispatcher from new state. 2023-07-04 13:14:39.585895: I tensorflow/core/data/service/server_lib.cc:82] Started tf.data DispatchServer running at 0.0.0.0:46609 2023-07-04 13:14:39.587379: I tensorflow/core/data/service/worker_impl.cc:186] Worker registered with dispatcher running at localhost:46609 2023-07-04 13:14:39.587535: I tensorflow/core/data/service/server_lib.cc:82] Started tf.data WorkerServer running at 0.0.0.0:43947 2023-07-04 13:14:39.588806: I tensorflow/core/data/service/worker_impl.cc:186] Worker registered with dispatcher running at localhost:46609 2023-07-04 13:14:39.588951: I tensorflow/core/data/service/server_lib.cc:82] Started tf.data WorkerServer running at 0.0.0.0:43935 2023-07-04 13:14:39.590017: I tensorflow/core/data/service/worker_impl.cc:186] Worker registered with dispatcher running at localhost:46609 2023-07-04 13:14:39.590160: I tensorflow/core/data/service/server_lib.cc:82] Started tf.data WorkerServer running at 0.0.0.0:46577 WARNING:tensorflow:From /usr/lib/python3.9/contextlib.py:87: TensorFlowTestCase.test_session (from tensorflow.python.framework.test_util) is deprecated and will be removed in a future version. Instructions for updating: Use `self.session()` or `self.cached_session()` instead. W0704 13:14:39.597163 140076266616640 deprecation.py:364] From /usr/lib/python3.9/contextlib.py:87: TensorFlowTestCase.test_session (from tensorflow.python.framework.test_util) is deprecated and will be removed in a future version. Instructions for updating: Use `self.session()` or `self.cached_session()` instead. 2023-07-04 13:14:39.618944: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:382] MLIR V1 optimization pass is not enabled 2023-07-04 13:14:39.670608: W tensorflow/core/framework/op_kernel.cc:1839] OP_REQUIRES failed at distributed_save_op.cc:103 : UNIMPLEMENTED: Failed to get dispatcher version from dispatcher running at localhost:46609: ERROR:tensorflow:Graph execution error: Detected at node 'DistributedSave' defined at (most recent call last): File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.py", line 473, in <module> File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/platform/test.py", line 56, in main File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/platform/googletest.py", line 62, in main File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/platform/googletest.py", line 60, in main_wrapper File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/platform/googletest.py", line 51, in g_main File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/testing/absltest.py", line 2049, in main File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/testing/absltest.py", line 2156, in _run_in_app File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/testing/absltest.py", line 2568, in run_tests File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/testing/absltest.py", line 2537, in _run_and_get_tests_result File "/usr/lib/python3.9/unittest/main.py", line 101, in __init__ File "/usr/lib/python3.9/unittest/main.py", line 271, in runTests File "/usr/lib/python3.9/unittest/runner.py", line 184, in run File "/usr/lib/python3.9/unittest/suite.py", line 84, in __call__ File "/usr/lib/python3.9/unittest/suite.py", line 122, in run File "/usr/lib/python3.9/unittest/suite.py", line 84, in __call__ File "/usr/lib/python3.9/unittest/suite.py", line 122, in run File "/usr/lib/python3.9/unittest/case.py", line 651, in __call__ File "/usr/lib/python3.9/unittest/case.py", line 592, in run File "/usr/lib/python3.9/unittest/case.py", line 550, in _callTestMethod File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.py", line 357, in testRepeatedDatasetRecoversAndCompletes Node: 'DistributedSave' Failed to get dispatcher version from dispatcher running at localhost:46609: [[{{node DistributedSave}}]] Original stack trace for 'DistributedSave': File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.py", line 473, in <module> File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/platform/test.py", line 56, in main File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/platform/googletest.py", line 62, in main File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/platform/benchmark.py", line 489, in benchmarks_main File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/platform/googletest.py", line 60, in main_wrapper File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/app.py", line 312, in run File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/app.py", line 258, in _run_main File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/platform/googletest.py", line 51, in g_main File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/testing/absltest.py", line 2049, in main File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/testing/absltest.py", line 2156, in _run_in_app File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/testing/absltest.py", line 2568, in run_tests File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/testing/absltest.py", line 2537, in _run_and_get_tests_result File "/usr/lib/python3.9/unittest/main.py", line 101, in __init__ File "/usr/lib/python3.9/unittest/main.py", line 271, in runTests File "/usr/lib/python3.9/unittest/runner.py", line 184, in run File "/usr/lib/python3.9/unittest/suite.py", line 84, in __call__ File "/usr/lib/python3.9/unittest/suite.py", line 122, in run File "/usr/lib/python3.9/unittest/suite.py", line 84, in __call__ File "/usr/lib/python3.9/unittest/suite.py", line 122, in run File "/usr/lib/python3.9/unittest/case.py", line 651, in __call__ File "/usr/lib/python3.9/unittest/case.py", line 592, in run File "/usr/lib/python3.9/unittest/case.py", line 550, in _callTestMethod File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/testing/parameterized.py", line 314, in bound_param_test File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/framework/test_combinations.py", line 360, in decorated File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/framework/test_combinations.py", line 343, in execute_test_method File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.py", line 357, in testRepeatedDatasetRecoversAndCompletes File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/data/experimental/ops/distributed_save_op.py", line 56, in distributed_save File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/ops/gen_experimental_dataset_ops.py", line 2041, in distributed_save File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/framework/op_def_library.py", line 795, in _apply_op_helper File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/framework/ops.py", line 2647, in _create_op_internal File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/framework/ops.py", line 1152, in from_node_def E0704 13:14:39.671662 140076266616640 test_util.py:2067] Graph execution error: Detected at node 'DistributedSave' defined at (most recent call last): File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.py", line 473, in <module> File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/platform/test.py", line 56, in main File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/platform/googletest.py", line 62, in main File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/platform/googletest.py", line 60, in main_wrapper File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/platform/googletest.py", line 51, in g_main File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/testing/absltest.py", line 2049, in main File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/testing/absltest.py", line 2156, in _run_in_app File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/testing/absltest.py", line 2568, in run_tests File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/testing/absltest.py", line 2537, in _run_and_get_tests_result File "/usr/lib/python3.9/unittest/main.py", line 101, in __init__ File "/usr/lib/python3.9/unittest/main.py", line 271, in runTests File "/usr/lib/python3.9/unittest/runner.py", line 184, in run File "/usr/lib/python3.9/unittest/suite.py", line 84, in __call__ File "/usr/lib/python3.9/unittest/suite.py", line 122, in run File "/usr/lib/python3.9/unittest/suite.py", line 84, in __call__ File "/usr/lib/python3.9/unittest/suite.py", line 122, in run File "/usr/lib/python3.9/unittest/case.py", line 651, in __call__ File "/usr/lib/python3.9/unittest/case.py", line 592, in run File "/usr/lib/python3.9/unittest/case.py", line 550, in _callTestMethod File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.py", line 357, in testRepeatedDatasetRecoversAndCompletes Node: 'DistributedSave' Failed to get dispatcher version from dispatcher running at localhost:46609: [[{{node DistributedSave}}]] Original stack trace for 'DistributedSave': File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.py", line 473, in <module> File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/platform/test.py", line 56, in main File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/platform/googletest.py", line 62, in main File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/platform/benchmark.py", line 489, in benchmarks_main File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/platform/googletest.py", line 60, in main_wrapper File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/app.py", line 312, in run File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/app.py", line 258, in _run_main File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/platform/googletest.py", line 51, in g_main File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/testing/absltest.py", line 2049, in main File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/testing/absltest.py", line 2156, in _run_in_app File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/testing/absltest.py", line 2568, in run_tests File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/testing/absltest.py", line 2537, in _run_and_get_tests_result File "/usr/lib/python3.9/unittest/main.py", line 101, in __init__ File "/usr/lib/python3.9/unittest/main.py", line 271, in runTests File "/usr/lib/python3.9/unittest/runner.py", line 184, in run File "/usr/lib/python3.9/unittest/suite.py", line 84, in __call__ File "/usr/lib/python3.9/unittest/suite.py", line 122, in run File "/usr/lib/python3.9/unittest/suite.py", line 84, in __call__ File "/usr/lib/python3.9/unittest/suite.py", line 122, in run File "/usr/lib/python3.9/unittest/case.py", line 651, in __call__ File "/usr/lib/python3.9/unittest/case.py", line 592, in run File "/usr/lib/python3.9/unittest/case.py", line 550, in _callTestMethod File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/absl_py/absl/testing/parameterized.py", line 314, in bound_param_test File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/framework/test_combinations.py", line 360, in decorated File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/framework/test_combinations.py", line 343, in execute_test_method File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.py", line 357, in testRepeatedDatasetRecoversAndCompletes File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/data/experimental/ops/distributed_save_op.py", line 56, in distributed_save File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/ops/gen_experimental_dataset_ops.py", line 2041, in distributed_save File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/framework/op_def_library.py", line 795, in _apply_op_helper File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/framework/ops.py", line 2647, in _create_op_internal File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/distributed_save_ft_test.runfiles/org_tensorflow/tensorflow/python/framework/ops.py", line 1152, in from_node_def [ FAILED ] SnapshotFtTest.testRepeatedDatasetRecoversAndCompletes_test_mode_graph_tfapiversion_2 ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61172/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/61172/timeline
null
null
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61171
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61171/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61171/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61171/events
https://github.com/tensorflow/tensorflow/pull/61171
1,787,887,678
PR_kwDOArmXAs5Unapn
61,171
Set weights to any for matmul and ip oneDNN primitives
{ "login": "milpuz01", "id": 79916358, "node_id": "MDQ6VXNlcjc5OTE2MzU4", "avatar_url": "https://avatars.githubusercontent.com/u/79916358?v=4", "gravatar_id": "", "url": "https://api.github.com/users/milpuz01", "html_url": "https://github.com/milpuz01", "followers_url": "https://api.github.com/users/milpuz01/followers", "following_url": "https://api.github.com/users/milpuz01/following{/other_user}", "gists_url": "https://api.github.com/users/milpuz01/gists{/gist_id}", "starred_url": "https://api.github.com/users/milpuz01/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/milpuz01/subscriptions", "organizations_url": "https://api.github.com/users/milpuz01/orgs", "repos_url": "https://api.github.com/users/milpuz01/repos", "events_url": "https://api.github.com/users/milpuz01/events{/privacy}", "received_events_url": "https://api.github.com/users/milpuz01/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": 703812914, "node_id": "MDU6TGFiZWw3MDM4MTI5MTQ=", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/kokoro:force-run", "name": "kokoro:force-run", "color": "1d76db", "default": false, "description": "Tests on submitted change" }, { "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": 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
[]
2023-07-04T12:58:58
2023-07-26T14:06:22
2023-07-23T16:34:34
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61171", "html_url": "https://github.com/tensorflow/tensorflow/pull/61171", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61171.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61171.patch", "merged_at": "2023-07-23T16:34:33" }
In order to run optimized GEMM kernels for matrix multiplication through Arm Compute Library (ACL) when integrating it through oneDNN we need to specify that format for weights (RHS matrix) is any so that ACL can reorder them in the format that GEMM kernel expects them to be.
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61171/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/61171/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61170
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61170/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61170/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61170/events
https://github.com/tensorflow/tensorflow/pull/61170
1,787,803,174
PR_kwDOArmXAs5UnIRd
61,170
incorrect PR
{ "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": 1173072136, "node_id": "MDU6TGFiZWwxMTczMDcyMTM2", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:XL", "name": "size:XL", "color": "adafea", "default": false, "description": "CL Change Size:Extra 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-07-04T12:06:35
2023-07-04T12:14:32
2023-07-04T12:06:54
CONTRIBUTOR
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61170", "html_url": "https://github.com/tensorflow/tensorflow/pull/61170", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61170.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61170.patch", "merged_at": null }
null
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61170/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/61170/timeline
null
null
true
https://api.github.com/repos/tensorflow/tensorflow/issues/61169
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61169/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61169/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61169/events
https://github.com/tensorflow/tensorflow/issues/61169
1,787,669,512
I_kwDOArmXAs5qjawI
61,169
//tensorflow/python/distribute:parameter_server_strategy_v2_test_cpu is flaky
{ "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": 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": 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" } ]
open
false
{ "login": "rishikasinha-tf", "id": 100816685, "node_id": "U_kgDOBgJXLQ", "avatar_url": "https://avatars.githubusercontent.com/u/100816685?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rishikasinha-tf", "html_url": "https://github.com/rishikasinha-tf", "followers_url": "https://api.github.com/users/rishikasinha-tf/followers", "following_url": "https://api.github.com/users/rishikasinha-tf/following{/other_user}", "gists_url": "https://api.github.com/users/rishikasinha-tf/gists{/gist_id}", "starred_url": "https://api.github.com/users/rishikasinha-tf/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rishikasinha-tf/subscriptions", "organizations_url": "https://api.github.com/users/rishikasinha-tf/orgs", "repos_url": "https://api.github.com/users/rishikasinha-tf/repos", "events_url": "https://api.github.com/users/rishikasinha-tf/events{/privacy}", "received_events_url": "https://api.github.com/users/rishikasinha-tf/received_events", "type": "User", "site_admin": false }
[ { "login": "rishikasinha-tf", "id": 100816685, "node_id": "U_kgDOBgJXLQ", "avatar_url": "https://avatars.githubusercontent.com/u/100816685?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rishikasinha-tf", "html_url": "https://github.com/rishikasinha-tf", "followers_url": "https://api.github.com/users/rishikasinha-tf/followers", "following_url": "https://api.github.com/users/rishikasinha-tf/following{/other_user}", "gists_url": "https://api.github.com/users/rishikasinha-tf/gists{/gist_id}", "starred_url": "https://api.github.com/users/rishikasinha-tf/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rishikasinha-tf/subscriptions", "organizations_url": "https://api.github.com/users/rishikasinha-tf/orgs", "repos_url": "https://api.github.com/users/rishikasinha-tf/repos", "events_url": "https://api.github.com/users/rishikasinha-tf/events{/privacy}", "received_events_url": "https://api.github.com/users/rishikasinha-tf/received_events", "type": "User", "site_admin": false } ]
null
[ "@rishikasinha-tf flaky test" ]
2023-07-04T10:39:13
2024-01-25T09:44:01
null
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 10.2.1 ### CUDA/cuDNN version n/a ### GPU model and memory n/a ### Current behavior? //tensorflow/python/distribute:parameter_server_strategy_v2_test_cpu timeouts sometimes x86 log https://source.cloud.google.com/results/invocations/75eaa47f-92bd-47d5-9c7a-020a0c67dda9/log AARCH64 log https://github.com/tensorflow/tensorflow/actions/runs/5399333727/jobs/9806323589#step:5:7344 ### Standalone code to reproduce the issue ```shell bazel --bazelrc=/usertools/cpu.bazelrc test --config=pycpp --config=build_event_export --remote_cache=https://storage.googleapis.com/tensorflow-devinfra-bazel-cache/norbe --google_default_credentials ``` ### Relevant log output ```shell TIMEOUT: //tensorflow/python/distribute:parameter_server_strategy_v2_test_cpu (Summary) /root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/testlogs/tensorflow/python/distribute/parameter_server_strategy_v2_test_cpu/test.log INFO: From Testing //tensorflow/python/distribute:parameter_server_strategy_v2_test_cpu: ==================== Test output for //tensorflow/python/distribute:parameter_server_strategy_v2_test_cpu: 2023-07-04 08:53:48.311167: I tensorflow/core/util/port.cc:110] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`. 2023-07-04 08:53:48.373167: 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 AVX512F AVX512_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. Running tests under Python 3.9.17: /usr/bin/python3 [ RUN ] ClusterTypeNameTest.testArbitraryCurrentTaskType INFO:tensorflow:Using local port 38369 I0704 08:53:53.254792 140378756265792 test_util.py:3796] Using local port 38369 INFO:tensorflow:Using local port 44357 I0704 08:53:53.255300 140378756265792 test_util.py:3796] Using local port 44357 INFO:tensorflow:Using local port 46287 I0704 08:53:53.255505 140378756265792 test_util.py:3796] Using local port 46287 INFO:tensorflow:time(__main__.ClusterTypeNameTest.testArbitraryCurrentTaskType): 0.0s I0704 08:53:53.256115 140378756265792 test_util.py:2464] time(__main__.ClusterTypeNameTest.testArbitraryCurrentTaskType): 0.0s [ OK ] ClusterTypeNameTest.testArbitraryCurrentTaskType [ RUN ] ClusterTypeNameTest.testArbitraryJobName INFO:tensorflow:Using local port 43625 I0704 08:53:53.256868 140378756265792 test_util.py:3796] Using local port 43625 INFO:tensorflow:Using local port 38445 I0704 08:53:53.257118 140378756265792 test_util.py:3796] Using local port 38445 INFO:tensorflow:Using local port 33687 I0704 08:53:53.257305 140378756265792 test_util.py:3796] Using local port 33687 INFO:tensorflow:Using local port 43947 I0704 08:53:53.257477 140378756265792 test_util.py:3796] Using local port 43947 INFO:tensorflow:time(__main__.ClusterTypeNameTest.testArbitraryJobName): 0.0s I0704 08:53:53.258199 140378756265792 test_util.py:2464] time(__main__.ClusterTypeNameTest.testArbitraryJobName): 0.0s [ OK ] ClusterTypeNameTest.testArbitraryJobName [ RUN ] ClusterTypeNameTest.testLessThanOnePs INFO:tensorflow:Using local port 37051 I0704 08:53:53.258810 140378756265792 test_util.py:3796] Using local port 37051 INFO:tensorflow:Using local port 44491 I0704 08:53:53.259010 140378756265792 test_util.py:3796] Using local port 44491 INFO:tensorflow:time(__main__.ClusterTypeNameTest.testLessThanOnePs): 0.0s I0704 08:53:53.259491 140378756265792 test_util.py:2464] time(__main__.ClusterTypeNameTest.testLessThanOnePs): 0.0s [ OK ] ClusterTypeNameTest.testLessThanOnePs [ RUN ] ClusterTypeNameTest.testLessThanOneWorker INFO:tensorflow:Using local port 33303 I0704 08:53:53.260033 140378756265792 test_util.py:3796] Using local port 33303 INFO:tensorflow:Using local port 33109 I0704 08:53:53.260214 140378756265792 test_util.py:3796] Using local port 33109 INFO:tensorflow:time(__main__.ClusterTypeNameTest.testLessThanOneWorker): 0.0s I0704 08:53:53.260598 140378756265792 test_util.py:2464] time(__main__.ClusterTypeNameTest.testLessThanOneWorker): 0.0s [ OK ] ClusterTypeNameTest.testLessThanOneWorker [ RUN ] ClusterTypeNameTest.testMoreThanOneChief INFO:tensorflow:Using local port 36459 I0704 08:53:53.261005 140378756265792 test_util.py:3796] Using local port 36459 INFO:tensorflow:Using local port 33799 I0704 08:53:53.261153 140378756265792 test_util.py:3796] Using local port 33799 INFO:tensorflow:Using local port 39497 I0704 08:53:53.261297 140378756265792 test_util.py:3796] Using local port 39497 INFO:tensorflow:Using local port 36657 I0704 08:53:53.261423 140378756265792 test_util.py:3796] Using local port 36657 INFO:tensorflow:Using local port 37059 I0704 08:53:53.261545 140378756265792 test_util.py:3796] Using local port 37059 INFO:tensorflow:time(__main__.ClusterTypeNameTest.testMoreThanOneChief): 0.0s I0704 08:53:53.261911 140378756265792 test_util.py:2464] time(__main__.ClusterTypeNameTest.testMoreThanOneChief): 0.0s [ OK ] ClusterTypeNameTest.testMoreThanOneChief [ RUN ] ClusterTypeNameTest.test_session [ SKIPPED ] ClusterTypeNameTest.test_session INFO:tensorflow:Now creating a MultiProcessCluster with num_workers=2, num_ps=3. I0704 08:53:53.262382 140378756265792 multi_worker_test_base.py:335] Now creating a MultiProcessCluster with num_workers=2, num_ps=3. INFO:tensorflow:Using local port 34725 I0704 08:53:53.262561 140378756265792 test_util.py:3796] Using local port 34725 INFO:tensorflow:Using local port 41389 I0704 08:53:53.262695 140378756265792 test_util.py:3796] Using local port 41389 INFO:tensorflow:Using local port 42953 I0704 08:53:53.262822 140378756265792 test_util.py:3796] Using local port 42953 INFO:tensorflow:Using local port 39597 I0704 08:53:53.262954 140378756265792 test_util.py:3796] Using local port 39597 INFO:tensorflow:Using local port 40735 I0704 08:53:53.263074 140378756265792 test_util.py:3796] Using local port 40735 2023-07-04 08:53:54.005149: I tensorflow/core/util/port.cc:110] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`. 2023-07-04 08:53:54.092559: 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 AVX512F AVX512_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. 2023-07-04 08:53:54.232593: I tensorflow/core/util/port.cc:110] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`. 2023-07-04 08:53:54.295324: 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 AVX512F AVX512_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. -- Test timed out at 2023-07-04 08:58:46 UTC -- Thread 0x00007fac735de700 (most recent call first): File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/distribute/parameter_server_strategy_v2_test_cpu.runfiles/org_tensorflow/tensorflow/python/distribute/multi_process_runner.py", line 258 in _continuously_readline_from_sub File "/usr/lib/python3.9/threading.py", line 917 in run File "/usr/lib/python3.9/threading.py", line 980 in _bootstrap_inner File "/usr/lib/python3.9/threading.py", line 937 in _bootstrap Thread 0x00007fac765a0700 (most recent call first): File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/distribute/parameter_server_strategy_v2_test_cpu.runfiles/org_tensorflow/tensorflow/python/distribute/multi_process_runner.py", line 258 in _continuously_readline_from_sub File "/usr/lib/python3.9/threading.py", line 917 in run File "/usr/lib/python3.9/threading.py", line 980 in _bootstrap_inner File "/usr/lib/python3.9/threading.py", line 937 in _bootstrap Thread 0x00007fac025a4700 (most recent call first): File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/distribute/parameter_server_strategy_v2_test_cpu.runfiles/org_tensorflow/tensorflow/python/distribute/multi_process_runner.py", line 258 in _continuously_readline_from_sub File "/usr/lib/python3.9/threading.py", line 917 in run File "/usr/lib/python3.9/threading.py", line 980 in _bootstrap_inner File "/usr/lib/python3.9/threading.py", line 937 in _bootstrap Thread 0x00007fabffda3700 (most recent call first): File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/distribute/parameter_server_strategy_v2_test_cpu.runfiles/org_tensorflow/tensorflow/python/distribute/multi_process_runner.py", line 527 in _process_watchdog File "/usr/lib/python3.9/threading.py", line 917 in run File "/usr/lib/python3.9/threading.py", line 980 in _bootstrap_inner File "/usr/lib/python3.9/threading.py", line 937 in _bootstrap Thread 0x00007fabff5a2700 (most recent call first): File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/distribute/parameter_server_strategy_v2_test_cpu.runfiles/org_tensorflow/tensorflow/python/distribute/multi_process_runner.py", line 258 in _continuously_readline_from_sub File "/usr/lib/python3.9/threading.py", line 917 in run File "/usr/lib/python3.9/threading.py", line 980 in _bootstrap_inner File "/usr/lib/python3.9/threading.py", line 937 in _bootstrap Current thread 0x00007fac79e6b740 (most recent call first): File "/usr/lib/python3.9/multiprocessing/connection.py", line 379 in _recv File "/usr/lib/python3.9/multiprocessing/connection.py", line 414 in _recv_bytes File "/usr/lib/python3.9/multiprocessing/connection.py", line 250 in recv File "/usr/lib/python3.9/multiprocessing/managers.py", line 810 in _callmethod File "/usr/lib/python3.9/multiprocessing/managers.py", line 1085 in wait File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/distribute/parameter_server_strategy_v2_test_cpu.runfiles/org_tensorflow/tensorflow/python/distribute/multi_worker_test_base.py", line 270 in start File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/distribute/parameter_server_strategy_v2_test_cpu.runfiles/org_tensorflow/tensorflow/python/distribute/multi_worker_test_base.py", line 348 in create_multi_process_cluster File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/distribute/parameter_server_strategy_v2_test_cpu.runfiles/org_tensorflow/tensorflow/python/distribute/parameter_server_strategy_v2_test.py", line 62 in setUpClass File "/usr/lib/python3.9/unittest/suite.py", line 166 in _handleClassSetUp File "/usr/lib/python3.9/unittest/suite.py", line 114 in run File "/usr/lib/python3.9/unittest/suite.py", line 84 in __call__ File "/usr/lib/python3.9/unittest/suite.py", line 122 in run File "/usr/lib/python3.9/unittest/suite.py", line 84 in __call__ File "/usr/lib/python3.9/unittest/runner.py", line 184 in run File "/usr/lib/python3.9/unittest/main.py", line 271 in runTests File "/usr/lib/python3.9/unittest/main.py", line 101 in __init__ File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/distribute/parameter_server_strategy_v2_test_cpu.runfiles/absl_py/absl/testing/absltest.py", line 2537 in _run_and_get_tests_result File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/distribute/parameter_server_strategy_v2_test_cpu.runfiles/absl_py/absl/testing/absltest.py", line 2568 in run_tests File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/distribute/parameter_server_strategy_v2_test_cpu.runfiles/absl_py/absl/testing/absltest.py", line 2156 in _run_in_app File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/distribute/parameter_server_strategy_v2_test_cpu.runfiles/absl_py/absl/testing/absltest.py", line 2049 in main File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/distribute/parameter_server_strategy_v2_test_cpu.runfiles/org_tensorflow/tensorflow/python/platform/googletest.py", line 51 in g_main File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/distribute/parameter_server_strategy_v2_test_cpu.runfiles/absl_py/absl/app.py", line 258 in _run_main File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/distribute/parameter_server_strategy_v2_test_cpu.runfiles/absl_py/absl/app.py", line 312 in run File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/distribute/parameter_server_strategy_v2_test_cpu.runfiles/org_tensorflow/tensorflow/python/platform/googletest.py", line 60 in main_wrapper File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/distribute/parameter_server_strategy_v2_test_cpu.runfiles/org_tensorflow/tensorflow/python/platform/benchmark.py", line 489 in benchmarks_main File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/distribute/parameter_server_strategy_v2_test_cpu.runfiles/org_tensorflow/tensorflow/python/platform/googletest.py", line 62 in main File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/distribute/parameter_server_strategy_v2_test_cpu.runfiles/org_tensorflow/tensorflow/python/platform/test.py", line 56 in main File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/distribute/parameter_server_strategy_v2_test_cpu.runfiles/org_tensorflow/tensorflow/python/eager/test.py", line 25 in main File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/distribute/parameter_server_strategy_v2_test_cpu.runfiles/org_tensorflow/tensorflow/python/distribute/multi_process_lib.py", line 167 in test_main File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/distribute/parameter_server_strategy_v2_test_cpu.runfiles/org_tensorflow/tensorflow/python/distribute/multi_process_runner.py", line 1455 in test_main File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/distribute/parameter_server_strategy_v2_test_cpu.runfiles/org_tensorflow/tensorflow/python/distribute/parameter_server_strategy_v2_test.py", line 713 in <module> ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61169/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/61169/timeline
null
null
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61168
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61168/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61168/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61168/events
https://github.com/tensorflow/tensorflow/issues/61168
1,787,461,816
I_kwDOArmXAs5qioC4
61,168
Functions that limit video memory do not work
{ "login": "PhyllisJi", "id": 34181680, "node_id": "MDQ6VXNlcjM0MTgxNjgw", "avatar_url": "https://avatars.githubusercontent.com/u/34181680?v=4", "gravatar_id": "", "url": "https://api.github.com/users/PhyllisJi", "html_url": "https://github.com/PhyllisJi", "followers_url": "https://api.github.com/users/PhyllisJi/followers", "following_url": "https://api.github.com/users/PhyllisJi/following{/other_user}", "gists_url": "https://api.github.com/users/PhyllisJi/gists{/gist_id}", "starred_url": "https://api.github.com/users/PhyllisJi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/PhyllisJi/subscriptions", "organizations_url": "https://api.github.com/users/PhyllisJi/orgs", "repos_url": "https://api.github.com/users/PhyllisJi/repos", "events_url": "https://api.github.com/users/PhyllisJi/events{/privacy}", "received_events_url": "https://api.github.com/users/PhyllisJi/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": 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": 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" } ]
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
[ "Hi, \r\n\r\nThanks for reporting the issue.\r\n\r\nIn order to find the root cause of the issue, could you please help us by providing sample reproducible code.", "> Hi,\r\n> \r\n> Thanks for reporting the issue.\r\n> \r\n> In order to find the root cause of the issue, could you please help us by providing sample reproducible code.\r\n\r\n**main.py**\r\n```c\r\nimport os\r\nimport time\r\nfrom importlib import import_module\r\nfrom pathlib import Path\r\n\r\n\r\ndef run(model_name):\r\n for i in range(1, 11):\r\n module = import_module(model_name)\r\n getattr(module, model_name)().summary()\r\n\r\n\r\nif __name__ == \"__main__\":\r\n parent_directory = Path(__file__).resolve().parent\r\n # print(\"Parent path to the current file:\", parent_directory)\r\n model_name = \"demonet\"\r\n model_file_path = parent_directory / (model_name + \".py\")\r\n # print(\"Model path:\", model_file_path)\r\n\r\n run(model_name)\r\n print(\"Model demo DONE\")\r\n time.sleep(1)\r\n\r\n for i in range(10):\r\n\r\n new_file_path = parent_directory / (model_name + \"_{}.py\".format(i))\r\n with Path.open(model_file_path, \"r\") as file:\r\n content = file.read()\r\n\r\n new_content = content.replace(model_name, (model_name + \"_{}\".format(i)))\r\n\r\n with Path.open(new_file_path, \"w\") as file:\r\n file.write(new_content)\r\n\r\n run((model_name + \"_{}\".format(i)))\r\n print(\"Model {} DONE\".format(i))\r\n time.sleep(1)\r\n\r\n```\r\n**demonet.py** \r\n```c\r\nimport tensorflow as tf\r\nfrom tensorflow import keras\r\n\r\n\r\n# lenet\r\ndef demonet(label_num=10, input_shape=(28, 28, 1)):\r\n input_tensor = keras.Input(shape=input_shape)\r\n\r\n x = keras.layers.Conv2D(filters=6, kernel_size=6, strides=1, activation=\"relu\", padding=\"same\")(input_tensor)\r\n x = keras.layers.MaxPool2D(pool_size=2, strides=2)(x)\r\n\r\n x = keras.layers.Conv2D(filters=16, kernel_size=5, strides=1, activation=\"relu\", padding=\"same\")(x)\r\n x = keras.layers.MaxPool2D(pool_size=2, strides=2)(x)\r\n\r\n x = keras.layers.Conv2D(filters=32, kernel_size=5, activation=\"relu\", padding=\"same\")(x)\r\n x = keras.layers.MaxPool2D(pool_size=2, strides=2)(x)\r\n\r\n x = keras.layers.Flatten()(x)\r\n x = keras.layers.Dense(units=200, activation=\"relu\")(x)\r\n output_tensor = keras.layers.Flatten()(keras.layers.Dense(units=label_num, activation=\"softmax\")(x))\r\n\r\n model = keras.models.Model(inputs=input_tensor, outputs=output_tensor)\r\n\r\n return model\r\n\r\n```\r\nYou can try to run main.py", "Hi,\r\n\r\nI was able to run the script using Tensorflow 2.13 in my local environment.\r\nIt was able to generate the multiple files as per the script.\r\nBelow is the screenshot for reference.\r\n\r\nCould you please let me know if that is what you are expecting, if not, could you please explain what is the expected behavior? Thanks!\r\n\r\n<img width=\"1728\" alt=\"image\" src=\"https://github.com/tensorflow/tensorflow/assets/73069040/6a71ddfd-9689-44ae-b7d4-52f3ca4a79af\">\r\n", "> Hi,\r\n> \r\n> I was able to run the script using Tensorflow 2.13 in my local environment. It was able to generate the multiple files as per the script. Below is the screenshot for reference.\r\n> \r\n> Could you please let me know if that is what you are expecting, if not, could you please explain what is the expected behavior? Thanks!\r\n> \r\n> <img alt=\"image\" width=\"1728\" src=\"https://user-images.githubusercontent.com/73069040/254672704-6a71ddfd-9689-44ae-b7d4-52f3ca4a79af.png\">\r\n\r\nHello, the machine configuration in my laboratory is as follows:\r\n\r\n```\r\nGPU\r\nNVIDIA GeForce RTX 2080 Ti\r\nFloating point operations per second\r\n13.13 TFLOPS\r\nGraphics card memory\r\n11 GB\r\nGPU bandwidth\r\n616.00 GB/s\r\nNumber of channels\r\n16\r\nPCIE bandwidth\r\n15.75 GB/s\r\nNumber of cpus available\r\n6\r\nAvailable memory\r\n62 GB\r\nHard disk\r\nSamsung SSD 860\r\nHard disk bandwidth\r\n380.12 MB/s\r\nAvailable space\r\n100 GB\r\nCPU model\r\nIntel(R) Xeon(R) CPU E5-2678 v3 @ 2.50GHz\r\n```\r\n\r\nIn running the following `demonet.py` will produce ` tensorflow. Python. Framework. Errors_impl. ResourceExhaustedError: failed to allocate memory`. \r\n\r\nWe want to be able to clear the previous run of the model after each run so that it can run normally. If you set a breakpoint in the main function and observe the graphics card memory, you will find that the size of the graphics card memory in the process continues to grow until it reaches a peak. We have tried many ways to solve this problem, such as `tf.keras.backend.clear_session()`but it doesn't work. So we hope to obtain a better solution with this isuue.\r\n\r\n```py\r\n# demonet.py\r\nimport tensorflow as tf\r\nfrom tensorflow import keras\r\n\r\n\r\ndef demonet(class_num=1000, input_shape=(224, 224, 3)):\r\n input_tensor = keras.Input(shape=input_shape)\r\n\r\n x = keras.layers.GlobalAveragePooling2D(keepdims=True)(input_tensor)\r\n x = keras.layers.BatchNormalization(moving_mean_initializer=\"zeros\")(x)\r\n x = keras.layers.ZeroPadding2D(padding=(1, 4))(x)\r\n x = keras.layers.BatchNormalization(scale=True)(x)\r\n x = inceptionA_1(x, 128, 128, 128)\r\n x = inceptionA_2(x, 256, 256, 256)\r\n x = inceptionA_3(x, 728, 728, 728)\r\n x = inceptionB_1(x)\r\n x = inceptionB_2(x)\r\n x = inceptionB_3(x)\r\n x = inceptionB_4(x)\r\n x = inceptionB_5(x)\r\n x = inceptionB_6(x)\r\n x = inceptionB_7(x)\r\n x = inceptionB_8(x)\r\n x = inceptionA_4(x, 1024, 728, 1024)\r\n x = keras.layers.SeparableConv2D(filters=1536, kernel_size=[1,129], padding=\"same\", activation=\"relu\", use_bias=False, depth_multiplier=197)(x)\r\n\r\n output_tensor = keras.layers.Dense(units=class_num, activation=\"softmax\")(keras.layers.Flatten()(x))\r\n model = keras.models.Model(inputs=input_tensor, outputs=output_tensor)\r\n\r\n return model\r\n\r\n\r\ndef inceptionA_1(inputs, filters1, filters2, filters3):\r\n residual = keras.layers.Conv2D(filters=filters1, kernel_size=(1,1), strides=(2,2), padding=\"same\", use_bias=False, activation=\"elu\")(inputs)\r\n residual = keras.layers.BatchNormalization(epsilon=0.9364761010664258)(residual)\r\n\r\n x = keras.layers.SeparableConv2D(filters=filters2, kernel_size=(3,3), padding=\"same\", activation=\"relu\", use_bias=False, activity_regularizer=None)(inputs)\r\n x = keras.layers.BatchNormalization()(x)\r\n x = keras.layers.SeparableConv2D(filters=filters3, kernel_size=(3, 3), padding=\"same\")(x)\r\n x = keras.layers.BatchNormalization()(x)\r\n\r\n x = keras.layers.MaxPool2D(pool_size=(3, 3), strides=(2, 2), padding=\"same\")(x)\r\n\r\n # reshape\r\n target_height = inputs.shape[1]\r\n target_width = inputs.shape[2]\r\n x = keras.layers.Lambda(lambda x: tf.image.resize(x, (target_height, target_width)))(x)\r\n residual = keras.layers.Lambda(lambda x: tf.image.resize(x, (target_height, target_width)))(residual)\r\n\r\n outputs = keras.layers.add([x, residual])\r\n return outputs\r\n\r\n\r\ndef inceptionA_2(inputs, filters1, filters2, filters3):\r\n residual = keras.layers.Conv2D(filters=filters1, kernel_size=(1,1), strides=4, padding=\"same\", use_bias=False)(inputs)\r\n residual = keras.layers.Softmax(axis=2)(residual)\r\n\r\n x = keras.layers.MaxPool2D(padding=\"same\", strides=(3, 1))(inputs)\r\n x = keras.layers.BatchNormalization()(x)\r\n x = keras.layers.SeparableConv2D(filters=filters3, kernel_size=(3, 3), padding=\"same\")(x)\r\n x = keras.layers.BatchNormalization()(x)\r\n\r\n x = keras.layers.MaxPool2D(pool_size=(3, 3), strides=(2, 2), padding=\"same\")(x)\r\n\r\n # reshape\r\n target_height = inputs.shape[1]\r\n target_width = inputs.shape[2]\r\n x = keras.layers.Lambda(lambda x: tf.image.resize(x, (target_height, target_width)))(x)\r\n residual = keras.layers.Lambda(lambda x: tf.image.resize(x, (target_height, target_width)))(residual)\r\n\r\n outputs = keras.layers.add([x, residual])\r\n return outputs\r\n\r\n\r\ndef inceptionA_3(inputs, filters1, filters2, filters3):\r\n residual = keras.layers.Conv2D(filters=filters1, kernel_size=(1,1), strides=[2, 5], padding=\"same\", use_bias=False)(inputs)\r\n residual = keras.layers.BatchNormalization(center=False)(residual)\r\n\r\n x = keras.layers.SeparableConv2D(filters=filters2, kernel_size=(3,3), padding=\"same\", activation=\"relu\", use_bias=False, pointwise_constraint=None)(inputs)\r\n x = keras.layers.BatchNormalization()(x)\r\n x = keras.layers.SeparableConv2D(filters=filters3, kernel_size=(3, 3), padding=\"same\")(x)\r\n x = keras.layers.BatchNormalization()(x)\r\n\r\n x = keras.layers.MaxPool2D(pool_size=(3, 3), strides=(2, 2), padding=\"same\")(x)\r\n\r\n # reshape\r\n target_height = inputs.shape[1]\r\n target_width = inputs.shape[2]\r\n x = keras.layers.Lambda(lambda x: tf.image.resize(x, (target_height, target_width)))(x)\r\n residual = keras.layers.Lambda(lambda x: tf.image.resize(x, (target_height, target_width)))(residual)\r\n\r\n outputs = keras.layers.add([x, residual])\r\n return outputs\r\n\r\n\r\ndef inceptionB_1(inputs):\r\n residual = inputs\r\n x = keras.layers.SeparableConv2D(filters=728, kernel_size=128, padding=\"same\", activation=\"relu\", use_bias=False)(inputs)\r\n x = keras.layers.BatchNormalization(moving_mean_initializer=\"zeros\")(x)\r\n x = keras.layers.LayerNormalization(epsilon=0.4106811257892822)(x)\r\n x = keras.layers.BatchNormalization()(x)\r\n x = keras.layers.SeparableConv2D(filters=728, kernel_size=(3, 3), padding=\"same\", activation=\"relu\", use_bias=False)(x)\r\n x = keras.layers.BatchNormalization()(x)\r\n\r\n # reshape\r\n target_height = inputs.shape[1]\r\n target_width = inputs.shape[2]\r\n x = keras.layers.Lambda(lambda x: tf.image.resize(x, (target_height, target_width)))(x)\r\n residual = keras.layers.Lambda(lambda x: tf.image.resize(x, (target_height, target_width)))(residual)\r\n\r\n outputs = keras.layers.add([x, residual])\r\n return outputs\r\n\r\n\r\ndef inceptionB_2(inputs):\r\n residual = inputs\r\n x = keras.layers.SeparableConv2D(filters=728, kernel_size=(3,3), padding=\"same\", activation=\"relu\", use_bias=False, dilation_rate=[3, 1])(inputs)\r\n x = keras.layers.BatchNormalization(moving_variance_initializer=\"ones\")(x)\r\n x = keras.layers.SeparableConv2D(filters=728, kernel_size=(3,3), padding=\"same\", activation=\"relu\", use_bias=False)(x)\r\n x = keras.layers.BatchNormalization()(x)\r\n x = keras.layers.SeparableConv2D(filters=728, kernel_size=(3, 3), padding=\"same\", activation=\"relu\", use_bias=False)(x)\r\n x = keras.layers.BatchNormalization()(x)\r\n\r\n # reshape\r\n target_height = inputs.shape[1]\r\n target_width = inputs.shape[2]\r\n x = keras.layers.Lambda(lambda x: tf.image.resize(x, (target_height, target_width)))(x)\r\n residual = keras.layers.Lambda(lambda x: tf.image.resize(x, (target_height, target_width)))(residual)\r\n\r\n outputs = keras.layers.add([x, residual])\r\n return outputs\r\n\r\n\r\ndef inceptionB_3(inputs):\r\n residual = inputs\r\n x = keras.layers.SeparableConv2D(filters=728, kernel_size=(3,3), padding=\"valid\", activation=\"relu\", use_bias=False)(inputs)\r\n x = keras.layers.BatchNormalization(moving_mean_initializer=\"zeros\")(x)\r\n x = keras.layers.Activation(activation=\"hard_sigmoid\")(x)\r\n x = keras.layers.BatchNormalization()(x)\r\n x = keras.layers.SeparableConv2D(filters=728, kernel_size=(3, 3), padding=\"same\", activation=\"relu\", use_bias=False)(x)\r\n x = keras.layers.BatchNormalization()(x)\r\n\r\n # reshape\r\n target_height = inputs.shape[1]\r\n target_width = inputs.shape[2]\r\n x = keras.layers.Lambda(lambda x: tf.image.resize(x, (target_height, target_width)))(x)\r\n residual = keras.layers.Lambda(lambda x: tf.image.resize(x, (target_height, target_width)))(residual)\r\n\r\n outputs = keras.layers.add([x, residual])\r\n return outputs\r\n\r\n\r\ndef inceptionB_4(inputs):\r\n residual = inputs\r\n x = keras.layers.SeparableConv2D(filters=728, kernel_size=(3,3), padding=\"same\", activation=\"relu\", use_bias=False, depth_multiplier=40)(inputs)\r\n x = keras.layers.BatchNormalization(scale=False)(x)\r\n x = keras.layers.Conv2D(filters=728, kernel_size=(3,3), padding=\"same\", activation=\"relu\", use_bias=False, bias_initializer=\"zeros\")(x)\r\n x = keras.layers.BatchNormalization()(x)\r\n x = keras.layers.SeparableConv2D(filters=728, kernel_size=(3, 3), padding=\"same\", activation=\"relu\", use_bias=False)(x)\r\n x = keras.layers.BatchNormalization()(x)\r\n\r\n # reshape\r\n target_height = inputs.shape[1]\r\n target_width = inputs.shape[2]\r\n x = keras.layers.Lambda(lambda x: tf.image.resize(x, (target_height, target_width)))(x)\r\n residual = keras.layers.Lambda(lambda x: tf.image.resize(x, (target_height, target_width)))(residual)\r\n\r\n outputs = keras.layers.add([x, residual])\r\n return outputs\r\n\r\n\r\ndef inceptionB_5(inputs):\r\n residual = inputs\r\n x = keras.layers.Conv2D(filters=728, kernel_size=(3,3), padding=\"valid\", activation=\"relu\", use_bias=False)(inputs)\r\n x = keras.layers.BatchNormalization(moving_variance_initializer=\"ones\")(x)\r\n x = keras.layers.SeparableConv2D(filters=728, kernel_size=(3,3), padding=\"same\", activation=\"softmax\", use_bias=False)(x)\r\n x = keras.layers.BatchNormalization()(x)\r\n x = keras.layers.SeparableConv2D(filters=728, kernel_size=(3, 3), padding=\"same\", activation=\"relu\", use_bias=False)(x)\r\n x = keras.layers.BatchNormalization()(x)\r\n\r\n # reshape\r\n target_height = inputs.shape[1]\r\n target_width = inputs.shape[2]\r\n x = keras.layers.Lambda(lambda x: tf.image.resize(x, (target_height, target_width)))(x)\r\n residual = keras.layers.Lambda(lambda x: tf.image.resize(x, (target_height, target_width)))(residual)\r\n\r\n outputs = keras.layers.add([x, residual])\r\n return outputs\r\n\r\n\r\ndef inceptionB_6(inputs):\r\n residual = inputs\r\n x = keras.layers.Dense(activation=\"relu\", use_bias=False, units=8102)(inputs)\r\n x = keras.layers.BatchNormalization(scale=False)(x)\r\n x = keras.layers.BatchNormalization(center=False)(x)\r\n x = keras.layers.BatchNormalization()(x)\r\n x = keras.layers.SeparableConv2D(filters=728, kernel_size=(3, 3), padding=\"same\", activation=\"relu\", use_bias=False)(x)\r\n x = keras.layers.BatchNormalization()(x)\r\n\r\n # reshape\r\n target_height = inputs.shape[1]\r\n target_width = inputs.shape[2]\r\n x = keras.layers.Lambda(lambda x: tf.image.resize(x, (target_height, target_width)))(x)\r\n residual = keras.layers.Lambda(lambda x: tf.image.resize(x, (target_height, target_width)))(residual)\r\n\r\n outputs = keras.layers.add([x, residual])\r\n return outputs\r\n\r\n\r\ndef inceptionB_7(inputs):\r\n residual = inputs\r\n x = keras.layers.SeparableConv2D(filters=728, kernel_size=(3,3), padding=\"same\", activation=\"relu\", use_bias=False)(inputs)\r\n x = keras.layers.BatchNormalization(scale=False)(x)\r\n x = keras.layers.Conv2D(filters=728, kernel_size=(3,3), padding=\"same\", activation=\"relu\", use_bias=False, dilation_rate=5)(x)\r\n x = keras.layers.BatchNormalization()(x)\r\n x = keras.layers.SeparableConv2D(filters=728, kernel_size=(3, 3), padding=\"same\", activation=\"relu\", use_bias=False)(x)\r\n x = keras.layers.BatchNormalization()(x)\r\n\r\n # reshape\r\n target_height = inputs.shape[1]\r\n target_width = inputs.shape[2]\r\n x = keras.layers.Lambda(lambda x: tf.image.resize(x, (target_height, target_width)))(x)\r\n residual = keras.layers.Lambda(lambda x: tf.image.resize(x, (target_height, target_width)))(residual)\r\n\r\n outputs = keras.layers.add([x, residual])\r\n return outputs\r\n\r\n\r\ndef inceptionB_8(inputs):\r\n residual = inputs\r\n x = keras.layers.SeparableConv2D(filters=728, kernel_size=104, padding=\"same\", activation=\"relu\", use_bias=False)(inputs)\r\n x = keras.layers.Dropout(rate=0.7893636098463078, noise_shape=None)(x)\r\n x = keras.layers.Conv2DTranspose(filters=728, kernel_size=(3,3), padding=\"same\", activation=\"relu\", use_bias=False, strides=(1, 5))(x)\r\n x = keras.layers.BatchNormalization()(x)\r\n x = keras.layers.SeparableConv2D(filters=728, kernel_size=(3, 3), padding=\"same\", activation=\"relu\", use_bias=False)(x)\r\n x = keras.layers.BatchNormalization()(x)\r\n\r\n # reshape\r\n target_height = inputs.shape[1]\r\n target_width = inputs.shape[2]\r\n x = keras.layers.Lambda(lambda x: tf.image.resize(x, (target_height, target_width)))(x)\r\n residual = keras.layers.Lambda(lambda x: tf.image.resize(x, (target_height, target_width)))(residual)\r\n\r\n outputs = keras.layers.add([x, residual])\r\n return outputs\r\n\r\n\r\ndef inceptionA_4(inputs, filters1, filters2, filters3):\r\n residual = keras.layers.Conv2DTranspose(filters=filters1, kernel_size=(1,1), strides=(2,2), padding=\"same\", use_bias=False)(inputs)\r\n residual = keras.layers.BatchNormalization(momentum=0.9838259077650016)(residual)\r\n\r\n x = keras.layers.SeparableConv2D(filters=filters2, kernel_size=(3,3), padding=\"same\", activation=\"exponential\", use_bias=False)(inputs)\r\n x = keras.layers.BatchNormalization()(x)\r\n x = keras.layers.SeparableConv2D(filters=filters3, kernel_size=(3, 3), padding=\"same\")(x)\r\n x = keras.layers.BatchNormalization()(x)\r\n\r\n x = keras.layers.MaxPool2D(pool_size=(3, 3), strides=(2, 2), padding=\"same\")(x)\r\n\r\n # reshape\r\n target_height = inputs.shape[1]\r\n target_width = inputs.shape[2]\r\n x = keras.layers.Lambda(lambda x: tf.image.resize(x, (target_height, target_width)))(x)\r\n residual = keras.layers.Lambda(lambda x: tf.image.resize(x, (target_height, target_width)))(residual)\r\n\r\n outputs = keras.layers.add([x, residual])\r\n return outputs\r\n\r\n```\r\n\r\n```py\r\n# main.py\r\nimport os\r\nimport time\r\nfrom importlib import import_module\r\nfrom pathlib import Path\r\nimport tensorflow as tf\r\n\r\n\r\ndef run(model_name):\r\n module = import_module(model_name)\r\n getattr(module, model_name)()\r\n # getattr(module, model_name)().summary()\r\n tf.keras.backend.clear_session()\r\n\r\n\r\nif __name__ == \"__main__\":\r\n parent_directory = Path(__file__).resolve().parent\r\n\r\n model_name = \"demonet\"\r\n model_file_path = parent_directory / (model_name + \".py\")\r\n\r\n run(model_name)\r\n print(\"Model demo DONE\")\r\n\r\n for i in range(1000):\r\n\r\n new_file_path = parent_directory / (model_name + \"_{}.py\".format(i))\r\n with Path.open(model_file_path, \"r\") as file:\r\n content = file.read()\r\n\r\n new_content = content.replace(model_name, (model_name + \"_{}\".format(i)))\r\n\r\n with Path.open(new_file_path, \"w\") as file:\r\n file.write(new_content)\r\n\r\n run((model_name + \"_{}\".format(i)))\r\n print(\"Model {} DONE\".format(i))\r\n time.sleep(1)\r\n\r\n```\r\n\r\nAnd from the output of the named suffixes in `summary()`, the process of convolution, pooling and so on is also cumulative, not a set of named suffixes for a model.\r\n\r\nHere I posted my error details\r\n\r\n```\r\n2023-07-20 05:51:24.067591: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3a6800 of size 256 next 1134\r\n2023-07-20 05:51:24.067598: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3a6900 of size 256 next 1135\r\n2023-07-20 05:51:24.067606: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3a6a00 of size 256 next 1136\r\n2023-07-20 05:51:24.067612: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3a6b00 of size 256 next 1137\r\n2023-07-20 05:51:24.067619: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3a6c00 of size 256 next 1138\r\n2023-07-20 05:51:24.067626: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3a6d00 of size 512 next 1139\r\n2023-07-20 05:51:24.067633: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3a6f00 of size 512 next 1140\r\n2023-07-20 05:51:24.067640: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3a7100 of size 512 next 1143\r\n2023-07-20 05:51:24.067647: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3a7300 of size 512 next 1144\r\n2023-07-20 05:51:24.067654: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3a7500 of size 256 next 1145\r\n2023-07-20 05:51:24.067661: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3a7600 of size 256 next 1146\r\n2023-07-20 05:51:24.067668: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3a7700 of size 768 next 1141\r\n2023-07-20 05:51:24.067674: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3a7a00 of size 1536 next 1142\r\n2023-07-20 05:51:24.067679: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3a8000 of size 512 next 1147\r\n2023-07-20 05:51:24.067686: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3a8200 of size 512 next 1150\r\n2023-07-20 05:51:24.067693: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3a8400 of size 512 next 1151\r\n2023-07-20 05:51:24.067701: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3a8600 of size 512 next 1152\r\n2023-07-20 05:51:24.067708: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3a8800 of size 512 next 1156\r\n2023-07-20 05:51:24.067715: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3a8a00 of size 512 next 1148\r\n2023-07-20 05:51:24.067722: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3a8c00 of size 1536 next 1149\r\n2023-07-20 05:51:24.067729: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3a9200 of size 512 next 1157\r\n2023-07-20 05:51:24.067736: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3a9400 of size 512 next 1158\r\n2023-07-20 05:51:24.067742: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3a9600 of size 512 next 1160\r\n2023-07-20 05:51:24.067750: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3a9800 of size 512 next 1161\r\n2023-07-20 05:51:24.067755: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3a9a00 of size 512 next 1162\r\n2023-07-20 05:51:24.067762: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3a9c00 of size 512 next 1163\r\n2023-07-20 05:51:24.067769: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3a9e00 of size 1024 next 1170\r\n2023-07-20 05:51:24.067776: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3aa200 of size 3072 next 1172\r\n2023-07-20 05:51:24.067783: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3aae00 of size 3840 next 279\r\n2023-07-20 05:51:24.067790: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3abd00 of size 4096 next 301\r\n2023-07-20 05:51:24.067797: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3acd00 of size 4096 next 295\r\n2023-07-20 05:51:24.067803: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3add00 of size 512 next 310\r\n2023-07-20 05:51:24.067810: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3adf00 of size 512 next 296\r\n2023-07-20 05:51:24.067817: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3ae100 of size 512 next 350\r\n2023-07-20 05:51:24.067824: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3ae300 of size 1536 next 189\r\n2023-07-20 05:51:24.067830: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3ae900 of size 512 next 329\r\n2023-07-20 05:51:24.067837: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3aeb00 of size 512 next 319\r\n2023-07-20 05:51:24.067844: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3aed00 of size 512 next 248\r\n2023-07-20 05:51:24.067851: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3aef00 of size 1536 next 332\r\n2023-07-20 05:51:24.067857: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3af500 of size 512 next 338\r\n2023-07-20 05:51:24.067864: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3af700 of size 512 next 270\r\n2023-07-20 05:51:24.067871: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3af900 of size 512 next 339\r\n2023-07-20 05:51:24.067878: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3afb00 of size 512 next 321\r\n2023-07-20 05:51:24.067884: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3afd00 of size 512 next 322\r\n2023-07-20 05:51:24.067891: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3aff00 of size 512 next 297\r\n2023-07-20 05:51:24.067898: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3b0100 of size 512 next 351\r\n2023-07-20 05:51:24.067905: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3b0300 of size 1024 next 432\r\n2023-07-20 05:51:24.067912: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3b0700 of size 3072 next 245\r\n2023-07-20 05:51:24.067919: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3b1300 of size 4352 next 278\r\n2023-07-20 05:51:24.067926: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3b2400 of size 4608 next 1153\r\n2023-07-20 05:51:24.067933: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3b3600 of size 1024 next 1167\r\n2023-07-20 05:51:24.067939: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3b3a00 of size 1024 next 1168\r\n2023-07-20 05:51:24.067946: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3b3e00 of size 1024 next 1169\r\n2023-07-20 05:51:24.067953: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3b4200 of size 1536 next 1164\r\n2023-07-20 05:51:24.067960: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3b4800 of size 4608 next 1165\r\n2023-07-20 05:51:24.067966: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3b5a00 of size 3072 next 1173\r\n2023-07-20 05:51:24.067973: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3b6600 of size 3072 next 1174\r\n2023-07-20 05:51:24.067980: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3b7200 of size 3072 next 1175\r\n2023-07-20 05:51:24.067987: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3b7e00 of size 5120 next 306\r\n2023-07-20 05:51:24.067994: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3b9200 of size 65536 next 328\r\n2023-07-20 05:51:24.068001: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d3c9200 of size 226304 next 313\r\n2023-07-20 05:51:24.068007: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d400600 of size 131072 next 1159\r\n2023-07-20 05:51:24.068014: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d420600 of size 131072 next 1166\r\n2023-07-20 05:51:24.068021: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d440600 of size 3072 next 1231\r\n2023-07-20 05:51:24.068028: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d441200 of size 3072 next 1232\r\n2023-07-20 05:51:24.068035: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d441e00 of size 3072 next 1233\r\n2023-07-20 05:51:24.068042: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d442a00 of size 3072 next 1234\r\n2023-07-20 05:51:24.068048: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d443600 of size 3072 next 1238\r\n2023-07-20 05:51:24.068055: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d444200 of size 3072 next 1239\r\n2023-07-20 05:51:24.068062: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d444e00 of size 3072 next 1240\r\n2023-07-20 05:51:24.068069: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d445a00 of size 4864 next 1228\r\n2023-07-20 05:51:24.068076: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d446d00 of size 26368 next 1229\r\n2023-07-20 05:51:24.068082: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d44d400 of size 3072 next 1256\r\n2023-07-20 05:51:24.068089: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d44e000 of size 3072 next 1257\r\n2023-07-20 05:51:24.068096: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d44ec00 of size 46592 next 1247\r\n2023-07-20 05:51:24.068103: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d45a200 of size 26368 next 1248\r\n2023-07-20 05:51:24.068110: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d460900 of size 3072 next 1261\r\n2023-07-20 05:51:24.068117: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d461500 of size 3072 next 1262\r\n2023-07-20 05:51:24.068124: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d462100 of size 3072 next 1263\r\n2023-07-20 05:51:24.068130: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d462d00 of size 3072 next 1264\r\n2023-07-20 05:51:24.068137: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d463900 of size 3072 next 1267\r\n2023-07-20 05:51:24.068144: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d464500 of size 3072 next 1268\r\n2023-07-20 05:51:24.068151: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d465100 of size 3072 next 1269\r\n2023-07-20 05:51:24.068158: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d465d00 of size 4864 next 1258\r\n2023-07-20 05:51:24.068164: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d467000 of size 26368 next 1259\r\n2023-07-20 05:51:24.068172: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d46d700 of size 41216 next 154\r\n2023-07-20 05:51:24.068179: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f7d477800 of size 47710208 next 453\r\n2023-07-20 05:51:24.068186: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f801f7800 of size 31496192 next 697\r\n2023-07-20 05:51:24.068193: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f82001000 of size 31496192 next 881\r\n2023-07-20 05:51:24.068200: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f83e0a800 of size 55185408 next 120\r\n2023-07-20 05:51:24.068207: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f872ab800 of size 170836992 next 367\r\n2023-07-20 05:51:24.068214: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91597c00 of size 2119936 next 1216\r\n2023-07-20 05:51:24.068222: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f9179d500 of size 2119936 next 1220\r\n2023-07-20 05:51:24.068229: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f919a2e00 of size 2119936 next 1230\r\n2023-07-20 05:51:24.068236: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91ba8700 of size 745472 next 275\r\n2023-07-20 05:51:24.068243: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91c5e700 of size 131072 next 6\r\n2023-07-20 05:51:24.068250: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91c7e700 of size 131072 next 354\r\n2023-07-20 05:51:24.068258: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91c9e700 of size 26368 next 669\r\n2023-07-20 05:51:24.068265: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91ca4e00 of size 26368 next 442\r\n2023-07-20 05:51:24.068272: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91cab500 of size 3072 next 464\r\n2023-07-20 05:51:24.068278: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91cac100 of size 3072 next 421\r\n2023-07-20 05:51:24.068285: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91cacd00 of size 3072 next 420\r\n2023-07-20 05:51:24.068292: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91cad900 of size 3072 next 422\r\n2023-07-20 05:51:24.068299: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91cae500 of size 3072 next 410\r\n2023-07-20 05:51:24.068306: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91caf100 of size 3072 next 114\r\n2023-07-20 05:51:24.068313: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91cafd00 of size 3072 next 417\r\n2023-07-20 05:51:24.068319: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91cb0900 of size 4864 next 403\r\n2023-07-20 05:51:24.068327: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91cb1c00 of size 26368 next 528\r\n2023-07-20 05:51:24.068333: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91cb8300 of size 3072 next 425\r\n2023-07-20 05:51:24.068340: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91cb8f00 of size 3072 next 413\r\n2023-07-20 05:51:24.068347: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91cb9b00 of size 3072 next 414\r\n2023-07-20 05:51:24.068353: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91cba700 of size 3072 next 558\r\n2023-07-20 05:51:24.068360: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91cbb300 of size 3072 next 426\r\n2023-07-20 05:51:24.068367: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91cbbf00 of size 3072 next 427\r\n2023-07-20 05:51:24.068374: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91cbcb00 of size 3072 next 454\r\n2023-07-20 05:51:24.068381: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91cbd700 of size 4864 next 416\r\n2023-07-20 05:51:24.068388: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91cbea00 of size 26368 next 412\r\n2023-07-20 05:51:24.068395: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91cc5100 of size 3072 next 387\r\n2023-07-20 05:51:24.068402: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91cc5d00 of size 3072 next 491\r\n2023-07-20 05:51:24.068408: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91cc6900 of size 3072 next 492\r\n2023-07-20 05:51:24.068415: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91cc7500 of size 3072 next 446\r\n2023-07-20 05:51:24.068422: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91cc8100 of size 3072 next 448\r\n2023-07-20 05:51:24.068429: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91cc8d00 of size 3072 next 108\r\n2023-07-20 05:51:24.068436: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91cc9900 of size 3072 next 389\r\n2023-07-20 05:51:24.068443: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91cca500 of size 4864 next 394\r\n2023-07-20 05:51:24.068450: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91ccb800 of size 26368 next 393\r\n2023-07-20 05:51:24.068457: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91cd1f00 of size 3072 next 5\r\n2023-07-20 05:51:24.068464: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91cd2b00 of size 3072 next 391\r\n2023-07-20 05:51:24.068471: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91cd3700 of size 3072 next 445\r\n2023-07-20 05:51:24.068478: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91cd4300 of size 3072 next 508\r\n2023-07-20 05:51:24.068483: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91cd4f00 of size 3072 next 524\r\n2023-07-20 05:51:24.068490: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91cd5b00 of size 3072 next 472\r\n2023-07-20 05:51:24.068497: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91cd6700 of size 3072 next 559\r\n2023-07-20 05:51:24.068504: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91cd7300 of size 4864 next 428\r\n2023-07-20 05:51:24.068511: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91cd8600 of size 26368 next 447\r\n2023-07-20 05:51:24.068518: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91cded00 of size 57856 next 223\r\n2023-07-20 05:51:24.068526: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91cecf00 of size 291840 next 124\r\n2023-07-20 05:51:24.068662: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d34300 of size 3072 next 78\r\n2023-07-20 05:51:24.068669: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d34f00 of size 3072 next 370\r\n2023-07-20 05:51:24.068676: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d35b00 of size 3072 next 379\r\n2023-07-20 05:51:24.068683: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d36700 of size 3072 next 378\r\n2023-07-20 05:51:24.068690: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d37300 of size 4096 next 47\r\n2023-07-20 05:51:24.068697: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d38300 of size 4096 next 365\r\n2023-07-20 05:51:24.068704: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d39300 of size 5888 next 148\r\n2023-07-20 05:51:24.068712: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d3aa00 of size 26368 next 80\r\n2023-07-20 05:51:24.068718: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d41100 of size 4096 next 366\r\n2023-07-20 05:51:24.068725: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d42100 of size 4096 next 128\r\n2023-07-20 05:51:24.068732: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d43100 of size 4096 next 71\r\n2023-07-20 05:51:24.068739: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d44100 of size 256 next 69\r\n2023-07-20 05:51:24.068746: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d44200 of size 256 next 32\r\n2023-07-20 05:51:24.068753: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d44300 of size 256 next 49\r\n2023-07-20 05:51:24.068760: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d44400 of size 256 next 90\r\n2023-07-20 05:51:24.068767: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d44500 of size 256 next 36\r\n2023-07-20 05:51:24.068774: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d44600 of size 256 next 66\r\n2023-07-20 05:51:24.068781: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d44700 of size 256 next 121\r\n2023-07-20 05:51:24.068788: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d44800 of size 512 next 38\r\n2023-07-20 05:51:24.068795: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d44a00 of size 512 next 109\r\n2023-07-20 05:51:24.068801: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d44c00 of size 512 next 546\r\n2023-07-20 05:51:24.068808: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d44e00 of size 512 next 452\r\n2023-07-20 05:51:24.068815: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d45000 of size 256 next 175\r\n2023-07-20 05:51:24.068822: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d45100 of size 256 next 369\r\n2023-07-20 05:51:24.068829: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d45200 of size 768 next 106\r\n2023-07-20 05:51:24.068836: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d45500 of size 1536 next 60\r\n2023-07-20 05:51:24.068843: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d45b00 of size 512 next 17\r\n2023-07-20 05:51:24.068850: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d45d00 of size 512 next 238\r\n2023-07-20 05:51:24.068857: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d45f00 of size 512 next 62\r\n2023-07-20 05:51:24.068864: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d46100 of size 512 next 7\r\n2023-07-20 05:51:24.068870: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d46300 of size 512 next 360\r\n2023-07-20 05:51:24.068877: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d46500 of size 512 next 115\r\n2023-07-20 05:51:24.068884: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d46700 of size 1536 next 42\r\n2023-07-20 05:51:24.068891: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d46d00 of size 512 next 488\r\n2023-07-20 05:51:24.068898: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d46f00 of size 512 next 100\r\n2023-07-20 05:51:24.068905: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d47100 of size 512 next 107\r\n2023-07-20 05:51:24.068912: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d47300 of size 512 next 67\r\n2023-07-20 05:51:24.068919: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d47500 of size 768 next 77\r\n2023-07-20 05:51:24.068926: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d47800 of size 26368 next 24\r\n2023-07-20 05:51:24.068933: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d4df00 of size 3072 next 358\r\n2023-07-20 05:51:24.068940: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d4eb00 of size 3072 next 126\r\n2023-07-20 05:51:24.068990: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d4f700 of size 3072 next 215\r\n2023-07-20 05:51:24.068997: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d50300 of size 3072 next 253\r\n2023-07-20 05:51:24.069004: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d50f00 of size 3072 next 388\r\n2023-07-20 05:51:24.069011: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d51b00 of size 3072 next 435\r\n2023-07-20 05:51:24.069018: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d52700 of size 9216 next 380\r\n2023-07-20 05:51:24.069025: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d54b00 of size 3072 next 808\r\n2023-07-20 05:51:24.069032: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d55700 of size 3072 next 659\r\n2023-07-20 05:51:24.069039: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d56300 of size 3072 next 8\r\n2023-07-20 05:51:24.069046: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d56f00 of size 3072 next 493\r\n2023-07-20 05:51:24.069053: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d57b00 of size 3072 next 384\r\n2023-07-20 05:51:24.069060: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d58700 of size 3072 next 374\r\n2023-07-20 05:51:24.069067: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d59300 of size 3072 next 331\r\n2023-07-20 05:51:24.069073: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d59f00 of size 3072 next 409\r\n2023-07-20 05:51:24.069080: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d5ab00 of size 3072 next 439\r\n2023-07-20 05:51:24.069087: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d5b700 of size 3072 next 440\r\n2023-07-20 05:51:24.069094: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d5c300 of size 3072 next 133\r\n2023-07-20 05:51:24.069101: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d5cf00 of size 3072 next 441\r\n2023-07-20 05:51:24.069108: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d5db00 of size 3072 next 34\r\n2023-07-20 05:51:24.069115: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d5e700 of size 3072 next 207\r\n2023-07-20 05:51:24.069122: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d5f300 of size 3072 next 26\r\n2023-07-20 05:51:24.069128: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d5ff00 of size 3072 next 177\r\n2023-07-20 05:51:24.069135: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d60b00 of size 3584 next 315\r\n2023-07-20 05:51:24.069142: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d61900 of size 50688 next 542\r\n2023-07-20 05:51:24.069149: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d6df00 of size 65536 next 136\r\n2023-07-20 05:51:24.069156: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d7df00 of size 3072 next 390\r\n2023-07-20 05:51:24.069163: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d7eb00 of size 3072 next 429\r\n2023-07-20 05:51:24.069170: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d7f700 of size 46592 next 740\r\n2023-07-20 05:51:24.069177: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d8ad00 of size 26368 next 385\r\n2023-07-20 05:51:24.069184: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d91400 of size 26368 next 724\r\n2023-07-20 05:51:24.069191: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d97b00 of size 3072 next 93\r\n2023-07-20 05:51:24.069198: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d98700 of size 3072 next 86\r\n2023-07-20 05:51:24.069706: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d99300 of size 3072 next 94\r\n2023-07-20 05:51:24.069715: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d99f00 of size 3072 next 88\r\n2023-07-20 05:51:24.069722: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d9ab00 of size 3072 next 362\r\n2023-07-20 05:51:24.069729: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d9b700 of size 3072 next 363\r\n2023-07-20 05:51:24.069736: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d9c300 of size 3072 next 549\r\n2023-07-20 05:51:24.069742: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d9cf00 of size 4864 next 431\r\n2023-07-20 05:51:24.069750: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91d9e200 of size 26368 next 399\r\n2023-07-20 05:51:24.069757: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91da4900 of size 3072 next 371\r\n2023-07-20 05:51:24.069763: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91da5500 of size 3072 next 28\r\n2023-07-20 05:51:24.069770: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91da6100 of size 3072 next 372\r\n2023-07-20 05:51:24.069777: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91da6d00 of size 3072 next 373\r\n2023-07-20 05:51:24.069784: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91da7900 of size 3072 next 419\r\n2023-07-20 05:51:24.069791: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91da8500 of size 3072 next 418\r\n2023-07-20 05:51:24.069798: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91da9100 of size 3072 next 392\r\n2023-07-20 05:51:24.069805: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91da9d00 of size 3072 next 406\r\n2023-07-20 05:51:24.069811: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91daa900 of size 3072 next 459\r\n2023-07-20 05:51:24.069818: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91dab500 of size 3072 next 423\r\n2023-07-20 05:51:24.069825: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91dac100 of size 3072 next 415\r\n2023-07-20 05:51:24.069833: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91dacd00 of size 4864 next 1246\r\n2023-07-20 05:51:24.069840: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91dae000 of size 2119936 next 1249\r\n2023-07-20 05:51:24.069847: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f91fb3900 of size 2119936 next 1260\r\n2023-07-20 05:51:24.069854: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f921b9200 of size 2119936 next 1266\r\n2023-07-20 05:51:24.069861: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f923beb00 of size 2119936 next 1287\r\n2023-07-20 05:51:24.069868: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f925c4400 of size 2119936 next 1300\r\n2023-07-20 05:51:24.069875: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f927c9d00 of size 2119936 next 1305\r\n2023-07-20 05:51:24.069882: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f929cf600 of size 2119936 next 646\r\n2023-07-20 05:51:24.069889: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f92bd4f00 of size 2119936 next 693\r\n2023-07-20 05:51:24.069896: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f92dda800 of size 2119936 next 683\r\n2023-07-20 05:51:24.069903: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f92fe0100 of size 2119936 next 1018\r\n2023-07-20 05:51:24.069910: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f931e5a00 of size 2119936 next 704\r\n2023-07-20 05:51:24.069916: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f933eb300 of size 2981888 next 485\r\n2023-07-20 05:51:24.069924: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f936c3300 of size 5497856 next 584\r\n2023-07-20 05:51:24.069931: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f93c01700 of size 19079424 next 569\r\n2023-07-20 05:51:24.069938: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f94e33800 of size 19079424 next 545\r\n2023-07-20 05:51:24.069945: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f96065900 of size 2981888 next 723\r\n2023-07-20 05:51:24.069952: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f9633d900 of size 2981888 next 713\r\n2023-07-20 05:51:24.069959: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f96615900 of size 2119936 next 774\r\n2023-07-20 05:51:24.069965: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f9681b200 of size 2119936 next 761\r\n2023-07-20 05:51:24.069972: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f96a20b00 of size 2119936 next 813\r\n2023-07-20 05:51:24.069979: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f96c26400 of size 2119936 next 827\r\n2023-07-20 05:51:24.069986: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f96e2bd00 of size 2119936 next 801\r\n2023-07-20 05:51:24.069993: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f97031600 of size 1048320 next 846\r\n2023-07-20 05:51:24.070000: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] Free at 7f9f97131500 of size 1467648 next 671\r\n2023-07-20 05:51:24.070007: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f97297a00 of size 27773952 next 696\r\n2023-07-20 05:51:24.070014: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f98d14600 of size 104091648 next 739\r\n2023-07-20 05:51:24.070021: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9f9f059600 of size 84797440 next 627\r\n2023-07-20 05:51:24.070029: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9fa4137e00 of size 23593216 next 728\r\n2023-07-20 05:51:24.070035: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9fa57b7f00 of size 23593216 next 644\r\n2023-07-20 05:51:24.070042: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9fa6e38000 of size 19079424 next 648\r\n2023-07-20 05:51:24.070049: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] Free at 7f9fa806a100 of size 2119936 next 772\r\n2023-07-20 05:51:24.070056: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9fa826fa00 of size 2119936 next 815\r\n2023-07-20 05:51:24.070063: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9fa8475300 of size 2119936 next 833\r\n2023-07-20 05:51:24.070070: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9fa867ac00 of size 2119936 next 824\r\n2023-07-20 05:51:24.070077: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9fa8880500 of size 2119936 next 591\r\n2023-07-20 05:51:24.070084: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9fa8a85e00 of size 2119936 next 899\r\n2023-07-20 05:51:24.070092: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9fa8c8b700 of size 2119936 next 905\r\n2023-07-20 05:51:24.070097: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9fa8e91000 of size 2119936 next 880\r\n2023-07-20 05:51:24.070104: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] Free at 7f9fa9096900 of size 2119936 next 816\r\n2023-07-20 05:51:24.070111: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9fa929c200 of size 19785728 next 162\r\n2023-07-20 05:51:24.070118: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9faa57aa00 of size 256 next 163\r\n2023-07-20 05:51:24.070125: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7f9faa57ab00 of size 1239416832 next 997\r\n2023-07-20 05:51:24.070132: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] Free at 7f9ff437ab00 of size 563326208 next 228\r\n2023-07-20 05:51:24.070140: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7fa015cb5800 of size 1374464 next 436\r\n2023-07-20 05:51:24.070145: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7fa015e05100 of size 1239416832 next 314\r\n2023-07-20 05:51:24.070153: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7fa05fc05100 of size 1239416832 next 203\r\n2023-07-20 05:51:24.070160: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7fa0a9a05100 of size 1239416832 next 443\r\n2023-07-20 05:51:24.070167: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7fa0f3805100 of size 1239416832 next 685\r\n2023-07-20 05:51:24.070174: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] Free at 7fa13d605100 of size 2981888 next 908\r\n2023-07-20 05:51:24.070181: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7fa13d8dd100 of size 2981888 next 928\r\n2023-07-20 05:51:24.070188: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] Free at 7fa13dbb5100 of size 2981888 next 1093\r\n2023-07-20 05:51:24.070195: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7fa13de8d100 of size 2981888 next 1015\r\n2023-07-20 05:51:24.070201: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] Free at 7fa13e165100 of size 7151872 next 849\r\n2023-07-20 05:51:24.070209: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7fa13e837200 of size 28630784 next 859\r\n2023-07-20 05:51:24.070216: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7fa140385100 of size 47710208 next 878\r\n2023-07-20 05:51:24.070223: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] Free at 7fa143105100 of size 23593216 next 812\r\n2023-07-20 05:51:24.070230: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7fa144785200 of size 46874368 next 735\r\n2023-07-20 05:51:24.070237: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7fa147439100 of size 165888000 next 745\r\n2023-07-20 05:51:24.070244: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] Free at 7fa15126d100 of size 208183296 next 1003\r\n2023-07-20 05:51:24.070251: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] InUse at 7fa15d8f7100 of size 104091648 next 1006\r\n2023-07-20 05:51:24.070259: I tensorflow/core/common_runtime/bfc_allocator.cc:1066] Free at 7fa163c3c100 of size 977551104 next 18446744073709551615\r\n2023-07-20 05:51:24.070266: I tensorflow/core/common_runtime/bfc_allocator.cc:1071] Summary of in-use Chunks by size: \r\n2023-07-20 05:51:24.070275: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 90 Chunks of size 256 totalling 22.5KiB\r\n2023-07-20 05:51:24.070283: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 78 Chunks of size 512 totalling 39.0KiB\r\n2023-07-20 05:51:24.070291: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 7 Chunks of size 768 totalling 5.2KiB\r\n2023-07-20 05:51:24.070299: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 20 Chunks of size 1024 totalling 20.0KiB\r\n2023-07-20 05:51:24.070306: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 1 Chunks of size 1280 totalling 1.2KiB\r\n2023-07-20 05:51:24.070314: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 15 Chunks of size 1536 totalling 22.5KiB\r\n2023-07-20 05:51:24.070321: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 460 Chunks of size 3072 totalling 1.35MiB\r\n2023-07-20 05:51:24.070329: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 3 Chunks of size 3584 totalling 10.5KiB\r\n2023-07-20 05:51:24.070337: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 2 Chunks of size 3840 totalling 7.5KiB\r\n2023-07-20 05:51:24.070345: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 44 Chunks of size 4096 totalling 176.0KiB\r\n2023-07-20 05:51:24.070351: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 3 Chunks of size 4352 totalling 12.8KiB\r\n2023-07-20 05:51:24.070360: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 13 Chunks of size 4608 totalling 58.5KiB\r\n2023-07-20 05:51:24.070367: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 33 Chunks of size 4864 totalling 156.8KiB\r\n2023-07-20 05:51:24.070375: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 2 Chunks of size 5120 totalling 10.0KiB\r\n2023-07-20 05:51:24.070383: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 2 Chunks of size 5376 totalling 10.5KiB\r\n2023-07-20 05:51:24.070390: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 11 Chunks of size 5888 totalling 63.2KiB\r\n2023-07-20 05:51:24.070398: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 1 Chunks of size 6144 totalling 6.0KiB\r\n2023-07-20 05:51:24.070405: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 4 Chunks of size 9216 totalling 36.0KiB\r\n2023-07-20 05:51:24.070413: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 1 Chunks of size 12800 totalling 12.5KiB\r\n2023-07-20 05:51:24.070421: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 62 Chunks of size 26368 totalling 1.56MiB\r\n2023-07-20 05:51:24.070428: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 4 Chunks of size 28160 totalling 110.0KiB\r\n2023-07-20 05:51:24.070436: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 52 Chunks of size 32512 totalling 1.61MiB\r\n2023-07-20 05:51:24.070444: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 1 Chunks of size 39168 totalling 38.2KiB\r\n2023-07-20 05:51:24.070451: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 1 Chunks of size 41216 totalling 40.2KiB\r\n2023-07-20 05:51:24.070459: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 1 Chunks of size 42496 totalling 41.5KiB\r\n2023-07-20 05:51:24.070467: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 1 Chunks of size 43520 totalling 42.5KiB\r\n2023-07-20 05:51:24.070475: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 1 Chunks of size 45568 totalling 44.5KiB\r\n2023-07-20 05:51:24.070482: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 5 Chunks of size 46592 totalling 227.5KiB\r\n2023-07-20 05:51:24.070490: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 1 Chunks of size 47872 totalling 46.8KiB\r\n2023-07-20 05:51:24.070498: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 2 Chunks of size 50688 totalling 99.0KiB\r\n2023-07-20 05:51:24.070506: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 1 Chunks of size 51968 totalling 50.8KiB\r\n2023-07-20 05:51:24.070514: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 1 Chunks of size 52480 totalling 51.2KiB\r\n2023-07-20 05:51:24.070521: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 1 Chunks of size 57856 totalling 56.5KiB\r\n2023-07-20 05:51:24.070529: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 1 Chunks of size 64768 totalling 63.2KiB\r\n2023-07-20 05:51:24.070537: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 5 Chunks of size 65536 totalling 320.0KiB\r\n2023-07-20 05:51:24.070544: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 9 Chunks of size 131072 totalling 1.12MiB\r\n2023-07-20 05:51:24.070552: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 1 Chunks of size 226304 totalling 221.0KiB\r\n2023-07-20 05:51:24.070561: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 4 Chunks of size 291840 totalling 1.11MiB\r\n2023-07-20 05:51:24.070569: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 1 Chunks of size 410368 totalling 400.8KiB\r\n2023-07-20 05:51:24.070577: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 6 Chunks of size 745472 totalling 4.27MiB\r\n2023-07-20 05:51:24.070584: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 4 Chunks of size 1048320 totalling 4.00MiB\r\n2023-07-20 05:51:24.070592: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 1 Chunks of size 1071616 totalling 1.02MiB\r\n2023-07-20 05:51:24.070600: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 2 Chunks of size 1188096 totalling 2.27MiB\r\n2023-07-20 05:51:24.070607: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 2 Chunks of size 1374464 totalling 2.62MiB\r\n2023-07-20 05:51:24.070615: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 68 Chunks of size 2119936 totalling 137.48MiB\r\n2023-07-20 05:51:24.070623: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 2 Chunks of size 2912000 totalling 5.55MiB\r\n2023-07-20 05:51:24.070631: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 13 Chunks of size 2981888 totalling 36.97MiB\r\n2023-07-20 05:51:24.070638: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 1 Chunks of size 3656960 totalling 3.49MiB\r\n2023-07-20 05:51:24.070646: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 1 Chunks of size 3748352 totalling 3.57MiB\r\n2023-07-20 05:51:24.070654: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 2 Chunks of size 3843840 totalling 7.33MiB\r\n2023-07-20 05:51:24.070662: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 1 Chunks of size 4286464 totalling 4.09MiB\r\n2023-07-20 05:51:24.070669: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 1 Chunks of size 5031936 totalling 4.80MiB\r\n2023-07-20 05:51:24.070677: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 1 Chunks of size 5497856 totalling 5.24MiB\r\n2023-07-20 05:51:24.070685: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 8 Chunks of size 19079424 totalling 145.56MiB\r\n2023-07-20 05:51:24.070693: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 1 Chunks of size 19785728 totalling 18.87MiB\r\n2023-07-20 05:51:24.070701: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 8 Chunks of size 23593216 totalling 180.00MiB\r\n2023-07-20 05:51:24.070709: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 1 Chunks of size 26953472 totalling 25.70MiB\r\n2023-07-20 05:51:24.070717: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 1 Chunks of size 27773952 totalling 26.49MiB\r\n2023-07-20 05:51:24.070724: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 1 Chunks of size 27820800 totalling 26.53MiB\r\n2023-07-20 05:51:24.070732: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 2 Chunks of size 28630784 totalling 54.61MiB\r\n2023-07-20 05:51:24.070739: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 1 Chunks of size 29154560 totalling 27.80MiB\r\n2023-07-20 05:51:24.070747: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 6 Chunks of size 31496192 totalling 180.22MiB\r\n2023-07-20 05:51:24.070756: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 1 Chunks of size 33062144 totalling 31.53MiB\r\n2023-07-20 05:51:24.070764: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 1 Chunks of size 34817792 totalling 33.20MiB\r\n2023-07-20 05:51:24.070772: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 1 Chunks of size 37611008 totalling 35.87MiB\r\n2023-07-20 05:51:24.070779: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 1 Chunks of size 46874368 totalling 44.70MiB\r\n2023-07-20 05:51:24.070787: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 4 Chunks of size 47710208 totalling 182.00MiB\r\n2023-07-20 05:51:24.070795: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 1 Chunks of size 53301248 totalling 50.83MiB\r\n2023-07-20 05:51:24.070802: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 1 Chunks of size 55185408 totalling 52.63MiB\r\n2023-07-20 05:51:24.070810: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 1 Chunks of size 56381440 totalling 53.77MiB\r\n2023-07-20 05:51:24.070818: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 2 Chunks of size 84797440 totalling 161.74MiB\r\n2023-07-20 05:51:24.070826: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 1 Chunks of size 100119808 totalling 95.48MiB\r\n2023-07-20 05:51:24.070833: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 3 Chunks of size 104091648 totalling 297.81MiB\r\n2023-07-20 05:51:24.070841: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 1 Chunks of size 123385856 totalling 117.67MiB\r\n2023-07-20 05:51:24.070849: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 1 Chunks of size 129020928 totalling 123.04MiB\r\n2023-07-20 05:51:24.070857: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 1 Chunks of size 157307136 totalling 150.02MiB\r\n2023-07-20 05:51:24.070865: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 3 Chunks of size 165888000 totalling 474.61MiB\r\n2023-07-20 05:51:24.070872: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 1 Chunks of size 170836992 totalling 162.92MiB\r\n2023-07-20 05:51:24.070880: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 1 Chunks of size 190129408 totalling 181.32MiB\r\n2023-07-20 05:51:24.070888: I tensorflow/core/common_runtime/bfc_allocator.cc:1074] 6 Chunks of size 1239416832 totalling 6.93GiB\r\n2023-07-20 05:51:24.070896: I tensorflow/core/common_runtime/bfc_allocator.cc:1078] Sum Total of in-use chunks: 10.02GiB\r\n2023-07-20 05:51:24.070903: I tensorflow/core/common_runtime/bfc_allocator.cc:1080] total_region_allocated_bytes_: 13791395840 memory_limit_: 13791395840 available bytes: 0 curr_region_allocation_bytes_: 27582791680\r\n2023-07-20 05:51:24.070914: I tensorflow/core/common_runtime/bfc_allocator.cc:1086] Stats: \r\nLimit: 13791395840\r\nInUse: 10757204480\r\nMaxInUse: 12095458048\r\nNumAllocs: 5845\r\nMaxAllocSize: 1322475776\r\nReserved: 0\r\nPeakReserved: 0\r\nLargestFreeBlock: 0\r\n\r\n2023-07-20 05:51:24.070964: W tensorflow/core/common_runtime/bfc_allocator.cc:474] **********************_______********************___***************************************_*_______\r\n2023-07-20 05:51:24.070991: W tensorflow/core/framework/op_kernel.cc:1733] RESOURCE_EXHAUSTED: failed to allocate memory\r\n```\r\n\r\nAlso try on: \r\n\r\n```\r\nGPU\r\nNVIDIA A16\r\nFloating point operations per second\r\n2.19 TFLOPS\r\nGraphics card memory\r\n15 GB\r\nGPU bandwidth\r\n200.03 GB/s\r\nNumber of channels\r\n16\r\nPCIE bandwidth\r\n31.50 GB/s\r\nNumber of cpus available\r\n3\r\nAvailable memory\r\n14 GB\r\nHard disk\r\nLOGICAL VOLUME\r\nHard disk bandwidth\r\n431.04 MB/s\r\nAvailable space\r\n100 GB\r\nCPU model\r\nIntel(R) Xeon(R) Gold 5318Y CPU @ 2.10GHz\r\n```\r\n\r\n", "Thanks for the detailed information, Did you try this in any other OS, or is this specific to MacOS? ", "> Thanks for the detailed information, Did you try this in any other OS, or is this specific to MacOS?\r\n\r\nWe also try this in Ubuntu,you can see the detailed log. Thank you!" ]
2023-07-04T08:47:03
2023-08-07T17:25:39
null
NONE
null
null
null
### Issue type Performance ### Have you reproduced the bug with TensorFlow Nightly? No ### Source binary ### TensorFlow version tf2.12.0 ### Custom code Yes ### OS platform and distribution MacOs ### Mobile device _No response_ ### Python version 3.9 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? We have many similar model building and training code files, and train multiple models consecutively through one process. But in this process, we used the memory blank and the restriction function, and neither worked. ### Standalone code to reproduce the issue ```shell ![image](https://github.com/tensorflow/tensorflow/assets/34181680/fbe4f5b6-255b-4583-b108-f476bd639574) ``` ### Relevant log output _No response_
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61168/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/61168/timeline
null
null
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61167
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61167/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61167/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61167/events
https://github.com/tensorflow/tensorflow/issues/61167
1,787,020,136
I_kwDOArmXAs5qg8No
61,167
Tensorflow official guide for optimizing pipeline performance in Data input pipelines does not include proper use cases
{ "login": "AkshayRoyal", "id": 10032879, "node_id": "MDQ6VXNlcjEwMDMyODc5", "avatar_url": "https://avatars.githubusercontent.com/u/10032879?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AkshayRoyal", "html_url": "https://github.com/AkshayRoyal", "followers_url": "https://api.github.com/users/AkshayRoyal/followers", "following_url": "https://api.github.com/users/AkshayRoyal/following{/other_user}", "gists_url": "https://api.github.com/users/AkshayRoyal/gists{/gist_id}", "starred_url": "https://api.github.com/users/AkshayRoyal/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/AkshayRoyal/subscriptions", "organizations_url": "https://api.github.com/users/AkshayRoyal/orgs", "repos_url": "https://api.github.com/users/AkshayRoyal/repos", "events_url": "https://api.github.com/users/AkshayRoyal/events{/privacy}", "received_events_url": "https://api.github.com/users/AkshayRoyal/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": 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": 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": "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
[ "@AkshayRoyal Thank you for raising this issue!\r\nCould you please have a look at [this](https://www.tensorflow.org/guide/data) link which explains about the large input data and let us know if it helps? Please share the complete standalone code to replicate the [issue](https://colab.research.google.com/gist/sushreebarsa/2c68de0312bacd525d5fe15301916feb/61167.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/61167\">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/61167\">No</a>\n" ]
2023-07-04T02:03:04
2023-07-26T01:57:52
2023-07-26T01:57:49
NONE
null
null
null
### Issue type Others ### Have you reproduced the bug with TensorFlow Nightly? No ### Source source ### TensorFlow version v2.12.0-rc1-12-g0db597d0d75 2.12.0 ### Custom code Yes ### OS platform and distribution RHEL8 .8 ### Mobile device _No response_ ### Python version 3.10.11 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? The original tensorflow guide on [optimizing pipeline performance] (https://www.tensorflow.org/guide/data_performance#vectorizing_mapping) does not include useful use cases. The function that is used to demonstrate the effectiveness of various techniques like batching , caching, mapping etc. is ``` def mapped_function(s): # Do some hard pre-processing tf.py_function(lambda: time.sleep(0.03), [], ()) return s ``` This function is insensitive to a single element or a vector. How should we modify the function in order to deal with a batch, the case when we first batch the dataset and then map it with this function? Do we need to modify it in the first place or does tensorflow handle it on its own? These questions should have been answered in the guide. I tried vectorized mapping( dataset.batch().map()) with this function ``` def function(x): return x+1 def tf_func(x): ans = tf.py_function(function, inp=x, Tout=['int64']) return ans ``` This also works fine as even in this case the function is be default capable of handling the vectors but if we try a realistic scenario like this one ``` def read_files(filename): ... file = tf.io.read_file(filename) ... ``` This function fails to work throwing error that tf.io.read_file cannot handle the vector. I think it would be helpful for all if practical use case scenarios are shown in the guide. Thanks ### Standalone code to reproduce the issue ```shell dataset = tf.data.Dataset.list_files(...) #glob and read filenames def preprocess_files(filename): #read and pre-process the files here ... file = tf.io.read_file(filename) #this function throws error ... ``` ### Relevant log output _No response_
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61167/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/61167/timeline
null
completed
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61166
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61166/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61166/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61166/events
https://github.com/tensorflow/tensorflow/issues/61166
1,786,499,717
I_kwDOArmXAs5qe9KF
61,166
//tensorflow/python/data/experimental/kernel_tests/service:worker_tags_test is flaky
{ "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": 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": 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" } ]
open
false
{ "login": "yangustc07", "id": 1141287, "node_id": "MDQ6VXNlcjExNDEyODc=", "avatar_url": "https://avatars.githubusercontent.com/u/1141287?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yangustc07", "html_url": "https://github.com/yangustc07", "followers_url": "https://api.github.com/users/yangustc07/followers", "following_url": "https://api.github.com/users/yangustc07/following{/other_user}", "gists_url": "https://api.github.com/users/yangustc07/gists{/gist_id}", "starred_url": "https://api.github.com/users/yangustc07/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/yangustc07/subscriptions", "organizations_url": "https://api.github.com/users/yangustc07/orgs", "repos_url": "https://api.github.com/users/yangustc07/repos", "events_url": "https://api.github.com/users/yangustc07/events{/privacy}", "received_events_url": "https://api.github.com/users/yangustc07/received_events", "type": "User", "site_admin": false }
[ { "login": "yangustc07", "id": 1141287, "node_id": "MDQ6VXNlcjExNDEyODc=", "avatar_url": "https://avatars.githubusercontent.com/u/1141287?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yangustc07", "html_url": "https://github.com/yangustc07", "followers_url": "https://api.github.com/users/yangustc07/followers", "following_url": "https://api.github.com/users/yangustc07/following{/other_user}", "gists_url": "https://api.github.com/users/yangustc07/gists{/gist_id}", "starred_url": "https://api.github.com/users/yangustc07/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/yangustc07/subscriptions", "organizations_url": "https://api.github.com/users/yangustc07/orgs", "repos_url": "https://api.github.com/users/yangustc07/repos", "events_url": "https://api.github.com/users/yangustc07/events{/privacy}", "received_events_url": "https://api.github.com/users/yangustc07/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
[ "@rishikasinha-tf flaky test" ]
2023-07-03T16:32:51
2023-07-11T04:35:35
null
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 10.2.1 ### CUDA/cuDNN version n/a ### GPU model and memory n/a ### Current behavior? //tensorflow/python/data/experimental/kernel_tests/service:worker_tags_test fails occasionally x86 log https://source.cloud.google.com/results/invocations/0bc426bf-e5ae-4fb6-993f-6199c00d1139/log AARCH64 log https://github.com/tensorflow/tensorflow/actions/runs/5411569978/jobs/9834485829#step:5:8675 ### Standalone code to reproduce the issue ```shell bazel --bazelrc=/usertools/cpu.bazelrc test --config=pycpp --config=build_event_export --remote_cache=https://storage.googleapis.com/tensorflow-devinfra-bazel-cache/norbe --google_default_credentials ``` ### Relevant log output ```shell ====================================================================== ERROR: testMultipleTags_test_mode_eager_tfapiversion_2 (__main__.WorkerTagsTest) WorkerTagsTest.testMultipleTags_test_mode_eager_tfapiversion_2 testMultipleTags_test_mode_eager_tfapiversion_2(mode='eager', tf_api_version=2) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/worker_tags_test.runfiles/absl_py/absl/testing/parameterized.py", line 314, in bound_param_test return test_method(self, **testcase_params) File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/worker_tags_test.runfiles/org_tensorflow/tensorflow/python/framework/test_combinations.py", line 360, in decorated execute_test_method() File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/worker_tags_test.runfiles/org_tensorflow/tensorflow/python/framework/test_combinations.py", line 343, in execute_test_method test_method(**kwargs_to_pass) File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/worker_tags_test.runfiles/org_tensorflow/tensorflow/python/data/experimental/kernel_tests/service/worker_tags_test.py", line 179, in testMultipleTags cluster = multi_process_cluster.MultiProcessCluster( File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/worker_tags_test.runfiles/org_tensorflow/tensorflow/python/data/experimental/kernel_tests/service/multi_process_cluster.py", line 81, in __init__ self._start_local_workers(num_local_workers, worker_tags) File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/worker_tags_test.runfiles/org_tensorflow/tensorflow/python/data/experimental/kernel_tests/service/multi_process_cluster.py", line 100, in _start_local_workers self.start_local_worker(worker_tags) File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/worker_tags_test.runfiles/org_tensorflow/tensorflow/python/data/experimental/kernel_tests/service/multi_process_cluster.py", line 114, in start_local_worker worker.start() File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/worker_tags_test.runfiles/org_tensorflow/tensorflow/python/data/experimental/kernel_tests/service/test_base.py", line 110, in start self._server.start() File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/worker_tags_test.runfiles/org_tensorflow/tensorflow/python/data/experimental/service/server_lib.py", line 415, in start self._server.start() NotImplementedError: Failed to get dispatcher version from dispatcher running at localhost:45069: ---------------------------------------------------------------------- Ran 6 tests in 6.597s FAILED (errors=1) Exception ignored in: <function MultiProcessCluster.__del__ at 0x7f20f09658b0> Traceback (most recent call last): File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/worker_tags_test.runfiles/org_tensorflow/tensorflow/python/data/experimental/kernel_tests/service/multi_process_cluster.py", line 160, in __del__ self._stop() File "/root/.cache/bazel/_bazel_root/fbac33eb30dbfb6b11b15a7ff5ac830d/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/data/experimental/kernel_tests/service/worker_tags_test.runfiles/org_tensorflow/tensorflow/python/data/experimental/kernel_tests/service/multi_process_cluster.py", line 155, in _stop for (_, worker_process) in self._remote_workers: AttributeError: 'MultiProcessCluster' object has no attribute '_remote_workers' 2023-07-02 09:48:51.833944: I tensorflow/core/data/service/server_lib.cc:94] Shut down DispatchServer server running at port 45069 2023-07-02 09:48:51.934278: I tensorflow/core/data/service/server_lib.cc:94] Shut down WorkerServer server running at port 44313 ================================================================================ ```
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61166/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/61166/timeline
null
null
false
https://api.github.com/repos/tensorflow/tensorflow/issues/61165
https://api.github.com/repos/tensorflow/tensorflow
https://api.github.com/repos/tensorflow/tensorflow/issues/61165/labels{/name}
https://api.github.com/repos/tensorflow/tensorflow/issues/61165/comments
https://api.github.com/repos/tensorflow/tensorflow/issues/61165/events
https://github.com/tensorflow/tensorflow/pull/61165
1,786,481,790
PR_kwDOArmXAs5UisjU
61,165
Secda-tflite-v1-jude
{ "login": "judeharis", "id": 25208518, "node_id": "MDQ6VXNlcjI1MjA4NTE4", "avatar_url": "https://avatars.githubusercontent.com/u/25208518?v=4", "gravatar_id": "", "url": "https://api.github.com/users/judeharis", "html_url": "https://github.com/judeharis", "followers_url": "https://api.github.com/users/judeharis/followers", "following_url": "https://api.github.com/users/judeharis/following{/other_user}", "gists_url": "https://api.github.com/users/judeharis/gists{/gist_id}", "starred_url": "https://api.github.com/users/judeharis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/judeharis/subscriptions", "organizations_url": "https://api.github.com/users/judeharis/orgs", "repos_url": "https://api.github.com/users/judeharis/repos", "events_url": "https://api.github.com/users/judeharis/events{/privacy}", "received_events_url": "https://api.github.com/users/judeharis/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": 1173072136, "node_id": "MDU6TGFiZWwxMTczMDcyMTM2", "url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:XL", "name": "size:XL", "color": "adafea", "default": false, "description": "CL Change Size:Extra 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
[ "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/61165/checks?check_run_id=14744455426) 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.", "Check out this pull request on&nbsp; <a href=\"https://app.reviewnb.com/tensorflow/tensorflow/pull/61165\"><img align=\"absmiddle\" alt=\"ReviewNB\" height=\"28\" class=\"BotMessageButtonImage\" src=\"https://raw.githubusercontent.com/ReviewNB/support/master/images/button_reviewnb.png\"/></a> \n\n See visual diffs & provide feedback on Jupyter Notebooks. \n\n---\n\n <i>Powered by <a href='https://www.reviewnb.com/?utm_source=gh'>ReviewNB</a></i>" ]
2023-07-03T16:18:29
2023-07-03T17:22:28
2023-07-03T16:19:13
NONE
null
false
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61165", "html_url": "https://github.com/tensorflow/tensorflow/pull/61165", "diff_url": "https://github.com/tensorflow/tensorflow/pull/61165.diff", "patch_url": "https://github.com/tensorflow/tensorflow/pull/61165.patch", "merged_at": null }
null
{ "url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61165/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/61165/timeline
null
null
true