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/62081 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62081/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62081/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62081/events | https://github.com/tensorflow/tensorflow/issues/62081 | 1,936,178,926 | I_kwDOArmXAs5zZ77u | 62,081 | NVCC compilation failure with tf-nightly 2.15 | {
"login": "youchangkim",
"id": 7123948,
"node_id": "MDQ6VXNlcjcxMjM5NDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/7123948?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/youchangkim",
"html_url": "https://github.com/youchangkim",
"followers_url": "https://api.github.com/users/youchangkim/followers",
"following_url": "https://api.github.com/users/youchangkim/following{/other_user}",
"gists_url": "https://api.github.com/users/youchangkim/gists{/gist_id}",
"starred_url": "https://api.github.com/users/youchangkim/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/youchangkim/subscriptions",
"organizations_url": "https://api.github.com/users/youchangkim/orgs",
"repos_url": "https://api.github.com/users/youchangkim/repos",
"events_url": "https://api.github.com/users/youchangkim/events{/privacy}",
"received_events_url": "https://api.github.com/users/youchangkim/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": 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)"
}
] | 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 | [
"@youchangkim Sometimes nightly will be failing as the build is not stable. So it is recommended to use the stable version. Once the final release is done, we would expect it to work as expected. 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 is still failing on latest build. ",
"@youchangkim Could you please share the exact TF version you are using ?\r\nThank you!",
"@sushreebarsa \r\nI tried 2.15.0.dev20231011 and 2.16.0.dev20231023, and both are failing.",
"@sushreebarsa \r\nI can reproduce this with 2.15.0rc0 wheel, and also from tensorflow/tensorflow:2.15.0rc0-gpu docker image.",
"@sushreebarsa @sachinprasadhs Is there any plan to fix this before 2.15 release?",
"Hi, 2.15 release is finalized and there won't be any additional code changes made, if the fix is made, it will be available in nightly version. "
] | 2023-10-10T20:38:38 | 2023-11-13T22:47:22 | null | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
source
### TensorFlow version
2.15.0.dev20231002
### Custom code
Yes
### OS platform and distribution
_No response_
### Mobile device
_No response_
### Python version
3.10.10
### Bazel version
_No response_
### GCC/compiler version
c++ (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
### CUDA/cuDNN version
cuda-11.8, cudnn-8.6
### GPU model and memory
_No response_
### Current behavior?
nvcc fails to compile following code (test.cc).
```
#include "tensorflow/core/framework/tensor.h"
using namespace tensorflow;
int main() {
Tensor x;
return 0;
}
```
```
# nvcc -I/usr/local/cuda/include -expt-relaxed-constexpr $(python -c "import tensorflow as tf; print(' '.join(tf.sysconfig.get_compile_flags()))") -x cu -c test.cc -o test.o
/miniconda/envs/venv/lib/python3.10/site-packages/tensorflow/include/absl/strings/internal/str_format/bind.h: In constructor ‘absl::lts_20230125::str_format_internal::FormatSpecTemplate<Args>::FormatSpecTemplate(const absl::lts_20230125::str_format_internal::ExtendedParsedFormat<absl::lts_20230125::FormatConversionCharSet(C)...>&)’:
/miniconda/envs/venv/lib/python3.10/site-packages/tensorflow/include/absl/strings/internal/str_format/bind.h:171:1: error: parse error in template argument list
171 | CheckArity<sizeof...(C), sizeof...(Args)>();
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/miniconda/envs/venv/lib/python3.10/site-packages/tensorflow/include/absl/strings/internal/str_format/bind.h:171:63: error: expected ‘;’ before ‘)’ token
171 | CheckArity<sizeof...(C), sizeof...(Args)>();
| ^
/miniconda/envs/venv/lib/python3.10/site-packages/tensorflow/include/absl/strings/internal/str_format/bind.h:172:147: error: template argument 1 is invalid
172 | CheckMatches<C...>(absl::make_index_sequence<sizeof...(C)>{});
| ^
/miniconda/envs/venv/lib/python3.10/site-packages/tensorflow/include/absl/strings/internal/str_format/bind.h:172:151: error: expected primary-expression before ‘{’ token
172 | CheckMatches<C...>(absl::make_index_sequence<sizeof...(C)>{});
| ^
/miniconda/envs/venv/lib/python3.10/site-packages/tensorflow/include/absl/strings/internal/str_format/bind.h:172:151: error: expected ‘;’ before ‘{’ token
/miniconda/envs/venv/lib/python3.10/site-packages/tensorflow/include/absl/strings/internal/str_format/bind.h:172:153: error: expected primary-expression before ‘)’ token
172 | CheckMatches<C...>(absl::make_index_sequence<sizeof...(C)>{});
| ^
```
This is likely due to [`#include "absl/strings/str_format.h"`](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/framework/resource_base.h#L22) introduced from https://github.com/tensorflow/tensorflow/commit/fa87199c133ece4d7e3f5947cec2ec0a74d2cc50.
### Standalone code to reproduce the issue
```shell
See above.
```
### Relevant log output
This works fine with previous versions of TensorFlow (2.1~2.14). | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62081/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/62081/timeline | null | null | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62080 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62080/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62080/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62080/events | https://github.com/tensorflow/tensorflow/issues/62080 | 1,936,142,280 | I_kwDOArmXAs5zZy_I | 62,080 | GPU not detected even after installing CUDA, cuDNN correct versions | {
"login": "majorisgit",
"id": 1635965,
"node_id": "MDQ6VXNlcjE2MzU5NjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/1635965?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/majorisgit",
"html_url": "https://github.com/majorisgit",
"followers_url": "https://api.github.com/users/majorisgit/followers",
"following_url": "https://api.github.com/users/majorisgit/following{/other_user}",
"gists_url": "https://api.github.com/users/majorisgit/gists{/gist_id}",
"starred_url": "https://api.github.com/users/majorisgit/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/majorisgit/subscriptions",
"organizations_url": "https://api.github.com/users/majorisgit/orgs",
"repos_url": "https://api.github.com/users/majorisgit/repos",
"events_url": "https://api.github.com/users/majorisgit/events{/privacy}",
"received_events_url": "https://api.github.com/users/majorisgit/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"
}
] | 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/62080\">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/62080\">No</a>\n",
"@majorisgit ,\r\n\r\nFor GPU package with all required CUDA libraries you need to use `pip install tensorflow[and-cuda]` command.\r\n\r\nWhether you resolved this ? Are you still having issues please feel free to discuss.\r\n",
"I'm also having this problem, installed tensorflow 2.13 after using `pip install tensorflow[and-cuda] `command, but still can't use GPU calculations",
"> I'm also having this problem, installed tensorflow 2.13 after using `pip install tensorflow[and-cuda] `command, but still can't use GPU calculations\r\n\r\nWindows native support for GPU is not supported any more in TensorFlow. \r\nI had to install Windows Subsystem for Linux (WSL 2). I ran Linux inside Windows. Then followed the instructions from this installation [script](https://gist.github.com/MihailCosmin/affa6b1b71b43787e9228c25fe15aeba)\r\nIt worked, the GPU is detected and I can use it for calculations. The problem is solved. \r\n"
] | 2023-10-10T20:19:00 | 2023-10-19T05:19:07 | 2023-10-11T08:45:36 | NONE | null | null | null | ### Issue type
Support
### Have you reproduced the bug with TensorFlow Nightly?
No
### Source
binary
### TensorFlow version
2.14.0
### Custom code
No
### OS platform and distribution
Windows 10 22H2 19045.3448
### Mobile device
_No response_
### Python version
3.10.10
### Bazel version
_No response_
### GCC/compiler version
_No response_
### CUDA/cuDNN version
CUDA v11.2, cudnn-11.2-windows-x64-v8.1.0.77
### GPU model and memory
GeForce GTX 960M, 4Gb
### Current behavior?
Unable to detect the GPU. TF says:
`print(tf.test.is_built_with_cuda())
False`
### Standalone code to reproduce the issue
```shell
It is an installation issue.
C:\Users\user>python
Python 3.10.10 (tags/v3.10.10:aad5f6a, Feb 7 2023, 17:20:36) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
>>> import tensorflow as tf
>>> print(tf.test.is_built_with_cuda())
False
>>> print(tf.config.list_physical_devices('GPU'))
[]
>>>
>>> print(tf.config.list_physical_devices())
[PhysicalDevice(name='/physical_device:CPU:0', device_type='CPU')]
>>>
```
### Relevant log output
```shell
C:\Windows\system32>
python -V
Python 3.10.10 (tags/v3.10.10:aad5f6a, Feb 7 2023, 17:20:36) [MSC v.1929 64 bit (AMD64)] on win32
---------------------------------------------------------------------------------
pip list
Package Version
---------------------------- ------------
absl-py 2.0.0
anyio 4.0.0
argon2-cffi 23.1.0
argon2-cffi-bindings 21.2.0
arrow 1.3.0
asttokens 2.4.0
astunparse 1.6.3
async-lru 2.0.4
attrs 23.1.0
Babel 2.13.0
backcall 0.2.0
beautifulsoup4 4.12.2
bleach 6.1.0
cachetools 5.3.1
certifi 2023.7.22
cffi 1.16.0
charset-normalizer 3.3.0
colorama 0.4.6
comm 0.1.4
contourpy 1.1.1
cycler 0.12.1
debugpy 1.8.0
decorator 5.1.1
defusedxml 0.7.1
exceptiongroup 1.1.3
executing 2.0.0
fastjsonschema 2.18.1
flatbuffers 23.5.26
fonttools 4.43.1
fqdn 1.5.1
gast 0.5.4
google-auth 2.23.3
google-auth-oauthlib 1.0.0
google-pasta 0.2.0
grpcio 1.59.0
h5py 3.10.0
idna 3.4
ipykernel 6.25.2
ipython 8.16.1
ipython-genutils 0.2.0
ipywidgets 8.1.1
isoduration 20.11.0
jedi 0.19.1
Jinja2 3.1.2
joblib 1.3.2
json5 0.9.14
jsonpointer 2.4
jsonschema 4.19.1
jsonschema-specifications 2023.7.1
jupyter 1.0.0
jupyter_client 8.3.1
jupyter-console 6.6.3
jupyter_core 5.4.0
jupyter-events 0.7.0
jupyter-lsp 2.2.0
jupyter_server 2.7.3
jupyter_server_terminals 0.4.4
jupyterlab 4.0.6
jupyterlab-pygments 0.2.2
jupyterlab_server 2.25.0
jupyterlab-widgets 3.0.9
keras 2.14.0
kiwisolver 1.4.5
libclang 16.0.6
Markdown 3.5
MarkupSafe 2.1.3
matplotlib 3.8.0
matplotlib-inline 0.1.6
mistune 3.0.2
ml-dtypes 0.2.0
mpmath 1.3.0
nbclient 0.8.0
nbconvert 7.9.2
nbformat 5.9.2
nest-asyncio 1.5.8
notebook 7.0.4
notebook_shim 0.2.3
numpy 1.26.0
oauthlib 3.2.2
opt-einsum 3.3.0
overrides 7.4.0
packaging 23.2
pandas 2.1.1
pandocfilters 1.5.0
parso 0.8.3
pickleshare 0.7.5
Pillow 10.0.1
pip 23.2.1
platformdirs 3.11.0
plotly 5.17.0
prometheus-client 0.17.1
prompt-toolkit 3.0.39
protobuf 4.24.4
psutil 5.9.5
pure-eval 0.2.2
pyasn1 0.5.0
pyasn1-modules 0.3.0
pycparser 2.21
Pygments 2.16.1
pyparsing 3.1.1
python-dateutil 2.8.2
python-json-logger 2.0.7
pytz 2023.3.post1
pywin32 306
pywinpty 2.0.12
PyYAML 6.0.1
pyzmq 25.1.1
qtconsole 5.4.4
QtPy 2.4.0
referencing 0.30.2
requests 2.31.0
requests-oauthlib 1.3.1
rfc3339-validator 0.1.4
rfc3986-validator 0.1.1
rpds-py 0.10.4
rsa 4.9
scikit-learn 1.3.1
scipy 1.11.3
Send2Trash 1.8.2
setuptools 65.5.0
six 1.16.0
sniffio 1.3.0
soupsieve 2.5
stack-data 0.6.3
sympy 1.12
tenacity 8.2.3
tensorboard 2.14.1
tensorboard-data-server 0.7.1
tensorflow 2.14.0
tensorflow-estimator 2.14.0
tensorflow-intel 2.14.0
tensorflow-io-gcs-filesystem 0.31.0
termcolor 2.3.0
terminado 0.17.1
threadpoolctl 3.2.0
tinycss2 1.2.1
tomli 2.0.1
tornado 6.3.3
tqdm 4.66.1
traitlets 5.11.2
types-python-dateutil 2.8.19.14
typing_extensions 4.8.0
tzdata 2023.3
uri-template 1.3.0
urllib3 2.0.6
wcwidth 0.2.8
webcolors 1.13
webencodings 0.5.1
websocket-client 1.6.4
Werkzeug 3.0.0
wheel 0.41.2
widgetNVIDIA snbextension 4.0.9
wrapt 1.14.1
---------------------------------------------------------------------------------
Hardware: GeForce GTX 960M
https://www.nvidia.com/en-us/geforce/gaming-laptops/geforce-gtx-960m/specifications/
https://docs.nvidia.com/deeplearning/cudnn/support-matrix/index.html
CUDA Cores
1096 + Boost Base Clock (MHz)
GTX 960M Memory Specs:
2500 MHz Memory Clock
GDDR5 Memory Interface
128-bit Memory Interface Width
80Memory Bandwidth (GB/sec)
GTX 960M Technology Support: Yes
NVIDIA® Optimus™ Support 1 Yes
NVIDIA Battery Boost™ Support 2
2.0NVIDIA GPU Boost™ Yes
NVIDIA GameStream™-Ready Yes
GeForce ShadowPlay™ Yes
NVIDIA GameWorks™
12 API Microsoft DirectX
4.5 OpenGL
CUDA Yes
PCI Express 3.0 Bus Support
Windows 8 and 8.1
Windows 7OS Certification
Processor Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz 2.60 GHz
Installed RAM 32.0 GB (31.8 GB usable)
System type 64-bit operating system, x64-based processor
---------------------------------------------------------------------------------
>>> import tensorflow as tf
>>> print(tf.__version__)
2.14.0
---------------------------------------------------------------------------------
Used table from here: https://www.tensorflow.org/install/source_windows
tensorflow 2.14.0, Python 3.7-3.10, cuDNN 8.1 CUDA 11.2
CUDA v11.2, cudnn-11.2-windows-x64-v8.1.0.77, Python 3.10.10
---------------------------------------------------------------------------------
>>> print(tf.test.is_built_with_cuda())
False
>>> print(tf.config.list_physical_devices('GPU'))
[]
>>>
>>> print(tf.config.list_physical_devices())
[PhysicalDevice(name='/physical_device:CPU:0', device_type='CPU')]
>>>
---------------------------------------------------------------------------------
OS
Edition Windows 10 Home
Version 22H2
Installed on 2/28/2023
OS build 19045.3448
Experience Windows Feature Experience Pack 1000.19044.1000.0
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62080/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/62080/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62079 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62079/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62079/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62079/events | https://github.com/tensorflow/tensorflow/pull/62079 | 1,934,798,781 | PR_kwDOArmXAs5cWpdK | 62,079 | Updated the dimension size in tfl_ops.td documentation | {
"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
} | [
{
"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 @jpienaar Can you please review this PR ? Thank you!",
"Hi @jpienaar Can you please review this PR ? Thank you!",
"Hi @jpienaar Can you please review this PR ? Thank you!",
"Hi @jpienaar Can you please review this PR ? Thank you!",
"Hi @jpienaar Can you please review this PR ? Thank you!",
"Hi @sushreebarsa Can you please check the above [comment](https://github.com/tensorflow/tensorflow/pull/62079#pullrequestreview-1797233270) from @mihaimaruseac and keep posted. Thank you!",
"> I'm actually thinking 4 is good here.\r\n\r\n@mihaimaruseac I did realize that and replied the same to the user in the issue thread. Thank you!",
"Hi @sushreebarsa Any update on this PR? Please. Thank you!",
"@gbaned The proposed changes as suggested by user is inappropriate it seems. The concerned issue has already been closed. So, closing this PR as well till new information comes. Thank you!"
] | 2023-10-10T08:48:05 | 2024-03-12T15:43:47 | 2024-03-12T06:31:25 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/62079",
"html_url": "https://github.com/tensorflow/tensorflow/pull/62079",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/62079.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/62079.patch",
"merged_at": null
} |
Changed the dimension from TFL_NumElementsEqualsDim<3, 1, 4> to TFL_NumElementsEqualsDim<3, 1, 3>
Probably fixes #62076
Please have a look. Thank you! | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62079/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/62079/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/62078 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62078/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62078/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62078/events | https://github.com/tensorflow/tensorflow/issues/62078 | 1,934,795,438 | I_kwDOArmXAs5zUqKu | 62,078 | An example of `a batched of RaggedTensor(s) with rank 2` as sparse_ids for tf.nn.safe_/embedding_lookup_sparse? | {
"login": "pmixer",
"id": 13297503,
"node_id": "MDQ6VXNlcjEzMjk3NTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/13297503?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pmixer",
"html_url": "https://github.com/pmixer",
"followers_url": "https://api.github.com/users/pmixer/followers",
"following_url": "https://api.github.com/users/pmixer/following{/other_user}",
"gists_url": "https://api.github.com/users/pmixer/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pmixer/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pmixer/subscriptions",
"organizations_url": "https://api.github.com/users/pmixer/orgs",
"repos_url": "https://api.github.com/users/pmixer/repos",
"events_url": "https://api.github.com/users/pmixer/events{/privacy}",
"received_events_url": "https://api.github.com/users/pmixer/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": 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 | [
"@pmixer,\r\nThank you for reporting. Could you please elaborate about your Feature. Also, please specify the Use Case for this feature. Thank you!\r\n",
"hi @tilakrayal , thank you for the followup.\r\n\r\nIn summary, the feature request is for pursuing a concrete example for what claimed in the doc https://tensorflow.google.cn/api_docs/python/tf/nn/safe_embedding_lookup_sparse?hl=en saying use of RaggedTensors can yield higher performance.\r\n\r\nRoughly speaking, we all know `embeddings = tf.nn.safe_embedding_lookup_sparse(embedding_matrix, lookup_ids)` works well when `lookup_ids` being `tf.SparseTensor`, but it's performance could still be improved, especially, for inference, as on-the-fly shape computation could lead to perf hit sometimes.\r\n\r\nThus, what I'm looking for is that hint in the doc, replacing `tf.SparseTensor` lookup ids to a batch of `tf.RaggedTensor`.\r\n\r\nI tried several approaches, all do not work(unless I call RaggedTensor's to_sparse method to cast it to SparseTensor). That's why I come to look for a piece of sample code to show the correct way to achieve the stuff what got claimed in the doc.\r\n\r\nBTW, high level keras API `tf.keras.layer.Embedding` makes the model accept tf.RaggedTensor as lookup ids, I just could not make it work for more fundamental `tf.nn.safe_embedding_lookup_sparse` API.",
"More concretely, I had a piece of example code to show what I want if using keras:\r\n\r\n```python\r\nimport tensorflow as tf\r\nimport tf2onnx\r\n\r\n# Create a sample RaggedTensor of lookup IDs\r\ninput_data = tf.ragged.constant([[1, 2, 3], [4, 5], [6]])\r\n\r\n# Define the Embedding layer\r\nembedding_dim = 4\r\nembedding_layer = tf.keras.layers.Embedding(input_dim=7, output_dim=embedding_dim)\r\n\r\n# Build the model\r\ninputs = tf.keras.Input(shape=(None,), dtype=tf.int32, ragged=True)\r\nembedded_data = embedding_layer(inputs)\r\nmodel = tf.keras.Model(inputs=inputs, outputs=embedded_data)\r\n\r\n# Export the model as SavedModel\r\nsaved_model_path = \"./saved_model\"\r\ntf.saved_model.save(model, saved_model_path)\r\n\r\n# then tensorflow-onnx could be used for converting SavedModel to onnx\r\n```\r\n\r\nAnd what I'm looking for if how to feed RaggedTensor to lower level API, tf.nn.safe_embedding_lookup_sparse as input."
] | 2023-10-10T08:47:08 | 2023-10-16T21:05:35 | null | NONE | null | null | null | ### Issue type
Feature Request
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
source
### TensorFlow version
2.12
### 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?
Currently, on the document https://tensorflow.google.cn/api_docs/python/tf/nn/safe_embedding_lookup_sparse?hl=en, it got claimed that `use of RaggedTensors can yield higher performance.`, without concrete examples for showing how to do the work.
An example pls?
### Standalone code to reproduce the issue
```shell
I tried several approaches to feed a batch of RaggedTensor to embedding_lookup operator, all failed with `object has no attribute 'dense_shape'` error, we could explicitly call `.to_sparse` method of RaggedTensor, but again, it comes SparseTensor which could not bring any performance gain, right?
Pls show an example, thx!
```
### Relevant log output
_No response_ | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62078/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/62078/timeline | null | null | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62077 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62077/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62077/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62077/events | https://github.com/tensorflow/tensorflow/issues/62077 | 1,934,514,178 | I_kwDOArmXAs5zTlgC | 62,077 | Code to make TFQ Demos run in Colab | {
"login": "kevinkawchak",
"id": 131843207,
"node_id": "U_kgDOB9vEhw",
"avatar_url": "https://avatars.githubusercontent.com/u/131843207?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kevinkawchak",
"html_url": "https://github.com/kevinkawchak",
"followers_url": "https://api.github.com/users/kevinkawchak/followers",
"following_url": "https://api.github.com/users/kevinkawchak/following{/other_user}",
"gists_url": "https://api.github.com/users/kevinkawchak/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kevinkawchak/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kevinkawchak/subscriptions",
"organizations_url": "https://api.github.com/users/kevinkawchak/orgs",
"repos_url": "https://api.github.com/users/kevinkawchak/repos",
"events_url": "https://api.github.com/users/kevinkawchak/events{/privacy}",
"received_events_url": "https://api.github.com/users/kevinkawchak/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": 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": 3531398540,
"node_id": "LA_kwDOArmXAs7SfN2M",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.7",
"name": "TF 2.7",
"color": "77237D",
"default": false,
"description": "Issues related to TF 2.7.0"
}
] | closed | false | {
"login": "SuryanarayanaY",
"id": 116063290,
"node_id": "U_kgDOBur8Og",
"avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SuryanarayanaY",
"html_url": "https://github.com/SuryanarayanaY",
"followers_url": "https://api.github.com/users/SuryanarayanaY/followers",
"following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}",
"gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions",
"organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs",
"repos_url": "https://api.github.com/users/SuryanarayanaY/repos",
"events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}",
"received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "SuryanarayanaY",
"id": 116063290,
"node_id": "U_kgDOBur8Og",
"avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SuryanarayanaY",
"html_url": "https://github.com/SuryanarayanaY",
"followers_url": "https://api.github.com/users/SuryanarayanaY/followers",
"following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}",
"gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions",
"organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs",
"repos_url": "https://api.github.com/users/SuryanarayanaY/repos",
"events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}",
"received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"Hi @kevinkawchak,\r\n\r\nCould you please try with TF2.8 versions and higher.As TF2.7 version is quiet older and latest stable release is 2.14V and colab only fetching Tf 2.8 and higher versions only.\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/62077\">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/62077\">No</a>\n"
] | 2023-10-10T06:43:44 | 2023-10-26T01:47:18 | 2023-10-26T01:47:15 | NONE | null | null | null | ### Issue type
Build/Install
### Have you reproduced the bug with TensorFlow Nightly?
No
### Source
source
### TensorFlow version
tensorflow==2.7.0
### Custom code
No
### OS platform and distribution
_No response_
### Mobile device
_No response_
### Python version
3.9, Also tried current version in Colab
### Bazel version
_No response_
### GCC/compiler version
_No response_
### CUDA/cuDNN version
_No response_
### GPU model and memory
_No response_
### Current behavior?
Does not correctly install tensorflow or tensorflow_quantum with current version of Python in Colab or Python 3.9 for multiple demos.
### Standalone code to reproduce the issue
```shell
ERROR: Could not find a version that satisfies the requirement tensorflow==2.7.0 (from versions: 2.8.0rc0, 2.8.0rc1, 2.8.0, 2.8.1, 2.8.2, 2.8.3, 2.8.4, 2.9.0rc0, 2.9.0rc1, 2.9.0rc2, 2.9.0, 2.9.1, 2.9.2, 2.9.3, 2.10.0rc0, 2.10.0rc1, 2.10.0rc2, 2.10.0rc3, 2.10.0, 2.10.1, 2.11.0rc0, 2.11.0rc1, 2.11.0rc2, 2.11.0, 2.11.1, 2.12.0rc0, 2.12.0rc1, 2.12.0, 2.12.1, 2.13.0rc0, 2.13.0rc1, 2.13.0rc2, 2.13.0, 2.13.1, 2.14.0rc0, 2.14.0rc1, 2.14.0)
ERROR: No matching distribution found for tensorflow==2.7.0
ERROR: Could not find a version that satisfies the requirement tensorflow-quantum==0.7.2 (from versions: none)
ERROR: No matching distribution found for tensorflow-quantum==0.7.2
ModuleNotFoundError: No module named 'tensorflow_quantum'
```
### Relevant log output
_No response_ | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62077/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/62077/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62076 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62076/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62076/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62076/events | https://github.com/tensorflow/tensorflow/issues/62076 | 1,933,901,310 | I_kwDOArmXAs5zRP3- | 62,076 | Bias size verification in `tfl.conv_3d_tranpose` 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": 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": 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"
}
] | 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 | [
"@rafaelubalmw We have raised a fix internally as per your suggestions. Once it is validated it can resolve this issue. Thank you!",
"@rafaelubalmw Could you please have a look at this [comment](https://github.com/tensorflow/tensorflow/pull/62079) in the PR, in `TFL_NumElementsEqualsDim<3, 1, 4>` 4 would be good for the bias size.\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/62076\">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/62076\">No</a>\n"
] | 2023-10-09T22:12:48 | 2024-02-16T01:47:08 | 2024-02-16T01:47:05 | NONE | null | null | null | https://github.com/tensorflow/tensorflow/blob/83078cb3cc4da3f2224e2e09825d1f164ccc2da5/tensorflow/compiler/mlir/lite/ir/tfl_ops.td#L5543
should be
`TFL_NumElementsEqualsDim<3, 1, 3>`
instead of
`TFL_NumElementsEqualsDim<3, 1, 4>`
since the number of output channels in the filter is given in dimension 3.
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62076/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/62076/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62075 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62075/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62075/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62075/events | https://github.com/tensorflow/tensorflow/issues/62075 | 1,933,628,201 | I_kwDOArmXAs5zQNMp | 62,075 | cuDNN, cuFFT, and cuBLAS Errors | {
"login": "Ke293-x2Ek-Qe-7-aE-B",
"id": 134176316,
"node_id": "U_kgDOB_9ePA",
"avatar_url": "https://avatars.githubusercontent.com/u/134176316?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Ke293-x2Ek-Qe-7-aE-B",
"html_url": "https://github.com/Ke293-x2Ek-Qe-7-aE-B",
"followers_url": "https://api.github.com/users/Ke293-x2Ek-Qe-7-aE-B/followers",
"following_url": "https://api.github.com/users/Ke293-x2Ek-Qe-7-aE-B/following{/other_user}",
"gists_url": "https://api.github.com/users/Ke293-x2Ek-Qe-7-aE-B/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Ke293-x2Ek-Qe-7-aE-B/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Ke293-x2Ek-Qe-7-aE-B/subscriptions",
"organizations_url": "https://api.github.com/users/Ke293-x2Ek-Qe-7-aE-B/orgs",
"repos_url": "https://api.github.com/users/Ke293-x2Ek-Qe-7-aE-B/repos",
"events_url": "https://api.github.com/users/Ke293-x2Ek-Qe-7-aE-B/events{/privacy}",
"received_events_url": "https://api.github.com/users/Ke293-x2Ek-Qe-7-aE-B/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": 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": 5922361893,
"node_id": "LA_kwDOArmXAs8AAAABYQASJQ",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF2.14",
"name": "TF2.14",
"color": "b60205",
"default": false,
"description": "For issues related to Tensorflow 2.14.x"
}
] | open | false | {
"login": "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 @Ke293-x2Ek-Qe-7-aE-B ,\r\n\r\nStarting from TF2.14 tensorflow provides CUDA package which can install all the cuDNN,cuFFT and cubLas libraries.\r\n\r\nYou can use `pip install tensorflow[and-cuda]` command for that.\r\n\r\nPlease try this command let us know if it helps. Thankyou!",
"@SuryanarayanaY I did not know that it now came bundled with cuDNN. I installed tensorflow with the [and-cuda] part, though, but I also installed cuda toolkit and cuDNN separately. I will try just installing the cuda toolkit and then installing tensorflow[and-cuda].\r\nAlso, is there a way to install tensorflow for GPU without it coming with cuDNN? If I just `pip install tensorflow`, will that install with GPU support, just without cuDNN, so that I can manually install them? I don't really need to, but I am curious if it can be installed that way too.",
"@SuryanarayanaY I tried several times, reinstalling Ubuntu, but it still doesn't work.",
"I also have the same issue, and this seems not to be due to cuda environment as I rebulid cuda and cudnn to make them suit for tf-2.14.0.\r\n\r\nThis is log out I find:\r\n` python3 -c \"import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))\"`\r\n\r\n`2023-10-11 18:21:57.387396: I tensorflow/core/util/port.cc:111] 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`.\r\n2023-10-11 18:21:57.415774: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:9342] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered\r\n2023-10-11 18:21:57.415847: E tensorflow/compiler/xla/stream_executor/cuda/cuda_fft.cc:609] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered\r\n2023-10-11 18:21:57.415877: E tensorflow/compiler/xla/stream_executor/cuda/cuda_blas.cc:1518] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered\r\n2023-10-11 18:21:57.421400: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.\r\nTo enable the following instructions: AVX2 AVX512F AVX512_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.\r\n2023-10-11 18:21:58.155058: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT\r\n2023-10-11 18:21:59.113217: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:880] could not open file to read NUMA node: /sys/bus/pci/devices/0000:65:00.0/numa_node\r\nYour kernel may have been built without NUMA support.\r\n2023-10-11 18:21:59.152044: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:880] could not open file to read NUMA node: /sys/bus/pci/devices/0000:65:00.0/numa_node\r\nYour kernel may have been built without NUMA support.\r\n2023-10-11 18:21:59.152153: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:880] could not open file to read NUMA node: /sys/bus/pci/devices/0000:65:00.0/numa_node\r\nYour kernel may have been built without NUMA support.\r\n[PhysicalDevice(name='/physical_device:GPU:0', device_type='GPU')]`",
"@AthiemoneZero Because it still does output a GPU device at the bottom of the log, I am training on GPU, just without cuDNN. It will be slower, but it is better than nothing or training on CPU.",
"> @AthiemoneZero Because it still does output a GPU device at the bottom of the log, I am training on GPU, just without cuDNN. It will be slower, but it is better than nothing or training on CPU.\r\n\r\nYeah. But I just found that when I downgrade to 2.13.0 version, errors in register won't appear again. It looks like this:\r\n\r\n\r\n`(TF) ephys3@ZhouLab-Ephy3:~$ python3 -c \"import tensorrt as trt;import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))\"`\r\n\r\n```\r\n2023-10-11 20:39:12.097457: 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`.\r\n2023-10-11 20:39:12.130250: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.\r\nTo enable the following instructions: AVX2 AVX512F AVX512_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.\r\n2023-10-11 20:39:13.856721: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:981] could not open file to read NUMA node: /sys/bus/pci/devices/0000:65:00.0/numa_node\r\nYour kernel may have been built without NUMA support.\r\n2023-10-11 20:39:13.870767: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:981] could not open file to read NUMA node: /sys/bus/pci/devices/0000:65:00.0/numa_node\r\nYour kernel may have been built without NUMA support.\r\n2023-10-11 20:39:13.870941: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:981] could not open file to read NUMA node: /sys/bus/pci/devices/0000:65:00.0/numa_node\r\nYour kernel may have been built without NUMA support.\r\n[PhysicalDevice(name='/physical_device:GPU:0', device_type='GPU')]\r\n```\r\n\r\nAlthough I haven't figured out how to solve NUMA node error, I found some clues from another [issue](https://github.com/microsoft/WSL/issues/5025) (as I operated all above in WSL Ubuntu). This bug seems not to be significant as explaination from [NVIDIA forums](https://forums.developer.nvidia.com/t/problem-running-tensorflow/249486) . So I guess errors in register might have something with the latest version and errors in NUMA might be caused by OS enviroment. Hope this information would help some guys. ",
"@AthiemoneZero I tried downgrading as well, but it didn't work for me. The NUMA errors are (as stated in the error message) because the kernel provided by Microsoft for WSL2 is not built with NUMA support. I tried cloning the repo [(here)](https://github.com/microsoft/WSL2-Linux-Kernel) and building from source my own with NUMA support, but that didn't work, so I am just ignoring those errors for now.",
"@Ke293-x2Ek-Qe-7-aE-B I rebuilt all in an independent conda environment as TF. My steps were to create a TF env with `python 3.9.8` and tried `python3 -m pip install tensorflow[and-cuda] --user` according to [instruction](https://www.tensorflow.org/install/pip). Following these I tried `python3 -m pip install tensorflow[and-cuda]=2.13.0 --user` and found it solved some bug.",
"@AthiemoneZero Thanks for the instructions. I'll try and see if it works on my system. I have been using `python 3.10`, so maybe that's why it didn't work. Did you have to install the CUDA toolkit?",
"@Ke293-x2Ek-Qe-7-aE-B I didnt execute `conda install cuda-toolkit ` here. I guess [and-cuda] argument help me install some dependencies. ",
"But I did double check version of cuda and cudnn. For this I even downgrade them again and again.",
"@AthiemoneZero Usually, I would install the CUDA toolkit according to these instructions ([here](https://developer.nvidia.com/cuda-11-8-0-download-archive?target_os=Linux&target_arch=x86_64&Distribution=WSL-Ubuntu&target_version=2.0&target_type=deb_local)), then install cuDNN according to these instructions ([here](https://docs.nvidia.com/deeplearning/cudnn/install-guide/index.html)). I installed CUDA toolkit version 11.8 and cuDNN version 8.7, because they are the latest supported by TensorFlow, according to their support table [here](https://www.tensorflow.org/install/source#tested_build_configurations). I guess using [and-cuda] installs all of that for you.",
"@Ke293-x2Ek-Qe-7-aE-B Apologize for my misunderstanding. I did the same in installing cuda toolkit as what you described above before I went directly to debug tf_gpu. I made sure my gpu and cuda could perform well as I have tried another task smoothly using cuda but without tf. What I concerned is some dependencies of tf have to be pre-installed in a conda env and this might be treated by [and-cuda] (my naive guess",
"@AthiemoneZero I always install CUDA toolkit and cuDNN globally for the whole system, and then install TensorFlow in a miniconda environment. This doesn't work anymore with the newest versions of TensorFlow, so I'll try your instructions. It does make sense to install everything in a conda env, I just hadn't thought of that since my other method had worked in the past. Thanks for sharing what you did to make it work.",
"@Ke293-x2Ek-Qe-7-aE-B You're welcomed. BTW, I also followed the [instruction ](https://www.tensorflow.org/install/source) to configure development including suitable version of bazel and clang-16, just before all my operation digging into conda env.",
"@AthiemoneZero Thanks, but it didn't work.",
"\r\nHello,\r\n\r\nI'm experiencing the same issue, even though I meticulously followed all the instructions for setting up CUDA 11.8 and CuDNN 8.7. The error messages I'm encountering are as follows:\r\n\r\nUnable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered.\r\nUnable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered.\r\nUnable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered.\r\n\r\nI've tried this with different versions of Python. Surprisingly, when I used Python 3.11, TensorFlow 2.13 was installed without these errors. However, when I used Python 3.10 or 3.9, I ended up with TensorFlow 2.14 and the aforementioned errors.\r\n\r\nI've come across information suggesting that I may not need to manually install CUDA and CuDNN, as [and-cuda] should handle the installation of these components automatically.\r\n\r\nCould someone please guide me on the correct approach to resolve this issue? I've tried various methods, but unfortunately, none of them have yielded a working solution.\r\n\r\nP.S. I'm using conda in WSL 2 on Windows 11.\r\n",
"I am having the same issue as FaisalAlj above, on Windows 10 with the same versions of CUDA and CuDNN. The package `tensorflow[and-cuda]` is not found by pip. I've tried different versions of python and tensorflow without success. In my case I'm using virtualenv rather than conda.\r\n\r\nEdit 1:\r\nI appear to be able to install `tensorflow[and-cuda]` as long as I use quotes around the package, like: `pip install \"tensorflow[and-cuda]\"`.\r\n\r\nEdit 2:\r\nI still appear to be getting these messages however, so I'm not sure I've installed things correctly.",
"Hi @Ke293-x2Ek-Qe-7-aE-B ,\r\n\r\nI have checked the installation on colab(linx environment) and observed same logs as per attached [gist](https://colab.sandbox.google.com/gist/SuryanarayanaY/25f597c022f8720bb7620bf03f0f7b7d/62075.ipynb#scrollTo=FhXupzYJqxFq). \r\n\r\nThese logs seems generated from XLA compiler but GPU is able to detectable. Similar issue #62002 and already bought to Engineering team attention.\r\n\r\nCC: @learning-to-play \r\n\r\n\r\n\r\n",
"@SuryanarayanaY After I did this: https://github.com/tensorflow/tensorflow/issues/62095#issuecomment-1763366758\r\nCuda, Gpu and Xla tests returned true and error was gone.",
"@Syndicateeee \r\n\r\nThanks for the try, but did not really help. \r\n\r\nI'm still having problems with downloading the latest Tensorflow 2.14",
"@SuryanarayanaY I still have the same issue. For now, I am just going to install Ubuntu 22.04 instead of using WSL2.",
"@Ke293-x2Ek-Qe-7-aE-B go for Ubuntu 20.04 I tried 2 days to get it running on 22.04 didnt work.",
"This [procedure step ](https://stackoverflow.com/questions/69812260/a100-tensorflow-gpu-error-failed-call-to-cuinit-cuda-error-not-initialized-i) made it work for me.\r\n\r\nI tried several recipes to get a virtual environmnet (for GPU) built, and this is what ended up working for me (Ubuntu 10.04, cuda-toolkit 11.8, GPU CUDA version 12.0, python 10.13)\r\n\r\n- initiate virtual environment\r\n- user Tensorflow [instructions ](https://www.tensorflow.org/install/pip)to install Tensorflow as follows\r\n pip install tensorflow[and-cuda]\r\n- create instance on GPU following the instructions in this [procedure ](https://stackoverflow.com/questions/69812260/a100-tensorflow-gpu-error-failed-call-to-cuinit-cuda-error-not-initialized-i) as follows\r\n sudo nvidia-smi mig -cgi 0 -C\r\n\r\nWith that done, Tensorflow was able to recognize my GPU.",
"Hi, I'm running into the same issue as of today after installing `tensorflow[and-cuda]` (latest released version)\r\nFrom this thread, I'm not sure if people have found the root cause or a workaround. (for the record I dont have an MIG-enabled card)\r\n\r\nAny advice?",
"Same issue here on both WSL2 and Ubuntu.\r\n\r\n```\r\n>>> import tensorflow as tf\r\n2023-10-28 13:19:49.412588: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:9342] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered\r\n2023-10-28 13:19:49.413083: E tensorflow/compiler/xla/stream_executor/cuda/cuda_fft.cc:609] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered\r\n2023-10-28 13:19:49.437814: E tensorflow/compiler/xla/stream_executor/cuda/cuda_blas.cc:1518] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered\r\n```",
"same error on native ubuntu 20.04, fresh new python environment",
"same error on native ubuntu 20.04 +1",
"Running into a similar issue with a fresh conda environment.\r\n```\r\n2023-11-06 16:41:34.842775: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:9342] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered\r\n2023-11-06 16:41:34.863378: E tensorflow/compiler/xla/stream_executor/cuda/cuda_fft.cc:609] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered\r\n2023-11-06 16:41:34.927139: E tensorflow/compiler/xla/stream_executor/cuda/cuda_blas.cc:1518] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered\r\n```",
"Same Error Me too on Ubuntu 22.04 with tensorflow version 2.14.0.\r\n\r\n023-11-07 16:36:12.218005: I tensorflow/core/util/port.cc:111] 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`.\r\n2023-11-07 16:36:12.236705: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:9342] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered\r\n2023-11-07 16:36:12.236735: E tensorflow/compiler/xla/stream_executor/cuda/cuda_fft.cc:609] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered\r\n2023-11-07 16:36:12.236749: E tensorflow/compiler/xla/stream_executor/cuda/cuda_blas.cc:1518] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered\r\n2023-11-07 16:36:12.240263: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.\r\nTo enable the following instructions: AVX2 AVX_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.\r\n2023-11-07 16:36:13.173565: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-11-07 16:36:13.176158: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-11-07 16:36:13.176267: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-11-07 16:36:13.177887: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-11-07 16:36:13.177940: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-11-07 16:36:13.177975: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-11-07 16:36:13.226379: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-11-07 16:36:13.226458: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-11-07 16:36:13.226509: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-11-07 16:36:13.226557: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1886] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 9487 MB memory: -> device: 0, name: NVIDIA GeForce RTX 4070, pci bus id: 0000:01:00.0, compute capability: 8.9\r\n2023-11-07 16:36:13.450493: W tensorflow/compiler/xla/stream_executor/gpu/asm_compiler.cc:231] Falling back to the CUDA driver for PTX compilation; ptxas does not support CC 8.9\r\n2023-11-07 16:36:13.450510: W tensorflow/compiler/xla/stream_executor/gpu/asm_compiler.cc:234] Used ptxas at ptxas\r\n2023-11-07 16:36:13.450538: W tensorflow/compiler/mlir/tools/kernel_gen/transforms/gpu_kernel_to_blob_pass.cc:191] Failed to compile generated PTX with ptxas. Falling back to compilation by driver.\r\n2023-11-07 16:36:13.450549: W tensorflow/compiler/mlir/tools/kernel_gen/transforms/gpu_kernel_to_blob_pass.cc:191] Failed to compile generated PTX with ptxas. Falling back to compilation by driver.\r\n2023-11-07 16:36:13.450561: W tensorflow/compiler/mlir/tools/kernel_gen/transforms/gpu_kernel_to_blob_pass.cc:191] Failed to compile generated PTX with ptxas. Falling back to compilation by driver.\r\n2023-11-07 16:36:13.450575: W tensorflow/compiler/mlir/tools/kernel_gen/transforms/gpu_kernel_to_blob_pass.cc:191] Failed to compile generated PTX with ptxas. Falling back to compilation by driver.\r\n2023-11-07 16:36:13.450586: W tensorflow/compiler/mlir/tools/kernel_gen/transforms/gpu_kernel_to_blob_pass.cc:191] Failed to compile generated PTX with ptxas. Falling back to compilation by driver.\r\n2023-11-07 16:36:13.450595: W tensorflow/compiler/mlir/tools/kernel_gen/transforms/gpu_kernel_to_blob_pass.cc:191] Failed to compile generated PTX with ptxas. Falling back to compilation by driver.\r\n2023-11-07 16:36:13.450611: W tensorflow/compiler/mlir/tools/kernel_gen/transforms/gpu_kernel_to_blob_pass.cc:191] Failed to compile generated PTX with ptxas. Falling back to compilation by driver.\r\n2023-11-07 16:36:13.450658: W tensorflow/compiler/mlir/tools/kernel_gen/transforms/gpu_kernel_to_blob_pass.cc:191] Failed to compile generated PTX with ptxas. Falling back to compilation by driver.\r\n2023-11-07 16:36:13.450711: W tensorflow/compiler/mlir/tools/kernel_gen/transforms/gpu_kernel_to_blob_pass.cc:191] Failed to compile generated PTX with ptxas. Falling back to compilation by driver.\r\n"
] | 2023-10-09T18:57:10 | 2024-05-03T09:12:04 | null | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
source
### TensorFlow version
GIT_VERSION:v2.14.0-rc1-21-g4dacf3f368e VERSION:2.14.0
### Custom code
No
### OS platform and distribution
WSL2 Linux Ubuntu 22
### Mobile device
_No response_
### Python version
3.10, but I can try different versions
### Bazel version
_No response_
### GCC/compiler version
_No response_
### CUDA/cuDNN version
CUDA version: 11.8, cuDNN version: 8.7
### GPU model and memory
NVIDIA Geforce GTX 1660 Ti, 8GB Memory
### Current behavior?
When I run the GPU test from the TensorFlow install instructions, I get several errors and warnings.
I don't care about the NUMA stuff, but the first 3 errors are that TensorFlow was not able to load cuDNN. I would really like to be able to use it to speed up training some RNNs and FFNNs. I do get my GPU in the list of physical devices, so I can still train, but not as fast as with cuDNN.
### Standalone code to reproduce the issue
```shell
python3 -c "import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"
```
### Relevant log output
```shell
2023-10-09 13:36:23.355516: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:9342] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
2023-10-09 13:36:23.355674: E tensorflow/compiler/xla/stream_executor/cuda/cuda_fft.cc:609] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
2023-10-09 13:36:23.355933: E tensorflow/compiler/xla/stream_executor/cuda/cuda_blas.cc:1518] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2023-10-09 13:36:23.413225: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-10-09 13:36:25.872586: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:880] could not open file to read NUMA node: /sys/bus/pci/devices/0000:01:00.0/numa_node
Your kernel may have been built without NUMA support.
2023-10-09 13:36:25.916952: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:880] could not open file to read NUMA node: /sys/bus/pci/devices/0000:01:00.0/numa_node
Your kernel may have been built without NUMA support.
2023-10-09 13:36:25.917025: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:880] could not open file to read NUMA node: /sys/bus/pci/devices/0000:01:00.0/numa_node
Your kernel may have been built without NUMA support.
[PhysicalDevice(name='/physical_device:GPU:0', device_type='GPU')]
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62075/reactions",
"total_count": 59,
"+1": 50,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 9
} | https://api.github.com/repos/tensorflow/tensorflow/issues/62075/timeline | null | reopened | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62074 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62074/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62074/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62074/events | https://github.com/tensorflow/tensorflow/pull/62074 | 1,933,321,482 | PR_kwDOArmXAs5cRfzy | 62,074 | update contributing md | {
"login": "ArkadebMisra",
"id": 39310124,
"node_id": "MDQ6VXNlcjM5MzEwMTI0",
"avatar_url": "https://avatars.githubusercontent.com/u/39310124?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArkadebMisra",
"html_url": "https://github.com/ArkadebMisra",
"followers_url": "https://api.github.com/users/ArkadebMisra/followers",
"following_url": "https://api.github.com/users/ArkadebMisra/following{/other_user}",
"gists_url": "https://api.github.com/users/ArkadebMisra/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ArkadebMisra/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ArkadebMisra/subscriptions",
"organizations_url": "https://api.github.com/users/ArkadebMisra/orgs",
"repos_url": "https://api.github.com/users/ArkadebMisra/repos",
"events_url": "https://api.github.com/users/ArkadebMisra/events{/privacy}",
"received_events_url": "https://api.github.com/users/ArkadebMisra/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": 1169364458,
"node_id": "MDU6TGFiZWwxMTY5MzY0NDU4",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:S",
"name": "size:S",
"color": "adafea",
"default": false,
"description": "CL Change Size: Small"
}
] | closed | false | {
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).\n\nView this [failed invocation](https://github.com/tensorflow/tensorflow/pull/62074/checks?check_run_id=17532730903) 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/ ",
"Also, please sign CLA and squash all commits in a single one, it does not make sense to have 3 different commits for editing a single file",
"I think I have squashed all the commits successfully. please check. Sorry for my mistakes, I'm just learning and trying my best."
] | 2023-10-09T15:21:43 | 2023-10-11T12:48:39 | 2023-10-11T06:42:26 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/62074",
"html_url": "https://github.com/tensorflow/tensorflow/pull/62074",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/62074.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/62074.patch",
"merged_at": "2023-10-11T06:42:26"
} | The contributing md is not up to date. tensorflow/tensorflow:devel and tensorflow/tensorflow:devel-gpu docker file tags are no longer supported. also this links does not point to the correct files or page. I have updated a small link and intend to update the instructions so that its more clear and concise. | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62074/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/62074/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/62073 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62073/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62073/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62073/events | https://github.com/tensorflow/tensorflow/issues/62073 | 1,933,199,620 | I_kwDOArmXAs5zOkkE | 62,073 | ERROR: No matching distribution found for tensorflow-gpu==2.11 | {
"login": "Ritesh-Kumar-Yadav",
"id": 102906794,
"node_id": "U_kgDOBiI7qg",
"avatar_url": "https://avatars.githubusercontent.com/u/102906794?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Ritesh-Kumar-Yadav",
"html_url": "https://github.com/Ritesh-Kumar-Yadav",
"followers_url": "https://api.github.com/users/Ritesh-Kumar-Yadav/followers",
"following_url": "https://api.github.com/users/Ritesh-Kumar-Yadav/following{/other_user}",
"gists_url": "https://api.github.com/users/Ritesh-Kumar-Yadav/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Ritesh-Kumar-Yadav/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Ritesh-Kumar-Yadav/subscriptions",
"organizations_url": "https://api.github.com/users/Ritesh-Kumar-Yadav/orgs",
"repos_url": "https://api.github.com/users/Ritesh-Kumar-Yadav/repos",
"events_url": "https://api.github.com/users/Ritesh-Kumar-Yadav/events{/privacy}",
"received_events_url": "https://api.github.com/users/Ritesh-Kumar-Yadav/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 | [
"@ritesh4git,\r\nGPU support on native-Windows is only available for 2.10 or earlier versions, starting in TF 2.11, CUDA build is not supported for Windows. For using TensorFlow GPU on Windows, you will need to build/install TensorFlow in WSL2 or use tensorflow-cpu with TensorFlow-DirectML-Plugin.\r\n\r\nhttps://www.tensorflow.org/install/source_windows\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/62073\">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/62073\">No</a>\n"
] | 2023-10-09T14:19:21 | 2023-10-27T01:47:15 | 2023-10-27T01:47:13 | 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
windows
### Mobile device
_No response_
### Python version
3.9
### Bazel version
_No response_
### GCC/compiler version
_No response_
### CUDA/cuDNN version
11 / 8
### GPU model and memory
3060
### Current behavior?
WARNING: Ignoring invalid distribution -pencv-python-headless (c:\users\rites\appdata\roaming\python\python39\site-packages)
WARNING: Ignoring invalid distribution -pencv-python-headless (c:\users\rites\appdata\roaming\python\python39\site-packages)
ERROR: Could not find a version that satisfies the requirement tensorflow-gpu==2.11 (from versions: 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.6.0, 2.6.1, 2.6.2, 2.6.3, 2.6.4, 2.6.5, 2.7.0rc0, 2.7.0rc1, 2.7.0, 2.7.1, 2.7.2, 2.7.3, 2.7.4, 2.8.0rc0, 2.8.0rc1, 2.8.0, 2.8.1, 2.8.2, 2.8.3, 2.8.4, 2.9.0rc0, 2.9.0rc1, 2.9.0rc2, 2.9.0, 2.9.1, 2.9.2, 2.9.3, 2.10.0rc0, 2.10.0rc1, 2.10.0rc2, 2.10.0rc3, 2.10.0, 2.10.1, 2.12.0)
### Standalone code to reproduce the issue
```shell
WARNING: Ignoring invalid distribution -pencv-python-headless (c:\users\rites\appdata\roaming\python\python39\site-packages)
WARNING: Ignoring invalid distribution -pencv-python-headless (c:\users\rites\appdata\roaming\python\python39\site-packages)
ERROR: Could not find a version that satisfies the requirement tensorflow-gpu==2.11 (from versions: 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.6.0, 2.6.1, 2.6.2, 2.6.3, 2.6.4, 2.6.5, 2.7.0rc0, 2.7.0rc1, 2.7.0, 2.7.1, 2.7.2, 2.7.3, 2.7.4, 2.8.0rc0, 2.8.0rc1, 2.8.0, 2.8.1, 2.8.2, 2.8.3, 2.8.4, 2.9.0rc0, 2.9.0rc1, 2.9.0rc2, 2.9.0, 2.9.1, 2.9.2, 2.9.3, 2.10.0rc0, 2.10.0rc1, 2.10.0rc2, 2.10.0rc3, 2.10.0, 2.10.1, 2.12.0)
```
### Relevant log output
_No response_ | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62073/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/62073/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62072 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62072/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62072/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62072/events | https://github.com/tensorflow/tensorflow/issues/62072 | 1,933,125,713 | I_kwDOArmXAs5zOShR | 62,072 | tf.math.is_non_decreasing outputs incorrect result when input is an uint tensor | {
"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": 5922361893,
"node_id": "LA_kwDOArmXAs8AAAABYQASJQ",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF2.14",
"name": "TF2.14",
"color": "b60205",
"default": false,
"description": "For issues related to Tensorflow 2.14.x"
}
] | 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 @drewshark ,\r\n\r\nThanks for reporting this. The issue persists with all unsigned dtypes i.e `'uint8','uint16','uint32','uint64'` which are causing overflow (i.e negative values being overflowed to positive end as unsigned integers can't hold -ve numbers) when the input (x) is of `non_decreasing` type.\r\n\r\nThe overflow is happening from this line of code.\r\n\r\nhttps://github.com/tensorflow/tensorflow/blob/4dacf3f368eb7965e9b5c3bbdd5193986081c3b2/tensorflow/python/ops/check_ops.py#L1947\r\n\r\nWe will check and submit a fix for this. 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/62072\">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/62072\">No</a>\n"
] | 2023-10-09T13:50:45 | 2023-10-18T05:45:18 | 2023-10-18T05:45:16 | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
source
### TensorFlow version
2.14.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.math.is_non_decreasing a decreasing tensor with dtype=uint32. This API incorrectly output True instead of False.
### Standalone code to reproduce the issue
```shell
import tensorflow as tf
x = tf.constant([10,9], dtype='uint32')
print(x)
out = tf.math.is_non_decreasing(x)
print(out)
```
### Relevant log output
_No response_ | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62072/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/62072/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62071 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62071/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62071/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62071/events | https://github.com/tensorflow/tensorflow/issues/62071 | 1,932,633,170 | I_kwDOArmXAs5zMaRS | 62,071 | tf.truncatediv does not support float/complex tensor | {
"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": 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": 5922361893,
"node_id": "LA_kwDOArmXAs8AAAABYQASJQ",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF2.14",
"name": "TF2.14",
"color": "b60205",
"default": false,
"description": "For issues related to Tensorflow 2.14.x"
}
] | open | false | {
"login": "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 I wasn't able to replicate this issue as reported. Please check this [gist](https://colab.research.google.com/gist/sushreebarsa/db4856d8ad0174b72d422f564a7d621b/62071.ipynb) on the latest TF v2.14.\r\nThe result is as follows;\r\n```\r\nSuccess on dtype: bfloat16\r\nFail on dtype: bool\r\nFail on dtype: complex128\r\nFail on dtype: complex64\r\nSuccess on dtype: double\r\nSuccess on dtype: float16\r\nSuccess on dtype: float32\r\nSuccess on dtype: float64\r\nSuccess on dtype: half\r\nSuccess on dtype: int16\r\nSuccess on dtype: int32\r\nSuccess on dtype: int64\r\nSuccess on dtype: int8\r\nSuccess on dtype: uint16\r\nSuccess on dtype: uint32\r\nSuccess on dtype: uint64\r\nSuccess on dtype: uint8\r\n\r\n```\r\nThank you!\r\n\r\n",
"Hi @sushreebarsa ,\r\nI apology for my mistake, my environment is tensorflow 2.10.0 instead of 2.14.0. I confirm your result on tensorflow 2.14.0. It looks like tf.truncatediv still does not support complex tensor.",
"Hi @drewshark ,\r\n\r\nThe complex dtype still not supporting for `truncatediv` Op in tf-nightly also. We will look into this and do needful changes and will update you.\r\n\r\nThanks!\r\n\r\n",
"Done PR #62409 ",
"@drewshark,\r\nComplex types are not supported. This breaks a bunch of stuff, and as you can see from the functor, is only supported by real values. Floor/truncation doesn't make much sense for complex inputs. Thank you!"
] | 2023-10-09T09:19:14 | 2024-06-12T11:18:34 | null | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
source
### TensorFlow version
2.14.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?
Not sure if it is an expected behavior but it conflicts the documentation (https://www.tensorflow.org/api_docs/python/tf/truncatediv).
tf.truncatediv will directly crash when the input is float-related data type of complex-related datatype.
### Standalone code to reproduce the issue
```shell
import tensorflow as tf
import numpy as np
import warnings
warnings.filterwarnings("ignore")
dtype_list = [
'bfloat16', 'bool', 'complex128', 'complex64',
'double', 'float16', 'float32',
'float64', 'half', 'int16', 'int32', 'int64', 'int8',
'uint16', 'uint32', 'uint64', 'uint8'
]
for dtype in dtype_list:
x = tf.constant(np.random.rand(0), dtype=dtype)
y = tf.constant(np.random.randint(0, 100, ()), dtype=dtype)
try:
out = tf.truncatediv(x,y)
print(f"Success on dtype: {dtype}")
except:
print(f"Fail on dtype: {dtype}")
```
### Relevant log output
```shell
Fail on dtype: bfloat16
Fail on dtype: bool
Fail on dtype: complex128
Fail on dtype: complex64
Fail on dtype: double
Fail on dtype: float16
Fail on dtype: float32
Fail on dtype: float64
Fail on dtype: half
Success on dtype: int16
Success on dtype: int32
Success on dtype: int64
Success on dtype: int8
Success on dtype: uint16
Success on dtype: uint32
Success on dtype: uint64
Success on dtype: uint8
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62071/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/62071/timeline | null | null | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62070 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62070/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62070/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62070/events | https://github.com/tensorflow/tensorflow/issues/62070 | 1,932,564,389 | I_kwDOArmXAs5zMJel | 62,070 | tf.truncatemod does not support half and bfloat16 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": 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": 5922361893,
"node_id": "LA_kwDOArmXAs8AAAABYQASJQ",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF2.14",
"name": "TF2.14",
"color": "b60205",
"default": false,
"description": "For issues related to Tensorflow 2.14.x"
}
] | open | false | {
"login": "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 issue applies for tf.math.igamma, which also is claimed to accept bfloat and half tensor but it does not in practical.",
"Hi @drewshark ,\r\n\r\nI can confirm the Op `TruncateMod` registered for {int32, int64, bfloat16, half, float, double} dtypes. I checked with CPU the Op works fine except for `half` and `bfloat16`. Attached [gist](https://colab.sandbox.google.com/gist/SuryanarayanaY/bfdde4e69b4ef916bf583530793b07ca/62070_cpu.ipynb) for reference.\r\n\r\nBut some kernels has not been built due to unknown reasons. We will have a look into it and confirm whether it is omitted for some reason. If not maybe we can built kernels for same to fix it.\r\n\r\nThank you."
] | 2023-10-09T08:36:40 | 2024-04-03T07:15:25 | null | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
binary
### TensorFlow version
2.14.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?
Following the documentation (https://www.tensorflow.org/api_docs/python/tf/truncatemod) tf.truncatemod supports the half and bfloat16 data type but in practical it does not.
### Standalone code to reproduce the issue
```shell
import tensorflow as tf
import numpy as np
import warnings
warnings.filterwarnings("ignore")
x = tf.constant(np.random.rand(2,2), dtype='half')
y = tf.constant(np.random.randint(0, 100, ()), dtype='half')
out = tf.truncatemod(x,y) # crash
print(out)
import tensorflow as tf
import numpy as np
import warnings
warnings.filterwarnings("ignore")
x = tf.constant(np.random.rand(2,2), dtype='bfloat16')
y = tf.constant(np.random.randint(0, 100, ()), dtype='bfloat16')
out = tf.truncatemod(x,y) # crash
print(out)
```
### Relevant log output
```shell
NotFoundError: Could not find device for node: {{node TruncateMod}} = TruncateMod[T=DT_BFLOAT16]
All kernels registered for op TruncateMod:
device='XLA_CPU_JIT'; T in [DT_FLOAT, DT_DOUBLE, DT_INT32, DT_INT64, DT_BFLOAT16, DT_HALF]
device='XLA_GPU_JIT'; T in [DT_FLOAT, DT_DOUBLE, DT_INT32, DT_INT64, DT_BFLOAT16, DT_HALF]
device='DEFAULT'; T in [DT_INT32]
device='GPU'; T in [DT_INT32]
device='CPU'; T in [DT_DOUBLE]
device='CPU'; T in [DT_FLOAT]
device='CPU'; T in [DT_INT64]
device='CPU'; T in [DT_INT32]
[Op:TruncateMod] name:
NotFoundError: Could not find device for node: {{node TruncateMod}} = TruncateMod[T=DT_HALF]
All kernels registered for op TruncateMod:
device='XLA_CPU_JIT'; T in [DT_FLOAT, DT_DOUBLE, DT_INT32, DT_INT64, DT_BFLOAT16, DT_HALF]
device='XLA_GPU_JIT'; T in [DT_FLOAT, DT_DOUBLE, DT_INT32, DT_INT64, DT_BFLOAT16, DT_HALF]
device='DEFAULT'; T in [DT_INT32]
device='GPU'; T in [DT_INT32]
device='CPU'; T in [DT_DOUBLE]
device='CPU'; T in [DT_FLOAT]
device='CPU'; T in [DT_INT64]
device='CPU'; T in [DT_INT32]
[Op:TruncateMod] name:
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62070/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/62070/timeline | null | null | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62067 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62067/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62067/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62067/events | https://github.com/tensorflow/tensorflow/issues/62067 | 1,931,771,108 | I_kwDOArmXAs5zJHzk | 62,067 | Calculating Gradients for a graph containing tf.image.extract_patches, using TF 2.9.0 | {
"login": "RaymondMarzas",
"id": 117340529,
"node_id": "U_kgDOBv55cQ",
"avatar_url": "https://avatars.githubusercontent.com/u/117340529?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RaymondMarzas",
"html_url": "https://github.com/RaymondMarzas",
"followers_url": "https://api.github.com/users/RaymondMarzas/followers",
"following_url": "https://api.github.com/users/RaymondMarzas/following{/other_user}",
"gists_url": "https://api.github.com/users/RaymondMarzas/gists{/gist_id}",
"starred_url": "https://api.github.com/users/RaymondMarzas/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/RaymondMarzas/subscriptions",
"organizations_url": "https://api.github.com/users/RaymondMarzas/orgs",
"repos_url": "https://api.github.com/users/RaymondMarzas/repos",
"events_url": "https://api.github.com/users/RaymondMarzas/events{/privacy}",
"received_events_url": "https://api.github.com/users/RaymondMarzas/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 473172988,
"node_id": "MDU6TGFiZWw0NzMxNzI5ODg=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug",
"name": "type:bug",
"color": "159b2e",
"default": false,
"description": "Bug"
},
{
"id": 1097547147,
"node_id": "MDU6TGFiZWwxMDk3NTQ3MTQ3",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:ops",
"name": "comp:ops",
"color": "0052cc",
"default": false,
"description": "OPs related issues"
},
{
"id": 4032183365,
"node_id": "LA_kwDOArmXAs7wVjxF",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.9",
"name": "TF 2.9",
"color": "1CF842",
"default": false,
"description": "Issues found in the TF 2.9 release (or RCs)"
}
] | closed | false | {
"login": "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 | [
"I think I have sought the answer, a comment on _How to handle non-determinism when training on a GPU?_(https://stackoverflow.com/questions/50744565/how-to-handle-non-determinism-when-training-on-a-gpu),\r\nThe problem comes from Tensorflow does not currently guarantee determinism for all of its operations. So, you just need to change to Linux or `set TF_DETERMINISTIC_OPS=0`",
"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/62067\">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/62067\">No</a>\n"
] | 2023-10-08T11:34:45 | 2023-10-09T09:02:50 | 2023-10-09T09:02:47 | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
source
### TensorFlow version
v2.9.0-rc2-42-g8a20d54a3c1 2.9.0
### Custom code
Yes
### OS platform and distribution
Windows 10-64bit
### Mobile device
_No response_
### Python version
Python 3.7
### Bazel version
_No response_
### GCC/compiler version
_No response_
### CUDA/cuDNN version
cuda11.2
### GPU model and memory
_No response_
### Current behavior?
My codes extract patches from a batch of images as an input and produces a batch of image patches as an output.
The input (batch_size, rows, cols, 1) is split into patches (patches_num, batch_size, patch_row, patch_col) before being fed to next layer of the network. This function was called by a custom layer (keras.layers.Layer), and it works well during extracts the patches, but when calculating gradients for a graph with `grads = tape.gradient(loss, model.variables)`, an error came:
```
UnimplementedError: Graph execution error:
Detected at node 'gradients/ExtractImagePatches_1_grad/SparseTensorDenseMatMul/SparseTensorDenseMatMul'
Node: 'gradients/ExtractImagePatches_1_grad/SparseTensorDenseMatMul/SparseTensorDenseMatMul'
2 root error(s) found.
(0) UNIMPLEMENTED: A deterministic GPU implementation of SparseTensorDenseMatmulOp is not currently available.
[[{{node gradients/ExtractImagePatches_1_grad/SparseTensorDenseMatMul/SparseTensorDenseMatMul}}]]
[[gradients/fan_weight_8/StatefulPartitionedCall_grad/PartitionedCall/gradients/ExtractImagePatches_grad/ExtractImagePatches/_63]]
(1) UNIMPLEMENTED: A deterministic GPU implementation of SparseTensorDenseMatmulOp is not currently available.
[[{{node gradients/ExtractImagePatches_1_grad/SparseTensorDenseMatMul/SparseTensorDenseMatMul}}]]
0 successful operations.
0 derived errors ignored. [Op:__inference___backward_call_20302_28692]
```
I found an issue about tf.extract_image_patches() opend on Feb 10, 2017 (https://github.com/tensorflow/tensorflow/issues/7414)
and added `tf.cast(input_batch, dtype=tf.float32, name="castData") ` in the function, but it wont work.
Here is my code of the function.
```
def spilt_patches(input_batch,
blocks_num_cur,
block_shape_cur):
'''
input_batch = np.tile(np.random.randint(0,2,(4,3,3)), (1,2,2))
blocks_num_cur = 4,
block_shape_cur = [6,6]
'''
shape = input_batch.shape
input_batch = tf.reshape(input_batch,(shape[0],shape[1], shape[2], 1)) # [batch_size, rows, cols, 1]
input_batch = tf.cast(input_batch, dtype=tf.float32, name="castData")
blocks_cur = tf.image.extract_patches(images = input_batch,
sizes=[1, block_shape_cur[0], block_shape_cur[1], 1],
strides=[1, block_shape_cur[0], block_shape_cur[1], 1],
rates=[1, 1, 1, 1],
padding='VALID')
blocks_cur = tf.cast(tf.reshape(blocks_cur,[shape[0], blocks_num_cur, block_shape_cur[0], block_shape_cur[1]]), tf.float32) # [batch_size, patch_num, patch_row, patch_col]
blocks_cur = tf.transpose(blocks_cur,[1, 0, 2, 3])
return blocks_cur
```
### Standalone code to reproduce the issue
```shell
https://gist.github.com/RaymondMarzas/7bec1a8099aded089a29d775caef880e
```
### Relevant log output
```shell
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\spyder_kernels\py3compat.py", line 356, in compat_exec
exec(code, globals, locals)
File "d:\codes\pycoode\ocnn2nd\fanoutmodel_train_ocnn.py", line 112, in <module>
grads = tape.gradient(loss, model.variables)
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\tensorflow\python\eager\backprop.py", line 1106, in gradient
unconnected_gradients=unconnected_gradients)
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\tensorflow\python\eager\imperative_grad.py", line 73, in imperative_grad
compat.as_str(unconnected_gradients.value))
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\tensorflow\python\eager\function.py", line 1206, in _backward_function_wrapper
processed_args, remapped_captures)
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\tensorflow\python\eager\function.py", line 1861, in _call_flat
ctx, args, cancellation_manager=cancellation_manager))
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\tensorflow\python\eager\function.py", line 502, in call
ctx=ctx)
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\tensorflow\python\eager\execute.py", line 55, in quick_execute
inputs, attrs, num_outputs)
UnimplementedError: Graph execution error:
Detected at node 'gradients/ExtractImagePatches_1_grad/SparseTensorDenseMatMul/SparseTensorDenseMatMul' defined at (most recent call last):
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\spyder_kernels\console\__main__.py", line 24, in <module>
start.main()
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\spyder_kernels\console\start.py", line 340, in main
kernel.start()
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\ipykernel\kernelapp.py", line 712, in start
self.io_loop.start()
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\tornado\platform\asyncio.py", line 215, in start
self.asyncio_loop.run_forever()
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\asyncio\base_events.py", line 541, in run_forever
self._run_once()
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\asyncio\base_events.py", line 1786, in _run_once
handle._run()
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\asyncio\events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\ipykernel\kernelbase.py", line 510, in dispatch_queue
await self.process_one()
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\ipykernel\kernelbase.py", line 499, in process_one
await dispatch(*args)
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\ipykernel\kernelbase.py", line 406, in dispatch_shell
await result
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\ipykernel\kernelbase.py", line 730, in execute_request
reply_content = await reply_content
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\ipykernel\ipkernel.py", line 387, in do_execute
cell_id=cell_id,
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\ipykernel\zmqshell.py", line 528, in run_cell
return super().run_cell(*args, **kwargs)
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\IPython\core\interactiveshell.py", line 2975, in run_cell
raw_cell, store_history, silent, shell_futures, cell_id
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\IPython\core\interactiveshell.py", line 3029, in _run_cell
return runner(coro)
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\IPython\core\async_helpers.py", line 78, in _pseudo_sync_runner
coro.send(None)
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\IPython\core\interactiveshell.py", line 3257, in run_cell_async
interactivity=interactivity, compiler=compiler, result=result)
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\IPython\core\interactiveshell.py", line 3472, in run_ast_nodes
if (await self.run_code(code, result, async_=asy)):
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\IPython\core\interactiveshell.py", line 3552, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "C:\Users\xxx\AppData\Local\Temp\ipykernel_29532\1338903705.py", line 1, in <module>
runfile('D:/CODES/pycoode/OCNN2nd/fanoutmodel_train_ocnn.py', wdir='D:/CODES/pycoode/OCNN2nd')
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 526, in runfile
post_mortem, current_namespace, stack_depth=1)
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 613, in _exec_file
capture_last_expression=False)
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 469, in exec_code
exec_fun(compile(ast_code, filename, 'exec'), ns_globals, ns_locals)
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\spyder_kernels\py3compat.py", line 356, in compat_exec
exec(code, globals, locals)
File "d:\codes\pycoode\ocnn2nd\fanoutmodel_train_ocnn.py", line 97, in <module>
trn_pred = model(X_trn) # input[BATCH_SIZE,TARGET_ROWS*TARGET_COLS]], output[BATCH_SIZE,1]
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\keras\utils\traceback_utils.py", line 64, in error_handler
return fn(*args, **kwargs)
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\keras\engine\training.py", line 490, in __call__
return super().__call__(*args, **kwargs)
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\keras\utils\traceback_utils.py", line 64, in error_handler
return fn(*args, **kwargs)
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\keras\engine\base_layer.py", line 1014, in __call__
outputs = call_fn(inputs, *args, **kwargs)
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\keras\utils\traceback_utils.py", line 92, in error_handler
return fn(*args, **kwargs)
Node: 'gradients/ExtractImagePatches_1_grad/SparseTensorDenseMatMul/SparseTensorDenseMatMul'
Detected at node 'gradients/ExtractImagePatches_1_grad/SparseTensorDenseMatMul/SparseTensorDenseMatMul' defined at (most recent call last):
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\spyder_kernels\console\__main__.py", line 24, in <module>
start.main()
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\spyder_kernels\console\start.py", line 340, in main
kernel.start()
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\ipykernel\kernelapp.py", line 712, in start
self.io_loop.start()
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\tornado\platform\asyncio.py", line 215, in start
self.asyncio_loop.run_forever()
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\asyncio\base_events.py", line 541, in run_forever
self._run_once()
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\asyncio\base_events.py", line 1786, in _run_once
handle._run()
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\asyncio\events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\ipykernel\kernelbase.py", line 510, in dispatch_queue
await self.process_one()
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\ipykernel\kernelbase.py", line 499, in process_one
await dispatch(*args)
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\ipykernel\kernelbase.py", line 406, in dispatch_shell
await result
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\ipykernel\kernelbase.py", line 730, in execute_request
reply_content = await reply_content
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\ipykernel\ipkernel.py", line 387, in do_execute
cell_id=cell_id,
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\ipykernel\zmqshell.py", line 528, in run_cell
return super().run_cell(*args, **kwargs)
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\IPython\core\interactiveshell.py", line 2975, in run_cell
raw_cell, store_history, silent, shell_futures, cell_id
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\IPython\core\interactiveshell.py", line 3029, in _run_cell
return runner(coro)
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\IPython\core\async_helpers.py", line 78, in _pseudo_sync_runner
coro.send(None)
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\IPython\core\interactiveshell.py", line 3257, in run_cell_async
interactivity=interactivity, compiler=compiler, result=result)
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\IPython\core\interactiveshell.py", line 3472, in run_ast_nodes
if (await self.run_code(code, result, async_=asy)):
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\IPython\core\interactiveshell.py", line 3552, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "C:\Users\xxx\AppData\Local\Temp\ipykernel_29532\1338903705.py", line 1, in <module>
runfile('D:/CODES/pycoode/OCNN2nd/fanoutmodel_train_ocnn.py', wdir='D:/CODES/pycoode/OCNN2nd')
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 526, in runfile
post_mortem, current_namespace, stack_depth=1)
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 613, in _exec_file
capture_last_expression=False)
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 469, in exec_code
exec_fun(compile(ast_code, filename, 'exec'), ns_globals, ns_locals)
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\spyder_kernels\py3compat.py", line 356, in compat_exec
exec(code, globals, locals)
File "d:\codes\pycoode\ocnn2nd\fanoutmodel_train_ocnn.py", line 97, in <module>
trn_pred = model(X_trn) # input[BATCH_SIZE,TARGET_ROWS*TARGET_COLS]], output[BATCH_SIZE,1]
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\keras\utils\traceback_utils.py", line 64, in error_handler
return fn(*args, **kwargs)
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\keras\engine\training.py", line 490, in __call__
return super().__call__(*args, **kwargs)
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\keras\utils\traceback_utils.py", line 64, in error_handler
return fn(*args, **kwargs)
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\keras\engine\base_layer.py", line 1014, in __call__
outputs = call_fn(inputs, *args, **kwargs)
File "C:\ProgramData\Anaconda3\envs\TF2.9.0\lib\site-packages\keras\utils\traceback_utils.py", line 92, in error_handler
return fn(*args, **kwargs)
Node: 'gradients/ExtractImagePatches_1_grad/SparseTensorDenseMatMul/SparseTensorDenseMatMul'
2 root error(s) found.
(0) UNIMPLEMENTED: A deterministic GPU implementation of SparseTensorDenseMatmulOp is not currently available.
[[{{node gradients/ExtractImagePatches_1_grad/SparseTensorDenseMatMul/SparseTensorDenseMatMul}}]]
[[gradients/fan_weight_8/StatefulPartitionedCall_grad/PartitionedCall/gradients/ExtractImagePatches_grad/ExtractImagePatches/_63]]
(1) UNIMPLEMENTED: A deterministic GPU implementation of SparseTensorDenseMatmulOp is not currently available.
[[{{node gradients/ExtractImagePatches_1_grad/SparseTensorDenseMatMul/SparseTensorDenseMatMul}}]]
0 successful operations.
0 derived errors ignored. [Op:__inference___backward_call_20302_28692]
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62067/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/62067/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62066 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62066/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62066/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62066/events | https://github.com/tensorflow/tensorflow/issues/62066 | 1,931,691,872 | I_kwDOArmXAs5zI0dg | 62,066 | 【in C++】No OpKernel was registered to support Op 'PyFunc' used by {{node PyFunc}}with these attrs: [Tin=[], Tout=[DT_FLOAT], token="pyfunc_0"] Registered devices: [CPU, XLA_CPU] Registered kernels: <no registered kernels> [[PyFunc]] | {
"login": "chuanshanjia",
"id": 13885227,
"node_id": "MDQ6VXNlcjEzODg1MjI3",
"avatar_url": "https://avatars.githubusercontent.com/u/13885227?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chuanshanjia",
"html_url": "https://github.com/chuanshanjia",
"followers_url": "https://api.github.com/users/chuanshanjia/followers",
"following_url": "https://api.github.com/users/chuanshanjia/following{/other_user}",
"gists_url": "https://api.github.com/users/chuanshanjia/gists{/gist_id}",
"starred_url": "https://api.github.com/users/chuanshanjia/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chuanshanjia/subscriptions",
"organizations_url": "https://api.github.com/users/chuanshanjia/orgs",
"repos_url": "https://api.github.com/users/chuanshanjia/repos",
"events_url": "https://api.github.com/users/chuanshanjia/events{/privacy}",
"received_events_url": "https://api.github.com/users/chuanshanjia/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": 1548890241,
"node_id": "MDU6TGFiZWwxNTQ4ODkwMjQx",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%201.15",
"name": "TF 1.15",
"color": "e99695",
"default": false,
"description": "for issues seen on TF 1.15"
}
] | 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 | [
"Java Inference, the same question。",
"Hi @chuanshanjia ,\r\n\r\nTF1.x versions are not supported anymore. Will you upgrade it to latest TF version and let us know if any issue there. Thanks!",
"Hi @chuanshanjia ,\r\n\r\nI have checked with TF1.15V and there kernels found registered for only GPU devices as per below code.\r\nhttps://github.com/tensorflow/tensorflow/blob/590d6eef7e91a6a7392c8ffffb7b58f2e0c8bc6b/tensorflow/python/lib/core/py_func.cc#L398\r\n\r\nNow in TF2.14v I can see that kernels are registered for all as DEVICE_DEFAULT.Here it should work for all devices.\r\n\r\nhttps://github.com/tensorflow/tensorflow/blob/4dacf3f368eb7965e9b5c3bbdd5193986081c3b2/tensorflow/python/lib/core/py_func.cc#L422\r\n\r\nYou can see the list of `dtypes` supported in TF2.14 for the Op **PyFunc** here.\r\n\r\nhttps://github.com/tensorflow/tensorflow/blob/4dacf3f368eb7965e9b5c3bbdd5193986081c3b2/tensorflow/python/lib/core/py_func.cc#L413-L420\r\n\r\n\r\nYou can test the code with TF2.14v and let us know if you still have any problem.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/62066\">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/62066\">No</a>\n"
] | 2023-10-08T07:45:56 | 2023-11-01T01:48:48 | 2023-11-01T01:48:46 | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
binary
### TensorFlow version
tf 1.15.0
### Custom code
Yes
### OS platform and distribution
Linux
### Mobile device
15001379103
### Python version
_No response_
### Bazel version
4.2.1
### GCC/compiler version
4.8.5
### CUDA/cuDNN version
_No response_
### GPU model and memory
_No response_
### Current behavior?
method: C API
version: 1.15.0
package link:https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-1.15.0.tar.gz
### Standalone code to reproduce the issue
```shell
#include "app/federal/model.hpp"
#include <iostream>
#include <fstream>
namespace xcxxx {
/**
* Print Tensorflow version
*/
void Model::PrintTfVersion() {
std::cout << "Hello from TensorFlow C library version \n" << TF_Version() << std::endl;
}
void NoOpDeallocator(void* data, size_t a, void* b) {
}
void DeallocateBuffer(void* data, size_t) {
std::free(data);
}
TF_Buffer* ReadBufferFromFile(std::string file) {
std::ifstream f(file, std::ios::binary);
if (f.fail() || !f.is_open()) {
return nullptr;
}
f.seekg(0, std::ios::end);
const auto fsize = f.tellg();
f.seekg(0, std::ios::beg);
if (fsize < 1) {
f.close();
return nullptr;
}
char* data = static_cast<char*>(std::malloc(fsize));
f.read(data, fsize);
f.close();
TF_Buffer* buf = TF_NewBuffer();
buf->data = data;
buf->length = fsize;
buf->data_deallocator = DeallocateBuffer;
return buf;
}
/**
* Init Model Instance
*/
bool Model::Init(std::string model_file) {
try {
// create new graph
TF_Buffer* buffer = ReadBufferFromFile(model_file);
if (buffer == nullptr) {
std::cout << "code:10000" << ", msg: " << "Error creating the session from the given model path!"<< std::endl;
return false;
}
TF_ImportGraphDefOptions* opts = TF_NewImportGraphDefOptions();
TF_Status* status = TF_NewStatus();
m_graph_ = TF_NewGraph();
TF_GraphImportGraphDef(m_graph_, buffer, opts, status);
TF_DeleteImportGraphDefOptions(opts);
TF_DeleteBuffer(buffer);
if (TF_GetCode(status) != TF_OK) {
std::cout << "code:10001" << ", msg: " << TF_Message(status) << std::endl;
TF_DeleteGraph(m_graph_);
m_graph_ = nullptr;
return false;
}
TF_DeleteStatus(status);
// create new session
status = TF_NewStatus();
TF_SessionOptions* options = TF_NewSessionOptions();
m_session_ = TF_NewSession(m_graph_, options, status);
TF_DeleteSessionOptions(options);
if (TF_GetCode(status) != TF_OK) {
std::cout << "code:10002" << ", msg: " << TF_Message(status) << std::endl;
return false;
}
TF_DeleteStatus(status);
std::cout << "code:0" << ", msg: load model suc!^_^" << std::endl;
} catch (std::exception& e) {
std::cout << "code:10003" << ", msg: model init.Tf load fail!" << std::endl;
return false;
}
return true;
}
/**
* Init Model Instance
*/
bool Model::InitV2(std::string model_file) {
try {
TF_Buffer* buffer = ReadBufferFromFile(model_file);
if (buffer == nullptr) {
std::cout << "code:10000" << ", msg: model init.Tf load fail!" << std::endl;
}
TF_Status* status = TF_NewStatus();
TF_ImportGraphDefOptions* opts = TF_NewImportGraphDefOptions();
m_graph_ = TF_NewGraph();
TF_GraphImportGraphDef(m_graph_, buffer, opts, status);
TF_DeleteImportGraphDefOptions(opts);
TF_DeleteBuffer(buffer);
if (TF_GetCode(status) != TF_OK) {
TF_DeleteGraph(m_graph_);
m_graph_ = nullptr;
}
TF_DeleteStatus(status);
// create session from graph
status = TF_NewStatus();
TF_SessionOptions* options = TF_NewSessionOptions();
m_session_ = TF_NewSession(m_graph_, options, status);
TF_DeleteSessionOptions(options);
} catch (std::exception& e) {
std::cout << "code:10003" << ", msg: model init.Tf load fail!" << std::endl;
return false;
}
return true;
}
/**
* infer
*/
std::vector<float> Model::Infer(std::vector<float> input_data) {
std::vector<float> ret;
//****** 1、Define graph inputs/outputs
// std::string train_input_name = "top_model/inputs:0";
std::string train_input_name = "top_model/inputs";
// std::string train_output_name = "top_model/outputs:0";
std::string train_output_name = "top_model/outputs";
// Define graph inputs
uint16_t gr_input_nums = 1;
TF_Output* inputs = (TF_Output*)malloc(sizeof(TF_Output) * gr_input_nums);
TF_Output input0 = {TF_GraphOperationByName(m_graph_, train_input_name.c_str()), 0};
size_t pos = 0;
uint16_t i = 0;
TF_Operation* oper;
while ((oper = TF_GraphNextOperation(m_graph_, &pos)) != nullptr) {
std::cout << "index:" << i << ", graphname:" << TF_OperationName(oper) << std::endl;
i++;
}
if (nullptr == input0.oper) {
std::cout << "code:20000" << ", msg: Define graph inputs failure" << std::endl;
return ret;
}
inputs[0] = input0;
// Define graph outpus
uint16_t gr_output_nums = 1;
TF_Output* outputs = (TF_Output*)malloc(sizeof(TF_Output) * gr_output_nums);
TF_Output output0 = {TF_GraphOperationByName(m_graph_, train_output_name.c_str()), 0};
if (nullptr == output0.oper) {
std::cout << "code:20001" << ", msg: Define graph outputs failure" << std::endl;
return ret;
}
outputs[0] = output0;
//****** 2、Create input tensor(s) and populate with feature
TF_Tensor** input_values = (TF_Tensor**)malloc(sizeof(TF_Tensor*) * gr_input_nums);
int16_t num_dims = 1;
int64_t dims[] = {1};
float_t* data = &input_data[0];
TF_Tensor* float_tensor = TF_NewTensor(TF_FLOAT, dims, num_dims, data, sizeof(TF_FLOAT), &NoOpDeallocator, 0);
if (nullptr == float_tensor) {
std::cout << "code:20002" << ", msg: allocate failure" << std::endl;
return ret;
}
input_values[0] = float_tensor;
TF_Tensor** output_values = (TF_Tensor**)malloc(sizeof(TF_Tensor*) * gr_output_nums);
//****** 3、Run the session
TF_Status* status = TF_NewStatus();
TF_SessionRun(
m_session_,
nullptr,
// Input tensors
inputs, input_values, gr_input_nums,
// Output tensors
outputs, output_values, gr_output_nums,
// Target operations
nullptr, 0,
// RunMedata
nullptr,
// Output status
status
);
if (TF_OK != TF_GetCode(status)) {
std::cout << "code:20003" << ", msg: infer failure!\nstatus:" << TF_Message(status) << std::endl;
return ret;
}
std::cout << "code:0" << ", msg: infer suc!^_^" << std::endl;
//****** 4、Output the result
void* buff = TF_TensorData(output_values[0]);
float* offsets = (float*)buff;
std::cout << "infer result:" << offsets[0] << std::endl;
TF_DeleteStatus(status);
return ret;
}
}
```
### Relevant log output
```shell
No OpKernel was registered to support Op 'PyFunc' used by {{node PyFunc}}with these attrs: [Tin=[], Tout=[DT_FLOAT], token="pyfunc_0"]
Registered devices: [CPU, XLA_CPU]
Registered kernels:
<no registered kernels>
[[PyFunc]]
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62066/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/62066/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62065 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62065/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62065/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62065/events | https://github.com/tensorflow/tensorflow/issues/62065 | 1,931,535,521 | I_kwDOArmXAs5zIOSh | 62,065 | MirroredStrategy distribution strategy gather hangs | {
"login": "visionscaper",
"id": 1189068,
"node_id": "MDQ6VXNlcjExODkwNjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/1189068?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/visionscaper",
"html_url": "https://github.com/visionscaper",
"followers_url": "https://api.github.com/users/visionscaper/followers",
"following_url": "https://api.github.com/users/visionscaper/following{/other_user}",
"gists_url": "https://api.github.com/users/visionscaper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/visionscaper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/visionscaper/subscriptions",
"organizations_url": "https://api.github.com/users/visionscaper/orgs",
"repos_url": "https://api.github.com/users/visionscaper/repos",
"events_url": "https://api.github.com/users/visionscaper/events{/privacy}",
"received_events_url": "https://api.github.com/users/visionscaper/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": 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": 5922361893,
"node_id": "LA_kwDOArmXAs8AAAABYQASJQ",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF2.14",
"name": "TF2.14",
"color": "b60205",
"default": false,
"description": "For issues related to Tensorflow 2.14.x"
}
] | 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 | [
"I updated the issue description and the gist code to pinpoint that the second `gather` call in the function `gather_classification_data_distributed` fails. This is the gather call that should gather all predicted labels from the different devices.",
"Hi @visionscaper ,\r\n\r\nI tried the code on colab with GPU runtime with TF2.14v & 2.13v but getting a different error for even `cross_device_ops=None` also. Please refer attached [gist](https://colab.sandbox.google.com/gist/SuryanarayanaY/bbb645cda29db582dc17ceb167777bcf/62065.ipynb). Could you please check whether tho code block is same as you tested ? \r\n\r\n",
"Hi @SuryanarayanaY,\r\n\r\nThe likely reason you get this error is because you only have one GPU, see this print output in your gist:\r\n```\r\nGPUs: ['GPU:0']\r\n```\r\n\r\nI think the mirrored strategy doesn't return a `PerReplica` instance when you only have one device available, as it has no purpose with only one device. A `PerReplica` object instance has the `values` property, but because this is not returned by `strategy.run` the code can't find a `values` property and thus fails.\r\n\r\nSo, obviously, you need to test this on a machine with multiple GPUs (at least two).\r\n\r\nKind regards,\r\n\r\n -- Freddy ",
"Hi @SuryanarayanaY,\r\n\r\nHave you made any progress?\r\nWere you able to reproduce my issue using a multi-GPU system?",
"@sushreebarsa @SuryanarayanaY Is there any progress in reproducing this issue? Due to this issue my project is still stuck. I put in effort to create a gist to reproduce the issue, could please respond? Thank you.",
"Same Issue here...",
"Thanks for the detailed error report and the gist to reproduce. I was unable to reproduce this on a 2-gpu machine with 100 test runs, suggesting a possible platform issue. Could you share more details about your machine setup?\r\n\r\nNot being able to use GPU on tf-nightly sounds like an issue, though the nightly builds are not 100% reliable and it may work on a retry with the latest nightly release. If it persists feel free to file a separate 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/62065\">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/62065\">No</a>\n",
"I'm facing issues when I tried to run model using mirror distributed strategy.\r\nI want to run multiples model one by one in a loop using distributed strategy. First model runs well but is shows error before start the next model.\r\n\r\n```\r\nCollective ops is aborted by: Shape mismatch in the collective instance 100. Op at device /job:localhost/replica:0/task:0/device:GPU:2 expected shape [28678440] but another member in the group expected shape [39166184]. This is likely due to different input shapes at different members of the collective op.\r\nThe error could be from a previous operation. Restart your program to reset.\r\n\t [[{{node CollectiveReduceV2_2}}]] [Op:__inference_train_function_51026]\r\n```\r\n\r\nHere is my code-\r\n\r\n```\r\n\r\nstrategy = tf.distribute.MirroredStrategy()\r\n# Set up model within scope\r\nwith strategy.scope():\r\n\r\n model = Create_model()\r\n\r\n optimizer = SGD(learning_rate=0.01, weight_decay=1e-4,momentum=0.9)\r\n model.compile(loss='sparse_categorical_crossentropy', optimizer=optimizer, metrics=['sparse_categorical_accuracy','sparse_top_k_categorical_accuracy'])\r\n\r\ncheckpoint = ModelCheckpoint('Best_model.h5', \r\n monitor='val_loss', \r\n save_best_only=True, \r\n mode='min', \r\n verbose=0)\r\nlr_reduce = ReduceLROnPlateau(\r\n monitor='val_loss',\r\n factor=0.1,\r\n patience=5,\r\n verbose=0,\r\n mode='min',\r\n )\r\n\r\n\r\nmodel.fit(train_generator,validation_data=valid_generator,steps_per_epoch=len(train_generator),\\\r\n validation_steps=len(valid_generator), epochs = 50,\\\r\n callbacks=[checkpoint,lr_reduce], verbose=1\r\n )\r\n\r\n```"
] | 2023-10-07T22:50:07 | 2024-01-14T16:37:09 | 2024-01-02T01:48:48 | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
No
### Source
binary
### TensorFlow version
v2.14.0-rc1-21-g4dacf3f368e 2.14.0
### Custom code
Yes
### OS platform and distribution
Ubuntu 22.04
### Python version
3.10
### CUDA/cuDNN version
11.8.89/8.6.0
### Current behavior?
The program (see referenced gist below) gets stuck at a distribution strategy `gather` method, while it should not. I'm using the `tf.distribute.MirroredStrategy`; when choosing `cross_device_ops=tf.distribute.ReductionToOneDevice()`, the issue does not occur. My expectation is that gather should not get stuck with the default `cross_device_ops=None`.
Note 0): When the program hangs, it can't be terminated with one or more ctrl+c interrupts, a SIGKILL does work (i.e. using `pkill python`).
Note 1): As can be observed when running the script, the `strategy.reduce` method does not get stuck, only the `gather` method. Further the first `gather` call, gathering the target labels that were placed on the different devices, does work. Only the second gather call, gathering the predicted labels, fails (hangs).
Note 2): I tried to reproduce the issue with `tf-nighly`, but unfortunately it refused to use (see) the GPUs.
### Standalone code to reproduce the issue
See this [gist to reproduce the issue](https://gist.github.com/visionscaper/85094b3505cbfeedd90167fe02c1d1d0), the program gets stuck at line 99, with `cross_device_ops=None` for the `tf.distribute.MirroredStrategy` (see line 124).
### Relevant log output
```
$ python experiments/tensorflow/test_gather_deadlock.py
2023-10-08 10:19:39.457765: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:9342] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
2023-10-08 10:19:39.457812: E tensorflow/compiler/xla/stream_executor/cuda/cuda_fft.cc:609] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
2023-10-08 10:19:39.457838: E tensorflow/compiler/xla/stream_executor/cuda/cuda_blas.cc:1518] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2023-10-08 10:19:39.464945: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-10-08 10:19:41.429407: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-10-08 10:19:41.429727: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-10-08 10:19:41.430003: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-10-08 10:19:41.430277: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-10-08 10:19:41.434779: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-10-08 10:19:41.435083: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-10-08 10:19:41.435353: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-10-08 10:19:41.435641: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-10-08 10:19:41.435907: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-10-08 10:19:41.436169: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-10-08 10:19:41.436431: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-10-08 10:19:41.436692: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-10-08 10:19:41.773825: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-10-08 10:19:41.774140: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-10-08 10:19:41.774413: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-10-08 10:19:41.774681: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-10-08 10:19:41.774947: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-10-08 10:19:41.775203: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-10-08 10:19:41.775458: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-10-08 10:19:41.775714: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-10-08 10:19:41.775969: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-10-08 10:19:41.776225: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-10-08 10:19:41.776480: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-10-08 10:19:41.776734: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-10-08 10:19:41.797013: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-10-08 10:19:41.797372: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-10-08 10:19:41.797659: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-10-08 10:19:41.797941: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-10-08 10:19:41.798213: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-10-08 10:19:41.798476: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-10-08 10:19:41.798734: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-10-08 10:19:41.798991: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-10-08 10:19:41.799258: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-10-08 10:19:41.799509: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1886] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 22288 MB memory: -> device: 0, name: NVIDIA GeForce RTX 4090, pci bus id: 0000:01:00.0, compute capability: 8.9
2023-10-08 10:19:41.799886: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-10-08 10:19:41.800135: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1886] Created device /job:localhost/replica:0/task:0/device:GPU:1 with 22288 MB memory: -> device: 1, name: NVIDIA GeForce RTX 4090, pci bus id: 0000:81:00.0, compute capability: 8.9
2023-10-08 10:19:41.800399: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-10-08 10:19:41.800648: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1886] Created device /job:localhost/replica:0/task:0/device:GPU:2 with 22288 MB memory: -> device: 2, name: NVIDIA GeForce RTX 4090, pci bus id: 0000:82:00.0, compute capability: 8.9
2023-10-08 10:19:41.800909: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-10-08 10:19:41.801164: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1886] Created device /job:localhost/replica:0/task:0/device:GPU:3 with 22288 MB memory: -> device: 3, name: NVIDIA GeForce RTX 4090, pci bus id: 0000:c1:00.0, compute capability: 8.9
loss_sum.values[-1].device : /job:localhost/replica:0/task:0/device:GPU:0
loss_sum.values[-1].backing_device : /job:localhost/replica:0/task:0/device:GPU:3
predictions.values[-1].device : /job:localhost/replica:0/task:0/device:GPU:0
predictions.values[-1].backing_device: /job:localhost/replica:0/task:0/device:GPU:3
Gather labels from all devices ...
Gather predictions from all devices ...
```
When setting `cross_device_ops=tf.distribute.ReductionToOneDevice()` the program does not hang and continues to output the following:
```
loss : 2.4461679458618164
accuracy: 0.1640625
``` | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62065/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/62065/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62064 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62064/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62064/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62064/events | https://github.com/tensorflow/tensorflow/issues/62064 | 1,931,174,350 | I_kwDOArmXAs5zG2HO | 62,064 | Question about ptxas warning output of tensorflow-gpu 2.11 | {
"login": "myalos",
"id": 77491386,
"node_id": "MDQ6VXNlcjc3NDkxMzg2",
"avatar_url": "https://avatars.githubusercontent.com/u/77491386?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/myalos",
"html_url": "https://github.com/myalos",
"followers_url": "https://api.github.com/users/myalos/followers",
"following_url": "https://api.github.com/users/myalos/following{/other_user}",
"gists_url": "https://api.github.com/users/myalos/gists{/gist_id}",
"starred_url": "https://api.github.com/users/myalos/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/myalos/subscriptions",
"organizations_url": "https://api.github.com/users/myalos/orgs",
"repos_url": "https://api.github.com/users/myalos/repos",
"events_url": "https://api.github.com/users/myalos/events{/privacy}",
"received_events_url": "https://api.github.com/users/myalos/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 386191887,
"node_id": "MDU6TGFiZWwzODYxOTE4ODc=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response",
"name": "stat:awaiting response",
"color": "f4b400",
"default": false,
"description": "Status - Awaiting response from author"
},
{
"id": 1093464312,
"node_id": "MDU6TGFiZWwxMDkzNDY0MzEy",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:others",
"name": "type:others",
"color": "159b2e",
"default": false,
"description": "issues not falling in bug, perfromance, support, build and install or feature"
},
{
"id": 1097547147,
"node_id": "MDU6TGFiZWwxMDk3NTQ3MTQ3",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:ops",
"name": "comp:ops",
"color": "0052cc",
"default": false,
"description": "OPs related issues"
},
{
"id": 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": "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 | [
"@myalos Glad, you are able to run the code successfully. \r\nThe warning might be occurring due to the versions you installed for TensorFlow and CUDA probably aren't compatible. Try using one of the versions tested here: [Tensorflow GPU Source Install](https://www.tensorflow.org/install/source#gpu). \r\nPlease use the latest TF version with all compatible versions.\r\n\r\n\r\nThank you!",
"Thanks for reply! I changed the version of tensorflow 2.11 to 2.12 and the original problem was solved, but unpleasant message showed up which is `[/device:CPU:0] (DEBUG INFO) Executor start aborting (this does not indicate an error and you can ignore this message): INVALID_ARGUMENT: You must feed a value for placeholder tensor`\r\nAnd i searched the reason and solution for this problem, and found related issue on https://github.com/tensorflow/tensorflow/issues/59779. It seems that the problem about this unpleasant message is still unsolved.\r\n",
"@myalos Thank you for your response here!\r\nThough there are some workarounds to avoid such warnings but the original issue is under tracking. Once that will be resolved such warnings will not occur. \r\nAs you confirmed that the original issue has been resolved so could you please move this issue to closed status ?\r\nThank 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/62064\">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/62064\">No</a>\n"
] | 2023-10-07T04:01:58 | 2023-10-12T11:08:49 | 2023-10-12T11:08:47 | NONE | null | null | null | ### Issue type
Others
### Have you reproduced the bug with TensorFlow Nightly?
No
### Source
source
### TensorFlow version
tf 2.11
### Custom code
Yes
### OS platform and distribution
Ubuntu 20.04
### Mobile device
_No response_
### Python version
3.10
### Bazel version
_No response_
### GCC/compiler version
_No response_
### CUDA/cuDNN version
_No response_
### GPU model and memory
_No response_
### Current behavior?
The running environment is cuda 11.7 cuDNN 8.5.0 python 3.10 tensorflow-gpu 2.11
When I run the code, it show the warning message which seems weird. Since my cuda version is 11.7, not older than 11.1 and the log says Loaded cuDNN version 8904 while my cuDNN version is 8500. Althought the code can run successfully, i have doubts about this log, and I hope I can figure out why. Thanks in advance.
The warning log is as follows
I tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:428] Loaded cuDNN version 8904
2023-10-07 11:43:16.647615: W tensorflow/compiler/xla/stream_executor/gpu/asm_compiler.cc:115] *** WARNING *** You are using ptxas 10.1.243, which is older than 11.1. ptxas before 11.1 is known to miscompile XLA code, leading to incorrect results or invalid-address errors.
You may not need to update to CUDA 11.1; cherry-picking the ptxas binary is often sufficient.
2023-10-07 11:43:16.651012: W tensorflow/compiler/xla/stream_executor/gpu/asm_compiler.cc:234] Falling back to the CUDA driver for PTX compilation; ptxas does not support CC 8.6
2023-10-07 11:43:16.651030: W tensorflow/compiler/xla/stream_executor/gpu/asm_compiler.cc:237] Used ptxas at ptxas
2023-10-07 11:43:16.651094: W tensorflow/compiler/xla/stream_executor/gpu/redzone_allocator.cc:318] UNIMPLEMENTED: ptxas ptxas too old. Falling back to the driver to compile.
Relying on driver to perform ptx compilation.
Modify $PATH to customize ptxas location.
This message will be only logged once.
### Standalone code to reproduce the issue
```shell
any code that use tensorflow-gpu
concretely, the code i run is https://github.com/acctouhou/Prediction_of_battery/blob/main/1_Predicting/predict.py
```
### Relevant log output
_No response_ | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62064/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/62064/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62063 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62063/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62063/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62063/events | https://github.com/tensorflow/tensorflow/issues/62063 | 1,931,066,013 | I_kwDOArmXAs5zGbqd | 62,063 | model_main_tf2.py issues with training object detection model | {
"login": "Maxwell12345",
"id": 43016462,
"node_id": "MDQ6VXNlcjQzMDE2NDYy",
"avatar_url": "https://avatars.githubusercontent.com/u/43016462?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Maxwell12345",
"html_url": "https://github.com/Maxwell12345",
"followers_url": "https://api.github.com/users/Maxwell12345/followers",
"following_url": "https://api.github.com/users/Maxwell12345/following{/other_user}",
"gists_url": "https://api.github.com/users/Maxwell12345/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Maxwell12345/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Maxwell12345/subscriptions",
"organizations_url": "https://api.github.com/users/Maxwell12345/orgs",
"repos_url": "https://api.github.com/users/Maxwell12345/repos",
"events_url": "https://api.github.com/users/Maxwell12345/events{/privacy}",
"received_events_url": "https://api.github.com/users/Maxwell12345/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": 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": 3797168204,
"node_id": "LA_kwDOArmXAs7iVDBM",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.8",
"name": "TF 2.8",
"color": "5DC9D0",
"default": false,
"description": ""
}
] | closed | false | {
"login": "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 | [
"@Maxwell12345,\r\nCould you please confirm whether you are trying to execute the below code or the different one?\r\nhttps://github.com/tensorflow/models/blob/master/research/object_detection/model_main_tf2.py\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/62063\">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/62063\">No</a>\n"
] | 2023-10-07T00:13:37 | 2023-10-25T01:47:45 | 2023-10-25T01:47:43 | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
source
### TensorFlow version
2.8
### Custom code
No
### OS platform and distribution
Google Colab
### 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 tf_slim module class tfexample_decode.py at line 453 calls control_flow_ops.case
There is no "case" attribute to control_flow_ops
### Standalone code to reproduce the issue
```shell
Google Colab, SSD Moblenet v2 graph, tfrecords
```
### Relevant log output
```shell
I1007 00:12:20.542787 134709293735936 dataset_builder.py:162] Reading unweighted datasets: ['.../train.record']
INFO:tensorflow:Reading record datasets for input file: ['.../train/train.record']
I1007 00:12:20.543272 134709293735936 dataset_builder.py:79] Reading record datasets for input file: ['.../train.record']
INFO:tensorflow:Number of filenames to read: 1
I1007 00:12:20.543381 134709293735936 dataset_builder.py:80] Number of filenames to read: 1
WARNING:tensorflow:num_readers has been reduced to 1 to match input file shards.
W1007 00:12:20.543440 134709293735936 dataset_builder.py:86] num_readers has been reduced to 1 to match input file shards.
WARNING:tensorflow:From /content/models/research/./object_detection/builders/dataset_builder.py:100: parallel_interleave (from tensorflow.python.data.experimental.ops.interleave_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use `tf.data.Dataset.interleave(map_func, cycle_length, block_length, num_parallel_calls=tf.data.AUTOTUNE)` instead. If sloppy execution is desired, use `tf.data.Options.deterministic`.
W1007 00:12:20.550345 134709293735936 deprecation.py:50] From /content/models/research/./object_detection/builders/dataset_builder.py:100: parallel_interleave (from tensorflow.python.data.experimental.ops.interleave_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use `tf.data.Dataset.interleave(map_func, cycle_length, block_length, num_parallel_calls=tf.data.AUTOTUNE)` instead. If sloppy execution is desired, use `tf.data.Options.deterministic`.
WARNING:tensorflow:From /content/models/research/./object_detection/builders/dataset_builder.py:235: DatasetV1.map_with_legacy_function (from tensorflow.python.data.ops.dataset_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use `tf.data.Dataset.map()
W1007 00:12:20.572327 134709293735936 deprecation.py:50] From /content/models/research/./object_detection/builders/dataset_builder.py:235: DatasetV1.map_with_legacy_function (from tensorflow.python.data.ops.dataset_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use `tf.data.Dataset.map()
Traceback (most recent call last):
File "/content/models/research/object_detection/model_main_tf2.py", line 116, in <module>
tf.compat.v1.app.run()
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/platform/app.py", line 36, in run
_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
File "/usr/local/lib/python3.10/dist-packages/absl/app.py", line 308, in run
_run_main(main, args)
File "/usr/local/lib/python3.10/dist-packages/absl/app.py", line 254, in _run_main
sys.exit(main(argv))
File "/content/models/research/object_detection/model_main_tf2.py", line 107, in main
model_lib_v2.train_loop(
File "/content/models/research/./object_detection/model_lib_v2.py", line 563, in train_loop
train_input = strategy.experimental_distribute_datasets_from_function(
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/util/deprecation.py", line 383, in new_func
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/distribute/distribute_lib.py", line 1563, in experimental_distribute_datasets_from_function
return self.distribute_datasets_from_function(dataset_fn, options)
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/distribute/distribute_lib.py", line 1554, in distribute_datasets_from_function
return self._extended._distribute_datasets_from_function( # pylint: disable=protected-access
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/distribute/mirrored_strategy.py", line 613, in _distribute_datasets_from_function
return input_util.get_distributed_datasets_from_function(
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/distribute/input_util.py", line 144, in get_distributed_datasets_from_function
return input_lib.DistributedDatasetsFromFunction(
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/distribute/input_lib.py", line 1143, in __init__
self.build()
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/distribute/input_lib.py", line 1165, in build
_create_datasets_from_function_with_input_context(
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/distribute/input_lib.py", line 1680, in _create_datasets_from_function_with_input_context
dataset = dataset_fn(ctx)
File "/content/models/research/./object_detection/model_lib_v2.py", line 554, in train_dataset_fn
train_input = inputs.train_input(
File "/content/models/research/./object_detection/inputs.py", line 908, in train_input
dataset = INPUT_BUILDER_UTIL_MAP['dataset_build'](
File "/content/models/research/./object_detection/builders/dataset_builder.py", line 250, in build
dataset = dataset_map_fn(dataset, decoder.decode, batch_size,
File "/content/models/research/./object_detection/builders/dataset_builder.py", line 235, in dataset_map_fn
dataset = dataset.map_with_legacy_function(
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/util/deprecation.py", line 383, in new_func
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/data/ops/dataset_ops.py", line 4128, in map_with_legacy_function
return map_op._map_v1_with_legacy_function(
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/data/ops/map_op.py", line 85, in _map_v1_with_legacy_function
_ParallelMapDataset(
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/data/ops/map_op.py", line 148, in __init__
self._map_func = structured_function.StructuredFunctionWrapper(
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/data/ops/structured_function.py", line 272, in __init__
self._function.add_to_graph(ops.get_default_graph())
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/framework/function.py", line 579, in add_to_graph
self._create_definition_if_needed()
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/framework/function.py", line 412, in _create_definition_if_needed
self._create_definition_if_needed_impl()
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/framework/function.py", line 430, in _create_definition_if_needed_impl
temp_graph = func_graph_from_py_func(
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/framework/function.py", line 1007, in func_graph_from_py_func
outputs = func(*func_graph.inputs)
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/data/ops/structured_function.py", line 178, in wrapped_fn
ret = wrapper_helper(*args)
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/data/ops/structured_function.py", line 161, in wrapper_helper
ret = autograph.tf_convert(self._func, ag_ctx)(*nested_args)
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/autograph/impl/api.py", line 693, in wrapper
raise e.ag_error_metadata.to_exception(e)
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/autograph/impl/api.py", line 690, in wrapper
return converted_call(f, args, kwargs, options=options)
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/autograph/impl/api.py", line 439, in converted_call
result = converted_f(*effective_args, **kwargs)
File "/tmp/__autograph_generated_fileqkyio7wq.py", line 74, in tf__decode
tensors = ag__.converted_call(ag__.ld(decoder).decode, (ag__.ld(serialized_example),), dict(items=ag__.ld(keys)), fscope)
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/autograph/impl/api.py", line 439, in converted_call
result = converted_f(*effective_args, **kwargs)
File "/tmp/__autograph_generated_file1opxbxnu.py", line 81, in tf__decode
ag__.for_stmt(ag__.ld(items), None, loop_body_1, get_state_3, set_state_3, (), {'iterate_names': 'item'})
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/autograph/operators/control_flow.py", line 449, in for_stmt
for_fn(iter_, extra_test, body, get_state, set_state, symbol_names, opts)
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/autograph/operators/control_flow.py", line 500, in _py_for_stmt
body(target)
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/autograph/operators/control_flow.py", line 466, in protected_body
original_body(protected_iter)
File "/tmp/__autograph_generated_file1opxbxnu.py", line 77, in loop_body_1
ag__.converted_call(ag__.ld(outputs).append, (ag__.converted_call(ag__.ld(handler).tensors_to_item, (ag__.ld(keys_to_tensors),), None, fscope),), None, fscope)
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/autograph/impl/api.py", line 441, in converted_call
result = converted_f(*effective_args)
File "/tmp/__autograph_generated_fileok5ldq7m.py", line 39, in tf__tensors_to_item
ag__.if_stmt(ag__.ld(self)._repeated, if_body, else_body, get_state, set_state, ('do_return', 'retval_'), 2)
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/autograph/operators/control_flow.py", line 1217, in if_stmt
_py_if_stmt(cond, body, orelse)
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/autograph/operators/control_flow.py", line 1270, in _py_if_stmt
return body() if cond else orelse()
File "/tmp/__autograph_generated_fileok5ldq7m.py", line 35, in else_body
retval_ = ag__.converted_call(ag__.ld(self)._decode, (ag__.ld(image_buffer), ag__.ld(image_format)), None, fscope)
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/autograph/impl/api.py", line 441, in converted_call
result = converted_f(*effective_args)
File "/tmp/__autograph_generated_fileubbeey9m.py", line 80, in tf___decode
image = ag__.converted_call(ag__.ld(control_flow_ops).case, (ag__.ld(pred_fn_pairs),), dict(default=ag__.ld(check_jpeg), exclusive=True), fscope)
AttributeError: in user code:
File "/content/models/research/./object_detection/data_decoders/tf_example_decoder.py", line 556, in decode *
tensors = decoder.decode(serialized_example, items=keys)
File "/usr/local/lib/python3.10/dist-packages/tf_slim/data/tfexample_decoder.py", line 723, in decode *
outputs.append(handler.tensors_to_item(keys_to_tensors))
File "/usr/local/lib/python3.10/dist-packages/tf_slim/data/tfexample_decoder.py", line 406, in tensors_to_item *
return self._decode(image_buffer, image_format)
File "/usr/local/lib/python3.10/dist-packages/tf_slim/data/tfexample_decoder.py", line 454, in _decode *
image = control_flow_ops.case(
AttributeError: module 'tensorflow.python.ops.control_flow_ops' has no attribute 'case'
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62063/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/62063/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62062 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62062/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62062/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62062/events | https://github.com/tensorflow/tensorflow/issues/62062 | 1,930,826,391 | I_kwDOArmXAs5zFhKX | 62,062 | tensorflow-intel binary packaging | {
"login": "Craigacp",
"id": 729696,
"node_id": "MDQ6VXNlcjcyOTY5Ng==",
"avatar_url": "https://avatars.githubusercontent.com/u/729696?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Craigacp",
"html_url": "https://github.com/Craigacp",
"followers_url": "https://api.github.com/users/Craigacp/followers",
"following_url": "https://api.github.com/users/Craigacp/following{/other_user}",
"gists_url": "https://api.github.com/users/Craigacp/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Craigacp/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Craigacp/subscriptions",
"organizations_url": "https://api.github.com/users/Craigacp/orgs",
"repos_url": "https://api.github.com/users/Craigacp/repos",
"events_url": "https://api.github.com/users/Craigacp/events{/privacy}",
"received_events_url": "https://api.github.com/users/Craigacp/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": 5244472328,
"node_id": "LA_kwDOArmXAs8AAAABOJhMCA",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/subtype:cpu-intel",
"name": "subtype:cpu-intel",
"color": "507561",
"default": false,
"description": "To track windows cpu issues"
},
{
"id": 5922361893,
"node_id": "LA_kwDOArmXAs8AAAABYQASJQ",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF2.14",
"name": "TF2.14",
"color": "b60205",
"default": false,
"description": "For issues related to Tensorflow 2.14.x"
}
] | open | false | {
"login": "TensorFlow-MKL",
"id": 44416303,
"node_id": "MDQ6VXNlcjQ0NDE2MzAz",
"avatar_url": "https://avatars.githubusercontent.com/u/44416303?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TensorFlow-MKL",
"html_url": "https://github.com/TensorFlow-MKL",
"followers_url": "https://api.github.com/users/TensorFlow-MKL/followers",
"following_url": "https://api.github.com/users/TensorFlow-MKL/following{/other_user}",
"gists_url": "https://api.github.com/users/TensorFlow-MKL/gists{/gist_id}",
"starred_url": "https://api.github.com/users/TensorFlow-MKL/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TensorFlow-MKL/subscriptions",
"organizations_url": "https://api.github.com/users/TensorFlow-MKL/orgs",
"repos_url": "https://api.github.com/users/TensorFlow-MKL/repos",
"events_url": "https://api.github.com/users/TensorFlow-MKL/events{/privacy}",
"received_events_url": "https://api.github.com/users/TensorFlow-MKL/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "TensorFlow-MKL",
"id": 44416303,
"node_id": "MDQ6VXNlcjQ0NDE2MzAz",
"avatar_url": "https://avatars.githubusercontent.com/u/44416303?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TensorFlow-MKL",
"html_url": "https://github.com/TensorFlow-MKL",
"followers_url": "https://api.github.com/users/TensorFlow-MKL/followers",
"following_url": "https://api.github.com/users/TensorFlow-MKL/following{/other_user}",
"gists_url": "https://api.github.com/users/TensorFlow-MKL/gists{/gist_id}",
"starred_url": "https://api.github.com/users/TensorFlow-MKL/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TensorFlow-MKL/subscriptions",
"organizations_url": "https://api.github.com/users/TensorFlow-MKL/orgs",
"repos_url": "https://api.github.com/users/TensorFlow-MKL/repos",
"events_url": "https://api.github.com/users/TensorFlow-MKL/events{/privacy}",
"received_events_url": "https://api.github.com/users/TensorFlow-MKL/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 @Craigacp ,\r\n\r\nIf my understanding is correct you want to build tensorflow-java using pre-built binaries of respective OS and for Linux and Mac it is success but for windows OS there is problem due to .pyd file format. Is that right ?\r\n\r\n`tensorflow-intel` is maintained by `intel` team and officially meant for Windows OS. Pinging them for a response.\r\n\r\nCC: @TensorFlow-MKL ",
"Yes, that's correct. Our build works just fine for Linux & Mac on multiple platforms, but due to the pyd files it doesn't work on Windows.",
"Hi @Craigacp and @SuryanarayanaY, I am looking into it. ",
"@mraunak , Any update on this??",
"Hi @Craigacp,\r\n\r\nWe don't have build for SIG-JVM/TensorFlow-Java. The file type pyd is dynamic link library of Python. What's your expectation for this case? I would suggest to build TensorFlow from source for your specific requirements. Thanks. ",
"We do currently build TF from source. I'd like the libtensorflow and tensorflow framework libraries to be packaged as DLLs, because they are dependently loaded by the actual python binding and so I assume they don't need to be pyd files (because on other platforms they are independent of the API in use). If you package the python `tensorflow-intel` package like that then we can use the binaries you build which will make it easier for us to keep TF-Java up to date. We don't have dedicated build resources, TF-Java uses GitHub actions and the Windows build is something which times out and we also don't have much experience with.",
"\r\nHi @craigacp, this is regarding https://discuss.tensorflow.org/t/tensorflow-version-update/22277. My reply on the discuss forum is awaiting some approval. Hence, pasted my comments here\r\n\r\nTo resolve long path issues while building with Bazel, set --output_user_root=c:\\\r\ne.g. bazel --output_user_root=c:\\ build --config=opt --repo_env=TF_PYTHON_VERSION=3.10 --define=no_tensorflow_py_deps=true //tensorflow/tools/pip_package:build_pip_package\r\n\r\nApart from this, also consider looking into the system settings to ensure the long path is enabled. https://www.backupery.com/how-to-enable-ntfs-long-paths-in-windows/\r\n\r\nFor https://github.com/tensorflow/tensorflow/issues/62579, PR from our end is in progress\r\n"
] | 2023-10-06T19:28:19 | 2024-01-30T07:26:52 | null | NONE | null | null | null | ### Issue type
Build/Install
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
binary
### TensorFlow version
2.13, 2.14
### Custom code
No
### OS platform and distribution
Windows x86_64
### 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?
`tensorflow-intel` is packaged with the TF native libraries stored as pyd files which wrap in some of the Python code. Other versions of tf (e.g. macOS and Linux) package native libraries in the default formats (e.g. `so` or `dylib`). In SIG-JVM/TensorFlow-Java we're planning on redoing our native builds so that we pull in pre-built binaries from the TF python release as that will make our builds much simpler and less error prone, but we can't re-use the Windows builds as the native binary depends on Python symbols. I reached out to SIG-BUILD and they told me to open an issue here. @mraunak
### Standalone code to reproduce the issue
```shell
Download the whl and unzip it.
```
### Relevant log output
_No response_ | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62062/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/62062/timeline | null | null | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62061 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62061/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62061/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62061/events | https://github.com/tensorflow/tensorflow/issues/62061 | 1,930,277,719 | I_kwDOArmXAs5zDbNX | 62,061 | Tensorflow 2.14 macOS wheel won't install for Python 3.11 | {
"login": "sschaetz",
"id": 192171,
"node_id": "MDQ6VXNlcjE5MjE3MQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/192171?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sschaetz",
"html_url": "https://github.com/sschaetz",
"followers_url": "https://api.github.com/users/sschaetz/followers",
"following_url": "https://api.github.com/users/sschaetz/following{/other_user}",
"gists_url": "https://api.github.com/users/sschaetz/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sschaetz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sschaetz/subscriptions",
"organizations_url": "https://api.github.com/users/sschaetz/orgs",
"repos_url": "https://api.github.com/users/sschaetz/repos",
"events_url": "https://api.github.com/users/sschaetz/events{/privacy}",
"received_events_url": "https://api.github.com/users/sschaetz/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 473172988,
"node_id": "MDU6TGFiZWw0NzMxNzI5ODg=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug",
"name": "type:bug",
"color": "159b2e",
"default": false,
"description": "Bug"
}
] | closed | false | {
"login": "sushreebarsa",
"id": 84765720,
"node_id": "MDQ6VXNlcjg0NzY1NzIw",
"avatar_url": "https://avatars.githubusercontent.com/u/84765720?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sushreebarsa",
"html_url": "https://github.com/sushreebarsa",
"followers_url": "https://api.github.com/users/sushreebarsa/followers",
"following_url": "https://api.github.com/users/sushreebarsa/following{/other_user}",
"gists_url": "https://api.github.com/users/sushreebarsa/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sushreebarsa/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sushreebarsa/subscriptions",
"organizations_url": "https://api.github.com/users/sushreebarsa/orgs",
"repos_url": "https://api.github.com/users/sushreebarsa/repos",
"events_url": "https://api.github.com/users/sushreebarsa/events{/privacy}",
"received_events_url": "https://api.github.com/users/sushreebarsa/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "sushreebarsa",
"id": 84765720,
"node_id": "MDQ6VXNlcjg0NzY1NzIw",
"avatar_url": "https://avatars.githubusercontent.com/u/84765720?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sushreebarsa",
"html_url": "https://github.com/sushreebarsa",
"followers_url": "https://api.github.com/users/sushreebarsa/followers",
"following_url": "https://api.github.com/users/sushreebarsa/following{/other_user}",
"gists_url": "https://api.github.com/users/sushreebarsa/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sushreebarsa/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sushreebarsa/subscriptions",
"organizations_url": "https://api.github.com/users/sushreebarsa/orgs",
"repos_url": "https://api.github.com/users/sushreebarsa/repos",
"events_url": "https://api.github.com/users/sushreebarsa/events{/privacy}",
"received_events_url": "https://api.github.com/users/sushreebarsa/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"Closing because this can be fixed by relying on non-binary wheels.",
"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/62061\">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/62061\">No</a>\n"
] | 2023-10-06T14:19:51 | 2023-10-06T15:34:55 | 2023-10-06T15:34:53 | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
No
### Source
binary
### TensorFlow version
2.14
### Custom code
No
### OS platform and distribution
arm64 macOS
### Mobile device
n/a
### Python version
3.11
### Bazel version
n/a
### GCC/compiler version
n/a
### CUDA/cuDNN version
n/a
### GPU model and memory
n/a
### Current behavior?
When installing tensorflow 2.14 for Python 3.11 I see:
```
ERROR: Could not find a version that satisfies the requirement wrapt<1.15,>=1.11.0 (from tensorflow) (from versions: 1.15.0rc1, 1.15.0)
```
Looking at the metadata of the [2.14 whl for py3.11](https://files.pythonhosted.org/packages/d3/4b/ae9037ea22ba94eb2cf267e991384c3444f3e6142fa49923352b4ab73e14/tensorflow_macos-2.14.0-cp311-cp311-macosx_12_0_arm64.whl) I can see:
```
Requires-Dist: wrapt (<1.15,>=1.11.0)
```
but wrapt has no packages for Python 3.11 for that version range.
Looking at the metadata for the [2.13.1 whl for py3.11](https://files.pythonhosted.org/packages/c0/d1/d309dea6e67e1b8037f607872486eb67a1ff64fb91a96149086dbdc46ca4/tensorflow_macos-2.13.1-cp311-cp311-macosx_12_0_arm64.whl) I can see:
```
Requires-Dist: wrapt (>=1.11.0)
```
which can be satisfied with wrapt 1.15.0
### Standalone code to reproduce the issue
```shell
n/a
```
### Relevant log output
_No response_ | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62061/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/62061/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62060 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62060/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62060/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62060/events | https://github.com/tensorflow/tensorflow/issues/62060 | 1,929,367,232 | I_kwDOArmXAs5y_87A | 62,060 | Using Lambda layers to take different slices of a prevous layer's output causes earlier Lambda layers to be overwritten | {
"login": "hosford42",
"id": 4564403,
"node_id": "MDQ6VXNlcjQ1NjQ0MDM=",
"avatar_url": "https://avatars.githubusercontent.com/u/4564403?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hosford42",
"html_url": "https://github.com/hosford42",
"followers_url": "https://api.github.com/users/hosford42/followers",
"following_url": "https://api.github.com/users/hosford42/following{/other_user}",
"gists_url": "https://api.github.com/users/hosford42/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hosford42/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hosford42/subscriptions",
"organizations_url": "https://api.github.com/users/hosford42/orgs",
"repos_url": "https://api.github.com/users/hosford42/repos",
"events_url": "https://api.github.com/users/hosford42/events{/privacy}",
"received_events_url": "https://api.github.com/users/hosford42/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": 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 | [
"@sachinprasadhs I was able to replicate this issue on colab using [TFv2.13](https://colab.research.google.com/gist/sushreebarsa/290f255e733d113c7026e0827a77629b/62060.ipynb), [2.14](https://colab.research.google.com/gist/sushreebarsa/0f4eaed473ff891444fc54c5875b4f3c/62060.ipynb#scrollTo=V5-zf5sEd_DG) and tf-[nightly](https://colab.research.google.com/gist/sushreebarsa/03ea89c61270eec12cdda2c4b24778de/62060.ipynb). Please find the attached gits. Thank you!",
"We will transfer this issue to keras org.",
"Thanks @sachinprasadhs. I will close this issue 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/62060\">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/62060\">No</a>\n"
] | 2023-10-06T03:17:50 | 2023-10-12T18:10:13 | 2023-10-12T18:10:11 | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
No
### Source
binary
### TensorFlow version
2.10.0
### Custom code
No
### OS platform and distribution
Linux Ubuntu 22.04.3 LTS
### Mobile device
_No response_
### Python version
3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0]
### Bazel version
_No response_
### GCC/compiler version
_No response_
### CUDA/cuDNN version
_No response_
### GPU model and memory
_No response_
### Current behavior?
I used two Lambda layers to extract slices from the same input vector. The output of the first Lambda is somehow overwritten by the output of the second Lambda.
Note: I have confirmed this happens whether the Lambda layers take the model's input directly or the output of another layer. I have also confirmed that the problem is present whether or not the Lambda layers are the direct outputs of the model. But for the sample code below I've removed the extra layers.
### Standalone code to reproduce the issue
```shell
import sys
import tensorflow as tf
print(f"{tf.version.VERSION=} {tf.version.GIT_VERSION=} {tf.version.COMPILER_VERSION=}")
print(f"{sys.version=}")
dividers = [0, 2, 5]
assert all(divider >= 0 for divider in dividers)
sizes = [end - start for start, end in zip(dividers[:-1], dividers[1:])]
assert all(size > 0 for size in sizes)
channels = dividers[-1]
i = tf.keras.layers.Input((channels,), name='i')
o = [
tf.keras.layers.Lambda(lambda x: x[..., start:end],
name=f'slice_{start}_{end}')(i)
for start, end in zip(dividers[:-1], dividers[1:])
]
m = tf.keras.Model(i, o, name='m')
m.build((channels,))
m.summary()
print(f"{m.input_shape=}")
print(f"{m.output_shape=}")
print(f"{m.compute_output_shape(m.input_shape)=}")
x = tf.zeros((1, channels))
print(f"{[y.shape for y in m(x)]=}")
print(f"{[y.shape for y in m.predict(x)]=}")
assert m.output_shape == m.compute_output_shape(m.input_shape)
```
### Relevant log output
```shell
tf.version.VERSION='2.10.0' tf.version.GIT_VERSION='v2.10.0-rc3-6-g359c3cdfc5f' tf.version.COMPILER_VERSION='9.3.1 20200408'
sys.version='3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0]'
Model: "m"
__________________________________________________________________________________________________
Layer (type) Output Shape Param # Connected to
==================================================================================================
i (InputLayer) [(None, 5)] 0 []
slice_0_2 (Lambda) (None, 2) 0 ['i[0][0]']
slice_2_5 (Lambda) (None, 3) 0 ['i[0][0]']
==================================================================================================
Total params: 0
Trainable params: 0
Non-trainable params: 0
__________________________________________________________________________________________________
m.input_shape=(None, 5)
m.output_shape=[(None, 2), (None, 3)]
m.compute_output_shape(m.input_shape)=[TensorShape([None, 3]), TensorShape([None, 3])]
[y.shape for y in m(x)]=[TensorShape([1, 3]), TensorShape([1, 3])]
1/1 [==============================] - 0s 286ms/step
[y.shape for y in m.predict(x)]=[(1, 3), (1, 3)]
Traceback (most recent call last):
File "/home/hosford42/PycharmProjects/LSLAM/tf_bug.py", line 30, in <module>
assert m.output_shape == m.compute_output_shape(m.input_shape)
AssertionError
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62060/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/62060/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62059 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62059/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62059/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62059/events | https://github.com/tensorflow/tensorflow/pull/62059 | 1,929,320,814 | PR_kwDOArmXAs5cELz2 | 62,059 | Update post_training_integer_quant.ipynb | {
"login": "jeromemassot",
"id": 20254310,
"node_id": "MDQ6VXNlcjIwMjU0MzEw",
"avatar_url": "https://avatars.githubusercontent.com/u/20254310?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jeromemassot",
"html_url": "https://github.com/jeromemassot",
"followers_url": "https://api.github.com/users/jeromemassot/followers",
"following_url": "https://api.github.com/users/jeromemassot/following{/other_user}",
"gists_url": "https://api.github.com/users/jeromemassot/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jeromemassot/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jeromemassot/subscriptions",
"organizations_url": "https://api.github.com/users/jeromemassot/orgs",
"repos_url": "https://api.github.com/users/jeromemassot/repos",
"events_url": "https://api.github.com/users/jeromemassot/events{/privacy}",
"received_events_url": "https://api.github.com/users/jeromemassot/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 | [
"Check out this pull request on <a href=\"https://app.reviewnb.com/tensorflow/tensorflow/pull/62059\"><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>",
"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/ ",
"Reopening as I was wrong, sorry about that"
] | 2023-10-06T02:08:50 | 2023-10-13T19:27:14 | 2023-10-13T19:27:14 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/62059",
"html_url": "https://github.com/tensorflow/tensorflow/pull/62059",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/62059.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/62059.patch",
"merged_at": "2023-10-13T19:27:14"
} | Remove unused labels from the run_tflite_model() method. | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62059/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/62059/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/62058 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62058/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62058/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62058/events | https://github.com/tensorflow/tensorflow/issues/62058 | 1,929,310,059 | I_kwDOArmXAs5y_u9r | 62,058 | TFLite Python: interpreter._get_tensor_details(index) can't read tensor with sparsity (Segmentation Fault) | {
"login": "greenrazer",
"id": 20372741,
"node_id": "MDQ6VXNlcjIwMzcyNzQx",
"avatar_url": "https://avatars.githubusercontent.com/u/20372741?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/greenrazer",
"html_url": "https://github.com/greenrazer",
"followers_url": "https://api.github.com/users/greenrazer/followers",
"following_url": "https://api.github.com/users/greenrazer/following{/other_user}",
"gists_url": "https://api.github.com/users/greenrazer/gists{/gist_id}",
"starred_url": "https://api.github.com/users/greenrazer/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/greenrazer/subscriptions",
"organizations_url": "https://api.github.com/users/greenrazer/orgs",
"repos_url": "https://api.github.com/users/greenrazer/repos",
"events_url": "https://api.github.com/users/greenrazer/events{/privacy}",
"received_events_url": "https://api.github.com/users/greenrazer/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": 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": 5922361893,
"node_id": "LA_kwDOArmXAs8AAAABYQASJQ",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF2.14",
"name": "TF2.14",
"color": "b60205",
"default": false,
"description": "For issues related to Tensorflow 2.14.x"
}
] | open | false | {
"login": "alankelly",
"id": 5112267,
"node_id": "MDQ6VXNlcjUxMTIyNjc=",
"avatar_url": "https://avatars.githubusercontent.com/u/5112267?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alankelly",
"html_url": "https://github.com/alankelly",
"followers_url": "https://api.github.com/users/alankelly/followers",
"following_url": "https://api.github.com/users/alankelly/following{/other_user}",
"gists_url": "https://api.github.com/users/alankelly/gists{/gist_id}",
"starred_url": "https://api.github.com/users/alankelly/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alankelly/subscriptions",
"organizations_url": "https://api.github.com/users/alankelly/orgs",
"repos_url": "https://api.github.com/users/alankelly/repos",
"events_url": "https://api.github.com/users/alankelly/events{/privacy}",
"received_events_url": "https://api.github.com/users/alankelly/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "alankelly",
"id": 5112267,
"node_id": "MDQ6VXNlcjUxMTIyNjc=",
"avatar_url": "https://avatars.githubusercontent.com/u/5112267?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alankelly",
"html_url": "https://github.com/alankelly",
"followers_url": "https://api.github.com/users/alankelly/followers",
"following_url": "https://api.github.com/users/alankelly/following{/other_user}",
"gists_url": "https://api.github.com/users/alankelly/gists{/gist_id}",
"starred_url": "https://api.github.com/users/alankelly/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alankelly/subscriptions",
"organizations_url": "https://api.github.com/users/alankelly/orgs",
"repos_url": "https://api.github.com/users/alankelly/repos",
"events_url": "https://api.github.com/users/alankelly/events{/privacy}",
"received_events_url": "https://api.github.com/users/alankelly/received_events",
"type": "User",
"site_admin": false
},
{
"login": "pkgoogle",
"id": 132095473,
"node_id": "U_kgDOB9-d8Q",
"avatar_url": "https://avatars.githubusercontent.com/u/132095473?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pkgoogle",
"html_url": "https://github.com/pkgoogle",
"followers_url": "https://api.github.com/users/pkgoogle/followers",
"following_url": "https://api.github.com/users/pkgoogle/following{/other_user}",
"gists_url": "https://api.github.com/users/pkgoogle/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pkgoogle/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pkgoogle/subscriptions",
"organizations_url": "https://api.github.com/users/pkgoogle/orgs",
"repos_url": "https://api.github.com/users/pkgoogle/repos",
"events_url": "https://api.github.com/users/pkgoogle/events{/privacy}",
"received_events_url": "https://api.github.com/users/pkgoogle/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"I was able to reproduce the issue. Please find this [gist](https://colab.research.google.com/gist/pjpratik/456c0d5c4035cf68fbd88c380a9861e0/62058.ipynb).\r\n\r\n@pkgoogle Could you please look into this issue. Thanks.",
"I was able to replicate, [gist](https://colab.sandbox.google.com/gist/pkgoogle/15855d323971676c2e64ec00355e2e23/62058.ipynb), I added some comments for readability.\r\n\r\n@alankelly, can you please take a look? Thanks."
] | 2023-10-06T01:51:42 | 2023-10-09T22:10:46 | null | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
No
### Source
source
### TensorFlow version
v2.14.0-rc1-21-g4dacf3f368e 2.14.0
### Custom code
No
### OS platform and distribution
Ubuntu 20 / Windows 11
### Mobile device
_No response_
### Python version
3.8, 3.10, 3.11
### Bazel version
_No response_
### GCC/compiler version
_No response_
### CUDA/cuDNN version
_No response_
### GPU model and memory
_No response_
### Current behavior?
Seems to be the same problem as https://github.com/tensorflow/tensorflow/issues/55040.
If I try to create an interpreter for the latest media pipe pose detector taken from the official mediapipe website it segfaults.
1. download latest `pose_landmarker.task` (any lite/full/heavy) from [here](https://developers.google.com/mediapipe/solutions/vision/pose_landmarker#models)
2. rename `pose_landmarker.task` to `pose_landmarker.zip`
3. extract `pose_detector.tflite`
4. run the attached example
doing some basic investigation it segfaults on `self._interpreter.TensorSparsityParameters(tensor_index, subgraph_index)` [here](https://github.com/tensorflow/tensorflow/blob/63bc8d2fd33f24699cc957e7b4e16996568736a2/tensorflow/lite/python/interpreter.py#L621C48-L621C72) same as the linked issue.
I am using conda, for package management.
### Standalone code to reproduce the issue
```shell
import tensorflow as tf
interpreter = tf.lite.Interpreter("pose_detector.tflite")
details = interpreter._get_tensor_details(15, subgraph_index=0)
print(details)
```
### Relevant log output
```shell
INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
Segmentation Fault
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62058/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/62058/timeline | null | null | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62057 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62057/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62057/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62057/events | https://github.com/tensorflow/tensorflow/pull/62057 | 1,929,139,389 | PR_kwDOArmXAs5cDkVN | 62,057 | Update Wrapt for PY 3.11 | {
"login": "joeyearsley",
"id": 1836025,
"node_id": "MDQ6VXNlcjE4MzYwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/1836025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/joeyearsley",
"html_url": "https://github.com/joeyearsley",
"followers_url": "https://api.github.com/users/joeyearsley/followers",
"following_url": "https://api.github.com/users/joeyearsley/following{/other_user}",
"gists_url": "https://api.github.com/users/joeyearsley/gists{/gist_id}",
"starred_url": "https://api.github.com/users/joeyearsley/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/joeyearsley/subscriptions",
"organizations_url": "https://api.github.com/users/joeyearsley/orgs",
"repos_url": "https://api.github.com/users/joeyearsley/repos",
"events_url": "https://api.github.com/users/joeyearsley/events{/privacy}",
"received_events_url": "https://api.github.com/users/joeyearsley/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1169364259,
"node_id": "MDU6TGFiZWwxMTY5MzY0MjU5",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:XS",
"name": "size:XS",
"color": "adafea",
"default": false,
"description": "CL Change Size: Extra Small"
}
] | closed | false | {
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"i am curious as to why this was dropped. I would like to see wrapt unpinned."
] | 2023-10-05T22:07:58 | 2023-11-27T17:46:20 | 2023-10-06T08:17:29 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/62057",
"html_url": "https://github.com/tensorflow/tensorflow/pull/62057",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/62057.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/62057.patch",
"merged_at": null
} | Wrapt <1.15 doesn't have Py3.11 wheels on pypi | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62057/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/62057/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/62056 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62056/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62056/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62056/events | https://github.com/tensorflow/tensorflow/pull/62056 | 1,928,799,459 | PR_kwDOArmXAs5cCaAg | 62,056 | Add auto_sharding dependency in OSS | {
"login": "ckstanton",
"id": 40280670,
"node_id": "MDQ6VXNlcjQwMjgwNjcw",
"avatar_url": "https://avatars.githubusercontent.com/u/40280670?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ckstanton",
"html_url": "https://github.com/ckstanton",
"followers_url": "https://api.github.com/users/ckstanton/followers",
"following_url": "https://api.github.com/users/ckstanton/following{/other_user}",
"gists_url": "https://api.github.com/users/ckstanton/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ckstanton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ckstanton/subscriptions",
"organizations_url": "https://api.github.com/users/ckstanton/orgs",
"repos_url": "https://api.github.com/users/ckstanton/repos",
"events_url": "https://api.github.com/users/ckstanton/events{/privacy}",
"received_events_url": "https://api.github.com/users/ckstanton/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 @ckstanton This PR is in draft, any update on this? Please. Thank you!",
"> Hi @ckstanton This PR is in draft, any update on this? Please. Thank you!\r\n\r\nThis was just a PR to demonstrate an issue we're seeing, I wasn't planning on submitting this... sorry! I'll close this PR now."
] | 2023-10-05T18:02:47 | 2023-11-03T17:31:37 | 2023-11-03T17:31:37 | NONE | null | true | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/62056",
"html_url": "https://github.com/tensorflow/tensorflow/pull/62056",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/62056.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/62056.patch",
"merged_at": null
} | Currently we see seg faults when trying to enable auto_sharding in OSS. This is a minimally-failing example for reproducing the issue. (This PR only adds the necessary dependency, we do not yet enable the auto_pass in gpu_compiler in OSS.) | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62056/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/62056/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/62055 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62055/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62055/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62055/events | https://github.com/tensorflow/tensorflow/issues/62055 | 1,928,612,817 | I_kwDOArmXAs5y9EvR | 62,055 | core dumped Error with tf.raw_ops.QuantizeAndDequantizeV4 | {
"login": "Gwihwan-Go",
"id": 83144588,
"node_id": "MDQ6VXNlcjgzMTQ0NTg4",
"avatar_url": "https://avatars.githubusercontent.com/u/83144588?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Gwihwan-Go",
"html_url": "https://github.com/Gwihwan-Go",
"followers_url": "https://api.github.com/users/Gwihwan-Go/followers",
"following_url": "https://api.github.com/users/Gwihwan-Go/following{/other_user}",
"gists_url": "https://api.github.com/users/Gwihwan-Go/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Gwihwan-Go/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Gwihwan-Go/subscriptions",
"organizations_url": "https://api.github.com/users/Gwihwan-Go/orgs",
"repos_url": "https://api.github.com/users/Gwihwan-Go/repos",
"events_url": "https://api.github.com/users/Gwihwan-Go/events{/privacy}",
"received_events_url": "https://api.github.com/users/Gwihwan-Go/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": 5922361893,
"node_id": "LA_kwDOArmXAs8AAAABYQASJQ",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF2.14",
"name": "TF2.14",
"color": "b60205",
"default": false,
"description": "For issues related to Tensorflow 2.14.x"
}
] | 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 | [
"@sachinprasadhs,\r\nI was able to reproduce the issue/error on tensorflow v2.13 and tf-nightly. Kindly find the screenshot below for the reference.\r\n\r\n<img width=\"567\" alt=\"image (22)\" src=\"https://github.com/tensorflow/tensorflow/assets/81610181/9e4c9db2-d7f3-4b83-b719-4165cd035e20\">\r\n\r\n<img width=\"567\" alt=\"image (23)\" src=\"https://github.com/tensorflow/tensorflow/assets/81610181/be607840-eeae-4e4e-923e-ad7af2990250\">\r\n",
"@GwiHwan-Go,\r\nI tried to execute the mentioned code on tf-nightly and the code was executed with the error and also observed that the crash did not happen. And the same has been in the respective files. Kindly find the [gist](https://colab.research.google.com/gist/tilakrayal/b1597c68ee31839c1f0d8e006770fbb0/untitled1687.ipynb) for the [reference](https://colab.research.google.com/gist/tilakrayal/47842479824cd16fa3773a49640bf860/untitled1689.ipynb).\r\n\r\nhttps://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/kernels/quantize_and_dequantize_op.cc#L22\r\n\r\nhttps://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/kernels/resource_variable_ops.cc#L1120\r\n\r\n```\r\n// Check data type of update and resource to scatter.\r\nconst DataType update_dtype = c->input(2).dtype();\r\nOP_REQUIRES(c, v->tensor()->dtype() == update_dtype,\r\nerrors::InvalidArgument(\r\n\"DType of scatter resource and updates does not match.\"));\r\n\r\n```\r\n\r\nThank you!",
"close the issue as it is fixed on latest version of tf",
"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/62055\">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/62055\">No</a>\n"
] | 2023-10-05T15:56:08 | 2024-01-27T23:34:50 | 2024-01-27T11:14:38 | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
source
### TensorFlow version
v1.12.1-100714-gd8e55c05473 2.15.0-dev20231005
### Custom code
Yes
### OS platform and distribution
Ubuntu 22.04.3 LTS (x86_64)
### Mobile device
_No response_
### Python version
_No response_
### Bazel version
_No response_
### GCC/compiler version
_No response_
### CUDA/cuDNN version
11.8
### GPU model and memory
_No response_
### Current behavior?
Description:
While using the tf.raw_ops.QuantizeAndDequantizeV4 operation, I encountered a core dumped error with specific input parameters.
### Standalone code to reproduce the issue
```shell
import tensorflow as tf
args = {
'axis': -1,
'input': tf.random.uniform(shape=[]),
'input_max': tf.random.uniform(shape=[1,8,5]),
'input_min': tf.random.uniform(shape=[0,5]),
'name': 'not defined',
'narrow_range': True,
'num_bits': 2,
'range_given': True,
'round_mode': 'HALF_TO_EVEN',
'signed_input': True
}
res = tf.raw_ops.QuantizeAndDequantizeV4(**args)
print(res)
```
### Relevant log output
```shell
To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-10-05 23:52:34.898354: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
2023-10-05 23:52:38.109515: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1924] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 6826 MB memory: -> device: 0, name: NVIDIA GeForce RTX 2070, pci bus id: 0000:02:00.0, compute capability: 7.5
2023-10-05 23:52:38.110141: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1924] Created device /job:localhost/replica:0/task:0/device:GPU:1 with 6826 MB memory: -> device: 1, name: NVIDIA GeForce RTX 2070, pci bus id: 0000:04:00.0, compute capability: 7.5
2023-10-05 23:52:38.110688: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1924] Created device /job:localhost/replica:0/task:0/device:GPU:2 with 6826 MB memory: -> device: 2, name: NVIDIA GeForce RTX 2070, pci bus id: 0000:83:00.0, compute capability: 7.5
2023-10-05 23:52:38.111251: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1924] Created device /job:localhost/replica:0/task:0/device:GPU:3 with 4528 MB memory: -> device: 3, name: NVIDIA GeForce RTX 2070, pci bus id: 0000:84:00.0, compute capability: 7.5
2023-10-05 23:52:38.268849: F tensorflow/core/framework/tensor.cc:852] Check failed: 1 == NumElements() (1 vs. 0)Must have a one element tensor
Aborted (core dumped)
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62055/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/62055/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62054 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62054/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62054/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62054/events | https://github.com/tensorflow/tensorflow/issues/62054 | 1,927,973,955 | I_kwDOArmXAs5y6oxD | 62,054 | Issue Installing TensorFlow on Windows 11 with Python 3.12.0 | {
"login": "ghost",
"id": 10137,
"node_id": "MDQ6VXNlcjEwMTM3",
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ghost",
"html_url": "https://github.com/ghost",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.github.com/users/ghost/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ghost/subscriptions",
"organizations_url": "https://api.github.com/users/ghost/orgs",
"repos_url": "https://api.github.com/users/ghost/repos",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"received_events_url": "https://api.github.com/users/ghost/received_events",
"type": "User",
"site_admin": false
} | [] | 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 | [
"`I hoping anyone know what the issue here`\r\n\r\nI get it, the issue is with Python 3.12. Use a different version and you'll be good to go.",
"Thanks\r\nI installed python 3.10 and now its working",
"Canonical issue #62003"
] | 2023-10-05T10:40:51 | 2023-10-22T20:21:10 | 2023-10-05T12:48:41 | NONE | null | null | null | Hello,
I am encountering an issue while trying to install TensorFlow on my Windows 11 machine with Python 3.12.0 and pip 23.2.1 (64-bit). Despite several attempts, I keep receiving the following error messages:
```
ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)
ERROR: No matching distribution found for tensorflow
```
I have tried creating virtual environments using both Python 3.7.0 and Python 3.6.4
cleared the pip cache using the command `pip cache purge`
Install TensorFlow with various specific versions
`tensorflow==2.1.0`
`tensorflow==2.5.0`
`tensorflow==2.2.0rc4`
I hoping anyone know what the issue here | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62054/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/62054/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62053 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62053/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62053/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62053/events | https://github.com/tensorflow/tensorflow/issues/62053 | 1,927,860,017 | I_kwDOArmXAs5y6M8x | 62,053 | Custom Gradient Computation not working in TF 2.14 | {
"login": "ayulockin",
"id": 31141479,
"node_id": "MDQ6VXNlcjMxMTQxNDc5",
"avatar_url": "https://avatars.githubusercontent.com/u/31141479?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ayulockin",
"html_url": "https://github.com/ayulockin",
"followers_url": "https://api.github.com/users/ayulockin/followers",
"following_url": "https://api.github.com/users/ayulockin/following{/other_user}",
"gists_url": "https://api.github.com/users/ayulockin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ayulockin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ayulockin/subscriptions",
"organizations_url": "https://api.github.com/users/ayulockin/orgs",
"repos_url": "https://api.github.com/users/ayulockin/repos",
"events_url": "https://api.github.com/users/ayulockin/events{/privacy}",
"received_events_url": "https://api.github.com/users/ayulockin/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": 1315098405,
"node_id": "MDU6TGFiZWwxMzE1MDk4NDA1",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/regression%20issue",
"name": "regression issue",
"color": "50bcc4",
"default": false,
"description": "To spot regression issues in latest version"
},
{
"id": 5922361893,
"node_id": "LA_kwDOArmXAs8AAAABYQASJQ",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF2.14",
"name": "TF2.14",
"color": "b60205",
"default": false,
"description": "For issues related to Tensorflow 2.14.x"
}
] | open | false | {
"login": "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 | [
"From the Relevant Log Output above, if I remove `tf.group` from this line `File \"/opt/conda/envs/tf214/lib/python3.10/site-packages/keras/src/optimizers/legacy/optimizer_v2.py\", line 844, in _distributed_apply`, the issue seems to be resolved. I am not sure how to properly resolve this issue though, any help would be appreciated.",
"@ayulockin Thank you for raising this issue!\r\n I was able to replicate the issue on colab using TF [v2.14](https://colab.research.google.com/gist/sushreebarsa/407893cdeb17f20c5bb4bda8bdecec2f/untitled.ipynb) and [nightly](https://colab.research.google.com/gist/sushreebarsa/4c4f13e3c4233a27d3545041d78d10ca/untitled.ipynb). This issue is not appearing in [2.13](https://colab.research.google.com/gist/sushreebarsa/b27971ea8f0027c6addf9eae2fc5b3c2/62053-2-13.ipynb). \r\n@sachinprasadhs Could you please have a look. Thank you!",
"Thanks for quickly replicating it @sushreebarsa. Looking for a response from @sachinprasadhs :)",
"I solved the issue like this:\r\n\r\nclass CustomSGD(tf.keras.optimizers.legacy.Optimizer): \r\n pass\r\n... \r\n\r\n# Creating an instance of the custom SGD optimizer\r\ncustom_sgd_optimizer = CustomSGD(learning_rate=0.01)\r\n\r\nWhen compiling the model, I added the run_eagerly=True attribute:\r\n\r\nmodel3.compile(optimizer=custom_sgd_optimizer, loss='mse', metrics=['mse', 'mae'], run_eagerly=True)\r\n\r\nThen, I trained the model with:\r\n\r\nhistory3 = model3.fit(x, y, epochs=1200)\r\n\r\nAnd it proceeded correctly without any issues.\r\n\r\nHope this helps! 🙂\r\n혹시 이해가 안되는 분있으면 메일주세요~"
] | 2023-10-05T09:51:32 | 2023-12-19T08:29:57 | null | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
No
### Source
binary
### TensorFlow version
2.14.0
### Custom code
Yes
### OS platform and distribution
Linux
### 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 am using W&B's Keras callback `WandbCallback`. This callback has a feature to log gradients of each layer at every step. This feature works fine till TF 2.13.0 but is erroring out in TF 2.14.0.
This piece of code works fine in Tf 2.13.0 but errors out in TF 2.14.0:
```
import numpy as np
import tensorflow as tf
print(tf.__version__)
import wandb
from wandb.keras import WandbModelCheckpoint
from wandb.keras import WandbCallback
run = wandb.init(project="keras")
x = np.random.randint(255, size=(100, 28, 28, 1))
y = np.random.randint(10, size=(100,))
dataset = (x, y)
def get_model():
m = tf.keras.Sequential()
m.add(tf.keras.layers.Conv2D(3, 3, activation="relu", input_shape=(28, 28, 1)))
m.add(tf.keras.layers.Flatten())
m.add(tf.keras.layers.Dense(10, activation="softmax"))
return m
model = get_model()
model.compile(
loss="sparse_categorical_crossentropy",
optimizer="sgd",
metrics=["accuracy"],
)
model.fit(
x,
y,
epochs=5,
validation_data=(x, y),
callbacks=[
WandbCallback(
save_model=False,
log_gradients=True,
training_data=(x,y)
)
],
)
```
I investigated further and was able to narrow it down to the gradient logging logic which again works fine for 2.13.0 but not for 2.14.0.
I think this has to do with the breaking changes with `tf.Tensor`.
The piece of code below is the gradient logging logic which errors out in the latest version.
### Standalone code to reproduce the issue
```shell
import tensorflow as tf
print(tf.__version__)
import wandb
import numpy as np
_training_data_x = np.random.randint(255, size=(100, 28, 28, 1))
_training_data_y = np.random.randint(10, size=(100,))
def get_model():
m = tf.keras.Sequential()
m.add(tf.keras.layers.Conv2D(3, 3, activation="relu", input_shape=(28, 28, 1)))
m.add(tf.keras.layers.Flatten())
m.add(tf.keras.layers.Dense(10, activation="softmax"))
return m
model = get_model()
model.compile(
loss="sparse_categorical_crossentropy",
optimizer="sgd",
metrics=["accuracy"],
)
def _get_custom_optimizer_parent_class():
from pkg_resources import parse_version
if parse_version(tf.__version__) >= parse_version("2.9.0"):
custom_optimizer_parent_class = tf.keras.optimizers.legacy.Optimizer
else:
custom_optimizer_parent_class = tf.keras.optimizers.Optimizer
return custom_optimizer_parent_class
_custom_optimizer_parent_class = _get_custom_optimizer_parent_class()
print(_custom_optimizer_parent_class)
class _CustomOptimizer(_custom_optimizer_parent_class):
def __init__(self):
super().__init__(name="CustomOptimizer")
self._resource_apply_dense = tf.function(self._resource_apply_dense)
self._resource_apply_sparse = tf.function(self._resource_apply_sparse)
tf.print(self._resource_apply_dense)
def _resource_apply_dense(self, grad, var):
var.assign(grad)
# this needs to be implemented to prevent a NotImplementedError when
# using Lookup layers.
def _resource_apply_sparse(self, grad, var, indices):
pass
def get_config(self):
return super().get_config()
class _GradAccumulatorCallback(tf.keras.callbacks.Callback):
"""Accumulates gradients during a fit() call when used in conjunction with the CustomOptimizer above."""
def set_model(self, model):
super().set_model(model)
self.og_weights = model.get_weights()
self.grads = [np.zeros(tuple(w.shape)) for w in model.trainable_weights]
def on_batch_end(self, batch, logs=None):
for g, w in zip(self.grads, self.model.trainable_weights):
g += w.numpy()
self.model.set_weights(self.og_weights)
def get_grads(self):
return [g.copy() for g in self.grads]
inputs = model.inputs
print(inputs)
outputs = model(inputs)
grad_acc_model = tf.keras.models.Model(inputs, outputs)
grad_acc_model.compile(loss=model.loss, optimizer=_CustomOptimizer())
_grad_accumulator_model = grad_acc_model
_grad_accumulator_model.summary()
_grad_accumulator_callback = _GradAccumulatorCallback()
_grad_accumulator_model.fit(
_training_data_x,
_training_data_y,
verbose=0,
callbacks=[_grad_accumulator_callback],
)
weights = model.trainable_weights
grads = _grad_accumulator_callback.grads
print(weights)
metrics = {}
for weight, grad in zip(weights, grads):
metrics[
"gradients/" + weight.name.split(":")[0] + ".gradient"
] = wandb.Histogram(grad)
print(metrics)
```
### Relevant log output
```shell
Traceback (most recent call last):
File "/home/ayushthakur/client/wandb/test_grad_logging.py", line 88, in <module>
_grad_accumulator_model.fit(
File "/opt/conda/envs/tf214/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 70, in error_handler
raise e.with_traceback(filtered_tb) from None
File "/tmp/__autograph_generated_file4zq8l42d.py", line 15, in tf__train_function
retval_ = ag__.converted_call(ag__.ld(step_function), (ag__.ld(self), ag__.ld(iterator)), None, fscope)
TypeError: in user code:
File "/opt/conda/envs/tf214/lib/python3.10/site-packages/keras/src/engine/training.py", line 1377, in train_function *
return step_function(self, iterator)
File "/opt/conda/envs/tf214/lib/python3.10/site-packages/keras/src/engine/training.py", line 1360, in step_function **
outputs = model.distribute_strategy.run(run_step, args=(data,))
File "/opt/conda/envs/tf214/lib/python3.10/site-packages/keras/src/engine/training.py", line 1349, in run_step **
outputs = model.train_step(data)
File "/opt/conda/envs/tf214/lib/python3.10/site-packages/keras/src/engine/training.py", line 1130, in train_step
self.optimizer.minimize(loss, self.trainable_variables, tape=tape)
File "/opt/conda/envs/tf214/lib/python3.10/site-packages/keras/src/optimizers/legacy/optimizer_v2.py", line 601, in minimize
return self.apply_gradients(grads_and_vars, name=name)
File "/opt/conda/envs/tf214/lib/python3.10/site-packages/keras/src/optimizers/legacy/optimizer_v2.py", line 760, in apply_gradients
return tf.__internal__.distribute.interim.maybe_merge_call(
File "/opt/conda/envs/tf214/lib/python3.10/site-packages/keras/src/optimizers/legacy/optimizer_v2.py", line 844, in _distributed_apply
with tf.control_dependencies([tf.group(update_ops)]):
TypeError: 'inputs' should be zero or more (nested) Tensors. Received 'None' with type '<class 'NoneType'>'.
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62053/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/tensorflow/tensorflow/issues/62053/timeline | null | null | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62052 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62052/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62052/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62052/events | https://github.com/tensorflow/tensorflow/pull/62052 | 1,927,850,093 | PR_kwDOArmXAs5b_L4g | 62,052 | [Linaro:ARM_CI] Use portserver during testing | {
"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-10-05T09:46:35 | 2023-10-20T14:29:07 | 2023-10-06T01:42:20 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/62052",
"html_url": "https://github.com/tensorflow/tensorflow/pull/62052",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/62052.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/62052.patch",
"merged_at": "2023-10-06T01:42:20"
} | The use of portpicker is not thread safe by default so start portserver before testing so that each invocation of portpicker will defer to the single instance of portserver and thus avoid the non thread safe behaviour that leads to duplicate ports being attempted to be used by tests running in parallel. | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62052/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/62052/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/62051 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62051/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62051/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62051/events | https://github.com/tensorflow/tensorflow/pull/62051 | 1,927,043,152 | PR_kwDOArmXAs5b8eQA | 62,051 | [oneDNN] Add BFloat16 Specialization Functor for Mean Op | {
"login": "gaurides",
"id": 42224728,
"node_id": "MDQ6VXNlcjQyMjI0NzI4",
"avatar_url": "https://avatars.githubusercontent.com/u/42224728?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gaurides",
"html_url": "https://github.com/gaurides",
"followers_url": "https://api.github.com/users/gaurides/followers",
"following_url": "https://api.github.com/users/gaurides/following{/other_user}",
"gists_url": "https://api.github.com/users/gaurides/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gaurides/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gaurides/subscriptions",
"organizations_url": "https://api.github.com/users/gaurides/orgs",
"repos_url": "https://api.github.com/users/gaurides/repos",
"events_url": "https://api.github.com/users/gaurides/events{/privacy}",
"received_events_url": "https://api.github.com/users/gaurides/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": 1097545273,
"node_id": "MDU6TGFiZWwxMDk3NTQ1Mjcz",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:grappler",
"name": "comp:grappler",
"color": "0052cc",
"default": false,
"description": "Grappler related issues"
},
{
"id": 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 | [
"@ezhulenev - the AMD ROCm failure is not related to changes in this PR. Can you please help review this PR?",
"Hi @ezhulenev, Can you please review this PR ? Thank you!",
"@cantonios Can you please review this PR also? Looks like the tests passed. Let me know if I need to change anything. Thanks!",
"It was originally reverted because it broke a set of internal tests across Google back in August. But those logs are now purged, so I can't see why exactly.\r\n\r\nWe can try again to see if it triggers the same errors."
] | 2023-10-04T21:59:52 | 2023-12-15T05:23:30 | 2023-12-15T05:23:30 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/62051",
"html_url": "https://github.com/tensorflow/tensorflow/pull/62051",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/62051.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/62051.patch",
"merged_at": "2023-12-15T05:23:30"
} | Resubmitting changes in PR #61331. Not sure why they were reverted.
Currently BFloat16 Mean Op causes BFloat16 accumulation which may result in incorrect output. This prevents Mean to be used with the lower BFloat16 precision. This PR:
Just like the existing implementation of the Sum op, ensures BFloat16 Mean accumulation happens in FP32 by adding a Casting Specialization registration.
Adds Benchmark and Kernel tests to verify the implementation.
Adds Mean back to the Infer List from Deny List and fixes a typo in the Infer List initialization.
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62051/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/62051/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/62050 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62050/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62050/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62050/events | https://github.com/tensorflow/tensorflow/pull/62050 | 1,926,904,177 | PR_kwDOArmXAs5b7_4C | 62,050 | Added compile option -DTFLITE_MMAP_DISABLED | {
"login": "SagaraBattousai",
"id": 13040520,
"node_id": "MDQ6VXNlcjEzMDQwNTIw",
"avatar_url": "https://avatars.githubusercontent.com/u/13040520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SagaraBattousai",
"html_url": "https://github.com/SagaraBattousai",
"followers_url": "https://api.github.com/users/SagaraBattousai/followers",
"following_url": "https://api.github.com/users/SagaraBattousai/following{/other_user}",
"gists_url": "https://api.github.com/users/SagaraBattousai/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SagaraBattousai/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SagaraBattousai/subscriptions",
"organizations_url": "https://api.github.com/users/SagaraBattousai/orgs",
"repos_url": "https://api.github.com/users/SagaraBattousai/repos",
"events_url": "https://api.github.com/users/SagaraBattousai/events{/privacy}",
"received_events_url": "https://api.github.com/users/SagaraBattousai/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 | [
"Hi @SagaraBattousai This PR is duplicate of [PR#62037](https://github.com/tensorflow/tensorflow/pull/62037). Hence we are closing this PR. Thank you for your contribution! "
] | 2023-10-04T20:08:58 | 2023-10-27T08:25:32 | 2023-10-27T08:25:29 | NONE | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/62050",
"html_url": "https://github.com/tensorflow/tensorflow/pull/62050",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/62050.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/62050.patch",
"merged_at": null
} | when CMAKE_SYSTEM_NAME MATCHES "Windows". Additionally, it may also be prudent to add this whenever TFLITE_ENABLE_MMAP=OFF. Additional note: add_compile_definitions(-DTFLITE_MMAP_DISABLED) (or add_compile_definitions(-DTFLITE_MMAP_DISABLED=1)) did not have the desired effect but add_compile_options(-DTFLITE_MMAP_DISABLED) does succeed. This is most likely due to my not understanding the difference.
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62050/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/62050/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/62049 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62049/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62049/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62049/events | https://github.com/tensorflow/tensorflow/issues/62049 | 1,926,355,347 | I_kwDOArmXAs5y0dmT | 62,049 | Compatibility with Python 3.12.0 | {
"login": "gitteral",
"id": 66177583,
"node_id": "MDQ6VXNlcjY2MTc3NTgz",
"avatar_url": "https://avatars.githubusercontent.com/u/66177583?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gitteral",
"html_url": "https://github.com/gitteral",
"followers_url": "https://api.github.com/users/gitteral/followers",
"following_url": "https://api.github.com/users/gitteral/following{/other_user}",
"gists_url": "https://api.github.com/users/gitteral/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gitteral/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gitteral/subscriptions",
"organizations_url": "https://api.github.com/users/gitteral/orgs",
"repos_url": "https://api.github.com/users/gitteral/repos",
"events_url": "https://api.github.com/users/gitteral/events{/privacy}",
"received_events_url": "https://api.github.com/users/gitteral/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"
}
] | closed | false | {
"login": "Varsha-anjanappa",
"id": 137163810,
"node_id": "U_kgDOCCz0Ig",
"avatar_url": "https://avatars.githubusercontent.com/u/137163810?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Varsha-anjanappa",
"html_url": "https://github.com/Varsha-anjanappa",
"followers_url": "https://api.github.com/users/Varsha-anjanappa/followers",
"following_url": "https://api.github.com/users/Varsha-anjanappa/following{/other_user}",
"gists_url": "https://api.github.com/users/Varsha-anjanappa/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Varsha-anjanappa/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Varsha-anjanappa/subscriptions",
"organizations_url": "https://api.github.com/users/Varsha-anjanappa/orgs",
"repos_url": "https://api.github.com/users/Varsha-anjanappa/repos",
"events_url": "https://api.github.com/users/Varsha-anjanappa/events{/privacy}",
"received_events_url": "https://api.github.com/users/Varsha-anjanappa/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "Varsha-anjanappa",
"id": 137163810,
"node_id": "U_kgDOCCz0Ig",
"avatar_url": "https://avatars.githubusercontent.com/u/137163810?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Varsha-anjanappa",
"html_url": "https://github.com/Varsha-anjanappa",
"followers_url": "https://api.github.com/users/Varsha-anjanappa/followers",
"following_url": "https://api.github.com/users/Varsha-anjanappa/following{/other_user}",
"gists_url": "https://api.github.com/users/Varsha-anjanappa/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Varsha-anjanappa/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Varsha-anjanappa/subscriptions",
"organizations_url": "https://api.github.com/users/Varsha-anjanappa/orgs",
"repos_url": "https://api.github.com/users/Varsha-anjanappa/repos",
"events_url": "https://api.github.com/users/Varsha-anjanappa/events{/privacy}",
"received_events_url": "https://api.github.com/users/Varsha-anjanappa/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"Duplicate of #62003",
"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/62049\">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/62049\">No</a>\n"
] | 2023-10-04T14:32:22 | 2023-10-04T18:06:54 | 2023-10-04T18:06:51 | NONE | null | null | null | ### Issue type
Build/Install
### Have you reproduced the bug with TensorFlow Nightly?
No
### Source
binary
### TensorFlow version
tensorflow 2.14.0
### Custom code
No
### OS platform and distribution
Mac OS
### Mobile device
_No response_
### Python version
3.12.0
### Bazel version
_No response_
### GCC/compiler version
_No response_
### CUDA/cuDNN version
_No response_
### GPU model and memory
_No response_
### Current behavior?
Python 3.12.0 is now available. I tried to pip install TensorFlow 2.14.0. The attempt failed as TF is only compatible with Python 3.11 at most at the moment.
When will a version of TensorFlow be available for the latest Python?
Thanks.
### Standalone code to reproduce the issue
```shell
Terminal output:
(venv) ## my user ## % pip install tensorflow==2.14.0
ERROR: Could not find a version that satisfies the requirement tensorflow==2.14.0 (from versions: none)
```
### Relevant log output
_No response_ | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62049/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/62049/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62048 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62048/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62048/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62048/events | https://github.com/tensorflow/tensorflow/issues/62048 | 1,926,169,013 | I_kwDOArmXAs5yzwG1 | 62,048 | ValueError in tensorflow-probability | {
"login": "SachinBM-CE",
"id": 119333484,
"node_id": "U_kgDOBxzibA",
"avatar_url": "https://avatars.githubusercontent.com/u/119333484?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SachinBM-CE",
"html_url": "https://github.com/SachinBM-CE",
"followers_url": "https://api.github.com/users/SachinBM-CE/followers",
"following_url": "https://api.github.com/users/SachinBM-CE/following{/other_user}",
"gists_url": "https://api.github.com/users/SachinBM-CE/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SachinBM-CE/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SachinBM-CE/subscriptions",
"organizations_url": "https://api.github.com/users/SachinBM-CE/orgs",
"repos_url": "https://api.github.com/users/SachinBM-CE/repos",
"events_url": "https://api.github.com/users/SachinBM-CE/events{/privacy}",
"received_events_url": "https://api.github.com/users/SachinBM-CE/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": 5922361893,
"node_id": "LA_kwDOArmXAs8AAAABYQASJQ",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF2.14",
"name": "TF2.14",
"color": "b60205",
"default": false,
"description": "For issues related to Tensorflow 2.14.x"
}
] | 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 | [
"@SachinBM-CE,\r\nCould you please note that using `tfp-nightly` in the meantime should work for the above issue. Also stable (ie non-nightly) TFP releases are generally tied to a particular stable TF release and won't generally work with a subsequent TF release. TFP nightlies are tested against tf-nightly and more likely to work with a recent TF stable release.\r\n\r\nAnd also, it looks more related to tensorflow-propability, where in that repo there is an issue that was raised and a conversation is happening. https://github.com/tensorflow/probability/issues/1752. I request that please feel free to close this issue and follow up on that issue for a quick resolution. Thank you!",
"@tilakrayal \r\nThank you very much for your suggestion & directing me to the right conversation. ",
"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/62048\">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/62048\">No</a>\n"
] | 2023-10-04T13:00:37 | 2023-10-05T10:06:15 | 2023-10-05T10:06:12 | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
source
### TensorFlow version
tensorflow 2.15.0
### Custom code
Yes
### OS platform and distribution
Windows Subsystem for Linux
### Mobile device
_No response_
### Python version
3.9
### Bazel version
v1.18.0
### GCC/compiler version
11.3.0
### CUDA/cuDNN version
_No response_
### GPU model and memory
_No response_
### Current behavior?
I am trying to run a program which uses tensorflow agents & tensorflow probability at the back end. When I try to run the train.py using .yaml input file, I am getting the following error:
### Standalone code to reproduce the issue
```shell
lib/python3.10/site-packages/tensorflow_probability/python/internal/prefer_static.py", line 84, in _copy_docstring raise ValueError(
ValueError: Arg specs do not match: original=FullArgSpec(args=['input', 'dtype', 'name', 'layout'], varargs=None, varkw=None, defaults=(None, None, None), kwonlyargs=[], kwonlydefaults=None, annotations={}), new=FullArgSpec(args=['input', 'dtype', 'name'], varargs=None, varkw=None, defaults=(None, None), kwonlyargs=[], kwonlydefaults=None, annotations={}), fn=<function ones_like_v2 at 0x7f8287141480> Please help me understand the issue & any suggestions to resolve the error is greatly appreciated.
```
### Relevant log output
_No response_ | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62048/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/62048/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62047 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62047/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62047/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62047/events | https://github.com/tensorflow/tensorflow/issues/62047 | 1,925,788,403 | I_kwDOArmXAs5yyTLz | 62,047 | avx512fp16 causing invalid static_cast with cuda12.2 python 3.12 | {
"login": "OH-AU",
"id": 43261618,
"node_id": "MDQ6VXNlcjQzMjYxNjE4",
"avatar_url": "https://avatars.githubusercontent.com/u/43261618?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/OH-AU",
"html_url": "https://github.com/OH-AU",
"followers_url": "https://api.github.com/users/OH-AU/followers",
"following_url": "https://api.github.com/users/OH-AU/following{/other_user}",
"gists_url": "https://api.github.com/users/OH-AU/gists{/gist_id}",
"starred_url": "https://api.github.com/users/OH-AU/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/OH-AU/subscriptions",
"organizations_url": "https://api.github.com/users/OH-AU/orgs",
"repos_url": "https://api.github.com/users/OH-AU/repos",
"events_url": "https://api.github.com/users/OH-AU/events{/privacy}",
"received_events_url": "https://api.github.com/users/OH-AU/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"
},
{
"id": 5922361893,
"node_id": "LA_kwDOArmXAs8AAAABYQASJQ",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF2.14",
"name": "TF2.14",
"color": "b60205",
"default": false,
"description": "For issues related to Tensorflow 2.14.x"
}
] | closed | true | {
"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 @OH-AU \r\n\r\nTensorflow supports `--copt=-mavx` flag as per [source](https://github.com/tensorflow/tensorflow/blob/master/.bazelrc#L421C1-L422C1) ,but not sure of the `avx512fp16` flag.\r\n\r\nNeed to hear from Engg team.Thanks you!\r\n",
"Hi,\r\n\r\nYou seem to be using very old bazel version, could you please use below listed configurations and let us know the outcome.\r\n\r\n\r\n\r\nVersion | Python version | Compiler | Build tools | cuDNN | CUDA\r\n-- | -- | -- | -- | -- | --\r\ntensorflow-2.14.0 | 3.9-3.11 | Clang 16.0.0 | Bazel 6.1.0 | 8.7 | 11.8\r\n\r\n",
"My apologies - not sure where that came from in the original report - the version of bazel used in the original report was 6.1.0 (I also had 6.3.2 available however that was too new for tensorflow to work with).",
"Can you try with above published CUDA and cuDNN version.",
"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.",
"Unfortunately I don't have access to older versions of python, cuda or cudnn on this system. I attempted to compile with llvm/clang 17.0.1 but not being familiar with how to build in that environment I just got an error of:\r\nclang-17: error: unknown argument: '-fno-canonical-system-headers' - which points me to:\r\nhttps://github.com/llvm/llvm-project/issues/61699\r\nand\r\nhttps://github.com/bazelbuild/bazel/issues/16107\r\nI can probably grab a clang 16 binary, and the older cuda/cudnn but that won't optimize well for the h100 hardware - and presumably I'd run into the same build issue with -fno-canonical...? python/3.12.0 is also the only python available on this test system at this time.\r\nI did try with CC=clang CXX=clang++ and then using:\r\nPlease specify which gcc should be used by nvcc as the host compiler. [Default is /gcc/12.3/bin/gcc]\r\nto see if I could somehow combine clang+gcc but that resulted in the same error as the original ticket. I may try gcc/13.2.",
"Canonical issue #62003",
"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/62047\">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/62047\">No</a>\n",
"I have the same static_cast build error on 2.16.1 building with CUDA 12.4, cudnn 8.9.7, TritonRT 8.6, clang 17, and python 3.10 (stock) on Ubuntu 22.04 if I use either copt \"-march=native\" or \"-mavx\". I can successfully build without either march=native or mavx if I also have copt \"-Wno-error=unused-command-line-argument\" (see issue 62459)."
] | 2023-10-04T09:30:07 | 2024-03-21T14:15:06 | 2023-10-22T20:21:21 | NONE | resolved | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
source
### TensorFlow version
tf 2.15
### Custom code
No
### OS platform and distribution
Linux SuSE 15 SP4
### Mobile device
_No response_
### Python version
3.12.0
### Bazel version
3.6.0
### GCC/compiler version
gcc 12.3.0
### CUDA/cuDNN version
cuda 12.2.2 cudnn 8.9.5
### GPU model and memory
H100
### Current behavior?
I am aware this is an unsupported, non-working configuration - reporting early in case it's a real bug requiring fixing.
CPU is Sapphire Rapids; Compiling with --copt=-mavx512fp16
results in the following build error:
tensorflow/core/kernels/linalg/matrix_inverse_op.cc:113:31: required from here
external/eigen_archive/Eigen/src/Core/MathFunctions.h:429:12: error: invalid ‘static_cast’ from type ‘const Eigen::internal::eigen_packet_wrapper<__vector(4) long long int, 1>’ to type ‘__vector(16) float’
429 | return static_cast<NewType>(x);
Removing --copt=-mavx512fp16 allows the compile to finish. The following options resulted in a successfully build of a tensorflow whl file (although unusable until python 3.12 compatibility is available).
--config=opt -c opt --copt=-mfpmath=sse --copt=-msse4.2 --copt=-mavx --copt=-mavx2
--copt=-mfma --copt=-mavx512f --copt=-mavx512vnni --copt=-mavx512f --copt=-mavx512bf16 --copt=-mavx512vl
### Standalone code to reproduce the issue
```shell
TF_PYTHON_VERSION=3.11 CFLAGS="-O3 -march=native -fPIC" CXXFLAGS=$CFLAGS LIBRARY_PATH=$LD_RUN_PATH LD_LIBRARY_PATH=$LD_RUN_PATH \
LDFLAGS="-fPIC -Wl,--disable-new-dtags -Wl,--rpath -Wl,${LD_RUN_PATH}" bazel build -j 24 --config=opt -c opt --copt=-mavx --copt=-mavx2 \
--copt=-mfma --copt=-mfpmath=sse --copt=-msse4.2 \
--copt=-mavx512f --copt=-mavx512vnni --copt=-mavx512f --copt=-mavx512fp16 --copt=-mavx512bf16 --copt=-mavx512vl \
--config=cuda --config=mkl --config=tensorrt //tensorflow/tools/pip_package:build_pip_package --repo_env=TF_PYTHON_VERSION=3.11
```
### Relevant log output
```shell
external/eigen_archive/Eigen/src/Core/Matrix.h:227:24: required from ‘Eigen::Matrix<Scalar_, Rows_, Cols_, Options_, MaxRows_, MaxCols_>& Eigen::Matrix<Scalar_, Rows_, Cols_, Options_, MaxRows_, MaxCols_>::operator=(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::CwiseUnaryOp<Eigen::internal::core_cast_op<Eigen::half, float>, const Eigen::Map<const Eigen::Matrix<Eigen::half, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> > >; Scalar_ = float; int Rows_ = -1; int Cols_ = -1; int Options_ = 1; int MaxRows_ = -1; int MaxCols_ = -1]’
external/eigen_archive/Eigen/src/LU/PartialPivLU.h:135:12: required from ‘Eigen::PartialPivLU<MatrixType, PermutationIndex>& Eigen::PartialPivLU<MatrixType, PermutationIndex>::compute(const Eigen::EigenBase<OtherDerived>&) [with InputType = Eigen::CwiseUnaryOp<Eigen::internal::core_cast_op<Eigen::half, float>, const Eigen::Map<const Eigen::Matrix<Eigen::half, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> > >; MatrixType_ = Eigen::Matrix<float, -1, -1, 1, -1, -1>; PermutationIndex_ = int]’
tensorflow/core/kernels/linalg/matrix_inverse_op.cc:113:31: required from here
external/eigen_archive/Eigen/src/Core/MathFunctions.h:429:12: error: invalid ‘static_cast’ from type ‘const Eigen::internal::eigen_packet_wrapper<__vector(4) long long int, 1>’ to type ‘__vector(16) float’
429 | return static_cast<NewType>(x);
| ^~~~~~~~~~~~~~~~~~~~~~~
Target //tensorflow/tools/pip_package:build_pip_package failed to build
Use --verbose_failures to see the command lines of failed build steps.
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62047/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/62047/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62046 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62046/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62046/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62046/events | https://github.com/tensorflow/tensorflow/issues/62046 | 1,925,768,658 | I_kwDOArmXAs5yyOXS | 62,046 | Building TF 2.14 using bazel with later NDK versions failing | {
"login": "nikraj01",
"id": 44364373,
"node_id": "MDQ6VXNlcjQ0MzY0Mzcz",
"avatar_url": "https://avatars.githubusercontent.com/u/44364373?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nikraj01",
"html_url": "https://github.com/nikraj01",
"followers_url": "https://api.github.com/users/nikraj01/followers",
"following_url": "https://api.github.com/users/nikraj01/following{/other_user}",
"gists_url": "https://api.github.com/users/nikraj01/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nikraj01/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nikraj01/subscriptions",
"organizations_url": "https://api.github.com/users/nikraj01/orgs",
"repos_url": "https://api.github.com/users/nikraj01/repos",
"events_url": "https://api.github.com/users/nikraj01/events{/privacy}",
"received_events_url": "https://api.github.com/users/nikraj01/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 386191887,
"node_id": "MDU6TGFiZWwzODYxOTE4ODc=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response",
"name": "stat:awaiting response",
"color": "f4b400",
"default": false,
"description": "Status - Awaiting response from author"
},
{
"id": 473173351,
"node_id": "MDU6TGFiZWw0NzMxNzMzNTE=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:build/install",
"name": "type:build/install",
"color": "159b2e",
"default": false,
"description": "Build and install issues"
},
{
"id": 474725938,
"node_id": "MDU6TGFiZWw0NzQ3MjU5Mzg=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stale",
"name": "stale",
"color": "d4c5f9",
"default": false,
"description": "This label marks the issue/pr stale - to be closed automatically if no activity"
},
{
"id": 1205615612,
"node_id": "MDU6TGFiZWwxMjA1NjE1NjEy",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/subtype:%20ubuntu/linux",
"name": "subtype: ubuntu/linux",
"color": "b619ea",
"default": false,
"description": "Ubuntu/Linux Build/Installation Issues"
},
{
"id": 5922361893,
"node_id": "LA_kwDOArmXAs8AAAABYQASJQ",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF2.14",
"name": "TF2.14",
"color": "b60205",
"default": false,
"description": "For issues related to Tensorflow 2.14.x"
}
] | 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 | [
"@nikraj01 Thank you for raising the issue!\r\nCould you please go to SDK location find NDK folder and check the folders if one of them is empty or corrupted? If so please delete it and let it use the latest version you have,\r\nThank you!",
"Hi @sushreebarsa ,\r\n\r\nDoesn't look like both NDK folders are empty/corrupted to me\r\n\r\nAndroidSDK/ndk/21.4.7075529$ ls\r\nbuild meta ndk-gdb ndk-which NOTICE.toolchain platforms python-packages shader-tools source.properties sysroot wrap.sh\r\nCHANGELOG.md ndk-build ndk-stack NOTICE package.xml prebuilt README.md simpleperf sources toolchains\r\n\r\n\r\nAndroidSDK/ndk/25.0.8775105$ ls\r\nbuild meta ndk-gdb ndk-stack NOTICE package.xml python-packages shader-tools source.properties toolchains\r\nCHANGELOG.md ndk-build ndk-lldb ndk-which NOTICE.toolchain prebuilt README.md simpleperf sources wrap.sh\r\n\r\nThanks",
"@nikraj01 Sorry for the late response!\r\nCould you please follow the steps from the document [here](https://www.tensorflow.org/lite/android/lite_build) for the android build. Please let us know which NDK version you are specifying? The current recommended version is 21e, which may be found [here](https://developer.android.com/ndk/downloads/older_releases.html#ndk-21e-downloads).\r\nThank you!",
"Hello @sushreebarsa ,\r\n\r\nThanks for the reply. I am not building Tflite for Android, I am specifically building Tf Delegate Performance Benchmark tool. \r\nIts working fine if I use NDK version 21. But I suppose later versions of NDK should also support it?\r\n\r\nThanks",
"@nikraj01 Thanks for your reply!\r\nI could see there has been a [PR](https://github.com/tensorflow/tensorflow/pull/59422) already raised before on this. Could you please refer to this [PR](https://github.com/tensorflow/tensorflow/pull/59422#issuecomment-1733975406) and let us know if it helps?\r\nIt seems like nkd v25 will be supported in tf-nightly and the next release. \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/62046\">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/62046\">No</a>\n"
] | 2023-10-04T09:18:43 | 2023-11-02T01:47:34 | 2023-11-02T01:47:32 | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
source
### TensorFlow version
2.14
### Custom code
Yes
### OS platform and distribution
Ubuntu 20.04
### Mobile device
_No response_
### Python version
_No response_
### Bazel version
6.1.0
### GCC/compiler version
_No response_
### CUDA/cuDNN version
Building without CUDA support
### GPU model and memory
_No response_
### Current behavior?
In order to build Tensorflow Delegate Performance Benchmark tool, I am building latest TF (2.14) from source (using ./configure) using bazel 6.1.0 and Android NDK version 25.0.8775105. But this fails
WARNING: The NDK version in /home/<username>/AndroidSDK/ndk/25.0.8775105 is 25, which is not supported by Bazel (officially supported versions: [19, 20, 21]). Please use another version. Compiling Android targets may result in confusing errors.
Traceback (most recent call last):
File "./configure.py", line 1466, in <module>
main()
File "./configure.py", line 1439, in main
create_android_ndk_rule(environ_cp)
File "./configure.py", line 658, in create_android_ndk_rule
get_ndk_api_level(environ_cp, android_ndk_home_path))
File "./configure.py", line 752, in get_ndk_api_level
api_levels = sorted(os.listdir(platforms))
FileNotFoundError: [Errno 2] No such file or directory: '/home/<username>/AndroidSDK/ndk/25.0.8775105/platforms'
As far as I understand later NDK versions don't have platforms/
As a user I should be able to build tensorflow using later NDK versions. Could someone have a look into this please.
### Standalone code to reproduce the issue
```shell
Steps followed:
1. Clone TF : git clone --recurse-submodules https://github.com/tensorflow/tensorflow.git
2. Clone bazel: https://bazel.build/install/ubuntu
3. Install AndroidSDK: sudo snap install androidsdk
4. Install Android NDK : androidsdk --install "ndk;25.0.8775105"
5. Install android sources: androidsdk --install "sources;android-30"
6. Install platforms: androidsdk --install "platforms;android-30"
7. Install platform-tools: androidsdk --install "platform-tools"
8. Run ./configure
These are the options we provided:
Please specify the location of python. [Default is /usr/bin/python3]:
Found possible Python library paths:
/usr/lib/python3/dist-packages
/usr/local/lib/python3.8/dist-packages
Please input the desired Python library path to use. Default is [/usr/lib/python3/dist-packages]
Do you wish to build TensorFlow with ROCm support? [y/N]:
No ROCm support will be enabled for TensorFlow.
Do you wish to build TensorFlow with CUDA support? [y/N]:
No CUDA support will be enabled for TensorFlow.
Do you wish to download a fresh release of clang? (Experimental) [y/N]:
Clang will not be downloaded.
Please specify optimization flags to use during compilation when bazel option "--config=opt" is specified [Default is -Wno-sign-compare]: --config=opt
Would you like to interactively configure ./WORKSPACE for Android builds? [y/N]: y
Searching for NDK and SDK installations.
Please specify the home path of the Android NDK to use. [Default is /home/<username>/Android/Sdk/ndk-bundle]: <provide path here>
```
### Relevant log output
_No response_ | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62046/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/62046/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62045 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62045/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62045/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62045/events | https://github.com/tensorflow/tensorflow/issues/62045 | 1,925,530,678 | I_kwDOArmXAs5yxUQ2 | 62,045 | Can TensorFlow be used on other microcontrollers other than listed by TensorFlow? | {
"login": "JasmineKaur-eaton",
"id": 144684387,
"node_id": "U_kgDOCJ-1Yw",
"avatar_url": "https://avatars.githubusercontent.com/u/144684387?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JasmineKaur-eaton",
"html_url": "https://github.com/JasmineKaur-eaton",
"followers_url": "https://api.github.com/users/JasmineKaur-eaton/followers",
"following_url": "https://api.github.com/users/JasmineKaur-eaton/following{/other_user}",
"gists_url": "https://api.github.com/users/JasmineKaur-eaton/gists{/gist_id}",
"starred_url": "https://api.github.com/users/JasmineKaur-eaton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JasmineKaur-eaton/subscriptions",
"organizations_url": "https://api.github.com/users/JasmineKaur-eaton/orgs",
"repos_url": "https://api.github.com/users/JasmineKaur-eaton/repos",
"events_url": "https://api.github.com/users/JasmineKaur-eaton/events{/privacy}",
"received_events_url": "https://api.github.com/users/JasmineKaur-eaton/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 386191887,
"node_id": "MDU6TGFiZWwzODYxOTE4ODc=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response",
"name": "stat:awaiting response",
"color": "f4b400",
"default": false,
"description": "Status - Awaiting response from author"
},
{
"id": 473184161,
"node_id": "MDU6TGFiZWw0NzMxODQxNjE=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:support",
"name": "type:support",
"color": "159b2e",
"default": false,
"description": "Support issues"
},
{
"id": 474725938,
"node_id": "MDU6TGFiZWw0NzQ3MjU5Mzg=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stale",
"name": "stale",
"color": "d4c5f9",
"default": false,
"description": "This label marks the issue/pr stale - to be closed automatically if no activity"
},
{
"id": 750616506,
"node_id": "MDU6TGFiZWw3NTA2MTY1MDY=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:lite",
"name": "comp:lite",
"color": "0052cc",
"default": false,
"description": "TF Lite related issues"
},
{
"id": 1589976566,
"node_id": "MDU6TGFiZWwxNTg5OTc2NTY2",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:micro",
"name": "comp:micro",
"color": "3e2eea",
"default": false,
"description": "Related to TensorFlow Lite Microcontrollers"
},
{
"id": 1661751498,
"node_id": "MDU6TGFiZWwxNjYxNzUxNDk4",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TFLiteConverter",
"name": "TFLiteConverter",
"color": "bfdadc",
"default": false,
"description": "For issues related to TFLite converter"
}
] | closed | false | {
"login": "pjpratik",
"id": 118897289,
"node_id": "U_kgDOBxY6iQ",
"avatar_url": "https://avatars.githubusercontent.com/u/118897289?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pjpratik",
"html_url": "https://github.com/pjpratik",
"followers_url": "https://api.github.com/users/pjpratik/followers",
"following_url": "https://api.github.com/users/pjpratik/following{/other_user}",
"gists_url": "https://api.github.com/users/pjpratik/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pjpratik/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pjpratik/subscriptions",
"organizations_url": "https://api.github.com/users/pjpratik/orgs",
"repos_url": "https://api.github.com/users/pjpratik/repos",
"events_url": "https://api.github.com/users/pjpratik/events{/privacy}",
"received_events_url": "https://api.github.com/users/pjpratik/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "pjpratik",
"id": 118897289,
"node_id": "U_kgDOBxY6iQ",
"avatar_url": "https://avatars.githubusercontent.com/u/118897289?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pjpratik",
"html_url": "https://github.com/pjpratik",
"followers_url": "https://api.github.com/users/pjpratik/followers",
"following_url": "https://api.github.com/users/pjpratik/following{/other_user}",
"gists_url": "https://api.github.com/users/pjpratik/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pjpratik/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pjpratik/subscriptions",
"organizations_url": "https://api.github.com/users/pjpratik/orgs",
"repos_url": "https://api.github.com/users/pjpratik/repos",
"events_url": "https://api.github.com/users/pjpratik/events{/privacy}",
"received_events_url": "https://api.github.com/users/pjpratik/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"Hi @JasmineKaur-eaton \r\n\r\nThe TensorFlow provides TensorFlow Lite for Microcontrollers which is designed to run machine learning models on microcontrollers and other devices with only a few kilobytes of memory. \r\n\r\nPlease check the list of [supported platforms](https://www.tensorflow.org/lite/microcontrollers#supported_platforms) which includes [STM32F746 Discovery kit](https://www.st.com/en/evaluation-tools/32f746gdiscovery.html). \r\n\r\nThe documentation provides a hello world template and other examples which can be used as templates to create own projects.\r\n\r\nThis [documentation](https://www.tensorflow.org/lite/microcontrollers/library) outlines the basic structure of the C++ library and provides information about creating your own project.\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.",
"Hi, thank you for your response.\r\nI have tried the Hello World Example with Arduino Nano BLE and the TensorFlow library gives no errors. When trying the same with Arduino Mega I am getting errors in the TensorFlow Lib.\r\nBelow is the error-\r\n\\Arduino\\libraries\\Arduino_TensorFlowLite\\src/tensorflow/lite/core/api/error_reporter.h:18:10: fatal error: cstdarg: No such file or directory\r\n\r\n#include <cstdarg>\r\n ^~~~~~~~~\r\ncompilation terminated.\r\n\r\nWhy am I getting error when I am trying to build using TF with some other board and example. \r\n",
"Hi @JasmineKaur-eaton \r\n\r\nAs per the [documentation](https://www.tensorflow.org/lite/microcontrollers#supported_platforms), the [Arduino Nano 33 BLE Sense](https://store-usa.arduino.cc/products/arduino-nano-33-ble-sense-with-headers) is supported and Arduino Mega is not listed in the supported platforms. Hence the incompatiblity might be causing the issue.\r\n\r\nThanks.",
"Is there any other library similar to TensorFlow which supports microcontrollers/platforms other than listed as per documentation?",
"Hi @JasmineKaur-eaton ,\r\n\r\nI am not sure about other libraries but as far as TFLite Micro is concerned please refer to the list of [supported platforms](https://www.tensorflow.org/lite/microcontrollers#supported_platforms) as mentioned above. Feel free to post in [TFLite Micro](https://github.com/tensorflow/tflite-micro/issues) repo for reporting the possible feature request.\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/62045\">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/62045\">No</a>\n"
] | 2023-10-04T06:57:22 | 2023-10-31T01:47:52 | 2023-10-31T01:47:50 | NONE | null | null | null | I have created a TensorFlow model that I wish to run on STM32F407VGT6.
Is it possible to run TensorFlow model on microcontrollers other than listed ones.
Also, is there any documentation to create and explore new models other than Hello World, Miro Speech and Person detection to understand TensorFlow Lite Micro more?
Is TensorFlow expandable to other models apart from listed above? | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62045/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/62045/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62044 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62044/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62044/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62044/events | https://github.com/tensorflow/tensorflow/issues/62044 | 1,925,092,394 | I_kwDOArmXAs5yvpQq | 62,044 | Obtain tf-opt and flatbuffer_translate without compiling from source | {
"login": "Kuree",
"id": 6099149,
"node_id": "MDQ6VXNlcjYwOTkxNDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/6099149?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Kuree",
"html_url": "https://github.com/Kuree",
"followers_url": "https://api.github.com/users/Kuree/followers",
"following_url": "https://api.github.com/users/Kuree/following{/other_user}",
"gists_url": "https://api.github.com/users/Kuree/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Kuree/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Kuree/subscriptions",
"organizations_url": "https://api.github.com/users/Kuree/orgs",
"repos_url": "https://api.github.com/users/Kuree/repos",
"events_url": "https://api.github.com/users/Kuree/events{/privacy}",
"received_events_url": "https://api.github.com/users/Kuree/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 299643928,
"node_id": "MDU6TGFiZWwyOTk2NDM5Mjg=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:contribution%20welcome",
"name": "stat:contribution welcome",
"color": "f4b400",
"default": false,
"description": "Status - Contributions welcome"
},
{
"id": 404586594,
"node_id": "MDU6TGFiZWw0MDQ1ODY1OTQ=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20tensorflower",
"name": "stat:awaiting tensorflower",
"color": "f4b400",
"default": false,
"description": "Status - Awaiting response from tensorflower"
},
{
"id": 473173272,
"node_id": "MDU6TGFiZWw0NzMxNzMyNzI=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:feature",
"name": "type:feature",
"color": "159b2e",
"default": false,
"description": "Feature requests"
},
{
"id": 473173351,
"node_id": "MDU6TGFiZWw0NzMxNzMzNTE=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:build/install",
"name": "type:build/install",
"color": "159b2e",
"default": false,
"description": "Build and install issues"
},
{
"id": 750616506,
"node_id": "MDU6TGFiZWw3NTA2MTY1MDY=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:lite",
"name": "comp:lite",
"color": "0052cc",
"default": false,
"description": "TF Lite related issues"
}
] | 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 | [
"@Kuree,\r\nCould you please elaborate about your Feature. Also, please specify the Use Cases for this feature to understand in the effective way. Thank you!",
"We have a custom compiler that takes tflite models and convert them into some custom MLIR dialect. To do so, we use `flatbuffer_translate` and `tf-opt` to obtain MLIR in standard dialects (TODA + Linalg). So the compilation flow looks something like this:\r\n1. Call `flatbuffer_translate` to get MLIR in TFL dialect\r\n2. Call `tf-opt` to lower the dialect to TOSA and Linalg\r\n3. Call the custom compiler to continue the compilation\r\n\r\nOur compiler users have to compile tensorflow from source to obtain those two binaries. It would be great if those two can be shipped with standard tensorflow distribution. It doesn't have to be in the main python wheel, but can be included as extra dependency, e.g. `pip install tensorflow[mlir]`.\r\n\r\nPlease let me know if you have additional questions.",
"Hi @Kuree,\r\n\r\nThese are C++ binaries which generally I don't think we want to install with TF, though as a custom option this might make sense. @terryheo Can you please take a look? Thanks.\r\n\r\n",
"This issue is stale because it has been open for 180 days with no activity. It will be closed if no further activity occurs. Thank you.",
"> We have a custom compiler that takes tflite models and convert them into some custom MLIR dialect. To do so, we use `flatbuffer_translate` and `tf-opt` to obtain MLIR in standard dialects (TODA + Linalg). So the compilation flow looks something like this:\r\n> \r\n> 1. Call `flatbuffer_translate` to get MLIR in TFL dialect\r\n> 2. Call `tf-opt` to lower the dialect to TOSA and Linalg\r\n> 3. Call the custom compiler to continue the compilation\r\n> \r\n> Our compiler users have to compile tensorflow from source to obtain those two binaries. It would be great if those two can be shipped with standard tensorflow distribution. It doesn't have to be in the main python wheel, but can be included as extra dependency, e.g. `pip install tensorflow[mlir]`.\r\n> \r\n> Please let me know if you have additional questions.\r\n\r\nIt would be really great if all the tools from `/tensorflow/compiler/mlir` are shipped with tensorflow."
] | 2023-10-03T23:15:31 | 2024-06-07T10:48:15 | null | NONE | null | null | null | ### Issue type
Feature Request
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
source
### TensorFlow version
2.14
### 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?
`tf-opt` and `flatbuffer_translate` are not found in the standard pip package. Those need to be compiled from source.
### Standalone code to reproduce the issue
```shell
$ pip install -U tensorflow
$ which tf-opt
```
### Relevant log output
_No response_ | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62044/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/62044/timeline | null | null | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62043 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62043/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62043/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62043/events | https://github.com/tensorflow/tensorflow/issues/62043 | 1,924,973,515 | I_kwDOArmXAs5yvMPL | 62,043 | Illegal memory access when running tf.sparse_to_dense | {
"login": "ndeepesh",
"id": 1882169,
"node_id": "MDQ6VXNlcjE4ODIxNjk=",
"avatar_url": "https://avatars.githubusercontent.com/u/1882169?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ndeepesh",
"html_url": "https://github.com/ndeepesh",
"followers_url": "https://api.github.com/users/ndeepesh/followers",
"following_url": "https://api.github.com/users/ndeepesh/following{/other_user}",
"gists_url": "https://api.github.com/users/ndeepesh/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ndeepesh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ndeepesh/subscriptions",
"organizations_url": "https://api.github.com/users/ndeepesh/orgs",
"repos_url": "https://api.github.com/users/ndeepesh/repos",
"events_url": "https://api.github.com/users/ndeepesh/events{/privacy}",
"received_events_url": "https://api.github.com/users/ndeepesh/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": 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": 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 @ndeepesh ,\r\n\r\nI am not sure of the patch that resolved this bug. Maybe it's possible that its internal fix also and hence difficult to find it out for me. You may try git diff command to know the differences in the file for master branch and v2.11.0.\r\n\r\nAFAIK most of the vulnerability fixes happens at C++ backend. You may try the command below to check the changes in code.\r\n\r\n`!git diff master v2.11.0 -- tensorflow/core/kernels/sparse_to_dense_op.cc`\r\n\r\nI hope this may be of some help. 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/62043\">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/62043\">No</a>\n"
] | 2023-10-03T21:23:39 | 2023-10-19T01:47:49 | 2023-10-19T01:47:47 | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
source
### TensorFlow version
2.11
### Custom code
No
### OS platform and distribution
Linux
### Mobile device
_No response_
### Python version
3.10
### Bazel version
_No response_
### GCC/compiler version
_No response_
### CUDA/cuDNN version
_No response_
### GPU model and memory
_No response_
### Current behavior?
[This](https://github.com/tensorflow/tensorflow/issues/59126) issue seems to suggest that it was fixed in tf-nightly release. But I am somehow not able to find the commit where this was fixed. Can you please point me to the commit so that I can verify it has been fixed on my side
### Standalone code to reproduce the issue
```shell
-
```
### Relevant log output
_No response_ | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62043/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/62043/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62042 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62042/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62042/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62042/events | https://github.com/tensorflow/tensorflow/pull/62042 | 1,924,700,104 | PR_kwDOArmXAs5b0hQb | 62,042 | Fix inconsistency in ragged and sparse embedding lookup. | {
"login": "hmc-cs-mdrissi",
"id": 16809055,
"node_id": "MDQ6VXNlcjE2ODA5MDU1",
"avatar_url": "https://avatars.githubusercontent.com/u/16809055?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hmc-cs-mdrissi",
"html_url": "https://github.com/hmc-cs-mdrissi",
"followers_url": "https://api.github.com/users/hmc-cs-mdrissi/followers",
"following_url": "https://api.github.com/users/hmc-cs-mdrissi/following{/other_user}",
"gists_url": "https://api.github.com/users/hmc-cs-mdrissi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hmc-cs-mdrissi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hmc-cs-mdrissi/subscriptions",
"organizations_url": "https://api.github.com/users/hmc-cs-mdrissi/orgs",
"repos_url": "https://api.github.com/users/hmc-cs-mdrissi/repos",
"events_url": "https://api.github.com/users/hmc-cs-mdrissi/events{/privacy}",
"received_events_url": "https://api.github.com/users/hmc-cs-mdrissi/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 390482148,
"node_id": "MDU6TGFiZWwzOTA0ODIxNDg=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/awaiting%20review",
"name": "awaiting review",
"color": "bc3869",
"default": false,
"description": "Pull request awaiting review"
},
{
"id": 987666414,
"node_id": "MDU6TGFiZWw5ODc2NjY0MTQ=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/ready%20to%20pull",
"name": "ready to pull",
"color": "2cd643",
"default": false,
"description": "PR ready for merge process"
},
{
"id": 1097547147,
"node_id": "MDU6TGFiZWwxMDk3NTQ3MTQ3",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:ops",
"name": "comp:ops",
"color": "0052cc",
"default": false,
"description": "OPs related issues"
},
{
"id": 1169364259,
"node_id": "MDU6TGFiZWwxMTY5MzY0MjU5",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:XS",
"name": "size:XS",
"color": "adafea",
"default": false,
"description": "CL Change Size: Extra Small"
}
] | closed | false | {
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"The AMD ROCm error appears unrelated to change and is compile error on C++ code."
] | 2023-10-03T18:29:19 | 2023-10-04T05:19:11 | 2023-10-04T05:19:11 | NONE | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/62042",
"html_url": "https://github.com/tensorflow/tensorflow/pull/62042",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/62042.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/62042.patch",
"merged_at": "2023-10-04T05:19:11"
} | # Summary
Ragged support for tf.nn.safe_sparse_embedding_lookup was added in tf 2.13 [here](https://github.com/tensorflow/tensorflow/pull/59788) and partly duplicated some of code in sparse implementation. In tf 2.14 [bug](https://github.com/tensorflow/tensorflow/commit/8f6b9d3830a059209ec4f40d94fb46a043e0149e) was fixed in sparse embedding lookup implementation, but duplicated code was not updated same way. ShardedVariables in parameter server are resource variable like and satisfy is_resource_variable, but are not isinstance ResourceVariable. This leads to an extra memory copy/ReadVariableOp heavily hurting performance on large embedding tables.
I did minimal fix to make code consistent. An alternative would be to move the duplicated code to a small helper shared between ragged/sparse embedding lookup. | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62042/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/62042/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/62041 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62041/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62041/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62041/events | https://github.com/tensorflow/tensorflow/pull/62041 | 1,923,817,718 | PR_kwDOArmXAs5bxiIO | 62,041 | [TOSA] Reduce the resize scaling ratio when possible | {
"login": "Tessil",
"id": 21028116,
"node_id": "MDQ6VXNlcjIxMDI4MTE2",
"avatar_url": "https://avatars.githubusercontent.com/u/21028116?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Tessil",
"html_url": "https://github.com/Tessil",
"followers_url": "https://api.github.com/users/Tessil/followers",
"following_url": "https://api.github.com/users/Tessil/following{/other_user}",
"gists_url": "https://api.github.com/users/Tessil/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Tessil/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Tessil/subscriptions",
"organizations_url": "https://api.github.com/users/Tessil/orgs",
"repos_url": "https://api.github.com/users/Tessil/repos",
"events_url": "https://api.github.com/users/Tessil/events{/privacy}",
"received_events_url": "https://api.github.com/users/Tessil/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": 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 @rsuderman, Can you please review this PR ? Thank you!",
"Hi @jpienaar, Can you please review this PR ? Thank you!",
"Hi @Tessil 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 @Tessil 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-10-03T10:26:47 | 2024-04-07T01:48:42 | 2024-04-07T01:48:37 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/62041",
"html_url": "https://github.com/tensorflow/tensorflow/pull/62041",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/62041.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/62041.patch",
"merged_at": null
} | Hi,
This PR reduces the scaling ratio and offset when possible during TFL -> TOSA legalization of the resize operators to avoid having too large scaling that may overflow the TOSA limits in some cases. | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62041/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/62041/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/62040 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62040/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62040/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62040/events | https://github.com/tensorflow/tensorflow/issues/62040 | 1,923,714,786 | I_kwDOArmXAs5yqY7i | 62,040 | 2.14 Docker image errors | {
"login": "plooney",
"id": 5527810,
"node_id": "MDQ6VXNlcjU1Mjc4MTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/5527810?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/plooney",
"html_url": "https://github.com/plooney",
"followers_url": "https://api.github.com/users/plooney/followers",
"following_url": "https://api.github.com/users/plooney/following{/other_user}",
"gists_url": "https://api.github.com/users/plooney/gists{/gist_id}",
"starred_url": "https://api.github.com/users/plooney/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/plooney/subscriptions",
"organizations_url": "https://api.github.com/users/plooney/orgs",
"repos_url": "https://api.github.com/users/plooney/repos",
"events_url": "https://api.github.com/users/plooney/events{/privacy}",
"received_events_url": "https://api.github.com/users/plooney/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 386191887,
"node_id": "MDU6TGFiZWwzODYxOTE4ODc=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response",
"name": "stat:awaiting response",
"color": "f4b400",
"default": false,
"description": "Status - Awaiting response from author"
},
{
"id": 473173351,
"node_id": "MDU6TGFiZWw0NzMxNzMzNTE=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:build/install",
"name": "type:build/install",
"color": "159b2e",
"default": false,
"description": "Build and install issues"
},
{
"id": 474725938,
"node_id": "MDU6TGFiZWw0NzQ3MjU5Mzg=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stale",
"name": "stale",
"color": "d4c5f9",
"default": false,
"description": "This label marks the issue/pr stale - to be closed automatically if no activity"
},
{
"id": 1205615612,
"node_id": "MDU6TGFiZWwxMjA1NjE1NjEy",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/subtype:%20ubuntu/linux",
"name": "subtype: ubuntu/linux",
"color": "b619ea",
"default": false,
"description": "Ubuntu/Linux Build/Installation Issues"
},
{
"id": 5922361893,
"node_id": "LA_kwDOArmXAs8AAAABYQASJQ",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF2.14",
"name": "TF2.14",
"color": "b60205",
"default": false,
"description": "For issues related to Tensorflow 2.14.x"
}
] | 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 | [
"@plooney The latest release of TensorFlow CPU binary image is Default. Could you please mention the exact commands to replicate the error reported. Thank you!",
"If I create a docker file with the commands\r\n\r\n`FROM tensorflow/tensorflow:2.14.0-gpu\r\n\r\nRUN dpkg --configure -a\r\n`\r\n\r\nand try to build it I get the errors \r\n\r\ndpkg: error: error executing hook 'if { test \"$DPKG_HOOK_ACTION\" = add-architecture || test \"$DPKG_HOOK_ACTION\" = remove-architecture; } && test -x /usr/share/pkg-config-dpkghook; then /usr/share/pkg-config-dpkghook update; fi', exit code 32512\r\n\r\nIf I create a docker file with \r\n\r\n`FROM tensorflow/tensorflow:2.13.0-gpu\r\n\r\nRUN dpkg --configure -a\r\n`\r\n\r\nI can build it successfully",
"@plooney Thank you for the response! Could you please have a look at this [official](https://www.tensorflow.org/install/docker) documentation and let us know if you have followed the steps ?\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/62040\">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/62040\">No</a>\n"
] | 2023-10-03T09:29:21 | 2023-10-28T01:46:42 | 2023-10-28T01:46:40 | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
No
### Source
source
### TensorFlow version
tf 2.14
### Custom code
Yes
### OS platform and distribution
Linux 22.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?
Updating docker file to latest version should allow for building image
### Standalone code to reproduce the issue
```shell
FROM tensorflow/tensorflow:latest-gpu
RUN dpkg --configure -a
```
### Relevant log output
```shell
When building this I get the error
dpkg: error: error executing hook 'if { test "$DPKG_HOOK_ACTION" = add-architecture || test "$DPKG_HOOK_ACTION" = remove-architecture; } && test -x /usr/share/pkg-config-dpkghook; then /usr/share/pkg-config-dpkghook update; fi', exit code 32512
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62040/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/62040/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62039 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62039/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62039/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62039/events | https://github.com/tensorflow/tensorflow/pull/62039 | 1,923,402,194 | PR_kwDOArmXAs5bwKZQ | 62,039 | Updated broken link of Distributed Tensorflow | {
"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
} | [
{
"id": 987666414,
"node_id": "MDU6TGFiZWw5ODc2NjY0MTQ=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/ready%20to%20pull",
"name": "ready to pull",
"color": "2cd643",
"default": false,
"description": "PR ready for merge process"
},
{
"id": 1169364259,
"node_id": "MDU6TGFiZWwxMTY5MzY0MjU5",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:XS",
"name": "size:XS",
"color": "adafea",
"default": false,
"description": "CL Change Size: Extra Small"
},
{
"id": 1478826728,
"node_id": "MDU6TGFiZWwxNDc4ODI2NzI4",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:core",
"name": "comp:core",
"color": "024391",
"default": false,
"description": "issues related to core part of tensorflow"
}
] | closed | false | {
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
}
] | null | [] | 2023-10-03T06:19:17 | 2023-12-06T08:20:03 | 2023-12-06T08:20:02 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/62039",
"html_url": "https://github.com/tensorflow/tensorflow/pull/62039",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/62039.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/62039.patch",
"merged_at": "2023-12-06T08:20:02"
} | The link for Distributed Tensorflow was redirecting to a broken link so I updated it with the correct one. Please have a look. Probably fixes https://github.com/tensorflow/tensorflow/issues/62019
Thank you! | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62039/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/62039/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/62038 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62038/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62038/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62038/events | https://github.com/tensorflow/tensorflow/pull/62038 | 1,923,243,705 | PR_kwDOArmXAs5bvoAE | 62,038 | Bump urllib3 from 1.26.16 to 1.26.17 | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events",
"type": "Bot",
"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": 2421643380,
"node_id": "MDU6TGFiZWwyNDIxNjQzMzgw",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/dependencies",
"name": "dependencies",
"color": "0366d6",
"default": false,
"description": "Pull requests that update a dependency file"
},
{
"id": 2622893001,
"node_id": "MDU6TGFiZWwyNjIyODkzMDAx",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/python",
"name": "python",
"color": "2b67c6",
"default": false,
"description": "Pull requests that update Python code"
}
] | 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 | [
"Looks like urllib3 is up-to-date now, so this is no longer needed."
] | 2023-10-03T03:54:07 | 2023-10-08T21:17:17 | 2023-10-08T21:17:09 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/62038",
"html_url": "https://github.com/tensorflow/tensorflow/pull/62038",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/62038.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/62038.patch",
"merged_at": null
} | Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.16 to 1.26.17.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/urllib3/urllib3/releases">urllib3's releases</a>.</em></p>
<blockquote>
<h2>1.26.17</h2>
<ul>
<li>Added the <code>Cookie</code> header to the list of headers to strip from requests when redirecting to a different host. As before, different headers can be set via <code>Retry.remove_headers_on_redirect</code>. (GHSA-v845-jxx5-vc9f)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/urllib3/urllib3/blob/main/CHANGES.rst">urllib3's changelog</a>.</em></p>
<blockquote>
<h1>1.26.17 (2023-10-02)</h1>
<ul>
<li>Added the <code>Cookie</code> header to the list of headers to strip from requests when redirecting to a different host. As before, different headers can be set via <code>Retry.remove_headers_on_redirect</code>. (<code>[#3139](https://github.com/urllib3/urllib3/issues/3139) <https://github.com/urllib3/urllib3/pull/3139></code>_)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/urllib3/urllib3/commit/c9016bf464751a02b7e46f8b86504f47d4238784"><code>c9016bf</code></a> Release 1.26.17</li>
<li><a href="https://github.com/urllib3/urllib3/commit/01220354d389cd05474713f8c982d05c9b17aafb"><code>0122035</code></a> Backport GHSA-v845-jxx5-vc9f (<a href="https://redirect.github.com/urllib3/urllib3/issues/3139">#3139</a>)</li>
<li><a href="https://github.com/urllib3/urllib3/commit/e63989f97d206e839ab9170c8a76e3e097cc60e8"><code>e63989f</code></a> Fix installing <code>brotli</code> extra on Python 2.7</li>
<li><a href="https://github.com/urllib3/urllib3/commit/2e7a24d08713a0131f0b3c7197889466d645cc49"><code>2e7a24d</code></a> [1.26] Configure OS for RTD to fix building docs</li>
<li><a href="https://github.com/urllib3/urllib3/commit/57181d6ea910ac7cb2ff83345d9e5e0eb816a0d0"><code>57181d6</code></a> [1.26] Improve error message when calling urllib3.request() (<a href="https://redirect.github.com/urllib3/urllib3/issues/3058">#3058</a>)</li>
<li><a href="https://github.com/urllib3/urllib3/commit/3c0148048a523325819377b23fc67f8d46afc3aa"><code>3c01480</code></a> [1.26] Run coverage even with failed jobs</li>
<li>See full diff in <a href="https://github.com/urllib3/urllib3/compare/1.26.16...1.26.17">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/tensorflow/tensorflow/network/alerts).
</details> | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62038/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/62038/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/62037 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62037/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62037/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62037/events | https://github.com/tensorflow/tensorflow/pull/62037 | 1,923,062,001 | PR_kwDOArmXAs5bvAyw | 62,037 | Update interpreter.h to avoid error on windows | {
"login": "SagaraBattousai",
"id": 13040520,
"node_id": "MDQ6VXNlcjEzMDQwNTIw",
"avatar_url": "https://avatars.githubusercontent.com/u/13040520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SagaraBattousai",
"html_url": "https://github.com/SagaraBattousai",
"followers_url": "https://api.github.com/users/SagaraBattousai/followers",
"following_url": "https://api.github.com/users/SagaraBattousai/following{/other_user}",
"gists_url": "https://api.github.com/users/SagaraBattousai/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SagaraBattousai/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SagaraBattousai/subscriptions",
"organizations_url": "https://api.github.com/users/SagaraBattousai/orgs",
"repos_url": "https://api.github.com/users/SagaraBattousai/repos",
"events_url": "https://api.github.com/users/SagaraBattousai/events{/privacy}",
"received_events_url": "https://api.github.com/users/SagaraBattousai/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": 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/62037/checks?check_run_id=17334909298) 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 @zichuan-wei, Can you please review this PR ? Thank you!",
"Hi @SagaraBattousai Can you please check @zichuan-wei's comments and keep us posted? Thank you!",
"Hi @SagaraBattousai Any update on this PR? Please. 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-10-03T00:33:41 | 2024-01-28T01:48:20 | 2024-01-28T01:48:14 | NONE | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/62037",
"html_url": "https://github.com/tensorflow/tensorflow/pull/62037",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/62037.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/62037.patch",
"merged_at": null
} | Previous code caused error C2665 on windows: 'std::atomic_flag::atomic_flag': no overloaded function could convert all the argument types
Instead of assigning with a bool use ATOMIC_FLAG_INIT for the same effect | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62037/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/tensorflow/tensorflow/issues/62037/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/62036 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62036/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62036/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62036/events | https://github.com/tensorflow/tensorflow/pull/62036 | 1,922,883,738 | PR_kwDOArmXAs5buYP3 | 62,036 | Pin ml-dtypes version | {
"login": "JamesHollyer",
"id": 8672809,
"node_id": "MDQ6VXNlcjg2NzI4MDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/8672809?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JamesHollyer",
"html_url": "https://github.com/JamesHollyer",
"followers_url": "https://api.github.com/users/JamesHollyer/followers",
"following_url": "https://api.github.com/users/JamesHollyer/following{/other_user}",
"gists_url": "https://api.github.com/users/JamesHollyer/gists{/gist_id}",
"starred_url": "https://api.github.com/users/JamesHollyer/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JamesHollyer/subscriptions",
"organizations_url": "https://api.github.com/users/JamesHollyer/orgs",
"repos_url": "https://api.github.com/users/JamesHollyer/repos",
"events_url": "https://api.github.com/users/JamesHollyer/events{/privacy}",
"received_events_url": "https://api.github.com/users/JamesHollyer/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 390482148,
"node_id": "MDU6TGFiZWwzOTA0ODIxNDg=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/awaiting%20review",
"name": "awaiting review",
"color": "bc3869",
"default": false,
"description": "Pull request awaiting review"
},
{
"id": 987666414,
"node_id": "MDU6TGFiZWw5ODc2NjY0MTQ=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/ready%20to%20pull",
"name": "ready to pull",
"color": "2cd643",
"default": false,
"description": "PR ready for merge process"
},
{
"id": 1169364259,
"node_id": "MDU6TGFiZWwxMTY5MzY0MjU5",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:XS",
"name": "size:XS",
"color": "adafea",
"default": false,
"description": "CL Change Size: Extra Small"
}
] | closed | false | {
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
}
] | null | [] | 2023-10-02T22:37:14 | 2023-10-04T06:26:02 | 2023-10-04T06:26:02 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/62036",
"html_url": "https://github.com/tensorflow/tensorflow/pull/62036",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/62036.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/62036.patch",
"merged_at": "2023-10-04T06:26:02"
} | The new ml-dtypes version deprecated some attributes that are used by Tensorflow. This is causing build errors. I ran into this trying to do a patch release for TensorBoard(see error here: https://github.com/tensorflow/tensorboard/actions/runs/6332666553/job/17199512649?pr=6604).
Googlers see(b/301638377). | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62036/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/62036/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/62035 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62035/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62035/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62035/events | https://github.com/tensorflow/tensorflow/issues/62035 | 1,922,522,585 | I_kwDOArmXAs5yl13Z | 62,035 | `pip install tf-nightly[and-cuda]` fails for recent nightlies | {
"login": "mattdangerw",
"id": 1389937,
"node_id": "MDQ6VXNlcjEzODk5Mzc=",
"avatar_url": "https://avatars.githubusercontent.com/u/1389937?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mattdangerw",
"html_url": "https://github.com/mattdangerw",
"followers_url": "https://api.github.com/users/mattdangerw/followers",
"following_url": "https://api.github.com/users/mattdangerw/following{/other_user}",
"gists_url": "https://api.github.com/users/mattdangerw/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mattdangerw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mattdangerw/subscriptions",
"organizations_url": "https://api.github.com/users/mattdangerw/orgs",
"repos_url": "https://api.github.com/users/mattdangerw/repos",
"events_url": "https://api.github.com/users/mattdangerw/events{/privacy}",
"received_events_url": "https://api.github.com/users/mattdangerw/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": 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": 1754777628,
"node_id": "MDU6TGFiZWwxNzU0Nzc3NjI4",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:gpu:tensorrt",
"name": "comp:gpu:tensorrt",
"color": "ea98ba",
"default": false,
"description": "Issues specific to TensorRT"
},
{
"id": 5922361893,
"node_id": "LA_kwDOArmXAs8AAAABYQASJQ",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF2.14",
"name": "TF2.14",
"color": "b60205",
"default": false,
"description": "For issues related to Tensorflow 2.14.x"
}
] | open | false | {
"login": "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": "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
},
{
"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 | [
"Can reproduce this on ubuntu and colab.\r\n\r\nThis issue looks related https://github.com/NVIDIA/TensorRT/issues/2933\r\n\r\nPotentially a simple fix, I am not sure we really need to be [pinning](https://github.com/tensorflow/tensorflow/blob/67f519e727605f502c711cd340df46af89c4085e/tensorflow/tools/pip_package/setup.py#L178-L180) `tensorrt-bindings` and `tensorrt-libs` directly. `pip install tensorrt==8.6.1.post1` seems to pull in the dependent libraries just fine.\r\n\r\n",
"I found failure of same package i.e `tensorflow[and-cuda]>=2.14.0` with Python 3.11 environment mainly due to Tensorrt issue with Python 3.11v. Related issue #61986 .\r\n",
"It seems this one does not exist: `'tensorrt-libs == 8.6.1',` unless you install it like this:\r\n`pip install --no-cache-dir --extra-index-url https://pypi.nvidia.com tensorrt-libs==8.6.1`",
"Hi, I am unable to install tensorflow nightly. Any suggestions ?\r\n\r\nI am running tensor flow 2.13.1 ?\r\n",
"@NikhielRahulSingh ,\r\n\r\nCould you please confirm the install command and logs ? Please note that current nightly version is 2.16.0-dev20231018.",
"I ran into the same issue with Version 2.15.0 rc0.\r\nPlease fix this for the release.\r\nThe fix from @picobyte saved the day\r\n\r\n\r\n```\r\nERROR: Ignored the following versions that require a different python version: 0.28.0 Requires-Python >=3.7, <3.11; 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11; 1.6.2 Requires-Python >=3.7,<3.10; 1.6.3 Requires-Python >=3.7,<3.10; 1.7.0 Requires-Python >=3.7,<3.10; 1.7.1 Requires-Python >=3.7,<3.10; 1.7.2 Requires-Python >=3.7,<3.11; 1.7.3 Requires-Python >=3.7,<3.11; 1.8.0 Requires-Python >=3.8,<3.11; 1.8.0rc1 Requires-Python >=3.8,<3.11; 1.8.0rc2 Requires-Python >=3.8,<3.11; 1.8.0rc3 Requires-Python >=3.8,<3.11; 1.8.0rc4 Requires-Python >=3.8,<3.11; 1.8.1 Requires-Python >=3.8,<3.11; 1.9.5 Requires-Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <3.7; 6.0.0 Requires-Python >=3.6, <3.10; 6.0.0a1.dev1606911628 Requires-Python >=3.6, <3.10; 6.0.1 Requires-Python >=3.6, <3.10; 6.0.2 Requires-Python >=3.6, <3.10; 6.0.3 Requires-Python >=3.6, <3.10; 6.0.4 Requires-Python >=3.6, <3.10; 6.1.0 Requires-Python >=3.6, <3.10; 6.1.1 Requires-Python >=3.6, <3.10; 6.1.2 Requires-Python >=3.6, <3.10; 6.1.3 Requires-Python >=3.6, <3.10; 6.2.0 Requires-Python >=3.6, <3.11; 6.2.1 Requires-Python >=3.6, <3.11; 6.2.2 Requires-Python >=3.6, <3.11; 6.2.2.1 Requires-Python >=3.6, <3.11; 6.2.3 Requires-Python >=3.6, <3.11; 6.2.4 Requires-Python >=3.6, <3.11; 6.3.0 Requires-Python <3.11,>=3.6; 6.3.1 Requires-Python <3.11,>=3.6; 6.3.2 Requires-Python <3.11,>=3.6; 6.4.0 Requires-Python <3.11,>=3.6\r\nERROR: Could not find a version that satisfies the requirement tensorrt-libs==8.6.1; extra == \"and-cuda\" (from tensorflow[and-cuda]) (from versions: 9.0.0.post11.dev1, 9.0.0.post12.dev1, 9.0.1.post11.dev4, 9.0.1.post12.dev4, 9.1.0.post11.dev4, 9.1.0.post12.dev4)\r\nERROR: No matching distribution found for tensorrt-libs==8.6.1; extra == \"and-cuda\"\r\n```\r\n",
"This issue still exists in the stable 2.15.0 version."
] | 2023-10-02T19:25:22 | 2023-11-28T19:24:51 | null | MEMBER | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
source
### TensorFlow version
nightly
### Custom code
No
### OS platform and distribution
Google Colab
### Mobile device
_No response_
### Python version
3.10
### Bazel version
_No response_
### GCC/compiler version
_No response_
### CUDA/cuDNN version
_No response_
### GPU model and memory
_No response_
### Current behavior?
**The issue**
Attempting to run `pip install tf-nightly[and-cuda]` will download a ton of nightly candidates before installing one from mid-September (before tf bumped to cuda12).
Attempting to pin the more recent versions shows the error with recent nightlies.
```shell
pip install tf-nightly[and-cuda]==2.15.0.dev20231002
...
ERROR: Could not find a version that satisfies the requirement tensorrt-libs==8.6.1; extra == "and-cuda" (from tf-nightly[and-cuda]) (from versions: 9.0.0.post11.dev1, 9.0.0.post12.dev1, 9.0.1.post11.dev4, 9.0.1.post12.dev4)
ERROR: No matching distribution found for tensorrt-libs==8.6.1; extra == "and-cuda"
```
You can work around this with `pip install tf-nightly[and-cuda] --extra-index-url https://pypi.nvidia.com`.
**What should happen**
`pip install tf-nightly[and-cuda]` should not self conflict, and recent nighties should be installable via PyPI.
### Standalone code to reproduce the issue
https://colab.research.google.com/gist/mattdangerw/00acd58e43aabe7f80a74d595788bd86/tf-nightly-and-cuda.ipynb
### Relevant log output
_No response_ | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62035/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 2
} | https://api.github.com/repos/tensorflow/tensorflow/issues/62035/timeline | null | null | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62034 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62034/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62034/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62034/events | https://github.com/tensorflow/tensorflow/pull/62034 | 1,922,302,662 | PR_kwDOArmXAs5bsXnC | 62,034 | Fix strided_slice legalization when input_dim % stride != 0 | {
"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": 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": 1169365494,
"node_id": "MDU6TGFiZWwxMTY5MzY1NDk0",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:M",
"name": "size:M",
"color": "adafea",
"default": false,
"description": "CL Change Size: Medium"
}
] | open | false | {
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"Hi @rsuderman, Can you please review this PR ? Thank you!",
"Hi @jpienaar, Can you please review this PR ? Thank you!",
"Hi @rdzhabarov, Can you please review this PR ? Thank you!",
"Hi @jpienaar, Can you please review this PR ? Thank you!",
"Hi @jpienaar, Can you please review this PR ? Thank you!"
] | 2023-10-02T17:07:04 | 2024-06-07T16:30:10 | null | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/62034",
"html_url": "https://github.com/tensorflow/tensorflow/pull/62034",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/62034.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/62034.patch",
"merged_at": null
} | - Add padding to round an input dim up to the nearest multiple of the corresponding stride value
Change-Id: I1b9677c80e7ba704897637a3c44545d24cdae892 | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62034/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/62034/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/62033 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62033/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62033/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62033/events | https://github.com/tensorflow/tensorflow/pull/62033 | 1,922,255,048 | PR_kwDOArmXAs5bsNTs | 62,033 | Fix type in data_adapter.py | {
"login": "franz101",
"id": 18228395,
"node_id": "MDQ6VXNlcjE4MjI4Mzk1",
"avatar_url": "https://avatars.githubusercontent.com/u/18228395?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/franz101",
"html_url": "https://github.com/franz101",
"followers_url": "https://api.github.com/users/franz101/followers",
"following_url": "https://api.github.com/users/franz101/following{/other_user}",
"gists_url": "https://api.github.com/users/franz101/gists{/gist_id}",
"starred_url": "https://api.github.com/users/franz101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/franz101/subscriptions",
"organizations_url": "https://api.github.com/users/franz101/orgs",
"repos_url": "https://api.github.com/users/franz101/repos",
"events_url": "https://api.github.com/users/franz101/events{/privacy}",
"received_events_url": "https://api.github.com/users/franz101/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/62033/checks?check_run_id=17322440679) 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 @franz101 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",
"Thanks for the quick reply @gbaned, unfortunately i looked in the repos of keras-team and the type `DistributedDatasetInterface` is nowhere mentioned. I have opened a new issue in keras. Or do is there a specific build pipeline how `tensorflow/python/keras/engine/` is created"
] | 2023-10-02T16:33:31 | 2023-10-03T19:43:01 | 2023-10-03T11:37:14 | NONE | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/62033",
"html_url": "https://github.com/tensorflow/tensorflow/pull/62033",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/62033.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/62033.patch",
"merged_at": null
} | This closes the issue #61204
The datatype has been moved, I assume the function `_is_distributed_dataset` has not been tested.
This simple code change resolves the import issue.
cc: @MichaelHudgins, @BrianWieder, @fionalang, @nitins17 | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62033/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/62033/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/62032 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62032/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62032/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62032/events | https://github.com/tensorflow/tensorflow/issues/62032 | 1,922,241,121 | I_kwDOArmXAs5ykxJh | 62,032 | TF 2.14 minimum nvidia driver version | {
"login": "schrummy14",
"id": 25237907,
"node_id": "MDQ6VXNlcjI1MjM3OTA3",
"avatar_url": "https://avatars.githubusercontent.com/u/25237907?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/schrummy14",
"html_url": "https://github.com/schrummy14",
"followers_url": "https://api.github.com/users/schrummy14/followers",
"following_url": "https://api.github.com/users/schrummy14/following{/other_user}",
"gists_url": "https://api.github.com/users/schrummy14/gists{/gist_id}",
"starred_url": "https://api.github.com/users/schrummy14/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/schrummy14/subscriptions",
"organizations_url": "https://api.github.com/users/schrummy14/orgs",
"repos_url": "https://api.github.com/users/schrummy14/repos",
"events_url": "https://api.github.com/users/schrummy14/events{/privacy}",
"received_events_url": "https://api.github.com/users/schrummy14/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": 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": 5922361893,
"node_id": "LA_kwDOArmXAs8AAAABYQASJQ",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF2.14",
"name": "TF2.14",
"color": "b60205",
"default": false,
"description": "For issues related to Tensorflow 2.14.x"
}
] | 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 | [
"@schrummy14,\r\nCould you please confirm if this is the document which you are looking for https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html\r\n\r\nand also provide if you are facing any issue/error while the running code mentioned above or the executed smoothly. Thank you!",
"@tilakrayal,\r\nNo, not the Nvidia doc. This was part of the tensorflow docs. (`https://www.tensorflow.org/install/pip`)\r\nThe code does not complete and errors out.\r\n\r\nBelow is the full error.\r\nError occurs for both k80s and v100s.\r\n\r\n```txt\r\n2023-10-02 16:01:32.416512: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x31b68fd0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices:\r\n2023-10-02 16:01:32.416555: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Tesla K80, Compute Capability 3.7\r\n2023-10-02 16:01:32.416570: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (1): Tesla K80, Compute Capability 3.7\r\n2023-10-02 16:01:32.416580: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (2): Tesla K80, Compute Capability 3.7\r\n2023-10-02 16:01:32.416590: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (3): Tesla K80, Compute Capability 3.7\r\n2023-10-02 16:01:32.423430: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:447] Could not create cudnn handle: CUDNN_STATUS_NOT_INITIALIZED\r\n2023-10-02 16:01:32.423550: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:451] Memory usage: 466550784 bytes free, 11996954624 bytes total.\r\n2023-10-02 16:01:32.423628: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:461] Possibly insufficient driver version: 450.203.8\r\n2023-10-02 16:01:32.423777: W tensorflow/core/framework/op_kernel.cc:1839] OP_REQUIRES failed at xla_ops.cc:624 : FAILED_PRECONDITION: DNN library initialization failed. Look at the errors above for more details.\r\n2023-10-02 16:01:32.426575: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:447] Could not create cudnn handle: CUDNN_STATUS_NOT_INITIALIZED\r\n2023-10-02 16:01:32.426663: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:451] Memory usage: 466550784 bytes free, 11996954624 bytes total.\r\n2023-10-02 16:01:32.426717: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:461] Possibly insufficient driver version: 450.203.8\r\n2023-10-02 16:01:32.426873: W tensorflow/core/framework/op_kernel.cc:1839] OP_REQUIRES failed at xla_ops.cc:624 : FAILED_PRECONDITION: DNN library initialization failed. Look at the errors above for more details.\r\n2023-10-02 16:01:32.430015: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:447] Could not create cudnn handle: CUDNN_STATUS_NOT_INITIALIZED\r\n2023-10-02 16:01:32.430104: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:451] Memory usage: 466550784 bytes free, 11996954624 bytes total.\r\n2023-10-02 16:01:32.430150: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:461] Possibly insufficient driver version: 450.203.8\r\n2023-10-02 16:01:32.430300: W tensorflow/core/framework/op_kernel.cc:1839] OP_REQUIRES failed at xla_ops.cc:624 : FAILED_PRECONDITION: DNN library initialization failed. Look at the errors above for more details.\r\n2023-10-02 16:01:32.433232: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:447] Could not create cudnn handle: CUDNN_STATUS_NOT_INITIALIZED\r\n2023-10-02 16:01:32.433321: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:451] Memory usage: 466550784 bytes free, 11996954624 bytes total.\r\n2023-10-02 16:01:32.433368: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:461] Possibly insufficient driver version: 450.203.8\r\n2023-10-02 16:01:32.433499: W tensorflow/core/framework/op_kernel.cc:1839] OP_REQUIRES failed at xla_ops.cc:624 : FAILED_PRECONDITION: DNN library initialization failed. Look at the errors above for more details.\r\n2023-10-02 16:01:32.437404: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:447] Could not create cudnn handle: CUDNN_STATUS_NOT_INITIALIZED\r\n2023-10-02 16:01:32.437495: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:451] Memory usage: 466550784 bytes free, 11996954624 bytes total.\r\n2023-10-02 16:01:32.437554: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:461] Possibly insufficient driver version: 450.203.8\r\n2023-10-02 16:01:32.437678: W tensorflow/core/framework/op_kernel.cc:1839] OP_REQUIRES failed at xla_ops.cc:624 : FAILED_PRECONDITION: DNN library initialization failed. Look at the errors above for more details.\r\n2023-10-02 16:01:32.440590: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:447] Could not create cudnn handle: CUDNN_STATUS_NOT_INITIALIZED\r\n2023-10-02 16:01:32.440676: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:451] Memory usage: 466550784 bytes free, 11996954624 bytes total.\r\n2023-10-02 16:01:32.440731: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:461] Possibly insufficient driver version: 450.203.8\r\n2023-10-02 16:01:32.440884: W tensorflow/core/framework/op_kernel.cc:1839] OP_REQUIRES failed at xla_ops.cc:624 : FAILED_PRECONDITION: DNN library initialization failed. Look at the errors above for more details.\r\n---------------------------------------------------------------------------\r\nFailedPreconditionError Traceback (most recent call last)\r\nCell In[6], line 2\r\n 1 # Run GPU Benchmark\r\n----> 2 gpuBench()\r\n\r\nCell In[5], line 8, in gpuBench()\r\n 6 with tf.device('/GPU:0'):\r\n 7 model_gpu = get_model()\r\n----> 8 model_gpu.fit(X_train_scaled, y_train_encoded, epochs = 10)\r\n\r\nFile /usr/local/lib/python3.11/dist-packages/keras/src/utils/traceback_utils.py:70, in filter_traceback.<locals>.error_handler(*args, **kwargs)\r\n 67 filtered_tb = _process_traceback_frames(e.__traceback__)\r\n 68 # To get the full stack trace, call:\r\n 69 # `tf.debugging.disable_traceback_filtering()`\r\n---> 70 raise e.with_traceback(filtered_tb) from None\r\n 71 finally:\r\n 72 del filtered_tb\r\n\r\nFile /usr/local/lib/python3.11/dist-packages/tensorflow/python/eager/execute.py:60, in quick_execute(op_name, num_outputs, inputs, attrs, ctx, name)\r\n 53 # Convert any objects of type core_types.Tensor to Tensor.\r\n 54 inputs = [\r\n 55 tensor_conversion_registry.convert(t)\r\n 56 if isinstance(t, core_types.Tensor)\r\n 57 else t\r\n 58 for t in inputs\r\n 59 ]\r\n---> 60 tensors = pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name, op_name,\r\n 61 inputs, attrs, num_outputs)\r\n 62 except core._NotOkStatusException as e:\r\n 63 if name is not None:\r\n\r\nFailedPreconditionError: Graph execution error:\r\n\r\nDetected at node SGD/StatefulPartitionedCall_4 defined at (most recent call last):\r\n File \"<frozen runpy>\", line 198, in _run_module_as_main\r\n\r\n File \"<frozen runpy>\", line 88, in _run_code\r\n\r\n File \"/usr/local/lib/python3.11/dist-packages/ipykernel_launcher.py\", line 17, in <module>\r\n\r\n File \"/usr/local/lib/python3.11/dist-packages/traitlets/config/application.py\", line 1046, in launch_instance\r\n\r\n File \"/usr/local/lib/python3.11/dist-packages/ipykernel/kernelapp.py\", line 736, in start\r\n\r\n File \"/usr/local/lib/python3.11/dist-packages/tornado/platform/asyncio.py\", line 195, in start\r\n\r\n File \"/usr/lib/python3.11/asyncio/base_events.py\", line 604, in run_forever\r\n\r\n File \"/usr/lib/python3.11/asyncio/base_events.py\", line 1909, in _run_once\r\n\r\n File \"/usr/lib/python3.11/asyncio/events.py\", line 80, in _run\r\n\r\n File \"/usr/local/lib/python3.11/dist-packages/ipykernel/kernelbase.py\", line 516, in dispatch_queue\r\n\r\n File \"/usr/local/lib/python3.11/dist-packages/ipykernel/kernelbase.py\", line 505, in process_one\r\n\r\n File \"/usr/local/lib/python3.11/dist-packages/ipykernel/kernelbase.py\", line 412, in dispatch_shell\r\n\r\n File \"/usr/local/lib/python3.11/dist-packages/ipykernel/kernelbase.py\", line 740, in execute_request\r\n\r\n File \"/usr/local/lib/python3.11/dist-packages/ipykernel/ipkernel.py\", line 422, in do_execute\r\n\r\n File \"/usr/local/lib/python3.11/dist-packages/ipykernel/zmqshell.py\", line 546, in run_cell\r\n\r\n File \"/usr/local/lib/python3.11/dist-packages/IPython/core/interactiveshell.py\", line 3024, in run_cell\r\n\r\n File \"/usr/local/lib/python3.11/dist-packages/IPython/core/interactiveshell.py\", line 3079, in _run_cell\r\n\r\n File \"/usr/local/lib/python3.11/dist-packages/IPython/core/async_helpers.py\", line 129, in _pseudo_sync_runner\r\n\r\n File \"/usr/local/lib/python3.11/dist-packages/IPython/core/interactiveshell.py\", line 3284, in run_cell_async\r\n\r\n File \"/usr/local/lib/python3.11/dist-packages/IPython/core/interactiveshell.py\", line 3466, in run_ast_nodes\r\n\r\n File \"/usr/local/lib/python3.11/dist-packages/IPython/core/interactiveshell.py\", line 3526, in run_code\r\n\r\n File \"/tmp/ipykernel_89/3941288529.py\", line 2, in <module>\r\n\r\n File \"/tmp/ipykernel_89/898971160.py\", line 8, in gpuBench\r\n\r\n File \"/usr/local/lib/python3.11/dist-packages/keras/src/utils/traceback_utils.py\", line 65, in error_handler\r\n\r\n File \"/usr/local/lib/python3.11/dist-packages/keras/src/engine/training.py\", line 1783, in fit\r\n\r\n File \"/usr/local/lib/python3.11/dist-packages/keras/src/engine/training.py\", line 1377, in train_function\r\n\r\n File \"/usr/local/lib/python3.11/dist-packages/keras/src/engine/training.py\", line 1360, in step_function\r\n\r\n File \"/usr/local/lib/python3.11/dist-packages/keras/src/engine/training.py\", line 1349, in run_step\r\n\r\n File \"/usr/local/lib/python3.11/dist-packages/keras/src/engine/training.py\", line 1130, in train_step\r\n\r\n File \"/usr/local/lib/python3.11/dist-packages/keras/src/optimizers/optimizer.py\", line 544, in minimize\r\n\r\n File \"/usr/local/lib/python3.11/dist-packages/keras/src/optimizers/optimizer.py\", line 1223, in apply_gradients\r\n\r\n File \"/usr/local/lib/python3.11/dist-packages/keras/src/optimizers/optimizer.py\", line 652, in apply_gradients\r\n\r\n File \"/usr/local/lib/python3.11/dist-packages/keras/src/optimizers/optimizer.py\", line 1253, in _internal_apply_gradients\r\n\r\n File \"/usr/local/lib/python3.11/dist-packages/keras/src/optimizers/optimizer.py\", line 1345, in _distributed_apply_gradients_fn\r\n\r\n File \"/usr/local/lib/python3.11/dist-packages/keras/src/optimizers/optimizer.py\", line 1340, in apply_grad_to_update_var\r\n\r\nDNN library initialization failed. Look at the errors above for more details.\r\n\t [[{{node SGD/StatefulPartitionedCall_4}}]] [Op:__inference_train_function_727]\r\n```\r\n\r\nnvidia-smi output\r\n```bash\r\nnimbix@jarvice-job-85995-jt7l8:/data$ nvidia-smi \r\nWed Oct 4 21:21:57 2023 \r\n+-----------------------------------------------------------------------------+\r\n| NVIDIA-SMI 450.203.08 Driver Version: 450.203.08 CUDA Version: 11.0 |\r\n|-------------------------------+----------------------+----------------------+\r\n| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |\r\n| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |\r\n| | | MIG M. |\r\n|===============================+======================+======================|\r\n| 0 Tesla K80 Off | 00000000:00:04.0 Off | 0 |\r\n| N/A 33C P8 27W / 149W | 0MiB / 11441MiB | 0% Default |\r\n| | | N/A |\r\n+-------------------------------+----------------------+----------------------+\r\n| 1 Tesla K80 Off | 00000000:00:05.0 Off | 0 |\r\n| N/A 46C P8 28W / 149W | 0MiB / 11441MiB | 0% Default |\r\n| | | N/A |\r\n+-------------------------------+----------------------+----------------------+\r\n| 2 Tesla K80 Off | 00000000:00:06.0 Off | 0 |\r\n| N/A 73C P8 33W / 149W | 0MiB / 11441MiB | 0% Default |\r\n| | | N/A |\r\n+-------------------------------+----------------------+----------------------+\r\n| 3 Tesla K80 Off | 00000000:00:07.0 Off | 0 |\r\n| N/A 32C P8 27W / 149W | 0MiB / 11441MiB | 0% Default |\r\n| | | N/A |\r\n+-------------------------------+----------------------+----------------------+\r\n \r\n+-----------------------------------------------------------------------------+\r\n| Processes: |\r\n| GPU GI CI PID Type Process name GPU Memory |\r\n| ID ID Usage |\r\n|=============================================================================|\r\n| No running processes found |\r\n+-----------------------------------------------------------------------------+\r\n```",
"Hi, \r\n\r\nFor 2.14 version, could you please try with the below configuration.\r\n\r\n\r\n\r\nVersion | Python version | Compiler | Build tools | cuDNN | CUDA\r\n-- | -- | -- | -- | -- | --\r\ntensorflow-2.14.0 | 3.9-3.11 | Clang 16.0.0 | Bazel 6.1.0 | 8.7 | 11.8\r\ntensorflow-2.13.0 | 3.8-3.11 | Clang 16.0.0 | Bazel 5.3.0 | 8.6 | 11.8\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/62032\">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/62032\">No</a>\n",
"will cudnn latest versions work (say 8.9)?\r\n"
] | 2023-10-02T16:25:39 | 2023-11-04T05:17:27 | 2023-10-26T01:47:21 | NONE | null | null | null | ### Issue type
Documentation Bug
### Have you reproduced the bug with TensorFlow Nightly?
No
### Source
binary
### TensorFlow version
tf 2.14
### Custom code
No
### OS platform and distribution
Tensorflow Docker image
### Mobile device
_No response_
### Python version
3.11
### Bazel version
_No response_
### GCC/compiler version
_No response_
### CUDA/cuDNN version
450.203.8
### GPU model and memory
_No response_
### Current behavior?
I have a question on if the minimum nvidia driver version has changed (I believe the current docs state `450.80.02` (https://www.tensorflow.org/install/pip)). The below script ran using the 2.13 docker image. Thank you.
When trying to run a test gpu benchmark, I get the following error:
```text
2023-10-02 16:01:32.433368: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:461] Possibly insufficient driver version: 450.203.8
```
### Standalone code to reproduce the issue
```shell
Below is the code being used:
import tensorflow as tf
from tensorflow import keras
import numpy as np
import matplotlib.pyplot as plt
import timeit
# Download data and scale
(X_train, y_train), (X_test, y_test) = keras.datasets.cifar10.load_data()
# scaling image values between 0-1
X_train_scaled = X_train/255
X_test_scaled = X_test/255
# one hot encoding labels
y_train_encoded = keras.utils.to_categorical(y_train, num_classes = 10, dtype = 'float32')
y_test_encoded = keras.utils.to_categorical(y_test, num_classes = 10, dtype = 'float32')
# Define the model
def get_model():
model = keras.Sequential([
keras.layers.Flatten(input_shape=(32,32,3)),
keras.layers.Dense(3000, activation='relu'),
keras.layers.Dense(1000, activation='relu'),
keras.layers.Dense(10, activation='sigmoid')
])
model.compile(optimizer='SGD',
loss='categorical_crossentropy',
metrics=['accuracy'])
return model
# GPU Benchmark
def gpuBench():
# GPU
#strategy = tf.distribute.MirroredStrategy()
#with strategy.scope():
with tf.device('/GPU:0'):
model_gpu = get_model()
model_gpu.fit(X_train_scaled, y_train_encoded, epochs = 10)
gpuBench()
```
### Relevant log output
_No response_ | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62032/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/62032/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62031 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62031/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62031/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62031/events | https://github.com/tensorflow/tensorflow/pull/62031 | 1,922,222,727 | PR_kwDOArmXAs5bsGPd | 62,031 | Add modifications for ARM 64 ci | {
"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": 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 | [
"Needed to add a `release_linux_base` so arm could inherit from it. Everything i believe is the same as x86 cpu except the crosstool which bazel did not like being defined twice. ",
"@angerson do you think we should put this one in official for now or over in devinfra? ",
"I'd say to put it in Official with a WIP tag somewhere."
] | 2023-10-02T16:13:50 | 2023-10-03T18:00:39 | 2023-10-03T18:00:38 | COLLABORATOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/62031",
"html_url": "https://github.com/tensorflow/tensorflow/pull/62031",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/62031.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/62031.patch",
"merged_at": "2023-10-03T18:00:38"
} | Begin to add required changes to bazelrc and envs to support ARM64 in the new script system.
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62031/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/62031/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/62030 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62030/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62030/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62030/events | https://github.com/tensorflow/tensorflow/pull/62030 | 1,922,124,320 | PR_kwDOArmXAs5brw9H | 62,030 | [ROCm] bugfixing conv_parameters and activated respective test | {
"login": "pemeliya",
"id": 141146080,
"node_id": "U_kgDOCGm34A",
"avatar_url": "https://avatars.githubusercontent.com/u/141146080?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pemeliya",
"html_url": "https://github.com/pemeliya",
"followers_url": "https://api.github.com/users/pemeliya/followers",
"following_url": "https://api.github.com/users/pemeliya/following{/other_user}",
"gists_url": "https://api.github.com/users/pemeliya/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pemeliya/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pemeliya/subscriptions",
"organizations_url": "https://api.github.com/users/pemeliya/orgs",
"repos_url": "https://api.github.com/users/pemeliya/repos",
"events_url": "https://api.github.com/users/pemeliya/events{/privacy}",
"received_events_url": "https://api.github.com/users/pemeliya/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": 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": 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 | [
"It seems there are 2 failing tests:\r\n\r\n```\r\n[ FAILED ] [Test/FusedMatMulWithBiasOpTest/1].MatMul256x128x64WithActivation, where TypeParam = Eigen::half\r\n[ FAILED ] [Test/FusedMatMulWithBiasOpTest/1].MatMul1x256x256WithActivation, where TypeParam = Eigen::half\r\n```\r\n\r\nAnd the errors look like:\r\n\r\n```NOT_FOUND: No algorithm worked!```",
"> It seems there are 2 failing tests:\r\n> \r\n> ```\r\n> [ FAILED ] [Test/FusedMatMulWithBiasOpTest/1].MatMul256x128x64WithActivation, where TypeParam = Eigen::half\r\n> [ FAILED ] [Test/FusedMatMulWithBiasOpTest/1].MatMul1x256x256WithActivation, where TypeParam = Eigen::half\r\n> ```\r\n> \r\n> And the errors look like:\r\n> \r\n> `NOT_FOUND: No algorithm worked!`\r\n\r\nOK, I will have a look at it tomorrow, possibly it depends on CUDNN version and GPU architecture (I have tested on SM 7.0 GPU). It says that CUDNN cannot not find a suitable mamul algorithm for the problem. \r\n",
"I would wait until the related PR is merged to upstream: https://github.com/tensorflow/tensorflow/pull/61941\r\nbecause it applies some modifications to fused_matmul_op, then I can rebase and try running it once again.",
"> FYI: I am using a different fix internally, we can just avoid create Eigen::half test cases on CPU.\r\n\r\nYes, if you have a better approach how to skip these tests, can you share it with me ?\r\nBasically I wanted to skip those tests for which no OpKernel is available but it seems that GTEST_SKIP() does not break the test execution immediately, so there are some \"patches\" to make it working.. \r\n",
"@akuegel: do you know why this PR has been rejected ? I last updated it over the weekend and was hoping that the tests will run fine now..",
"Can you explain what you mean with rejected? This (i.e. the version I had approved, + the fixes I added) got merged 46 minutes ago. It took a while because I needed internal approvals from US-based people, so they happened after my working hours. And this morning I was OOO as well.",
"ah sorry, I was confused by this message: \r\n```\r\n[PR Queue] automation moved this from Approved by Reviewer to Closed/Rejected [1 hour ago]\r\n```\r\nmany thanks for the help !\r\n",
"It seems my idea of a fix doesn't work, because we seem to run the _cpu version of the test also with --config=cuda. Some followup might be needed, maybe also a temporary revert.",
"OK, then I guess the only way is to check for the errors at runtime.. \r\n\r\nFor example, in Python there are exceptions, and some tests do it in this way:\r\nhttps://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/kernel_tests/nn_ops/depthwise_conv_op_base.py#L377-L387\r\n\r\nIn C++, I also tried to selectively skip subtests depending on tsl::Status() message but without exceptions it's more cumbersome..",
"I think I found a solution, adding the tag no_cuda_on_cpu_tap should avoid that the test is automatically run on CPU with --config=cuda. That should be good enough."
] | 2023-10-02T15:16:17 | 2023-10-16T14:41:32 | 2023-10-16T10:57:37 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/62030",
"html_url": "https://github.com/tensorflow/tensorflow/pull/62030",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/62030.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/62030.patch",
"merged_at": null
} | This is bugfix in conv_parameters.cc originally appeared in https://github.com/ROCmSoftwarePlatform/tensorflow-upstream/pull/2000 and then in the follow-up PR: https://github.com/tensorflow/tensorflow/pull/61941
As requested, I am submitting this bugfix as a separate PR.
I also had to extend the tests for Eigen::half datatype and 'Tanh' and 'Sigmoid' activations
since in this case fused matmul uses the CuDNN fallback which, in its turn,
uses MatmulParameters constructor (from tensorflow/core/util/autotune_maps/conv_parameters.cc).
Additionally, I also removed MatmulParameters class from tensorflow/core/kernels/matmul_op.h which is a deadcode (to remove any confusions).
@akuegel: could you please review this as this is a follow up to https://github.com/tensorflow/tensorflow/pull/61941 PR ? | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62030/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/62030/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/62029 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62029/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62029/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62029/events | https://github.com/tensorflow/tensorflow/issues/62029 | 1,922,093,642 | I_kwDOArmXAs5ykNJK | 62,029 | Tensorflow lite linking issue on ChromeOS | {
"login": "Allen-Webb",
"id": 35739080,
"node_id": "MDQ6VXNlcjM1NzM5MDgw",
"avatar_url": "https://avatars.githubusercontent.com/u/35739080?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Allen-Webb",
"html_url": "https://github.com/Allen-Webb",
"followers_url": "https://api.github.com/users/Allen-Webb/followers",
"following_url": "https://api.github.com/users/Allen-Webb/following{/other_user}",
"gists_url": "https://api.github.com/users/Allen-Webb/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Allen-Webb/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Allen-Webb/subscriptions",
"organizations_url": "https://api.github.com/users/Allen-Webb/orgs",
"repos_url": "https://api.github.com/users/Allen-Webb/repos",
"events_url": "https://api.github.com/users/Allen-Webb/events{/privacy}",
"received_events_url": "https://api.github.com/users/Allen-Webb/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 386191887,
"node_id": "MDU6TGFiZWwzODYxOTE4ODc=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response",
"name": "stat:awaiting response",
"color": "f4b400",
"default": false,
"description": "Status - Awaiting response from author"
},
{
"id": 473173351,
"node_id": "MDU6TGFiZWw0NzMxNzMzNTE=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:build/install",
"name": "type:build/install",
"color": "159b2e",
"default": false,
"description": "Build and install issues"
},
{
"id": 474725938,
"node_id": "MDU6TGFiZWw0NzQ3MjU5Mzg=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stale",
"name": "stale",
"color": "d4c5f9",
"default": false,
"description": "This label marks the issue/pr stale - to be closed automatically if no activity"
},
{
"id": 750616506,
"node_id": "MDU6TGFiZWw3NTA2MTY1MDY=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:lite",
"name": "comp:lite",
"color": "0052cc",
"default": false,
"description": "TF Lite related issues"
},
{
"id": 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": "pkgoogle",
"id": 132095473,
"node_id": "U_kgDOB9-d8Q",
"avatar_url": "https://avatars.githubusercontent.com/u/132095473?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pkgoogle",
"html_url": "https://github.com/pkgoogle",
"followers_url": "https://api.github.com/users/pkgoogle/followers",
"following_url": "https://api.github.com/users/pkgoogle/following{/other_user}",
"gists_url": "https://api.github.com/users/pkgoogle/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pkgoogle/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pkgoogle/subscriptions",
"organizations_url": "https://api.github.com/users/pkgoogle/orgs",
"repos_url": "https://api.github.com/users/pkgoogle/repos",
"events_url": "https://api.github.com/users/pkgoogle/events{/privacy}",
"received_events_url": "https://api.github.com/users/pkgoogle/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "pkgoogle",
"id": 132095473,
"node_id": "U_kgDOB9-d8Q",
"avatar_url": "https://avatars.githubusercontent.com/u/132095473?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pkgoogle",
"html_url": "https://github.com/pkgoogle",
"followers_url": "https://api.github.com/users/pkgoogle/followers",
"following_url": "https://api.github.com/users/pkgoogle/following{/other_user}",
"gists_url": "https://api.github.com/users/pkgoogle/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pkgoogle/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pkgoogle/subscriptions",
"organizations_url": "https://api.github.com/users/pkgoogle/orgs",
"repos_url": "https://api.github.com/users/pkgoogle/repos",
"events_url": "https://api.github.com/users/pkgoogle/events{/privacy}",
"received_events_url": "https://api.github.com/users/pkgoogle/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"Hi @Allen-Webb, can you make a PR for us to review? Alternatively, internal systems will probably be faster.",
"> Hi @Allen-Webb, can you make a PR for us to review? Alternatively, internal systems will probably be faster.\r\n\r\nThanks. I will have to come back to us after I resolve the other blocking issues with the upgrade.",
"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.",
"Honestly I don't know I will get to this before the bots close it unless I ping it, so here is one ping but it is likely to get closed before I get to it.",
"Hi @Allen-Webb, I think it's OK to leave it closed until you are ready to get back to it.",
"> AFAICT nativewindow is an Android library and it looks like it isn't really supposed to be added to all operating systems building tensorflow lite with the GPU delegate.\r\n> \r\n> Can you all confirm? \r\n\r\nConfirmed. \"-lnativewindow\" should only be added for Android.",
"Hi @Allen-Webb, seems like the fix is in -- can you test to see if your issue is resolved? 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/62029\">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/62029\">No</a>\n"
] | 2023-10-02T14:59:08 | 2023-11-25T01:48:13 | 2023-11-25T01:48:09 | NONE | null | null | null | ### Issue type
Build/Install
### Have you reproduced the bug with TensorFlow Nightly?
No
### Source
source
### TensorFlow version
2.12
### Custom code
Yes
### OS platform and distribution
ChromeOS top of tree
### Mobile device
_No response_
### Python version
_No response_
### Bazel version
bazel 6.2.0
### GCC/compiler version
Chromium OS 17.0_pre498229-r6 clang version 17.0.0
### CUDA/cuDNN version
N/A
### GPU model and memory
N/A
### Current behavior?
I am working on upgrading ChromeOS from tensorflow 2.8 to 2.12 and ran into a missing library because of \
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/delegates/gpu/build_defs.bzl
Specifically `-lnativewindow`.
AFAICT nativewindow is an Android library and it looks like it isn't really supposed to be added to all operating systems building tensorflow lite with the GPU delegate.
Can you all confirm? I have a local patch removing this requirement for now.
### Standalone code to reproduce the issue
```shell
N/A
```
### Relevant log output
```shell
/usr/bin/x86_64-cros-linux-gnu-clang -o bazel-out/k8-opt/bin/tensorflow/lite/tools/evaluation/tasks/coco_object_detection/run_eval -Wl,-whole-archive bazel-out/k8-opt/bin/tensorflow/lite/tools/evaluation/tasks/coco_object_detection/librun_eval_lib.lo -Wl,-no-whole-archive bazel-out/k8-opt/bin/tensorflow/lite/tools/evaluation/stages/libobject_detection_stage.a bazel-out/k8-opt/bin/tensorflow/lite/tools/evaluation/stages/libimage_preprocessing_stage.a bazel-out/k8-opt/bin/tensorflow/core/lib/jpeg/libjpeg_internal.a bazel-out/k8-opt/bin/external/com_googlesource_code_re2/libre2.a bazel-out/k8-opt/bin/external/highwayhash/libsip_hash.a bazel-out/k8-opt/bin/external/highwayhash/libarch_specific.a bazel-out/k8-opt/bin/tensorflow/lite/tools/evaluation/stages/libobject_detection_average_precision_stage.a bazel-out/k8-opt/bin/tensorflow/lite/tools/evaluation/stages/utils/libimage_metrics.a bazel-out/k8-opt/bin/tensorflow/lite/tools/evaluation/stages/libtflite_inference_stage.a bazel-out/k8-opt/bin/tensorflow/lite/profiling/libtime.a bazel-out/k8-opt/bin/tensorflow/tsl/util/libstats_calculator_portable.a bazel-out/k8-opt/bin/tensorflow/tsl/framework/libdevice_type.a bazel-out/k8-opt/bin/tensorflow/tsl/platform/default/liblogging.a bazel-out/k8-opt/bin/tensorflow/tsl/platform/default/libenv_time.a bazel-out/k8-opt/bin/tensorflow/tsl/platform/default/libmutex.a bazel-out/k8-opt/bin/tensorflow/lite/tools/evaluation/tasks/libtask_executor_main.a bazel-out/k8-opt/bin/tensorflow/lite/tools/evaluation/tasks/libtask_executor.a bazel-out/k8-opt/bin/tensorflow/lite/tools/evaluation/libevaluation_delegate_provider.a -Wl,-whole-archive bazel-out/k8-opt/bin/tensorflow/lite/tools/delegates/libcoreml_delegate_provider.lo -Wl,-no-whole-archive -Wl,-whole-archive bazel-out/k8-opt/bin/tensorflow/lite/tools/delegates/libdefault_execution_provider.lo -Wl,-no-whole-archive -Wl,-whole-archive bazel-out/k8-opt/bin/tensorflow/lite/tools/delegates/libexternal_delegate_provider.lo -Wl,-no-whole-archive bazel-out/k8-opt/bin/tensorflow/lite/delegates/external/libexternal_delegate.a -Wl,-whole-archive bazel-out/k8-opt/bin/tensorflow/lite/tools/delegates/libgpu_delegate_provider.lo -Wl,-no-whole-archive -Wl,-whole-archive bazel-out/k8-opt/bin/tensorflow/lite/tools/delegates/libhexagon_delegate_provider.lo -Wl,-no-whole-archive -Wl,-whole-archive bazel-out/k8-opt/bin/tensorflow/lite/tools/delegates/libnnapi_delegate_provider.lo -Wl,-no-whole-archive bazel-out/k8-opt/bin/tensorflow/lite/nnapi/sl/libnnapi_support_library.a -Wl,-whole-archive bazel-out/k8-opt/bin/tensorflow/lite/tools/delegates/experimental/stable_delegate/libdelegate_provider.lo -Wl,-no-whole-archive bazel-out/k8-opt/bin/tensorflow/lite/delegates/utils/experimental/stable_delegate/libdelegate_loader.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/utils/experimental/stable_delegate/libtflite_settings_json_parser.a -Wl,-whole-archive bazel-out/k8-opt/bin/tensorflow/lite/tools/delegates/libxnnpack_delegate_provider.lo -Wl,-no-whole-archive bazel-out/k8-opt/bin/tensorflow/lite/tools/evaluation/libutils.a -Wl,-whole-archive bazel-out/k8-opt/bin/tensorflow/lite/core/c/libc_api_without_op_resolver.lo -Wl,-no-whole-archive bazel-out/k8-opt/bin/tensorflow/lite/c/libc_api_internal.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/libinterpreter_utils.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/nnapi/libnnapi_delegate_no_nnapi_implementation.a bazel-out/k8-opt/bin/tensorflow/lite/nnapi/libnnapi_util.a bazel-out/k8-opt/bin/tensorflow/lite/nnapi/libnnapi_implementation.a -Wl,-whole-archive bazel-out/k8-opt/bin/tensorflow/lite/libcreate_op_resolver_with_builtin_ops.lo -Wl,-no-whole-archive bazel-out/k8-opt/bin/tensorflow/lite/core/kernels/libbuiltin_ops.a bazel-out/k8-opt/bin/tensorflow/lite/libtflite_with_xnnpack_optional.a bazel-out/k8-opt/bin/tensorflow/lite/kernels/libbuiltin_op_kernels.a bazel-out/k8-opt/bin/tensorflow/lite/kernels/liblstm_eval.a bazel-out/k8-opt/bin/tensorflow/lite/kernels/internal/libaudio_utils.a bazel-out/k8-opt/bin/tensorflow/lite/kernels/internal/libkernel_utils.a bazel-out/k8-opt/bin/tensorflow/lite/kernels/libeigen_support.a bazel-out/k8-opt/bin/tensorflow/lite/kernels/libvariable_op_kernels.a bazel-out/k8-opt/bin/external/fft2d/libfft2d.a bazel-out/k8-opt/bin/tensorflow/lite/core/experimental/acceleration/configuration/c/libxnnpack_plugin.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/xnnpack/libxnnpack_delegate.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/xnnpack/libquantization_util.a bazel-out/k8-opt/bin/external/XNNPACK/libxnnpack_for_tflite.a bazel-out/k8-opt/bin/external/XNNPACK/libsubgraph.a bazel-out/k8-opt/bin/external/XNNPACK/liboperators.a bazel-out/k8-opt/bin/external/XNNPACK/libindirection.a bazel-out/k8-opt/bin/external/XNNPACK/libjit.a bazel-out/k8-opt/bin/external/XNNPACK/libmicrokernel_configs.a bazel-out/k8-opt/bin/external/XNNPACK/libscalar_amalgam_microkernels.a bazel-out/k8-opt/bin/external/XNNPACK/libsse2_amalgam_microkernels.a bazel-out/k8-opt/bin/external/XNNPACK/libssse3_amalgam_microkernels.a bazel-out/k8-opt/bin/external/XNNPACK/libsse41_amalgam_microkernels.a bazel-out/k8-opt/bin/external/XNNPACK/libavx_amalgam_microkernels.a bazel-out/k8-opt/bin/external/XNNPACK/libf16c_amalgam_microkernels.a bazel-out/k8-opt/bin/external/XNNPACK/libxop_amalgam_microkernels.a bazel-out/k8-opt/bin/external/XNNPACK/libfma3_amalgam_microkernels.a bazel-out/k8-opt/bin/external/XNNPACK/libavx2_amalgam_microkernels.a bazel-out/k8-opt/bin/external/XNNPACK/libavx512f_amalgam_microkernels.a bazel-out/k8-opt/bin/external/XNNPACK/libavx512skx_amalgam_microkernels.a bazel-out/k8-opt/bin/external/XNNPACK/libavx512vbmi_amalgam_microkernels.a bazel-out/k8-opt/bin/external/XNNPACK/libtables.a bazel-out/k8-opt/bin/external/XNNPACK/libhardware_config.a bazel-out/k8-opt/bin/external/XNNPACK/libmicrokernel_utils.a bazel-out/k8-opt/bin/external/XNNPACK/libmicroparams_init.a bazel-out/k8-opt/bin/external/XNNPACK/libnormalization.a bazel-out/k8-opt/bin/external/XNNPACK/liboperator_utils.a bazel-out/k8-opt/bin/external/XNNPACK/libpacking.a bazel-out/k8-opt/bin/external/XNNPACK/libcache.a bazel-out/k8-opt/bin/external/XNNPACK/libmemory.a bazel-out/k8-opt/bin/external/XNNPACK/libmutex.a bazel-out/k8-opt/bin/external/XNNPACK/libpost_operation.a bazel-out/k8-opt/bin/external/XNNPACK/liballocator.a bazel-out/k8-opt/bin/external/XNNPACK/liblogging.a bazel-out/k8-opt/bin/external/XNNPACK/libparams.a bazel-out/k8-opt/bin/tensorflow/lite/tools/delegates/libdelegate_provider_lib.a bazel-out/k8-opt/bin/tensorflow/lite/tools/libcommand_line_flags.a bazel-out/k8-opt/bin/tensorflow/lite/tools/libtool_params.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/libdelegate.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/libapi2.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/libcompiler.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/libfloat16_conversions.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/compiler/libfuse_auto_input.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/compiler/libfuse_inline.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/compiler/libfuse_inplace.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/compiler/libshader_codegen.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/compiler/libcompiled_node.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/compiler/librename.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/compiler/libobject_accessor.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/compiler/libvariable_accessor.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/compiler/libpreprocessor.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/libegl_environment.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/libegl_context.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/libegl_surface.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/librequest_gpu_info.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/libruntime.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/libobject_manager.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/libgl_texture.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/libgl_texture_helper.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/libconverter.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/libcommand_queue.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/libregistry.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/libadd.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/libconcat.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/libconv.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/libdepthwise_conv.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/workgroups/libideal_workgroup_picker.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/libelementwise.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/libfully_connected.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/liblstm.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/libmul.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/libpad.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/libpooling.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/libprelu.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/libquantize_and_dequantize.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/librelu.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/libmean.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/libresampler.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/libreshape.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/libresize.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/libslice.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/libsoftmax.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/libspace_to_depth.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/libtile.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/libtranspose_conv.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/libconvert.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/libmax_unpooling.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/libcustom_registry.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/workgroups/libdefault_calculator.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/workgroups/libcalculator.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/libdelegate_options.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/libserialization.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libapi.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libgl_interop.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libegl_sync.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/libgl_sync.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/libgl_buffer.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/libgl_program.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/libgl_shader.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/libgl_errors.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libinference_context.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/default/librecordable_queue.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libcl_operation.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/libgpu_model.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/selectors/liboperation_selector.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/selectors/default/libconvolution_selector.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libconv_constants.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libconv_metal_simd.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libconv_weights_converter.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/selectors/default/libconvolution_transposed_selector.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libconvolution_transposed.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libconvolution_transposed_3x3.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libconvolution_transposed_3x3_thin.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libconvolution_transposed_4x4.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libconvolution_transposed_thin.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/selectors/default/libdefault_selector.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/selectors/default/libdw_convolution_selector.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libdepthwise_conv_3x3.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libdepthwise_conv_3x3_stride_h2.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/selectors/default/libfully_connected_selector.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libconv_generic.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libfully_connected.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/selectors/libsimple_selectors.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libadd.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libcast.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libconcat_xy.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libconcat_z.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libcumsum.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libdepthwise_conv.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libgather.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/liblstm.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libmax_unpooling.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libone_hot.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libpadding.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libpooling.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libquantize_and_dequantize.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libreduce.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libresampler.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libreshape.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libreshapex4.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libresize.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libselect_v2.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libsoftmax.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libsoftmax1x1.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libspace_to_depth.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libsplit.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libstrided_slice.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libtile.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libwinograd.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/libwinograd_util.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/task/libweights_conversion.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/task/libweights_layout.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libtranspose.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/selectors/libspecial_selector.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libmean_stddev_normalization.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/special/libconv_pointwise.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/special/libdw7x7_conv2to6_concat_conv8to8.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/special/libfc_fc_add.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/special/libthin_pointwise_fuser.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/libflops_util.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libelementwise.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libprelu.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/librelu.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/selectors/libsubgraph.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/transformations/libadd_bias.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/transformations/libglobal_pooling_to_reduce_op.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/libmemory_management.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/task/libserialization_base.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/kernels/libconverter.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libcl_arguments.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libqcom_thin_filter.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/task/libqcom_thin_filter_desc.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libenvironment.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libprogram_cache.a bazel-out/k8-opt/bin/external/farmhash_archive/libfarmhash.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libtensor.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libbuffer.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libcl_command_queue.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libcl_event.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libcl_kernel.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libcl_program.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/task/libprofiling_info.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libcl_context.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libcl_device.a bazel-out/k8-opt/bin/tensorflow/lite/experimental/acceleration/compatibility/libandroid_info.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libcl_image_format.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libcl_memory.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libtensor_type_util.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/libapi.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libconversion.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/task/libgpu_operation.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/task/libarguments.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/task/libbuffer_desc.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/task/libwork_group_picking.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/libworkgroup_selection.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/task/libtensor_desc.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/task/libutil.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/libgpu_info.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/libprecision.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libutil.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/default/libutil.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libopencl_wrapper.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/libmodel_builder.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/liblstm_parser.a bazel-out/k8-opt/bin/tensorflow/lite/liblogger.a bazel-out/k8-opt/bin/tensorflow/lite/liboptional_debug_tools.a -Wl,-whole-archive bazel-out/k8-o
...
pt/bin/tensorflow/lite/delegates/gpu/gl/kernels/libdepthwise_conv.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/workgroups/libideal_workgroup_picker.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/libelementwise.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/libfully_connected.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/liblstm.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/libmul.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/libpad.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/libpooling.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/libprelu.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/libquantize_and_dequantize.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/librelu.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/libmean.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/libresampler.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/libreshape.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/libresize.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/libslice.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/libsoftmax.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/libspace_to_depth.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/libtile.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/libtranspose_conv.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/libconvert.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/libmax_unpooling.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/kernels/libcustom_registry.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/workgroups/libdefault_calculator.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/workgroups/libcalculator.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/libdelegate_options.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/libserialization.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libapi.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libgl_interop.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libegl_sync.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/libgl_sync.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/libgl_buffer.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/libgl_program.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/libgl_shader.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/gl/libgl_errors.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libinference_context.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/default/librecordable_queue.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libcl_operation.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/libgpu_model.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/selectors/liboperation_selector.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/selectors/default/libconvolution_selector.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libconv_constants.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libconv_metal_simd.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libconv_weights_converter.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/selectors/default/libconvolution_transposed_selector.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libconvolution_transposed.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libconvolution_transposed_3x3.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libconvolution_transposed_3x3_thin.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libconvolution_transposed_4x4.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libconvolution_transposed_thin.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/selectors/default/libdefault_selector.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/selectors/default/libdw_convolution_selector.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libdepthwise_conv_3x3.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libdepthwise_conv_3x3_stride_h2.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/selectors/default/libfully_connected_selector.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libconv_generic.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libfully_connected.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/selectors/libsimple_selectors.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libadd.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libcast.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libconcat_xy.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libconcat_z.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libcumsum.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libdepthwise_conv.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libgather.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/liblstm.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libmax_unpooling.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libone_hot.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libpadding.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libpooling.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libquantize_and_dequantize.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libreduce.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libresampler.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libreshape.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libreshapex4.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libresize.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libselect_v2.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libsoftmax.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libsoftmax1x1.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libspace_to_depth.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libsplit.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libstrided_slice.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libtile.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libwinograd.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/libwinograd_util.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/task/libweights_conversion.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/task/libweights_layout.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libtranspose.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/selectors/libspecial_selector.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libmean_stddev_normalization.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/special/libconv_pointwise.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/special/libdw7x7_conv2to6_concat_conv8to8.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/special/libfc_fc_add.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/special/libthin_pointwise_fuser.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/libflops_util.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libelementwise.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libprelu.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/librelu.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/selectors/libsubgraph.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/transformations/libadd_bias.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/transformations/libglobal_pooling_to_reduce_op.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/libmemory_management.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/task/libserialization_base.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/kernels/libconverter.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libcl_arguments.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libqcom_thin_filter.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/task/libqcom_thin_filter_desc.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libenvironment.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libprogram_cache.a bazel-out/k8-opt/bin/external/farmhash_archive/libfarmhash.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libtensor.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libbuffer.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libcl_command_queue.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libcl_event.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libcl_kernel.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libcl_program.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/task/libprofiling_info.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libcl_context.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libcl_device.a bazel-out/k8-opt/bin/tensorflow/lite/experimental/acceleration/compatibility/libandroid_info.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libcl_image_format.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libcl_memory.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libtensor_type_util.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/libapi.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/tasks/libconversion.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/task/libgpu_operation.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/task/libarguments.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/task/libbuffer_desc.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/task/libwork_group_picking.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/libworkgroup_selection.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/task/libtensor_desc.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/task/libutil.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/libgpu_info.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/libprecision.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libutil.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/default/libutil.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/cl/libopencl_wrapper.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/libmodel_builder.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/liblstm_parser.a bazel-out/k8-opt/bin/tensorflow/lite/liblogger.a bazel-out/k8-opt/bin/tensorflow/lite/liboptional_debug_tools.a -Wl,-whole-archive bazel-out/k8-opt/bin/tensorflow/lite/core/libcc_api_experimental.lo -Wl,-no-whole-archive -Wl,-whole-archive bazel-out/k8-opt/bin/tensorflow/lite/core/libcc_api_stable.lo -Wl,-no-whole-archive -Wl,-whole-archive bazel-out/k8-opt/bin/tensorflow/lite/core/libmodel_builder.lo -Wl,-no-whole-archive bazel-out/k8-opt/bin/tensorflow/lite/delegates/libtelemetry.a bazel-out/k8-opt/bin/tensorflow/lite/profiling/libplatform_profiler.a bazel-out/k8-opt/bin/tensorflow/lite/libmutable_op_resolver.a bazel-out/k8-opt/bin/tensorflow/lite/libsignature_runner.a -Wl,-whole-archive bazel-out/k8-opt/bin/tensorflow/lite/core/libsubgraph.lo -Wl,-no-whole-archive bazel-out/k8-opt/bin/tensorflow/lite/liballocation.a bazel-out/k8-opt/bin/tensorflow/lite/libarena_planner.a bazel-out/k8-opt/bin/tensorflow/lite/libsimple_memory_arena.a -Wl,-whole-archive bazel-out/k8-opt/bin/tensorflow/lite/libtensorflow_profiler_logger_shim.lo -Wl,-no-whole-archive bazel-out/k8-opt/bin/tensorflow/lite/c/libcommon_internal.a bazel-out/k8-opt/bin/tensorflow/lite/experimental/remat/libmetadata_util.a bazel-out/k8-opt/bin/tensorflow/lite/libgraph_info.a bazel-out/k8-opt/bin/tensorflow/lite/experimental/resource/libresource.a bazel-out/k8-opt/bin/tensorflow/lite/profiling/libroot_profiler.a bazel-out/k8-opt/bin/tensorflow/lite/profiling/telemetry/libtelemetry.a bazel-out/k8-opt/bin/tensorflow/lite/profiling/telemetry/libprofiler.a bazel-out/k8-opt/bin/tensorflow/lite/profiling/telemetry/c/libtelemetry_setting_internal.a bazel-out/k8-opt/bin/tensorflow/lite/tools/versioning/libgpu_compatibility.a bazel-out/k8-opt/bin/tensorflow/lite/tools/versioning/libop_signature.a bazel-out/k8-opt/bin/tensorflow/lite/libstderr_reporter.a bazel-out/k8-opt/bin/tensorflow/lite/core/api/libapi.a bazel-out/k8-opt/bin/tensorflow/lite/core/api/libop_resolver.a bazel-out/k8-opt/bin/tensorflow/lite/core/api/liberror_reporter.a bazel-out/k8-opt/bin/tensorflow/lite/libminimal_logging.a bazel-out/k8-opt/bin/tensorflow/lite/schema/libschema_utils.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/transformations/libmodel_transformations.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/transformations/libadd_quant_adjustments.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/transformations/libfuse_add_to_conv.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/transformations/libfuse_mul_to_conv.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/transformations/libmake_fully_connected.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/transformations/libmerge_densify.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/transformations/libmake_padding.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/transformations/libmerge_padding_with.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/transformations/libremove_noop.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/default/libcustom_transformations.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/libmodel_transformer.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/default/libcustom_parsers.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/liboperation_parser.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/libobject_reader.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/libutils.a bazel-out/k8-opt/bin/tensorflow/lite/libutil.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/libmodel_builder_helper.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/libmodel.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/liboperations.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/libdata_type.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/libshape.a bazel-out/k8-opt/bin/tensorflow/lite/delegates/gpu/common/libquantization_util.a bazel-out/k8-opt/bin/tensorflow/lite/kernels/internal/utils/libsparsity_format_converter.a bazel-out/k8-opt/bin/tensorflow/lite/kernels/internal/libtensor_utils.a bazel-out/k8-opt/bin/tensorflow/lite/kernels/internal/libsse_tensor_utils.a bazel-out/k8-opt/bin/tensorflow/lite/kernels/internal/libneon_tensor_utils.a bazel-out/k8-opt/bin/tensorflow/lite/kernels/internal/libportable_tensor_utils.a bazel-out/k8-opt/bin/tensorflow/lite/kernels/internal/libtranspose_utils.a bazel-out/k8-opt/bin/tensorflow/lite/kernels/libcpu_backend_gemm.a bazel-out/k8-opt/bin/tensorflow/lite/kernels/internal/libcpu_check.a bazel-out/k8-opt/bin/external/ruy/ruy/libcontext_get_ctx.a bazel-out/k8-opt/bin/external/ruy/ruy/libfrontend.a bazel-out/k8-opt/bin/external/ruy/ruy/libkernel_arm.a bazel-out/k8-opt/bin/external/ruy/ruy/libkernel_avx.a bazel-out/k8-opt/bin/external/ruy/ruy/libkernel_avx2_fma.a bazel-out/k8-opt/bin/external/ruy/ruy/libkernel_avx512.a bazel-out/k8-opt/bin/external/ruy/ruy/libapply_multiplier.a bazel-out/k8-opt/bin/external/ruy/ruy/libpack_arm.a bazel-out/k8-opt/bin/external/ruy/ruy/libpack_avx.a bazel-out/k8-opt/bin/external/ruy/ruy/libpack_avx2_fma.a bazel-out/k8-opt/bin/external/ruy/ruy/libpack_avx512.a bazel-out/k8-opt/bin/external/ruy/ruy/libprepare_packed_matrices.a bazel-out/k8-opt/bin/external/ruy/ruy/libtrmul.a bazel-out/k8-opt/bin/external/ruy/ruy/libblock_map.a bazel-out/k8-opt/bin/tensorflow/lite/kernels/libcpu_backend_context.a bazel-out/k8-opt/bin/tensorflow/lite/libexternal_cpu_backend_context.a bazel-out/k8-opt/bin/external/pthreadpool/libpthreadpool.a bazel-out/k8-opt/bin/external/ruy/ruy/libcontext.a bazel-out/k8-opt/bin/external/ruy/ruy/libctx.a bazel-out/k8-opt/bin/external/ruy/ruy/liballocator.a bazel-out/k8-opt/bin/external/ruy/ruy/libhave_built_path_for_avx.a bazel-out/k8-opt/bin/external/ruy/ruy/libhave_built_path_for_avx2_fma.a bazel-out/k8-opt/bin/external/ruy/ruy/libhave_built_path_for_avx512.a bazel-out/k8-opt/bin/external/ruy/ruy/libprepacked_cache.a bazel-out/k8-opt/bin/external/ruy/ruy/libsystem_aligned_alloc.a bazel-out/k8-opt/bin/external/ruy/ruy/libtune.a bazel-out/k8-opt/bin/external/ruy/ruy/libcpuinfo.a bazel-out/k8-opt/bin/external/cpuinfo/libcpuinfo_impl.a bazel-out/k8-opt/bin/external/ruy/ruy/libthread_pool.a bazel-out/k8-opt/bin/external/ruy/ruy/libblocking_counter.a bazel-out/k8-opt/bin/external/ruy/ruy/libdenormal.a bazel-out/k8-opt/bin/external/ruy/ruy/libwait.a bazel-out/k8-opt/bin/tensorflow/lite/kernels/libkernel_util.a bazel-out/k8-opt/bin/tensorflow/lite/kernels/internal/libquantization_util.a bazel-out/k8-opt/bin/external/ruy/ruy/profiler/libinstrumentation.a bazel-out/k8-opt/bin/tensorflow/lite/libstring_util.a -Wl,-whole-archive bazel-out/k8-opt/bin/tensorflow/lite/core/c/libcommon.lo -Wl,-no-whole-archive bazel-out/k8-opt/bin/tensorflow/lite/tools/evaluation/proto/libevaluation_config_proto.a bazel-out/k8-opt/bin/tensorflow/lite/tools/evaluation/proto/libevaluation_stages_proto.a bazel-out/k8-opt/bin/tensorflow/lite/tools/evaluation/proto/libpreprocessing_steps_proto.a -ldl -ldl -lpthread -lprotobuf -lgif -pthread -lz -ljpeg -ldl -lnsync_cpp -ldl -ldl -lrt -ldl -lm -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lnativewindow -ldl -ldl -lflatbuffers -labsl_bad_any_cast_impl -pthread -pthread -pthread -lpthread -lm -pthread -labsl_hash -labsl_city -labsl_low_level_hash -labsl_bad_variant_access -labsl_raw_hash_set -labsl_hashtablez_sampler -labsl_exponential_biased -labsl_synchronization -pthread -labsl_graphcycles_internal -labsl_time -labsl_civil_time -labsl_time_zone -labsl_status -labsl_stacktrace -labsl_symbolize -labsl_debugging_internal -labsl_demangle_internal -labsl_malloc_internal -pthread -labsl_cord -labsl_cord_internal -labsl_cordz_functions -labsl_cordz_handle -labsl_cordz_info -labsl_cordz_sample_token -labsl_str_format_internal -labsl_strings -labsl_strings_internal -labsl_base -pthread -labsl_spinlock_wait -labsl_int128 -labsl_throw_delegate -labsl_bad_optional_access -labsl_raw_logging_internal -labsl_log_severity -Wl,-O2 -Wl,--as-needed -Wl,--gc-sections '-Wl,--icf=all' -lc++ -pie -Wl,-z,relro,-z,now -no-canonical-prefixes -B/usr/bin/ -Wl,--gc-sections '--sysroot=/build/amd64-generic')
# Configuration: 988c102d8dcfe503ba01d9bd423822b77b461f1bc452ff8587ae6ef206fa2111
# Execution platform: @local_execution_config_platform//:platform
ld.lld: error: unable to find library -lnativewindow
clang: error: linker command failed with exit code 1 (use -v to see invocation)
```
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62029/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/62029/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62028 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62028/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62028/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62028/events | https://github.com/tensorflow/tensorflow/issues/62028 | 1,922,024,703 | I_kwDOArmXAs5yj8T_ | 62,028 | Can't import tensorflow | {
"login": "YaroslavPavlovich",
"id": 52659241,
"node_id": "MDQ6VXNlcjUyNjU5MjQx",
"avatar_url": "https://avatars.githubusercontent.com/u/52659241?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/YaroslavPavlovich",
"html_url": "https://github.com/YaroslavPavlovich",
"followers_url": "https://api.github.com/users/YaroslavPavlovich/followers",
"following_url": "https://api.github.com/users/YaroslavPavlovich/following{/other_user}",
"gists_url": "https://api.github.com/users/YaroslavPavlovich/gists{/gist_id}",
"starred_url": "https://api.github.com/users/YaroslavPavlovich/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/YaroslavPavlovich/subscriptions",
"organizations_url": "https://api.github.com/users/YaroslavPavlovich/orgs",
"repos_url": "https://api.github.com/users/YaroslavPavlovich/repos",
"events_url": "https://api.github.com/users/YaroslavPavlovich/events{/privacy}",
"received_events_url": "https://api.github.com/users/YaroslavPavlovich/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 386191887,
"node_id": "MDU6TGFiZWwzODYxOTE4ODc=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response",
"name": "stat:awaiting response",
"color": "f4b400",
"default": false,
"description": "Status - Awaiting response from author"
},
{
"id": 473173351,
"node_id": "MDU6TGFiZWw0NzMxNzMzNTE=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:build/install",
"name": "type:build/install",
"color": "159b2e",
"default": false,
"description": "Build and install issues"
},
{
"id": 474725938,
"node_id": "MDU6TGFiZWw0NzQ3MjU5Mzg=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stale",
"name": "stale",
"color": "d4c5f9",
"default": false,
"description": "This label marks the issue/pr stale - to be closed automatically if no activity"
},
{
"id": 1205615612,
"node_id": "MDU6TGFiZWwxMjA1NjE1NjEy",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/subtype:%20ubuntu/linux",
"name": "subtype: ubuntu/linux",
"color": "b619ea",
"default": false,
"description": "Ubuntu/Linux Build/Installation Issues"
},
{
"id": 5508003926,
"node_id": "LA_kwDOArmXAs8AAAABSE14Vg",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13",
"name": "TF 2.13",
"color": "B13ACB",
"default": false,
"description": "For issues related to Tensorflow 2.13"
}
] | closed | false | {
"login": "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 | [
"@YaroslavPavlovich I was able to import tensorflow on colab , please find the [gist](https://colab.research.google.com/gist/sushreebarsa/c1e21d1a8fed7c92c12b271f2e92cefa/62028.ipynb) here. Could you please have a look at the system [requirements](https://www.tensorflow.org/install/pip#software_requirements) and follow the instructions provided in the documentation. The Python version needs to be between 3.9–3.11. Thank you!",
"I also run with ` docker run -it --rm tensorflow/tensorflow bash` with latest version of tensorflow.\r\nBut I have the same problem:\r\n```\r\nroot@b533c1553888:/# python3 -c \"import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))\"\r\nIllegal instruction (core dumped)\r\n```",
"@YaroslavPavlovich Thank you for your response!\r\nCould you please make sure that [these](https://www.tensorflow.org/install/docker) instructions were followed properly. Thank you!",
"Here is an instruction on how to run a Docker container using TensorFlow. There are also links provided for installing Docker with GPU support and without it.\r\n\r\nEverything is ok with GPU in docker. Docker is installed correctly.\r\nIf I installed tensorflow for another computer with Intel COre I7 10 Gen, it is working ok.\r\n",
"@YaroslavPavlovich Thank you for your response again!\r\nDid you try upgrading the Python version and check if your system satisfies all the requirements?\r\nThank you!",
"it is python3.11 in docker\r\nCUDA version 11.8 (nvidia-smi returns 12.0)\r\nDriver version is 525.85.12\r\npip version in docker is normal too\r\nOS is suitable\r\nanything else?\r\n",
"I tried with python 3.11 in docker example\r\n\r\n\r\n",
"Hi @YaroslavPavlovich, \r\n\r\nFor GPU package you need to use `pip install tensorflow[and-cuda]` command.With this only we can able to get GPU list. Could you please try and confirm?\r\n \r\nThanks!\r\n",
"https://github.com/tensorflow/tensorflow/issues/61986?ysclid=lnn9iziiq693897091\r\nI have the sane problem but with python3.9",
"I tried this\r\n`pip install tensorflow==2.14.0 nvidia-cuda-runtime-cu11==11.8.89 nvidia-cublas-cu11==11.11.3.6 nvidia-cufft-cu11==10.9.0.58 nvidia-cudnn-cu11==8.7.0.84 nvidia-curand-cu11==10.3.0.86 nvidia-cusolver-cu11==11.4.1.48 nvidia-cusparse-cu11==11.7.5.86 nvidia-nccl-cu11==2.16.5 nvidia-cuda-cupti-cu11==11.8.87 nvidia-cuda-nvcc-cu11==11.8.89\r\n`\r\nthis is the same result with Illegal instruction (core dumped)\r\n\r\nI think this is a problem with my PC, but I don't know why. I tried install on another PC with Intel Core I7 10 Gen and Nvidia GeForce 1650 Ti it is ok.\r\nThis problem with Intel Core I9 12 Gen and Nvidia GeForce 3090 TI",
"Hi @YaroslavPavlovich ,\r\n\r\nThe issue might be related to your environment.You can find the suitable Nvidia driver for your GPU from [here](https://www.nvidia.com/Download/index.aspx). For Geoforce 3090 TI , it is suggesting 535.129.03 driver. Maybe you can try with it. ",
"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/62028\">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/62028\">No</a>\n"
] | 2023-10-02T14:22:13 | 2023-11-26T01:49:52 | 2023-11-26T01:49:44 | NONE | null | null | null | ### Issue type
Build/Install
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
source
### TensorFlow version
any version
### Custom code
Yes
### OS platform and distribution
Linux Ubuntu 20.04
### 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?
I want to install Tensorflow for my system. I installed it by "pip install tensorflow".
I have:
python3.8
Ubuntu 20.04
Intel Core I9 12 Gen
Nvidia GeForce 3090 TI
### Standalone code to reproduce the issue
```shell
import tensorflow
Illegal instruction (core dumped)
```
### Relevant log output
_No response_ | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62028/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/62028/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62027 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62027/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62027/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62027/events | https://github.com/tensorflow/tensorflow/pull/62027 | 1,920,994,779 | PR_kwDOArmXAs5bn_8n | 62,027 | use this change | {
"login": "rmackUF",
"id": 73722097,
"node_id": "MDQ6VXNlcjczNzIyMDk3",
"avatar_url": "https://avatars.githubusercontent.com/u/73722097?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rmackUF",
"html_url": "https://github.com/rmackUF",
"followers_url": "https://api.github.com/users/rmackUF/followers",
"following_url": "https://api.github.com/users/rmackUF/following{/other_user}",
"gists_url": "https://api.github.com/users/rmackUF/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rmackUF/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rmackUF/subscriptions",
"organizations_url": "https://api.github.com/users/rmackUF/orgs",
"repos_url": "https://api.github.com/users/rmackUF/repos",
"events_url": "https://api.github.com/users/rmackUF/events{/privacy}",
"received_events_url": "https://api.github.com/users/rmackUF/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1169364259,
"node_id": "MDU6TGFiZWwxMTY5MzY0MjU5",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:XS",
"name": "size:XS",
"color": "adafea",
"default": false,
"description": "CL Change Size: Extra Small"
}
] | closed | false | {
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).\n\nView this [failed invocation](https://github.com/tensorflow/tensorflow/pull/62027/checks?check_run_id=17297420385) 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 @rmackUF, 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-10-01T21:57:50 | 2023-10-03T16:17:08 | 2023-10-03T16:17:08 | NONE | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/62027",
"html_url": "https://github.com/tensorflow/tensorflow/pull/62027",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/62027.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/62027.patch",
"merged_at": null
} | In the dtensor_device.h I made arg into argument as to match the following argument | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62027/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/62027/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/62026 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62026/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62026/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62026/events | https://github.com/tensorflow/tensorflow/issues/62026 | 1,920,948,762 | I_kwDOArmXAs5yf1oa | 62,026 | Models that trained and saved on Tensorflow2.14 cant be loaded on Tensorflow2.12 | {
"login": "sagi21805",
"id": 105317735,
"node_id": "U_kgDOBkcFZw",
"avatar_url": "https://avatars.githubusercontent.com/u/105317735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sagi21805",
"html_url": "https://github.com/sagi21805",
"followers_url": "https://api.github.com/users/sagi21805/followers",
"following_url": "https://api.github.com/users/sagi21805/following{/other_user}",
"gists_url": "https://api.github.com/users/sagi21805/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sagi21805/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sagi21805/subscriptions",
"organizations_url": "https://api.github.com/users/sagi21805/orgs",
"repos_url": "https://api.github.com/users/sagi21805/repos",
"events_url": "https://api.github.com/users/sagi21805/events{/privacy}",
"received_events_url": "https://api.github.com/users/sagi21805/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": 5922361893,
"node_id": "LA_kwDOArmXAs8AAAABYQASJQ",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF2.14",
"name": "TF2.14",
"color": "b60205",
"default": false,
"description": "For issues related to Tensorflow 2.14.x"
}
] | 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 | [
"@sagi21805 Generally error will occur if the model you are trying to load was saved using a different version of TensorFlow than the one you are currently using. Also try to use the following for loading the model and for more information on saving or loading the model please have a look at [this](https://www.tensorflow.org/api_docs/python/tf/keras/saving/load_model) doc.\r\n```\r\n model = tf.keras.saving.load_model(\"path\")\r\n```\r\nThank 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/62026\">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/62026\">No</a>\n"
] | 2023-10-01T20:10:24 | 2023-10-20T08:06:03 | 2023-10-20T08:06:01 | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
No
### Source
source
### TensorFlow version
2.14
### Custom code
Yes
### OS platform and distribution
Linux mint 21.2
### 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
gtx 1060 6gb
### Current behavior?
I expected that when I load a keras model that I trained on my home computer on tensorflow 2.14 wil be loaded on kaggle notebook which has tensorflow 2.12
### Standalone code to reproduce the issue
```shell
import tensorflow as tf
#the test_model.keras was trained on tensorflow version 2.14
#the current tensorflow version in 2.12
model = tf.keras.models.load_model("/home/sagi/Desktop/VsCode/Competiton/MODEL/test_model.keras")
```
### Relevant log output
_No response_ | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62026/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/62026/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62025 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62025/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62025/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62025/events | https://github.com/tensorflow/tensorflow/pull/62025 | 1,920,633,121 | PR_kwDOArmXAs5bm1yt | 62,025 | Update trt_convert_test.py with minor efficiency improvement | {
"login": "lukasb1b",
"id": 142339568,
"node_id": "U_kgDOCHvt8A",
"avatar_url": "https://avatars.githubusercontent.com/u/142339568?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lukasb1b",
"html_url": "https://github.com/lukasb1b",
"followers_url": "https://api.github.com/users/lukasb1b/followers",
"following_url": "https://api.github.com/users/lukasb1b/following{/other_user}",
"gists_url": "https://api.github.com/users/lukasb1b/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lukasb1b/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lukasb1b/subscriptions",
"organizations_url": "https://api.github.com/users/lukasb1b/orgs",
"repos_url": "https://api.github.com/users/lukasb1b/repos",
"events_url": "https://api.github.com/users/lukasb1b/events{/privacy}",
"received_events_url": "https://api.github.com/users/lukasb1b/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1169364259,
"node_id": "MDU6TGFiZWwxMTY5MzY0MjU5",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:XS",
"name": "size:XS",
"color": "adafea",
"default": false,
"description": "CL Change Size: Extra Small"
}
] | closed | false | {
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).\n\nView this [failed invocation](https://github.com/tensorflow/tensorflow/pull/62025/checks?check_run_id=17289172663) 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-10-01T08:11:37 | 2023-10-01T08:16:03 | 2023-10-01T08:16:03 | NONE | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/62025",
"html_url": "https://github.com/tensorflow/tensorflow/pull/62025",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/62025.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/62025.patch",
"merged_at": null
} | Changes the calcuation so it has a minor efficiency improvement | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62025/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/62025/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/62024 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62024/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62024/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62024/events | https://github.com/tensorflow/tensorflow/issues/62024 | 1,920,187,624 | I_kwDOArmXAs5yc7zo | 62,024 | AttributeError: module 'object_detection.protos.input_reader_pb2' has no attribute 'NUMERICAL_MASKS' | {
"login": "HNanditha",
"id": 144308614,
"node_id": "U_kgDOCJn5hg",
"avatar_url": "https://avatars.githubusercontent.com/u/144308614?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HNanditha",
"html_url": "https://github.com/HNanditha",
"followers_url": "https://api.github.com/users/HNanditha/followers",
"following_url": "https://api.github.com/users/HNanditha/following{/other_user}",
"gists_url": "https://api.github.com/users/HNanditha/gists{/gist_id}",
"starred_url": "https://api.github.com/users/HNanditha/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/HNanditha/subscriptions",
"organizations_url": "https://api.github.com/users/HNanditha/orgs",
"repos_url": "https://api.github.com/users/HNanditha/repos",
"events_url": "https://api.github.com/users/HNanditha/events{/privacy}",
"received_events_url": "https://api.github.com/users/HNanditha/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": 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"
}
] | 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 | [
"@HNanditha with the provided information it is difficult to figure out what is going on, would it be possible for you to share the code or a way by which we can reproduce the issue?",
"My **train.py** program is like this :\r\n\r\nimport functools\r\nimport json\r\nimport os\r\nimport tensorflow as tf\r\n\r\nfrom object_detection.builders import dataset_builder\r\nfrom object_detection.builders import graph_rewriter_builder\r\nfrom object_detection.builders import model_builder\r\nfrom object_detection.legacy import trainer\r\nfrom object_detection.utils import config_util\r\n\r\ntf.logging.set_verbosity(tf.logging.INFO)\r\n\r\nflags = tf.app.flags\r\nflags.DEFINE_string('master', '', 'Name of the TensorFlow master to use.')\r\nflags.DEFINE_integer('task', 0, 'task id')\r\nflags.DEFINE_integer('num_clones', 1, 'Number of clones to deploy per worker.')\r\nflags.DEFINE_boolean('clone_on_cpu', False,\r\n 'Force clones to be deployed on CPU. Note that even if '\r\n 'set to False (allowing ops to run on gpu), some ops may '\r\n 'still be run on the CPU if they have no GPU kernel.')\r\nflags.DEFINE_integer('worker_replicas', 1, 'Number of worker+trainer '\r\n 'replicas.')\r\nflags.DEFINE_integer('ps_tasks', 0,\r\n 'Number of parameter server tasks. If None, does not use '\r\n 'a parameter server.')\r\nflags.DEFINE_string('train_dir', '',\r\n 'Directory to save the checkpoints and training summaries.')\r\n\r\nflags.DEFINE_string('pipeline_config_path', '',\r\n 'Path to a pipeline_pb2.TrainEvalPipelineConfig config '\r\n 'file. If provided, other configs are ignored')\r\n\r\nflags.DEFINE_string('train_config_path', '',\r\n 'Path to a train_pb2.TrainConfig config file.')\r\nflags.DEFINE_string('input_config_path', '',\r\n 'Path to an input_reader_pb2.InputReader config file.')\r\nflags.DEFINE_string('model_config_path', '',\r\n 'Path to a model_pb2.DetectionModel config file.')\r\n\r\nFLAGS = flags.FLAGS\r\n\r\n\r\[email protected](None, 'Use object_detection/model_main.py.')\r\ndef main(_):\r\n assert FLAGS.train_dir, '`train_dir` is missing.'\r\n if FLAGS.task == 0: tf.gfile.MakeDirs(FLAGS.train_dir)\r\n if FLAGS.pipeline_config_path:\r\n configs = config_util.get_configs_from_pipeline_file(\r\n FLAGS.pipeline_config_path)\r\n if FLAGS.task == 0:\r\n tf.gfile.Copy(FLAGS.pipeline_config_path,\r\n os.path.join(FLAGS.train_dir, 'pipeline.config'),\r\n overwrite=True)\r\n else:\r\n configs = config_util.get_configs_from_multiple_files(\r\n model_config_path=FLAGS.model_config_path,\r\n train_config_path=FLAGS.train_config_path,\r\n train_input_config_path=FLAGS.input_config_path)\r\n if FLAGS.task == 0:\r\n for name, config in [('model.config', FLAGS.model_config_path),\r\n ('train.config', FLAGS.train_config_path),\r\n ('input.config', FLAGS.input_config_path)]:\r\n tf.gfile.Copy(config, os.path.join(FLAGS.train_dir, name),\r\n overwrite=True)\r\n\r\n model_config = configs['model']\r\n train_config = configs['train_config']\r\n input_config = configs['train_input_config']\r\n\r\n model_fn = functools.partial(\r\n model_builder.build,\r\n model_config=model_config,\r\n is_training=True)\r\n\r\n def get_next(config):\r\n return dataset_builder.make_initializable_iterator(\r\n dataset_builder.build(config)).get_next()\r\n\r\n create_input_dict_fn = functools.partial(get_next, input_config)\r\n\r\n env = json.loads(os.environ.get('TF_CONFIG', '{}'))\r\n cluster_data = env.get('cluster', None)\r\n cluster = tf.train.ClusterSpec(cluster_data) if cluster_data else None\r\n task_data = env.get('task', None) or {'type': 'master', 'index': 0}\r\n task_info = type('TaskSpec', (object,), task_data)\r\n\r\n ps_tasks = 0\r\n worker_replicas = 1\r\n worker_job_name = 'lonely_worker'\r\n task = 0\r\n is_chief = True\r\n master = ''\r\n\r\n if cluster_data and 'worker' in cluster_data:\r\n # Number of total worker replicas include \"worker\"s and the \"master\".\r\n worker_replicas = len(cluster_data['worker']) + 1\r\n if cluster_data and 'ps' in cluster_data:\r\n ps_tasks = len(cluster_data['ps'])\r\n\r\n if worker_replicas > 1 and ps_tasks < 1:\r\n raise ValueError('At least 1 ps task is needed for distributed training.')\r\n\r\n if worker_replicas >= 1 and ps_tasks > 0:\r\n # Set up distributed training.\r\n server = tf.train.Server(tf.train.ClusterSpec(cluster), protocol='grpc',\r\n job_name=task_info.type,\r\n task_index=task_info.index)\r\n if task_info.type == 'ps':\r\n server.join()\r\n return\r\n\r\n worker_job_name = '%s/task:%d' % (task_info.type, task_info.index)\r\n task = task_info.index\r\n is_chief = (task_info.type == 'master')\r\n master = server.target\r\n\r\n graph_rewriter_fn = None\r\n if 'graph_rewriter_config' in configs:\r\n graph_rewriter_fn = graph_rewriter_builder.build(\r\n configs['graph_rewriter_config'], is_training=True)\r\n\r\n trainer.train(\r\n create_input_dict_fn,\r\n model_fn,\r\n train_config,\r\n master,\r\n task,\r\n FLAGS.num_clones,\r\n worker_replicas,\r\n FLAGS.clone_on_cpu,\r\n ps_tasks,\r\n worker_job_name,\r\n is_chief,\r\n FLAGS.train_dir,\r\n graph_hook_fn=graph_rewriter_fn)\r\n\r\n\r\nif __name__ == '__main__':\r\n tf.app.run()\r\n\r\nAnd am using tensorflow 2.13 , protobuf 3.20 , python 3.8",
"@HNanditha,\r\nI tried to execute the mentioned code and it was failing with the error \"module 'tensorflow' has no attribute 'contrib'\" which means the mentioned code was written for the tensorflow 1.x version which is not supported. Kindly find the gist of it [here](https://colab.research.google.com/gist/tilakrayal/50b4b452162079c4fd72d9cb24d83a40/untitled1380.ipynb) and also this issue looks more related to models. Please raise the request in the [models](https://github.com/tensorflow/models/issues/) repo for quick response. 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/62024\">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/62024\">No</a>\n"
] | 2023-09-30T09:18:19 | 2023-10-19T01:47:53 | 2023-10-19T01:47:50 | NONE | null | null | null | python3 train.py --logtostderr --train_dir=CAPTCHA_training_dir/ --pipeline_config_path=CAPTCHA_training/faster_rcnn_inception_v2_coco.config
While running this command I am getting error like this :
Traceback (most recent call last):
File "train.py", line 51, in <module>
from object_detection.builders import dataset_builder
File "/home/Desktop/test/test_env/lib/python3.8/site-packages/object_detection/builders/dataset_builder.py", line 32, in <module>
from object_detection.builders import decoder_builder
File "/home/Desktop/test/test_env/lib/python3.8/site-packages/object_detection/builders/decoder_builder.py", line 24, in <module>
from object_detection.data_decoders import tf_example_decoder
File "/home/Desktop/test/test_env/lib/python3.8/site-packages/object_detection/data_decoders/tf_example_decoder.py", line 131, in <module>
class TfExampleDecoder(data_decoder.DataDecoder):
File "/home/Desktop/test/test_env/lib/python3.8/site-packages/object_detection/data_decoders/tf_example_decoder.py", line 136, in TfExampleDecoder
instance_mask_type=input_reader_pb2.NUMERICAL_MASKS,
AttributeError: module 'object_detection.protos.input_reader_pb2' has no attribute 'NUMERICAL_MASKS'
Please do help me to solve this issue.
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62024/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/62024/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62023 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62023/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62023/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62023/events | https://github.com/tensorflow/tensorflow/issues/62023 | 1,920,186,607 | I_kwDOArmXAs5yc7jv | 62,023 | AttributeError: module 'object_detection.protos.input_reader_pb2' has no attribute 'NUMERICAL_MASKS' | {
"login": "HNanditha",
"id": 144308614,
"node_id": "U_kgDOCJn5hg",
"avatar_url": "https://avatars.githubusercontent.com/u/144308614?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HNanditha",
"html_url": "https://github.com/HNanditha",
"followers_url": "https://api.github.com/users/HNanditha/followers",
"following_url": "https://api.github.com/users/HNanditha/following{/other_user}",
"gists_url": "https://api.github.com/users/HNanditha/gists{/gist_id}",
"starred_url": "https://api.github.com/users/HNanditha/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/HNanditha/subscriptions",
"organizations_url": "https://api.github.com/users/HNanditha/orgs",
"repos_url": "https://api.github.com/users/HNanditha/repos",
"events_url": "https://api.github.com/users/HNanditha/events{/privacy}",
"received_events_url": "https://api.github.com/users/HNanditha/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"
}
] | 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 @HNanditha ,\r\n\r\nThis issue seems duplicate of #62024 which also raised by yourself with the required details. Could you please close it here and track there ?\r\n\r\nThank 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/62023\">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/62023\">No</a>\n",
"yes",
"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/62023\">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/62023\">No</a>\n",
"yes"
] | 2023-09-30T09:14:32 | 2023-10-03T06:49:32 | 2023-10-03T06:48:57 | NONE | null | null | null | Please go to Stack Overflow for help and support:
https://stackoverflow.com/questions/tagged/tensorflow
If you open a GitHub issue, here is our policy:
1. It must be a bug, a feature request, or a significant problem with the
documentation (for small docs fixes please send a PR instead).
2. The form below must be filled out.
3. It shouldn't be a TensorBoard issue. Those go
[here](https://github.com/tensorflow/tensorboard/issues).
**Here's why we have that policy**: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.
------------------------
### System information
- **Have I written custom code (as opposed to using a stock example script
provided in TensorFlow)**:
- **OS Platform and Distribution (e.g., Linux Ubuntu 16.04)**:
- **Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue
happens on a mobile device**:
- **TensorFlow installed from (source or binary)**:
- **TensorFlow version (use command below)**:
- **Python version**:
- **Bazel version (if compiling from source)**:
- **GCC/Compiler version (if compiling from source)**:
- **CUDA/cuDNN version**:
- **GPU model and memory**:
- **Exact command to reproduce**:
You can collect some of this information using our environment capture script:
https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh
You can obtain the TensorFlow version with:
```bash
python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"
```
### Describe the problem
Describe the problem clearly here. Be sure to convey here why it's a bug in TensorFlow or a feature request.
### Source code / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62023/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/62023/timeline | null | not_planned | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62021 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62021/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62021/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62021/events | https://github.com/tensorflow/tensorflow/issues/62021 | 1,920,151,658 | I_kwDOArmXAs5yczBq | 62,021 | In TF-v2.12 there are no methods called `_set_hyper` and `_get_hyper` | {
"login": "maifeeulasad",
"id": 29339330,
"node_id": "MDQ6VXNlcjI5MzM5MzMw",
"avatar_url": "https://avatars.githubusercontent.com/u/29339330?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/maifeeulasad",
"html_url": "https://github.com/maifeeulasad",
"followers_url": "https://api.github.com/users/maifeeulasad/followers",
"following_url": "https://api.github.com/users/maifeeulasad/following{/other_user}",
"gists_url": "https://api.github.com/users/maifeeulasad/gists{/gist_id}",
"starred_url": "https://api.github.com/users/maifeeulasad/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/maifeeulasad/subscriptions",
"organizations_url": "https://api.github.com/users/maifeeulasad/orgs",
"repos_url": "https://api.github.com/users/maifeeulasad/repos",
"events_url": "https://api.github.com/users/maifeeulasad/events{/privacy}",
"received_events_url": "https://api.github.com/users/maifeeulasad/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": 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": "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 @maybeLee,\r\n\r\nYou can use legacy optimizers for using the mentioned hyper parameters.Please refer attached [gist](https://colab.sandbox.google.com/gist/SuryanarayanaY/192742c52d367a81d4d9213881981240/62021.ipynb#scrollTo=0Xsa7A_GJ2Ns). It seems this option has been dropped in latest version of optimizers.",
"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/62021\">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/62021\">No</a>\n"
] | 2023-09-30T07:07:44 | 2023-10-21T01:46:52 | 2023-10-21T01:46:50 | NONE | null | null | null | ### Issue type
Bug
### 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
Kaggle kernel
### Mobile device
_No response_
### Python version
3.10.12 | packaged by conda-forge | (main, Jun 23 2023, 22:40:32) [GCC 12.3.0]
### Bazel version
_No response_
### GCC/compiler version
_No response_
### CUDA/cuDNN version
_No response_
### GPU model and memory
_No response_
### Current behavior?
There are no methods called `_set_hyper` and `_get_hyper`
### Standalone code to reproduce the issue
```shell
import tensorflow as tf
class MyAdamOptimizer(tf.keras.optimizers.Optimizer):
def __init__(self, learning_rate=0.001, beta_1=0.9, beta_2=0.999, epsilon=1e-7, name="MyAdamOptimizer", **kwargs):
super(MyAdamOptimizer, self).__init__(name, **kwargs)
self._set_hyper("learning_rate", kwargs.get("lr", learning_rate))
self._set_hyper("beta_1", beta_1)
self._set_hyper("beta_2", beta_2)
self._set_hyper("epsilon", epsilon)
def _create_slots(self, var_list):
for var in var_list:
self.add_slot(var, "m")
self.add_slot(var, "v")
def _resource_apply_dense(self, grad, var):
lr = self._get_hyper("learning_rate", var_dtype=var.dtype.base_dtype)
beta_1 = self._get_hyper("beta_1", var_dtype=var.dtype.base_dtype)
beta_2 = self._get_hyper("beta_2", var_dtype=var.dtype.base_dtype)
epsilon = self._get_hyper("epsilon", var_dtype=var.dtype.base_dtype)
m = self.get_slot(var, "m")
v = self.get_slot(var, "v")
m.assign_add((1 - beta_1) * (grad - m))
v.assign_add((1 - beta_2) * (tf.square(grad) - v))
m_hat = m / (1 - tf.math.pow(beta_1, tf.cast(self.iterations + 1, tf.float32)))
v_hat = v / (1 - tf.math.pow(beta_2, tf.cast(self.iterations + 1, tf.float32)))
var_update = lr * m_hat / (tf.sqrt(v_hat) + epsilon)
var.assign_sub(var_update)
return var_update
def _resource_apply_sparse(self, grad, var):
raise NotImplementedError("Sparse gradient updates are not supported.")
optimizer = MyAdamOptimizer(learning_rate=0.001)
```
### Relevant log output
```shell
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
Cell In[5], line 42
38 def _resource_apply_sparse(self, grad, var):
39 raise NotImplementedError("Sparse gradient updates are not supported.")
---> 42 optimizer = MyAdamOptimizer(learning_rate=0.001)
Cell In[5], line 7, in MyAdamOptimizer.__init__(self, learning_rate, beta_1, beta_2, epsilon, name, **kwargs)
4 def __init__(self, learning_rate=0.001, beta_1=0.9, beta_2=0.999, epsilon=1e-7, name="MyAdamOptimizer", **kwargs):
5 super(MyAdamOptimizer, self).__init__(name, **kwargs)
----> 7 self._set_hyper("learning_rate", kwargs.get("lr", learning_rate))
8 self._set_hyper("beta_1", beta_1)
9 self._set_hyper("beta_2", beta_2)
AttributeError: 'MyAdamOptimizer' object has no attribute '_set_hyper'
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62021/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/62021/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62020 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62020/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62020/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62020/events | https://github.com/tensorflow/tensorflow/pull/62020 | 1,920,050,419 | PR_kwDOArmXAs5blBPT | 62,020 | 【Go】remove ioutil pkg | {
"login": "orangekame3",
"id": 49517624,
"node_id": "MDQ6VXNlcjQ5NTE3NjI0",
"avatar_url": "https://avatars.githubusercontent.com/u/49517624?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/orangekame3",
"html_url": "https://github.com/orangekame3",
"followers_url": "https://api.github.com/users/orangekame3/followers",
"following_url": "https://api.github.com/users/orangekame3/following{/other_user}",
"gists_url": "https://api.github.com/users/orangekame3/gists{/gist_id}",
"starred_url": "https://api.github.com/users/orangekame3/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/orangekame3/subscriptions",
"organizations_url": "https://api.github.com/users/orangekame3/orgs",
"repos_url": "https://api.github.com/users/orangekame3/repos",
"events_url": "https://api.github.com/users/orangekame3/events{/privacy}",
"received_events_url": "https://api.github.com/users/orangekame3/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 390482148,
"node_id": "MDU6TGFiZWwzOTA0ODIxNDg=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/awaiting%20review",
"name": "awaiting review",
"color": "bc3869",
"default": false,
"description": "Pull request awaiting review"
},
{
"id": 987666414,
"node_id": "MDU6TGFiZWw5ODc2NjY0MTQ=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/ready%20to%20pull",
"name": "ready to pull",
"color": "2cd643",
"default": false,
"description": "PR ready for merge process"
},
{
"id": 1169364458,
"node_id": "MDU6TGFiZWwxMTY5MzY0NDU4",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:S",
"name": "size:S",
"color": "adafea",
"default": false,
"description": "CL Change Size: Small"
}
] | 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 | [
"@orangekame3 I don't review PRs for TF but, for what its worth, this looks good to me. Those ioutil functions were marked as deprecated in Go 1.16; the TF bindings already require at least Go 1.18 since 527347c. ",
"Hi @rohan100jain, Can you please review this PR ? Thank you!",
"Hi @rohan100jain, Can you please review this PR ? Thank you!",
"Hi @rohan100jain, Can you please review this PR ? Thank you!",
"Hi @rohan100jain, Can you please review this PR ? Thank you!",
"Hi @rohan100jain, Can you please review this PR ? Thank you!",
"He doesn't seem to be active..."
] | 2023-09-30T01:17:19 | 2024-03-19T05:49:47 | 2024-03-19T05:49:46 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/62020",
"html_url": "https://github.com/tensorflow/tensorflow/pull/62020",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/62020.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/62020.patch",
"merged_at": "2024-03-19T05:49:46"
} | Hi, thank you for mantenance of TensorFlow in Go @wamuir
I read the docs at:
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/go/README.md
I also noticed that TensorFlow in Go uses some deprecated functions.
I understand that the documentation for installing the Go bindings for TensorFlow is no longer being maintained. However, I felt that using deprecated packages is also not ideal, so I've submitted a PR to fix this.
The ioutil package is already deprecated and internally calls the os package. I've rewritten the parts of the code that use ioutil to now use the os package.
https://pkg.go.dev/io/[email protected]
The behavior of os.ReadDir is slightly different, but since sorting does not appear to be a requirement in this use case, I've only replaced ioutil.ReadDir with os.ReadDir.
Thanks. | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62020/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/62020/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/62019 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62019/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62019/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62019/events | https://github.com/tensorflow/tensorflow/issues/62019 | 1,920,019,352 | I_kwDOArmXAs5ycSuY | 62,019 | dead link | {
"login": "kloro2006",
"id": 10191593,
"node_id": "MDQ6VXNlcjEwMTkxNTkz",
"avatar_url": "https://avatars.githubusercontent.com/u/10191593?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kloro2006",
"html_url": "https://github.com/kloro2006",
"followers_url": "https://api.github.com/users/kloro2006/followers",
"following_url": "https://api.github.com/users/kloro2006/following{/other_user}",
"gists_url": "https://api.github.com/users/kloro2006/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kloro2006/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kloro2006/subscriptions",
"organizations_url": "https://api.github.com/users/kloro2006/orgs",
"repos_url": "https://api.github.com/users/kloro2006/repos",
"events_url": "https://api.github.com/users/kloro2006/events{/privacy}",
"received_events_url": "https://api.github.com/users/kloro2006/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": 3911105852,
"node_id": "LA_kwDOArmXAs7pHr08",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/awaiting%20PR%20merge",
"name": "awaiting PR merge",
"color": "4080bf",
"default": false,
"description": "awaiting PR merge"
}
] | 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 | [
"Is [this](https://www.tensorflow.org/guide/distributed_training) the correct link where it should point to?",
"@a-r-r-o-w i too think so\r\n",
"@kloro2006 Thank you for raising this issue! \r\nWe have raised a fix internally which will resolve this issue. 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/62019\">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/62019\">No</a>\n"
] | 2023-09-29T23:48:24 | 2023-12-06T08:20:07 | 2023-12-06T08:20:03 | NONE | null | null | null | On this page:
https://github.com/tensorflow/tensorflow/tree/master/tensorflow/core/distributed_runtime
there is a link at the bottom which doesn't work. Its label is "Distributed TensorFlow".
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62019/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/62019/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62018 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62018/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62018/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62018/events | https://github.com/tensorflow/tensorflow/issues/62018 | 1,919,701,182 | I_kwDOArmXAs5ybFC- | 62,018 | Tensorflow profiler client does not support IPv6 | {
"login": "yuzu-ido",
"id": 71576436,
"node_id": "MDQ6VXNlcjcxNTc2NDM2",
"avatar_url": "https://avatars.githubusercontent.com/u/71576436?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yuzu-ido",
"html_url": "https://github.com/yuzu-ido",
"followers_url": "https://api.github.com/users/yuzu-ido/followers",
"following_url": "https://api.github.com/users/yuzu-ido/following{/other_user}",
"gists_url": "https://api.github.com/users/yuzu-ido/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yuzu-ido/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yuzu-ido/subscriptions",
"organizations_url": "https://api.github.com/users/yuzu-ido/orgs",
"repos_url": "https://api.github.com/users/yuzu-ido/repos",
"events_url": "https://api.github.com/users/yuzu-ido/events{/privacy}",
"received_events_url": "https://api.github.com/users/yuzu-ido/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": 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"
}
] | 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 | [
"\r\nThe issue clearly highlights a limitation in TensorFlow's profiler client regarding IPv6 support. You've done a good job presenting the problem.\r\n\r\nHi @yuzu-ido ,\r\n\r\nThank you for bringing this to attention. The problem arises due to the simplistic string split operation on the host_port, which fails to account for IPv6 addresses.\r\n\r\nIPv6 addresses include colons, just like the separation between the IP address and port. As you've pointed out, the IPv6 format typically uses [address]:port, and the current split operation on host_port does not handle this format.\r\n\r\nA potential solution would be to modify the string parsing logic to account for the IPv6 format. This could involve checking for the presence of square brackets and adjusting the parsing logic accordingly.\r\n\r\nThis is a crucial update, especially considering the increasing adoption of IPv6. It would be great if the TensorFlow team could prioritize this. In the meantime, you might want to use IPv4 as a workaround, if feasible.\r\n\r\nI hope the TensorFlow team addresses this soon",
"@yuzu-ido,\r\nCould you please confirm whether the issue is happening on the latest tensorflow v2.14 as well? Thank you!",
"Hi, thanks for the follow-up. I checked and the issue is still happening with tf 2.14.0."
] | 2023-09-29T17:59:57 | 2023-10-16T22:19:21 | null | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
No
### Source
source
### TensorFlow version
tf 2.11.0
### Custom code
Yes
### OS platform and distribution
Linux Ubuntu 22.04.3
### Mobile device
_No response_
### Python version
3.10.2
### Bazel version
6.0.0
### GCC/compiler version
_No response_
### CUDA/cuDNN version
11/8.2
### GPU model and memory
_No response_
### Current behavior?
[https://github.com/google/tsl/blob/3dee2c5930eb8ee9c6a7486434240dafadf12fb4/tsl/profiler/utils/session_manager.cc#L188]()
`std::vectorabsl::string_view parts = absl::StrSplit(host_port, ':');`
When trying to connect to an IPv6 host-port pair, which is typically denoted as [xxxx:xxxx:blah]:port, `profiler_client.trace()` throws an error. It should have logic that supports both IPv4 and IPv6.
### Standalone code to reproduce the issue
```shell
File 1:
jax.profiler.start_server(9876) #on IPv6 xxxx:xxxx:x:xxxx:xxxx::xxx
File 2:
from tensorflow.python.profiler import profiler_client
profiler_client.trace(
'[xxxx:xxxx:x:xxxx:xxxx::xxx]:9876',
duration_ms=1000,
logdir='foo',
)
```
### Relevant log output
```shell
Traceback (most recent call last):
File "foo.py", line 2, in _trigger_trace
profiler_client.trace(
File ".../foo.runfiles/tensorflow_python_deps_tensorflow/tensorflow/python/profiler/profiler_client.py", line 129, in trace
_pywrap_profiler.trace(
tensorflow.python.framework.errors_impl.InvalidArgumentError: Could not interpret "[xxxx:xxxx:x:xxxx:xxxx::xxx]:9876" as a host-port pair.
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62018/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/62018/timeline | null | null | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62017 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62017/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62017/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62017/events | https://github.com/tensorflow/tensorflow/pull/62017 | 1,919,581,796 | PR_kwDOArmXAs5bjdC6 | 62,017 | Using the new names of the social media companies Meta (formerly known as Facebook) and X (formerly known as Twitter) in the link texts and other mentions | {
"login": "aadityab7",
"id": 66950964,
"node_id": "MDQ6VXNlcjY2OTUwOTY0",
"avatar_url": "https://avatars.githubusercontent.com/u/66950964?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aadityab7",
"html_url": "https://github.com/aadityab7",
"followers_url": "https://api.github.com/users/aadityab7/followers",
"following_url": "https://api.github.com/users/aadityab7/following{/other_user}",
"gists_url": "https://api.github.com/users/aadityab7/gists{/gist_id}",
"starred_url": "https://api.github.com/users/aadityab7/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aadityab7/subscriptions",
"organizations_url": "https://api.github.com/users/aadityab7/orgs",
"repos_url": "https://api.github.com/users/aadityab7/repos",
"events_url": "https://api.github.com/users/aadityab7/events{/privacy}",
"received_events_url": "https://api.github.com/users/aadityab7/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1169364259,
"node_id": "MDU6TGFiZWwxMTY5MzY0MjU5",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:XS",
"name": "size:XS",
"color": "adafea",
"default": false,
"description": "CL Change Size: Extra Small"
}
] | closed | false | {
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).\n\nView this [failed invocation](https://github.com/tensorflow/tensorflow/pull/62017/checks?check_run_id=17260722171) 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.",
"Yeah, I don't think it's that important to update the names, so I am closing this pull request."
] | 2023-09-29T16:29:03 | 2023-10-01T10:21:31 | 2023-10-01T10:21:31 | NONE | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/62017",
"html_url": "https://github.com/tensorflow/tensorflow/pull/62017",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/62017.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/62017.patch",
"merged_at": null
} | As both of the social media companies Facebook and Twitter has undergone branding changes, I have made updates to reflect those changes. | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62017/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/62017/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/62016 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62016/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62016/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62016/events | https://github.com/tensorflow/tensorflow/issues/62016 | 1,919,576,765 | I_kwDOArmXAs5yamq9 | 62,016 | Tensorflow debug build reports the error: relocation R_X86_64_PC32 against undefined symbol `_ZN15stream_executor3gpu12_GLOBAL__N_120CUDABlasLtMatmulPlan14kMaxBatchCountE' can not be used when making a shared object | {
"login": "terU3760",
"id": 7286776,
"node_id": "MDQ6VXNlcjcyODY3NzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/7286776?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/terU3760",
"html_url": "https://github.com/terU3760",
"followers_url": "https://api.github.com/users/terU3760/followers",
"following_url": "https://api.github.com/users/terU3760/following{/other_user}",
"gists_url": "https://api.github.com/users/terU3760/gists{/gist_id}",
"starred_url": "https://api.github.com/users/terU3760/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/terU3760/subscriptions",
"organizations_url": "https://api.github.com/users/terU3760/orgs",
"repos_url": "https://api.github.com/users/terU3760/repos",
"events_url": "https://api.github.com/users/terU3760/events{/privacy}",
"received_events_url": "https://api.github.com/users/terU3760/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 386191887,
"node_id": "MDU6TGFiZWwzODYxOTE4ODc=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response",
"name": "stat:awaiting response",
"color": "f4b400",
"default": false,
"description": "Status - Awaiting response from author"
},
{
"id": 473173351,
"node_id": "MDU6TGFiZWw0NzMxNzMzNTE=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:build/install",
"name": "type:build/install",
"color": "159b2e",
"default": false,
"description": "Build and install issues"
},
{
"id": 474725938,
"node_id": "MDU6TGFiZWw0NzQ3MjU5Mzg=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stale",
"name": "stale",
"color": "d4c5f9",
"default": false,
"description": "This label marks the issue/pr stale - to be closed automatically if no activity"
},
{
"id": 1160540362,
"node_id": "MDU6TGFiZWwxMTYwNTQwMzYy",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.0",
"name": "TF 2.0",
"color": "e79b38",
"default": false,
"description": "Issues relating to TensorFlow 2.0"
},
{
"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 | [
"Hi @SuryanarayanaY I think the error message you're encountering indicates an issue with linking a shared object in the build process of TensorFlow. Specifically, it mentions a problem with the libcublas_plugin.lo object file and the relocation of symbols. The error message also suggests recompiling with -fPIC to resolve the issue.\r\n\r\nHere are some steps you can take to troubleshoot and potentially fix this error:\r\n\r\nRecompile with -fPIC: You can add the -fPIC flag to the build process to ensure that the object files are compiled with Position Independent Code (PIC). This is often required for shared libraries. You might need to modify the build configuration to include this flag. Check the build script or configuration files to make this change.\r\n\r\nCheck CUDA Toolkit Compatibility: Ensure that the CUDA Toolkit version you have installed is compatible with the version of TensorFlow you are trying to build. Different versions of TensorFlow may require specific CUDA Toolkit versions. Make sure your CUDA Toolkit and cuBLAS are up-to-date.\r\n\r\nCheck Bazel Configuration: Double-check your Bazel configuration files (/.bazelrc and /.tf_configure.bazelrc) to ensure that they are correctly specifying the CUDA-related options and paths. Make sure they match your system's configuration.\r\n\r\nCheck Environment Variables: Verify that environment variables related to CUDA and TensorFlow are correctly set. For example, ensure that LD_LIBRARY_PATH includes the paths to CUDA libraries and TensorFlow.\r\nPlease Correct me If I am wrong",
"@arjun988 Factually I have included the option -fPIC when compiling. It is very strange that it successfully compiled the non-debug version. As you can see that my CUDA version is 12.2, which version of TensorFlow do you think is compatible with this CUDA version?",
"@terU3760 Actually TensorFlow and CUDA 12.2 are not officially compatible. TensorFlow 2.10 is compatible with CUDA 11.2 and cuDNN 8.1 for GPU support on Windows 7 (64 bit) or later Starting with TensorFlow 2.11, you need to install TensorFlow in WSL2 for GPU setup which requires Windows 10 19044 or higher However, some users have reported that they were able to use TensorFlow with CUDA 12.2 by using the latest NGC TF containers . You can check the compatibility over here [https://www.tensorflow.org/install/source#gpu](url) .",
"Hi @terU3760 ,\r\n\r\nCould you please confirm the tensorflow version you want to build. I can see it mentioned as 2.0 which is quiet old and we are not supporting it actively. Also you are using quiet older version of Bazel with entirely new version of CUDA 12.2 version which is not yet tested on any stable release so far.\r\n\r\nPlease find the attached test [configurations](https://www.tensorflow.org/install/source#gpu) on Linux and request you to test for latest TF versions with the specified build configurations only and if still have problem with that please let us know.\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 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/62016\">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/62016\">No</a>\n"
] | 2023-09-29T16:25:45 | 2023-10-28T01:46:45 | 2023-10-28T01:46:42 | NONE | null | null | null | ### Issue type
Build/Install
### Have you reproduced the bug with TensorFlow Nightly?
No
### Source
source
### TensorFlow version
tf 2.0
### Custom code
No
### OS platform and distribution
Linux Ubuntu 20.04
### Mobile device
_No response_
### Python version
3.8.10
### Bazel version
1.16.0
### GCC/compiler version
9.4.0
### CUDA/cuDNN version
12.2
### GPU model and memory
GTX 1080 & RTX 2080
### Current behavior?
Reported the following error:
```
WARNING: The following configs were expanded more than once: [cuda, using_cuda]. For repeatable flags, repeats are counted twice and may lead to unexpected behavior.
INFO: Options provided by the client:
Inherited 'common' options: --isatty=1 --terminal_columns=120
INFO: Reading rc options for 'build' from /root/tensorflow/.bazelrc:
Inherited 'common' options: --experimental_repo_remote_exec
INFO: Reading rc options for 'build' from /root/tensorflow/.bazelrc:
'build' options: --apple_platform_type=macos --define framework_shared_object=true --define open_source_build=true --java_toolchain=//third_party/toolchains/java:tf_java_toolchain --host_java_toolchain=//third_party/toolchains/java:tf_java_toolchain --define=tensorflow_enable_mlir_generated_gpu_kernels=0 --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 --noincompatible_prohibit_aapt1 --enable_platform_specific_config --config=short_logs --config=v2
INFO: Reading rc options for 'build' from /root/tensorflow/.tf_configure.bazelrc:
'build' options: --action_env PYTHON_BIN_PATH=/usr/bin/python3 --action_env PYTHON_LIB_PATH=/usr/local/lib/python3.8/dist-packages --python_path=/usr/bin/python3 --config=xla --action_env CUDA_TOOLKIT_PATH=/usr/local/cuda-11.7 --action_env TF_CUDA_COMPUTE_CAPABILITIES=6.0,6.1,6.2,7.0,7.2,7.5 --action_env LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64 --action_env GCC_HOST_COMPILER_PATH=/usr/bin/x86_64-linux-gnu-gcc-9 --config=cuda --action_env TF_CONFIGURE_IOS=0
INFO: Found applicable config definition build:short_logs in file /root/tensorflow/.bazelrc: --output_filter=DONT_MATCH_ANYTHING
INFO: Found applicable config definition build:v2 in file /root/tensorflow/.bazelrc: --define=tf_api_version=2 --action_env=TF2_BEHAVIOR=1
INFO: Found applicable config definition build:xla in file /root/tensorflow/.bazelrc: --define=with_xla_support=true
INFO: Found applicable config definition build:cuda in file /root/tensorflow/.bazelrc: --config=using_cuda --define=using_cuda_nvcc=true
INFO: Found applicable config definition build:using_cuda in file /root/tensorflow/.bazelrc: --define=using_cuda=true --action_env TF_NEED_CUDA=1 --crosstool_top=@local_config_cuda//crosstool:toolchain --define=tensorflow_enable_mlir_generated_gpu_kernels=1
INFO: Found applicable config definition build:cuda in file /root/tensorflow/.bazelrc: --config=using_cuda --define=using_cuda_nvcc=true
INFO: Found applicable config definition build:using_cuda in file /root/tensorflow/.bazelrc: --define=using_cuda=true --action_env TF_NEED_CUDA=1 --crosstool_top=@local_config_cuda//crosstool:toolchain --define=tensorflow_enable_mlir_generated_gpu_kernels=1
INFO: Found applicable config definition build:dbg in file /root/tensorflow/.bazelrc: --config=opt -c dbg --cxxopt -DTF_LITE_DISABLE_X86_NEON --copt -DDEBUG_BUILD
INFO: Found applicable config definition build:opt in file /root/tensorflow/.tf_configure.bazelrc: --copt=-Wno-sign-compare --host_copt=-Wno-sign-compare --define with_default_optimizations=true
INFO: Found applicable config definition build:linux in file /root/tensorflow/.bazelrc: --copt=-w --host_copt=-w --define=PREFIX=/usr --define=LIBDIR=$(PREFIX)/lib --define=INCLUDEDIR=$(PREFIX)/include --define=PROTOBUF_INCLUDE_PATH=$(PREFIX)/include --cxxopt=-std=c++14 --host_cxxopt=-std=c++14 --config=dynamic_kernels
INFO: Found applicable config definition build:dynamic_kernels in file /root/tensorflow/.bazelrc: --define=dynamic_loaded_kernels=true --copt=-DAUTOLOAD_DYNAMIC_KERNELS
INFO: Build options --copt and --cxxopt have changed, discarding analysis cache.
INFO: Analyzed target //tensorflow/tools/pip_package:build_pip_package (0 packages loaded, 32967 targets configured).
INFO: Found 1 target...
ERROR: /root/tensorflow/tensorflow/BUILD:724:1: Linking of rule '//tensorflow:libtensorflow_framework.so.2.4.4' failed (Exit 1)
/usr/bin/ld: bazel-out/k8-dbg/bin/tensorflow/stream_executor/cuda/libcublas_plugin.lo(cuda_blas.pic.o): relocation R_X86_64_PC32 against undefined symbol `_ZN15stream_executor3gpu12_GLOBAL__N_120CUDABlasLtMatmulPlan14kMaxBatchCountE' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
Target //tensorflow/tools/pip_package:build_pip_package failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 7241.142s, Critical Path: 2298.04s
INFO: 6729 processes: 6729 local.
FAILED: Build did NOT complete successfully
```
### Standalone code to reproduce the issue
```shell
git clone -b r2.0 https://github.com/tensorflow/tensorflow.git
bazel build --config=cuda --config=dbg --copt=-fPIC --cxxopt=-fPIC //tensorflow/tools/pip_package:build_pip_package
```
### Relevant log output
_No response_ | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62016/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/62016/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62015 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62015/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62015/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62015/events | https://github.com/tensorflow/tensorflow/issues/62015 | 1,919,103,269 | I_kwDOArmXAs5yYzEl | 62,015 | implement llama 2 using Tensorflow | {
"login": "rajveer43",
"id": 64583161,
"node_id": "MDQ6VXNlcjY0NTgzMTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/64583161?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rajveer43",
"html_url": "https://github.com/rajveer43",
"followers_url": "https://api.github.com/users/rajveer43/followers",
"following_url": "https://api.github.com/users/rajveer43/following{/other_user}",
"gists_url": "https://api.github.com/users/rajveer43/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rajveer43/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rajveer43/subscriptions",
"organizations_url": "https://api.github.com/users/rajveer43/orgs",
"repos_url": "https://api.github.com/users/rajveer43/repos",
"events_url": "https://api.github.com/users/rajveer43/events{/privacy}",
"received_events_url": "https://api.github.com/users/rajveer43/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 473173272,
"node_id": "MDU6TGFiZWw0NzMxNzMyNzI=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:feature",
"name": "type:feature",
"color": "159b2e",
"default": false,
"description": "Feature requests"
}
] | 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 | [
"https://github.com/leondgarse/keras_cv_attention_models#llama2"
] | 2023-09-29T11:30:45 | 2023-09-29T15:11:15 | 2023-09-29T15:11:15 | NONE | null | null | null | ### Issue type
Feature Request
### Have you reproduced the bug with TensorFlow Nightly?
No
### Source
source
### TensorFlow version
tf 2.8
### 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?
-
### Standalone code to reproduce the issue
```shell
-
```
### Relevant log output
```shell
-
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62015/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/62015/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62014 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62014/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62014/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62014/events | https://github.com/tensorflow/tensorflow/issues/62014 | 1,919,087,993 | I_kwDOArmXAs5yYvV5 | 62,014 | error with concatenation when converting QAT model to tflite model using EXPERIMENTAL_TFLITE_BUILTINS_ACTIVATIONS_INT16_WEIGHTS_INT8 | {
"login": "DerryFitz",
"id": 22909607,
"node_id": "MDQ6VXNlcjIyOTA5NjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/22909607?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DerryFitz",
"html_url": "https://github.com/DerryFitz",
"followers_url": "https://api.github.com/users/DerryFitz/followers",
"following_url": "https://api.github.com/users/DerryFitz/following{/other_user}",
"gists_url": "https://api.github.com/users/DerryFitz/gists{/gist_id}",
"starred_url": "https://api.github.com/users/DerryFitz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DerryFitz/subscriptions",
"organizations_url": "https://api.github.com/users/DerryFitz/orgs",
"repos_url": "https://api.github.com/users/DerryFitz/repos",
"events_url": "https://api.github.com/users/DerryFitz/events{/privacy}",
"received_events_url": "https://api.github.com/users/DerryFitz/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": 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": 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": 2671351731,
"node_id": "MDU6TGFiZWwyNjcxMzUxNzMx",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/ModelOptimizationToolkit",
"name": "ModelOptimizationToolkit",
"color": "BFD629",
"default": false,
"description": "TF Model Optimization Toolkit"
},
{
"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": "abattery",
"id": 3203059,
"node_id": "MDQ6VXNlcjMyMDMwNTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/3203059?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/abattery",
"html_url": "https://github.com/abattery",
"followers_url": "https://api.github.com/users/abattery/followers",
"following_url": "https://api.github.com/users/abattery/following{/other_user}",
"gists_url": "https://api.github.com/users/abattery/gists{/gist_id}",
"starred_url": "https://api.github.com/users/abattery/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/abattery/subscriptions",
"organizations_url": "https://api.github.com/users/abattery/orgs",
"repos_url": "https://api.github.com/users/abattery/repos",
"events_url": "https://api.github.com/users/abattery/events{/privacy}",
"received_events_url": "https://api.github.com/users/abattery/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "abattery",
"id": 3203059,
"node_id": "MDQ6VXNlcjMyMDMwNTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/3203059?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/abattery",
"html_url": "https://github.com/abattery",
"followers_url": "https://api.github.com/users/abattery/followers",
"following_url": "https://api.github.com/users/abattery/following{/other_user}",
"gists_url": "https://api.github.com/users/abattery/gists{/gist_id}",
"starred_url": "https://api.github.com/users/abattery/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/abattery/subscriptions",
"organizations_url": "https://api.github.com/users/abattery/orgs",
"repos_url": "https://api.github.com/users/abattery/repos",
"events_url": "https://api.github.com/users/abattery/events{/privacy}",
"received_events_url": "https://api.github.com/users/abattery/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 @DerryFitz \r\n\r\nI was able to reproduce the error in TF-Nightly. Please find this [gist](https://colab.research.google.com/gist/pjpratik/65df2e7d96c61019dfb9e40fc3ef03b0/62014.ipynb).\r\n\r\nAs per the [documentation](https://www.tensorflow.org/model_optimization/guide/quantization/training#general_support_matrix), the concat support is on the roadmap for Quantization Aware Training.\r\n\r\nThanks.",
"The fact that it works fine in int8 and the error message returned when trying 16-8 suggests that tflite is just missing support for the relevant dtype for concat in 16-8. Is it possible to enable the relevant dtype in tflite for concat at 16-8",
"Hi @DerryFitz \r\n\r\nSorry for the delayed response. \r\n\r\nAs you rightly said and also as the error log suggests that the 16x8 is not supported for concat. The 16x8 is still in experimental and new features will be added in the further releases. Can we consider this as feature request?\r\n\r\nThanks.",
"Yes, please consider adding this feature, it would be much appreciated,\r\nThanks",
"It seems we expect source model to be float32 not start with mixed precision quantization, @abattery can you please take a look? Thanks."
] | 2023-09-29T11:18:44 | 2023-10-09T22:15:34 | null | NONE | null | null | null | ### 1. System information
- Windows 11
- TensorFlow installation (pip package or built from source): pip
- TensorFlow library : 2.13
I am attempting to convert a QAT model trained with int8 weights, int16 activations to a tflite model using
tf.lite.OpsSet.EXPERIMENTAL_TFLITE_BUILTINS_ACTIVATIONS_INT16_WEIGHTS_INT8. Unfortunately there is an issue with
converting the model using this opset.
Minimal code to reproduce the error:
```
import tensorflow as tf
import tensorflow_model_optimization as tfmot
inp1 = tf.keras.Input(shape=[2,4,8], batch_size = 1,name = 'input1')
inp2 = tf.keras.Input(shape=[2,4,8], batch_size = 1,name = 'input2')
r1 =tf.keras.layers.ReLU()(inp1)
r2 = tf.keras.layers.ReLU()(inp2)
c1 = tf.keras.layers.Concatenate(axis = -1)([r1,r2])
scheme_16_8 = tfmot.quantization.keras.experimental.default_n_bit.DefaultNBitQuantizeScheme(
disable_per_axis=False, num_bits_weight=8, num_bits_activation=16)
test_model = tf.keras.Model(inputs=[inp1, inp2], outputs=c1)
annotated_model = tf.keras.models.clone_model(
test_model,
)
ann_model = tfmot.quantization.keras.quantize_annotate_model(annotated_model)
q_model = tfmot.quantization.keras.quantize_apply(ann_model, scheme = scheme_16_8)
converter = tf.lite.TFLiteConverter.from_keras_model(q_model)
converter.optimizations = [tf.lite.Optimize.DEFAULT]
converter.target_spec.supported_ops = [tf.lite.OpsSet.EXPERIMENTAL_TFLITE_BUILTINS_ACTIVATIONS_INT16_WEIGHTS_INT8]#tf.lite.OpsSet.TFLITE_BUILTINS]
#converter.target_spec.supported_ops = [tf.lite.OpsSet.TFLITE_BUILTINS]
quantized_tflite_model = converter.convert()
```
This yields the following error:
```
---------------------------------------------------------------------------
ConverterError Traceback (most recent call last)
Cell In[11], line 5
3 converter.target_spec.supported_ops = [tf.lite.OpsSet.EXPERIMENTAL_TFLITE_BUILTINS_ACTIVATIONS_INT16_WEIGHTS_INT8]#tf.lite.OpsSet.TFLITE_BUILTINS]
4 #converter.target_spec.supported_ops = [tf.lite.OpsSet.TFLITE_BUILTINS]
----> 5 quantized_tflite_model = converter.convert()
7 file_name = 'test_model.tflite'
9 # Save the model.
File ~\.conda\envs\tf212\lib\site-packages\tensorflow\lite\python\lite.py:962, in _export_metrics.<locals>.wrapper(self, *args, **kwargs)
959 @functools.wraps(convert_func)
960 def wrapper(self, *args, **kwargs):
961 # pylint: disable=protected-access
--> 962 return self._convert_and_export_metrics(convert_func, *args, **kwargs)
File ~\.conda\envs\tf212\lib\site-packages\tensorflow\lite\python\lite.py:940, in TFLiteConverterBase._convert_and_export_metrics(self, convert_func, *args, **kwargs)
938 self._save_conversion_params_metric()
939 start_time = time.process_time()
--> 940 result = convert_func(self, *args, **kwargs)
941 elapsed_time_ms = (time.process_time() - start_time) * 1000
942 if result:
File ~\.conda\envs\tf212\lib\site-packages\tensorflow\lite\python\lite.py:1373, in TFLiteKerasModelConverterV2.convert(self)
1360 @_export_metrics
1361 def convert(self):
1362 """Converts a keras model based on instance variables.
1363
1364 Returns:
(...)
1371 Invalid quantization parameters.
1372 """
-> 1373 saved_model_convert_result = self._convert_as_saved_model()
1374 if saved_model_convert_result:
1375 return saved_model_convert_result
File ~\.conda\envs\tf212\lib\site-packages\tensorflow\lite\python\lite.py:1355, in TFLiteKerasModelConverterV2._convert_as_saved_model(self)
1352 graph_def, input_tensors, output_tensors = (
1353 self._convert_keras_to_saved_model(temp_dir))
1354 if self.saved_model_dir:
-> 1355 return super(TFLiteKerasModelConverterV2,
1356 self).convert(graph_def, input_tensors, output_tensors)
1357 finally:
1358 shutil.rmtree(temp_dir, True)
File ~\.conda\envs\tf212\lib\site-packages\tensorflow\lite\python\lite.py:1166, in TFLiteConverterBaseV2.convert(self, graph_def, input_tensors, output_tensors)
1161 logging.info("Using new converter: If you encounter a problem "
1162 "please file a bug. You can opt-out "
1163 "by setting experimental_new_converter=False")
1165 # Converts model.
-> 1166 result = _convert_graphdef(
1167 input_data=graph_def,
1168 input_tensors=input_tensors,
1169 output_tensors=output_tensors,
1170 **converter_kwargs)
1172 return self._optimize_tflite_model(
1173 result, self._quant_mode, quant_io=self.experimental_new_quantizer)
File ~\.conda\envs\tf212\lib\site-packages\tensorflow\lite\python\convert_phase.py:212, in convert_phase.<locals>.actual_decorator.<locals>.wrapper(*args, **kwargs)
210 else:
211 report_error_message(str(converter_error))
--> 212 raise converter_error from None # Re-throws the exception.
213 except Exception as error:
214 report_error_message(str(error))
File ~\.conda\envs\tf212\lib\site-packages\tensorflow\lite\python\convert_phase.py:205, in convert_phase.<locals>.actual_decorator.<locals>.wrapper(*args, **kwargs)
202 @functools.wraps(func)
203 def wrapper(*args, **kwargs):
204 try:
--> 205 return func(*args, **kwargs)
206 except ConverterError as converter_error:
207 if converter_error.errors:
File ~\.conda\envs\tf212\lib\site-packages\tensorflow\lite\python\convert.py:817, in convert_graphdef(input_data, input_tensors, output_tensors, **kwargs)
814 else:
815 model_flags.output_arrays.append(util.get_tensor_name(output_tensor))
--> 817 data = convert(
818 model_flags.SerializeToString(),
819 conversion_flags.SerializeToString(),
820 input_data.SerializeToString(),
821 debug_info_str=debug_info.SerializeToString() if debug_info else None,
822 enable_mlir_converter=enable_mlir_converter)
823 return data
File ~\.conda\envs\tf212\lib\site-packages\tensorflow\lite\python\convert.py:322, in convert(model_flags_str, conversion_flags_str, input_data_str, debug_info_str, enable_mlir_converter)
320 for error_data in _metrics_wrapper.retrieve_collected_errors():
321 converter_error.append_error(error_data)
--> 322 raise converter_error
324 return _run_deprecated_conversion_binary(model_flags_str,
325 conversion_flags_str, input_data_str,
326 debug_info_str)
ConverterError: C:\Users\derry\.conda\envs\tf212\lib\site-packages\keras\layers\merging\concatenate.py:134:0: error: 'tfl.concatenation' op operand #0 must be tensor of 32-bit float or 64-bit signless integer or 32-bit signless integer or 16-bit signless integer or 8-bit signless integer or QI8 type or QUI8 type or 8-bit unsigned integer or 1-bit signless integer values, but got 'tensor<1x2x4x8x!quant.uniform<i16:f32, 1.8310826276035706E-4>>'
<unknown>:0: note: loc(fused["StatefulPartitionedCall:", "StatefulPartitionedCall"]): called from
```
Doing the same process but in int8 yields no errors:
```
q_model_2 = tfmot.quantization.keras.quantize_apply(ann_model)
converter = tf.lite.TFLiteConverter.from_keras_model(q_model2)
converter.optimizations = [tf.lite.Optimize.DEFAULT]
#converter.target_spec.supported_ops = [tf.lite.OpsSet.EXPERIMENTAL_TFLITE_BUILTINS_ACTIVATIONS_INT16_WEIGHTS_INT8]#tf.lite.OpsSet.TFLITE_BUILTINS]
converter.target_spec.supported_ops = [tf.lite.OpsSet.TFLITE_BUILTINS]
quantized_tflite_model2 = converter.convert()
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62014/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/62014/timeline | null | null | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62013 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62013/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62013/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62013/events | https://github.com/tensorflow/tensorflow/issues/62013 | 1,919,050,946 | I_kwDOArmXAs5yYmTC | 62,013 | TFlite memory allocation thrashing with FlexDelegates | {
"login": "sschaetz",
"id": 192171,
"node_id": "MDQ6VXNlcjE5MjE3MQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/192171?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sschaetz",
"html_url": "https://github.com/sschaetz",
"followers_url": "https://api.github.com/users/sschaetz/followers",
"following_url": "https://api.github.com/users/sschaetz/following{/other_user}",
"gists_url": "https://api.github.com/users/sschaetz/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sschaetz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sschaetz/subscriptions",
"organizations_url": "https://api.github.com/users/sschaetz/orgs",
"repos_url": "https://api.github.com/users/sschaetz/repos",
"events_url": "https://api.github.com/users/sschaetz/events{/privacy}",
"received_events_url": "https://api.github.com/users/sschaetz/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 386191887,
"node_id": "MDU6TGFiZWwzODYxOTE4ODc=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response",
"name": "stat:awaiting response",
"color": "f4b400",
"default": false,
"description": "Status - Awaiting response from author"
},
{
"id": 473172988,
"node_id": "MDU6TGFiZWw0NzMxNzI5ODg=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug",
"name": "type:bug",
"color": "159b2e",
"default": false,
"description": "Bug"
},
{
"id": 474725938,
"node_id": "MDU6TGFiZWw0NzQ3MjU5Mzg=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stale",
"name": "stale",
"color": "d4c5f9",
"default": false,
"description": "This label marks the issue/pr stale - to be closed automatically if no activity"
},
{
"id": 750616506,
"node_id": "MDU6TGFiZWw3NTA2MTY1MDY=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:lite",
"name": "comp:lite",
"color": "0052cc",
"default": false,
"description": "TF Lite related issues"
},
{
"id": 1661751498,
"node_id": "MDU6TGFiZWwxNjYxNzUxNDk4",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TFLiteConverter",
"name": "TFLiteConverter",
"color": "bfdadc",
"default": false,
"description": "For issues related to TFLite converter"
},
{
"id": 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 | [
"@sschaetz,\r\nCould you please provide the complete standalone code to reproduce the issue which helps us to analyse the issue in an effective way. 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/62013\">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/62013\">No</a>\n",
"It should be possible to build with both optimization and symbols.\r\nE.g.\r\n\r\n```\r\nbazel build --define=tflite_keep_symbols=true -c opt --copt=-g --strip=never \\\r\n //tensorflow/lite/delegates/flex:libtensorflowlite_flex_jni.so\r\n```"
] | 2023-09-29T10:49:50 | 2023-10-19T17:38:09 | 2023-10-19T01:47:53 | NONE | null | null | null | ### 1. System information
- OS Platform and Distribution macOS, iOS 16.6.1 iPhone 13 Pro:
- TensorFlow installation (pip package or built from source): 2.13.0
- TensorFlow library (version, if pip package or github SHA, if built from source): tflite built from 2.13.0 tag
### 2. Code
I have a model that converts correctly and flags the following flex delegates:
```python
tf.AddV2(tensor<1x33xcomplex<f32>>, tensor<complex<f32>>) -> (tensor<1x33xcomplex<f32>>) : {device = ""}
tf.AddV2(tensor<complex<f32>>, tensor<complex<f32>>) -> (tensor<complex<f32>>) : {device = ""}
tf.Complex(tensor<1x33xf32>, tensor<1x33xf32>) -> (tensor<1x33xcomplex<f32>>) : {device = ""}
tf.Complex(tensor<f32>, tensor<f32>) -> (tensor<complex<f32>>) : {device = ""}
tf.ConcatV2(tensor<1x1x1xcomplex<f32>>, tensor<1x1x64xcomplex<f32>>, tensor<i32>) -> (tensor<1x1x33xcomplex<f32>>) : {device = ""}
tf.GatherV2(tensor<1x1x33xcomplex<f32>>, tensor<i32>, tensor<i32>) -> (tensor<1x33xcomplex<f32>>) : {batch_dims = 0 : i64}
tf.Pow(tensor<complex<f32>>, tensor<complex<f32>>) -> (tensor<complex<f32>>) : {device = ""}
tf.RealDiv(tensor<1x33xcomplex<f32>>, tensor<1x33xcomplex<f32>>) -> (tensor<1x33xcomplex<f32>>) : {device = ""}
tf.SelectV2(tensor<1x1x1xi1>, tensor<1x1x33xcomplex<f32>>, tensor<1x1x33xcomplex<f32>>) -> (tensor<1x1x33xcomplex<f32>>) : {device = ""}
tf.StridedSlice(tensor<1x1x33xcomplex<f32>>, tensor<3xi32>, tensor<3xi32>, tensor<3xi32>) -> (tensor<1x1x1xcomplex<f32>>) : {begin_mask = 7 : i64, ellipsis_mask = 0 : i64, end_mask = 3 : i64, new_axis_mask = 0 : i64, shrink_axis_mask = 0 : i64}
tf.StridedSlice(tensor<1x1x33xcomplex<f32>>, tensor<3xi32>, tensor<3xi32>, tensor<3xi32>) -> (tensor<1x1x64xcomplex<f32>>) : {begin_mask = 3 : i64, ellipsis_mask = 0 : i64, end_mask = 7 : i64, new_axis_mask = 0 : i64, shrink_axis_mask = 0 : i64}
tf.Sub(tensor<complex<f32>>, tensor<complex<f32>>) -> (tensor<complex<f32>>) : {device = ""}
tf.Transpose(tensor<1x1x33xcomplex<f32>>, tensor<3xi32>) -> (tensor<1x1x33xcomplex<f32>>) : {device = ""}
```
### 3. Failure after conversion
When running this model on iOS, and profiling the model, I can see the application spending a lot of time (30%) in `posix_memalign` that are emitted from the flex library which leads to poor performance of the model executing (highlighted in following image):

Is there a way to:
- figure out which flex delegate is causing this? (If I compile the flex library with symbols, I can't seem to turn on optimization which results in an unusable library for me)
- modify the memory allocation/de-allocation strategy to re-ruse existing memory? I suspect this issue is a side-effect of tflite <-> tensorflow interop but that is only a suspicion
- set something like max allowed persistent memory to prevent de-allocation? I also have a suspicion that it might not be tied to a single delegate but by the allocator itself | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62013/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/62013/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62012 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62012/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62012/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62012/events | https://github.com/tensorflow/tensorflow/pull/62012 | 1,918,432,806 | PR_kwDOArmXAs5bfjhc | 62,012 | Bump scipy from 1.9.2 to 1.10.0 in /ci/official/containers/linux_arm64 | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events",
"type": "Bot",
"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": 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": 2421643380,
"node_id": "MDU6TGFiZWwyNDIxNjQzMzgw",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/dependencies",
"name": "dependencies",
"color": "0366d6",
"default": false,
"description": "Pull requests that update a dependency file"
},
{
"id": 2622893001,
"node_id": "MDU6TGFiZWwyNjIyODkzMDAx",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/python",
"name": "python",
"color": "2b67c6",
"default": false,
"description": "Pull requests that update Python code"
}
] | open | false | {
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"Hi @MichaelHudgins, Can you please review this PR ? Thank you!",
"Hi @MichaelHudgins, Can you please review this PR ? Thank you!",
"Hi @MichaelHudgins, Can you please review this PR ? Thank you!",
"Hi @MichaelHudgins, Can you please review this PR ? Thank you!",
"Hi @MichaelHudgins, Can you please review this PR ? Thank you!",
"Hi @MichaelHudgins, Can you please review this PR ? Thank you!"
] | 2023-09-29T00:27:13 | 2024-06-07T16:29:58 | null | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/62012",
"html_url": "https://github.com/tensorflow/tensorflow/pull/62012",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/62012.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/62012.patch",
"merged_at": null
} | Bumps [scipy](https://github.com/scipy/scipy) from 1.9.2 to 1.10.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/scipy/scipy/releases">scipy's releases</a>.</em></p>
<blockquote>
<h1>SciPy 1.10.0 Release Notes</h1>
<p>SciPy <code>1.10.0</code> is the culmination of <code>6</code> months of hard work. It contains
many new features, numerous bug-fixes, improved test coverage and better
documentation. There have been a number of deprecations and API changes
in this release, which are documented below. All users are encouraged to
upgrade to this release, as there are a large number of bug-fixes and
optimizations. Before upgrading, we recommend that users check that
their own code does not use deprecated SciPy functionality (to do so,
run your code with <code>python -Wd</code> and check for <code>DeprecationWarning</code> s).
Our development attention will now shift to bug-fix releases on the
1.10.x branch, and on adding new features on the main branch.</p>
<p>This release requires Python <code>3.8+</code> and NumPy <code>1.19.5</code> or greater.</p>
<p>For running on PyPy, PyPy3 <code>6.0+</code> is required.</p>
<h1>Highlights of this release</h1>
<ul>
<li>A new dedicated datasets submodule (<code>scipy.datasets</code>) has been added, and is
now preferred over usage of <code>scipy.misc</code> for dataset retrieval.</li>
<li>A new <code>scipy.interpolate.make_smoothing_spline</code> function was added. This
function constructs a smoothing cubic spline from noisy data, using the
generalized cross-validation (GCV) criterion to find the tradeoff between
smoothness and proximity to data points.</li>
<li><code>scipy.stats</code> has three new distributions, two new hypothesis tests, three
new sample statistics, a class for greater control over calculations
involving covariance matrices, and many other enhancements.</li>
</ul>
<h1>New features</h1>
<h1><code>scipy.datasets</code> introduction</h1>
<ul>
<li>A new dedicated <code>datasets</code> submodule has been added. The submodules
is meant for datasets that are relevant to other SciPy submodules ands
content (tutorials, examples, tests), as well as contain a curated
set of datasets that are of wider interest. As of this release, all
the datasets from <code>scipy.misc</code> have been added to <code>scipy.datasets</code>
(and deprecated in <code>scipy.misc</code>).</li>
<li>The submodule is based on <a href="https://www.fatiando.org/pooch/latest/">Pooch</a>
(a new optional dependency for SciPy), a Python package to simplify fetching
data files. This move will, in a subsequent release, facilitate SciPy
to trim down the sdist/wheel sizes, by decoupling the data files and
moving them out of the SciPy repository, hosting them externally and</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/scipy/scipy/commit/dde50595862a4f9cede24b5d1c86935c30f1f88a"><code>dde5059</code></a> REL: 1.10.0 final [wheel build]</li>
<li><a href="https://github.com/scipy/scipy/commit/7856f281b016c585b82d03723c4494bcdbdcd4a5"><code>7856f28</code></a> Merge pull request <a href="https://redirect.github.com/scipy/scipy/issues/17696">#17696</a> from tylerjereddy/treddy_110_final_prep</li>
<li><a href="https://github.com/scipy/scipy/commit/205b6243c6d075d05695e7ac6d007e0f03bfbf42"><code>205b624</code></a> DOC: add missing author</li>
<li><a href="https://github.com/scipy/scipy/commit/1ab9f1b10145f0a974d5531700e72d1fb4229b76"><code>1ab9f1b</code></a> DOC: update 1.10.0 relnotes</li>
<li><a href="https://github.com/scipy/scipy/commit/ac2f45fbe1e39a8f52c1ea2e68764009f02973c0"><code>ac2f45f</code></a> MAINT: integrate._qmc_quad: mark as private with preceding underscore</li>
<li><a href="https://github.com/scipy/scipy/commit/3e0ae1a21f51ebee3a77733c42700d87a0c35d7d"><code>3e0ae1a</code></a> REV: integrate.qmc_quad: delay release to SciPy 1.11.0</li>
<li><a href="https://github.com/scipy/scipy/commit/34cdf05c86548de1c4ca1b2798cdc23885af807b"><code>34cdf05</code></a> MAINT: FFT pybind11 fixups</li>
<li><a href="https://github.com/scipy/scipy/commit/843500aabde17aaf1eec65c589d50bd12ee35039"><code>843500a</code></a> Merge pull request <a href="https://redirect.github.com/scipy/scipy/issues/17689">#17689</a> from mdhaber/gh17686</li>
<li><a href="https://github.com/scipy/scipy/commit/089924b61012a106ffa4f58939b0180124051a0b"><code>089924b</code></a> REL: integrate.qmc_quad: remove from release notes</li>
<li><a href="https://github.com/scipy/scipy/commit/3e47110f10e3267d228e9da84174f3cee325e7c3"><code>3e47110</code></a> REL: 1.10.0rc3 unreleased</li>
<li>Additional commits viewable in <a href="https://github.com/scipy/scipy/compare/v1.9.2...v1.10.0">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
You can trigger a rebase of this PR by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/tensorflow/tensorflow/network/alerts).
</details>
> **Note**
> Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62012/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/62012/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/62011 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62011/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62011/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62011/events | https://github.com/tensorflow/tensorflow/pull/62011 | 1,918,221,599 | PR_kwDOArmXAs5be2FT | 62,011 | [oneDNN] Check for bf16 support on CPU | {
"login": "kanvi-nervana",
"id": 42224278,
"node_id": "MDQ6VXNlcjQyMjI0Mjc4",
"avatar_url": "https://avatars.githubusercontent.com/u/42224278?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kanvi-nervana",
"html_url": "https://github.com/kanvi-nervana",
"followers_url": "https://api.github.com/users/kanvi-nervana/followers",
"following_url": "https://api.github.com/users/kanvi-nervana/following{/other_user}",
"gists_url": "https://api.github.com/users/kanvi-nervana/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kanvi-nervana/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kanvi-nervana/subscriptions",
"organizations_url": "https://api.github.com/users/kanvi-nervana/orgs",
"repos_url": "https://api.github.com/users/kanvi-nervana/repos",
"events_url": "https://api.github.com/users/kanvi-nervana/events{/privacy}",
"received_events_url": "https://api.github.com/users/kanvi-nervana/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 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"
},
{
"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": "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 | [] | 2023-09-28T20:24:51 | 2023-10-04T06:32:31 | 2023-10-04T06:32:31 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/62011",
"html_url": "https://github.com/tensorflow/tensorflow/pull/62011",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/62011.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/62011.patch",
"merged_at": "2023-10-04T06:32:31"
} | This PR adds checks for BF16 since BF16 with oneDNN is not supported on AVX2 or earlier CPUs. The changes in remapper make sure that the fusions do not happen if oneDNN is enabled and BF16 is not supported. The tests for fused ops are skipped in this case as well. The changes in layout pass make sure that the translation to MKL op does not happen for the same reason and the op falls back to Eigen.
Note: Changes in AMP pass are not needed as all oneDNN ops with the exception of fused ops are supported with Eigen and will fallback to Eigen on AVX2 machines | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62011/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/62011/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/62010 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62010/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62010/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62010/events | https://github.com/tensorflow/tensorflow/pull/62010 | 1,917,949,150 | PR_kwDOArmXAs5bd65v | 62,010 | Update release branch to 2.15 | {
"login": "cjflan",
"id": 89868659,
"node_id": "MDQ6VXNlcjg5ODY4NjU5",
"avatar_url": "https://avatars.githubusercontent.com/u/89868659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cjflan",
"html_url": "https://github.com/cjflan",
"followers_url": "https://api.github.com/users/cjflan/followers",
"following_url": "https://api.github.com/users/cjflan/following{/other_user}",
"gists_url": "https://api.github.com/users/cjflan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/cjflan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cjflan/subscriptions",
"organizations_url": "https://api.github.com/users/cjflan/orgs",
"repos_url": "https://api.github.com/users/cjflan/repos",
"events_url": "https://api.github.com/users/cjflan/events{/privacy}",
"received_events_url": "https://api.github.com/users/cjflan/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: @nitins17 "
] | 2023-09-28T17:07:56 | 2023-10-02T13:48:05 | 2023-10-02T13:48:04 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/62010",
"html_url": "https://github.com/tensorflow/tensorflow/pull/62010",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/62010.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/62010.patch",
"merged_at": "2023-10-02T13:48:04"
} | Update the release branch for the next release version | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62010/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/62010/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/62009 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62009/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62009/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62009/events | https://github.com/tensorflow/tensorflow/pull/62009 | 1,917,923,466 | PR_kwDOArmXAs5bd1Oh | 62,009 | [Tosa] Match the reference TFL Exp calculation in the Softmax TOSA legalization | {
"login": "Tessil",
"id": 21028116,
"node_id": "MDQ6VXNlcjIxMDI4MTE2",
"avatar_url": "https://avatars.githubusercontent.com/u/21028116?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Tessil",
"html_url": "https://github.com/Tessil",
"followers_url": "https://api.github.com/users/Tessil/followers",
"following_url": "https://api.github.com/users/Tessil/following{/other_user}",
"gists_url": "https://api.github.com/users/Tessil/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Tessil/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Tessil/subscriptions",
"organizations_url": "https://api.github.com/users/Tessil/orgs",
"repos_url": "https://api.github.com/users/Tessil/repos",
"events_url": "https://api.github.com/users/Tessil/events{/privacy}",
"received_events_url": "https://api.github.com/users/Tessil/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 | [] | 2023-09-28T16:52:01 | 2023-12-15T05:32:10 | 2023-12-15T05:32:09 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/62009",
"html_url": "https://github.com/tensorflow/tensorflow/pull/62009",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/62009.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/62009.patch",
"merged_at": "2023-12-15T05:32:09"
} | Hi,
This PR modifies the LUT calculation for the EXP part of the `tfl.softmax` TOSA legalization to match the [TFL Softmax reference kernel](https://github.com/tensorflow/tensorflow/blob/5d4c1b0c67e2cfdcdea416e2314fa676aa072c07/tensorflow/lite/kernels/internal/reference/softmax.h#L65) for a bit-exact result. | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62009/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/62009/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/62008 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62008/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62008/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62008/events | https://github.com/tensorflow/tensorflow/pull/62008 | 1,917,898,757 | PR_kwDOArmXAs5bdvwQ | 62,008 | [oneDNN]: Upgrade oneDNN version to v3.3 | {
"login": "bhavani-subramanian",
"id": 28113241,
"node_id": "MDQ6VXNlcjI4MTEzMjQx",
"avatar_url": "https://avatars.githubusercontent.com/u/28113241?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bhavani-subramanian",
"html_url": "https://github.com/bhavani-subramanian",
"followers_url": "https://api.github.com/users/bhavani-subramanian/followers",
"following_url": "https://api.github.com/users/bhavani-subramanian/following{/other_user}",
"gists_url": "https://api.github.com/users/bhavani-subramanian/gists{/gist_id}",
"starred_url": "https://api.github.com/users/bhavani-subramanian/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bhavani-subramanian/subscriptions",
"organizations_url": "https://api.github.com/users/bhavani-subramanian/orgs",
"repos_url": "https://api.github.com/users/bhavani-subramanian/repos",
"events_url": "https://api.github.com/users/bhavani-subramanian/events{/privacy}",
"received_events_url": "https://api.github.com/users/bhavani-subramanian/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": 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": 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": "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 | [
"Tagging @penpornk for review. "
] | 2023-09-28T16:36:25 | 2023-10-12T11:56:06 | 2023-10-12T11:56:05 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/62008",
"html_url": "https://github.com/tensorflow/tensorflow/pull/62008",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/62008.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/62008.patch",
"merged_at": "2023-10-12T11:56:05"
} | This PR upgrades oneDNN version from v3.2.1 to v3.3. | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62008/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/62008/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/62007 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62007/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62007/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62007/events | https://github.com/tensorflow/tensorflow/pull/62007 | 1,917,847,930 | PR_kwDOArmXAs5bdkei | 62,007 | Fix typo in `shuffle` docstring | {
"login": "aazuspan",
"id": 50475791,
"node_id": "MDQ6VXNlcjUwNDc1Nzkx",
"avatar_url": "https://avatars.githubusercontent.com/u/50475791?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aazuspan",
"html_url": "https://github.com/aazuspan",
"followers_url": "https://api.github.com/users/aazuspan/followers",
"following_url": "https://api.github.com/users/aazuspan/following{/other_user}",
"gists_url": "https://api.github.com/users/aazuspan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/aazuspan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aazuspan/subscriptions",
"organizations_url": "https://api.github.com/users/aazuspan/orgs",
"repos_url": "https://api.github.com/users/aazuspan/repos",
"events_url": "https://api.github.com/users/aazuspan/events{/privacy}",
"received_events_url": "https://api.github.com/users/aazuspan/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1114343535,
"node_id": "MDU6TGFiZWwxMTE0MzQzNTM1",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:data",
"name": "comp:data",
"color": "0052cc",
"default": false,
"description": "tf.data related issues"
},
{
"id": 1169364259,
"node_id": "MDU6TGFiZWwxMTY5MzY0MjU5",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:XS",
"name": "size:XS",
"color": "adafea",
"default": false,
"description": "CL Change Size: Extra Small"
}
] | closed | false | {
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"Hi @aazuspan, 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-09-28T16:05:12 | 2023-09-29T07:09:10 | 2023-09-29T05:09:59 | NONE | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/62007",
"html_url": "https://github.com/tensorflow/tensorflow/pull/62007",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/62007.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/62007.patch",
"merged_at": null
} | This fixes formatting by closing an inline code block. | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62007/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/62007/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/62006 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62006/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62006/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62006/events | https://github.com/tensorflow/tensorflow/issues/62006 | 1,917,822,515 | I_kwDOArmXAs5yT6Yz | 62,006 | tf.train.Checkpoint.restore does not restore the tf.data.Iterator state. | {
"login": "ujjwalnur",
"id": 130743548,
"node_id": "U_kgDOB8r8_A",
"avatar_url": "https://avatars.githubusercontent.com/u/130743548?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ujjwalnur",
"html_url": "https://github.com/ujjwalnur",
"followers_url": "https://api.github.com/users/ujjwalnur/followers",
"following_url": "https://api.github.com/users/ujjwalnur/following{/other_user}",
"gists_url": "https://api.github.com/users/ujjwalnur/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ujjwalnur/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ujjwalnur/subscriptions",
"organizations_url": "https://api.github.com/users/ujjwalnur/orgs",
"repos_url": "https://api.github.com/users/ujjwalnur/repos",
"events_url": "https://api.github.com/users/ujjwalnur/events{/privacy}",
"received_events_url": "https://api.github.com/users/ujjwalnur/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": 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": 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 | [
"### Code for the issue (CoLab) :\r\n```\r\ndb_iter = iter(dataset)\r\n# ...\r\nfor epoch in range(10):\r\n manager.restore_or_initialize()\r\n # ...\r\n db_iter = iter(dataset) # Reset the iterator\r\n # ...\r\n```\r\nThe iterator is reset similarly at the beginning of each epoch by reassigning db_iter = iter(dataset). However, there's a subtle issue in this code. After the iterator is reset in the inner loop, it is no longer used in the next iteration because it's overwritten with a new iterator. This means that the checkpoint saves the initial iterator state, but it doesn't affect the dataset iteration because the iterator is recreated in each iteration\r\n\r\nTo solve this problem I have used it as \r\n```\r\niterator = iter(dataset)\r\n# ...\r\nfor epoch in range(10):\r\n manager.restore_or_initialize()\r\n iterator = iter(dataset) # Reset the iterator\r\n # ...\r\n```\r\n### CODE\r\n``` import os\r\nimport numpy as np\r\nimport tensorflow as tf\r\nclass Net(tf.keras.Model):\r\n def __init__(self):\r\n super(Net, self).__init__()\r\n self.x = tf.Variable(tf.keras.initializers.GlorotUniform()(shape=[1]))\r\n\r\n def call(self, inputs):\r\n return inputs\r\n\r\n\r\ndef main():\r\n tf.random.set_seed(123)\r\n net = Net()\r\n optim = tf.optimizers.Adam(learning_rate=0.001)\r\n dataset = tf.data.Dataset.from_tensor_slices((np.arange(10)))\r\n dataset = dataset.shuffle(10, reshuffle_each_iteration=True)\r\n dataset = dataset.batch(2)\r\n # Create a TensorFlow iterator for the dataset\r\n iterator = iter(dataset)\r\n step = tf.Variable(0)\r\n checkpoint = tf.train.Checkpoint(\r\n step=step, optimizer=optim, net=net\r\n )\r\n manager = tf.train.CheckpointManager(checkpoint, \"./ckpts\", max_to_keep=50)\r\n manager.restore_or_initialize()\r\n print(step)\r\n for epoch in range(10):\r\n manager.restore_or_initialize()\r\n iterator = iter(dataset) # Reset the iterator\r\n for _ in range(dataset.cardinality()):\r\n batch = next(iterator)\r\n step.assign_add(1)\r\n print(batch)\r\n manager.save()\r\n print(f\"Epoch {epoch} finished.\")\r\n\r\nif __name__ == \"__main__\":\r\n main()\r\n```\r\n\r\n",
"Hi @arjun988 . Thank you for your comment. However, I failed to get your point. I am elaborating below : \r\n\r\n**My code snippet**\r\n```\r\n\r\nfor epoch in range(10):\r\n manager.restore_or_initialize()\r\n for _ in range(dataset.cardinality()):\r\n batch = next(db_iter)\r\n step.assign_add(1)\r\n print(batch)\r\n db_iter = iter(dataset)\r\n manager.save()\r\n print(f\"Epoch {epoch} finished.\")\r\n```\r\nLet's see it from Epoch 1\r\n\r\n**Epoch 1**\r\n\r\n1. `manager` performs initialization as there are no checkpoints in the beginning.\r\n2. `db_iter` is in an initialized atate.\r\n3. At the end `db_iter` is reset. \r\n4. `manager.save()` causes the current state of `db_iter` which is initialied, to be saved.\r\n\r\n**Epoch 2**\r\n\r\n1. `manager` now restores the first checkpoint and thus `db_iter` should be in an initialized state.\r\n\r\nHowever, I would get a `StopIterationError`. Why is that ? `db_iter` is in an initialized state.\r\n\r\nBy the way, the whole point of saving the iterator is to be able to reproduce experiments when fine-tuning from a checkpoint.",
"Hi @ujjwalnur \r\nIn your code snippet, you correctly reset db_iter to the beginning of the dataset after each epoch using db_iter = iter(dataset). However, when you save the checkpoint using manager.save(), it's saving the state of the iterator at that point, which is at the beginning of the dataset.\r\n\r\nWhen you restore the checkpoint at the start of the next epoch using manager.restore_or_initialize(), it correctly restores the state of the iterator to where it was at the end of the previous epoch (i.e., the beginning of the dataset). However, when you subsequently call next(db_iter) inside the epoch loop, it will attempt to get the next element from the iterator, which is at the beginning of the dataset. This is why you are getting a StopIterationError because you're trying to iterate beyond the end of the dataset.\r\n\r\nHere is the code for the same \r\n```\r\n\r\ndb_iter = iter(dataset) # Move this line here, before the epoch loop\r\n\r\nfor epoch in range(10):\r\n manager.restore_or_initialize()\r\n for _ in range(dataset.cardinality()):\r\n batch = next(db_iter)\r\n step.assign_add(1)\r\n print(batch)\r\n manager.save()\r\n print(f\"Epoch {epoch} finished.\")\r\n\r\n```\r\n\r\nWith this change, the iterator is reset to the beginning of the dataset only once at the beginning of the training process, and it will correctly continue the iteration after restoring the checkpoint.",
"> db_iter = iter(dataset) # Move this line here, before the epoch loop\r\n> \r\n> for epoch in range(10):\r\n> manager.restore_or_initialize()\r\n> for _ in range(dataset.cardinality()):\r\n> batch = next(db_iter)\r\n> step.assign_add(1)\r\n> print(batch)\r\n> manager.save()\r\n> print(f\"Epoch {epoch} finished.\")\r\n> ```\r\n> \r\n> With this change, the iterator is reset to the beginning of the dataset only once at the beginning of the training process, and it will correctly continue the iteration after restoring the checkpoint.\r\n\r\nIf you move line `db_iter = iter(dataset)` to the top, it will never iterate beyond the first epoch since `db_iter` will be exhausted. Setting `db_iter = iter(dataset)` is a compulsion after the end of an epoch since we are working with an iterator directly. \r\n\r\nTherefore, I cannot move `db_iter = iter(dataset)` outside the inner loop in my original code. \r\n\r\nAbout `manager.restore_or_initialize()` won't be called at the start of every epoch. It will be called once during the beginning of the script. The `manager.restore_or_initialize()` inside the loop was just a result of some testing. In reality, \r\nit will be more like the following : \r\n\r\n```\r\nmanager.restore_or_initialize()\r\nfor epoch in range(10):\r\n ....\r\n```\r\nIn the description ( thanks a lot !! ) you gave, I was able to follow you nicely until the very last line. If you note, you say that \r\n\r\n> This is why you are getting a StopIterationError because you're trying to iterate beyond the end of the dataset.\r\n\r\nWhile, the reality is that the iterator is at the beginning of the dataset. It is either I am not catching some very basic concept or there is something not quite right about restoration of the iterator.",
"Thanks a lot your explanation have helped , I am sorry for any Confusion caused, Let's talk over this \r\nYou are correct in your original code, you have the line db_iter = iter(dataset) inside the epoch loop, which resets the iterator to the beginning of the dataset at the start of each epoch. This is a valid approach when working with iterators in this manner.\r\n\r\nThe StopIterationError occurs because when you restore the checkpoint, it correctly restores the iterator's state to where it was at the end of the previous epoch, which is at the beginning of the dataset. The error happens because, during the epoch loop, you attempt to get the next element from the iterator using batch = next(db_iter), but there are no elements left to iterate in the dataset since it's already at the beginning. Try to expand after this what are the different approach you have thought .\r\n",
"Hi @ujjwalnur ,\r\n\r\nI have replicated the issue and attached [gist](https://colab.sandbox.google.com/gist/SuryanarayanaY/e5e6d694828f1213ef8b916823199636/62006.ipynb) here. Please check from your side to check is it the same issue you are trying to bring.\r\n\r\nDuring second call all the code executing again starting from `dataset` creation to `iter(dataset)` etc. But it also surprised me why iter(dataset) not working even though we ran the complete code again. I am not sure at this point whether this is intended but as per my preliminary observations there seems some issue. Will dig into more or escalate to the concern SME.\r\n\r\nThanks!"
] | 2023-09-28T15:49:30 | 2023-10-17T21:03:03 | 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
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
### GPU model and memory
_No response_
### Current behavior?
`tf.data.Dataset` iterators are supported in `tf.train.Checkpoint`. When I try to restore a checkpoint, I always get a `StopIteration` error. This should not be the case because :
1. I save the checkpoint only at the end of an epoch.
2. Before saving the checkpoint, I always call `db_iter=iter(dataset)` ,so it should give me a new iterator.
In prior versions of TF there were functions like `make_initializable_iterator()` which are now deprecated. Since, there is no native mechanism to reset a python iterator to beginning, I wonder why `tf.train.Checkpoint.restore()` does not save the iterator state properly.
I also understand well that one can just loop over the dataset like:
```
import tensorflow as tf
ds = tf.data.Dataset.range(50)
for index, data in ds:
# Do something
```
However, saving the dataset in the checkpoint has two problems:
a) **I have not explicitly tested this** For a very large dataset like MSCOCO or OpenImages or even Imagenet, what does saving the dataset mean , if I already have the dataset as TFRecords ? Will it end up saving the whole dataset again inside the checkpoint ? At least, `tf.data.Dataset.save()` points towards this. In case this is it, I would never like to save a large dataset directly into the checkpoint.
b) **This is fully tested** If I experiment with a small simple dataset ( e.g:- `tf.data.Dataset.range(10)` ) and save it in the checkpoint, then it does not restore the state of the iterator. This observation is the same as #48178 which is still unresolved.
### Standalone code to reproduce the issue
```shell
import os
import numpy as np
import tensorflow as tf
from absl import app
class Net(tf.keras.Model):
def __init__(self):
super(Net, self).__init__()
self.x = tf.Variable(tf.keras.initializers.GlorotUniform()(shape=[1]))
def call(self, inputs):
return inputs
def main(argv):
del argv
tf.random.set_seed(123)
net = Net()
optim = tf.optimizers.Adam(learning_rate=0.001)
dataset = tf.data.Dataset.from_tensor_slices((np.arange(10)))
dataset = dataset.shuffle(10, reshuffle_each_iteration=True)
dataset = dataset.batch(2)
db_iter = iter(dataset)
step = tf.Variable(0)
checkpoint = tf.train.Checkpoint(
step=step, optimizer=optim, net=net, db_iter=db_iter
)
manager = tf.train.CheckpointManager(checkpoint, "./ckpts", max_to_keep=50)
manager.restore_or_initialize()
print(step)
for epoch in range(10):
manager.restore_or_initialize()
for _ in range(dataset.cardinality()):
batch = next(db_iter)
step.assign_add(1)
print(batch)
db_iter = iter(dataset)
manager.save()
print(f"Epoch {epoch} finished.")
if __name__ == "__main__":
app.run(main)
```
```
### Relevant log output
```shell
The first time, it will print something like :
<tf.Variable 'Variable:0' shape=() dtype=int32, numpy=0>
tf.Tensor([3 6], shape=(2,), dtype=int64)
tf.Tensor([4 0], shape=(2,), dtype=int64)
tf.Tensor([1 5], shape=(2,), dtype=int64)
tf.Tensor([7 8], shape=(2,), dtype=int64)
tf.Tensor([2 9], shape=(2,), dtype=int64)
Epoch 0 finished.
tf.Tensor([6 3], shape=(2,), dtype=int64)
tf.Tensor([0 5], shape=(2,), dtype=int64)
tf.Tensor([2 8], shape=(2,), dtype=int64)
tf.Tensor([1 7], shape=(2,), dtype=int64)
tf.Tensor([4 9], shape=(2,), dtype=int64)
Epoch 1 finished.
tf.Tensor([0 3], shape=(2,), dtype=int64)
tf.Tensor([1 4], shape=(2,), dtype=int64)
tf.Tensor([6 7], shape=(2,), dtype=int64)
tf.Tensor([9 8], shape=(2,), dtype=int64)
tf.Tensor([5 2], shape=(2,), dtype=int64)
Epoch 2 finished.
tf.Tensor([3 7], shape=(2,), dtype=int64)
tf.Tensor([0 9], shape=(2,), dtype=int64)
tf.Tensor([4 2], shape=(2,), dtype=int64)
tf.Tensor([1 8], shape=(2,), dtype=int64)
tf.Tensor([5 6], shape=(2,), dtype=int64)
and so on....
From next time onwards:
raise StopIteration
StopIteration
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62006/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/62006/timeline | null | null | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62005 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62005/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62005/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62005/events | https://github.com/tensorflow/tensorflow/pull/62005 | 1,917,774,717 | PR_kwDOArmXAs5bdUf9 | 62,005 | [TOSA] Limit ReLU clamp_max attribute to the max value of the quantized type | {
"login": "Tessil",
"id": 21028116,
"node_id": "MDQ6VXNlcjIxMDI4MTE2",
"avatar_url": "https://avatars.githubusercontent.com/u/21028116?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Tessil",
"html_url": "https://github.com/Tessil",
"followers_url": "https://api.github.com/users/Tessil/followers",
"following_url": "https://api.github.com/users/Tessil/following{/other_user}",
"gists_url": "https://api.github.com/users/Tessil/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Tessil/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Tessil/subscriptions",
"organizations_url": "https://api.github.com/users/Tessil/orgs",
"repos_url": "https://api.github.com/users/Tessil/repos",
"events_url": "https://api.github.com/users/Tessil/events{/privacy}",
"received_events_url": "https://api.github.com/users/Tessil/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": 1169364259,
"node_id": "MDU6TGFiZWwxMTY5MzY0MjU5",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:XS",
"name": "size:XS",
"color": "adafea",
"default": false,
"description": "CL Change Size: Extra Small"
}
] | open | false | {
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"Hi @rsuderman, Can you please review this PR ? Thank you!",
"Hi @jpienaar, Can you please review this PR ? Thank you!",
"Hi @rdzhabarov, Can you please review this PR ? Thank you!",
"Hi @jpienaar, Can you please review this PR ? Thank you!",
"Hi @jpienaar, Can you please review this PR ? Thank you!"
] | 2023-09-28T15:21:03 | 2024-06-07T16:29:36 | null | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/62005",
"html_url": "https://github.com/tensorflow/tensorflow/pull/62005",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/62005.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/62005.patch",
"merged_at": null
} | Hi,
The `max_val` of [tosa.clamp](https://www.mlplatform.org/tosa/tosa_spec.html#_clamp) is an int8/int16 value, it should thus be restricted to the int8/int16 max value during legalization which the legalization does. | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62005/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/62005/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/62004 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62004/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62004/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62004/events | https://github.com/tensorflow/tensorflow/issues/62004 | 1,917,633,179 | I_kwDOArmXAs5yTMKb | 62,004 | TimeDistributed not compatible with multi-output models | {
"login": "gutza1",
"id": 3935374,
"node_id": "MDQ6VXNlcjM5MzUzNzQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/3935374?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gutza1",
"html_url": "https://github.com/gutza1",
"followers_url": "https://api.github.com/users/gutza1/followers",
"following_url": "https://api.github.com/users/gutza1/following{/other_user}",
"gists_url": "https://api.github.com/users/gutza1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gutza1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gutza1/subscriptions",
"organizations_url": "https://api.github.com/users/gutza1/orgs",
"repos_url": "https://api.github.com/users/gutza1/repos",
"events_url": "https://api.github.com/users/gutza1/events{/privacy}",
"received_events_url": "https://api.github.com/users/gutza1/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 | [
"@gutza1 Sorry for the late response!\r\nAs per this [PR](https://github.com/tensorflow/tensorflow/pull/40993) TimeDistributed is compatible with multi-output models. Please check the similar [issue](https://github.com/tensorflow/tensorflow/issues/40896). \r\nCould you please provide the simple code snippet which pinpoints the issue or error you are facing while execution.Thank you!",
"After some further thought, I think the issue might be with how I am defining the outputs. My network is importing a pre-trained CNN and trying to extract the outputs of its intermediate layers for use in a U-Net like structure. Thus, I used the following code to build a new model derived from the old model:\r\n\r\n`new_model = tf.keras.models.Model(inputs=cnn_input, outputs=[cnn_final_output,cnn_intermediate_output_1, etc...])`\r\n\r\nIn the issue you sent, the multiple outputs are returned functionally. Would I have to create a custom layer that replicates the example given in order to use TimeDistributed with multiple outputs?",
"@gutza1 It would be helpful for us if you could provide the complete code snippet to replicate the issue reported?\r\nThank you!",
"The code is split across two segments. The first is in the initialization of the custom Model subclass I use:\r\n\r\n\r\n```\r\nself.cnn_model = cnn_model\r\n...\r\nself.cnn_output_layers = []\r\n\r\nfor i in range(len(cnn_layers)):\r\nself.cnn_output_models.append(cnn_model.get_layer(cnn_layers[i]).output)\r\n\r\nself.cnn_model = Model(inputs=cnn_input, outputs=[self.cnn_model.output] + self.cnn_output_layers)\r\n\r\nThen, the execution is in the custom call method:\r\n\r\ndef call(self, inputs, states=None, return_state=False, training=False):\r\ninput_images = inputs[0]\r\n...\r\nmask = input_timesteps[:, :, 0] > 0.0\r\n...\r\ncnn_output = tfl.TimeDistributed(self.cnn_model)(input_images, mask=mask)\r\n```",
"I have returned to this issue. I am now willing to share my code, which has undergone significant refactoring.\r\n```\r\nimport tensorflow as tf\r\nfrom tensorflow.keras import layers as tfl\r\nfrom tensorflow.keras.models import Model\r\n\r\nclass RNNCNNResidualModel(tf.keras.Model):\r\n def __init__(self, rnn_units, cnn_model, cnn_layers, unet_filters, inner_conv_size=3, inner_conv_stride=1, weight_decay=1e-4, leaky_alpha=0.2):\r\n super().__init__(self)\r\n\r\n self.rnn_units = rnn_units\r\n self.cnn_model = cnn_model\r\n self.cnn_layers = cnn_layers\r\n self.unet_filters = unet_filters\r\n self.inner_conv_size = inner_conv_size\r\n self.inner_conv_stride = inner_conv_stride\r\n self.weight_decay = weight_decay\r\n self.leaky_alpha = leaky_alpha\r\n \r\n cnn_input = self.cnn_model.input\r\n \r\n #assemble list of cnn output layers by name\r\n\r\n #self.cnn_output_models = []\r\n cnn_outputs = [self.cnn_model.output]\r\n\r\n for i in range(len(cnn_layers)):\r\n #new_model = Model(inputs=cnn_input, outputs=cnn_model.get_layer(self.cnn_layers[i]).output)\r\n #new_model.trainable = False\r\n #self.cnn_output_models.append(new_model)\r\n cnn_outputs.append(cnn_model.get_layer(self.cnn_layers[i]).output)\r\n \r\n self.cnn_model = Model(inputs=cnn_input, outputs=cnn_outputs)\r\n self.cnn_model.trainable = False\r\n\r\n self.lstm_cell = tfl.LSTM(self.rnn_units, input_shape = [None, 2], return_sequences=True, return_state=True)\r\n self.dense = tfl.Dense(1, activation=\"linear\", kernel_initializer='he_normal')\r\n\r\n self.conv_lstm = tfl.ConvLSTM2D(input_shape = [None, 6, 6, self.unet_filters[i]],\r\n return_sequences=True, return_state=True,\r\n filters=self.rnn_units, \r\n kernel_size = (self.inner_conv_size, self.inner_conv_size), \r\n strides = (self.inner_conv_stride, self.inner_conv_stride),\r\n padding = \"same\",\r\n kernel_initializer=\"he_normal\", \r\n kernel_regularizer=tf.keras.regularizers.l2(self.weight_decay))\r\n self.conv_lstm.build([None, None, 6, 6, self.unet_filters[0]])\r\n\r\n self.decoder = self.init_decoder()\r\n\r\n def init_decoder(self):\r\n\r\n upsampling_output = self.cnn_model.output[1]\r\n for i in range(len(self.cnn_model.output)-2):\r\n cnn_output = self.cnn_model.output[i+2]\r\n upsampling_output = tf.concat([cnn_output, upsampling_output], axis=-1)\r\n new_output = tfl.Convolution2D(filters=32, \r\n kernel_size = (self.inner_conv_size, self.inner_conv_size), \r\n strides = (self.inner_conv_stride, self.inner_conv_stride),\r\n padding = \"same\",\r\n kernel_initializer=\"he_normal\", \r\n kernel_regularizer=tf.keras.regularizers.l2(self.weight_decay))(upsampling_output)\r\n new_output = tfl.BatchNormalization()(new_output)\r\n new_output = tfl.Activation(tfl.LeakyReLU(self.leaky_alpha))(new_output)\r\n upsampling_output = tf.concat([upsampling_output, new_output], axis=-1)\r\n upsampling_output = tfl.Conv2DTranspose(filters=self.unet_filters[i + 2], \r\n kernel_size = (3, 3), \r\n strides = (2, 2), \r\n padding = \"valid\",\r\n kernel_initializer=\"he_normal\", \r\n kernel_regularizer=tf.keras.regularizers.l2(self.weight_decay))(upsampling_output)\r\n \r\n upsampling_output = tfl.Cropping2D(cropping=((5, 5), (5, 5)))(upsampling_output)\r\n\r\n decoder_model = Model(inputs=list(self.cnn_model.output[1:]),outputs=upsampling_output)\r\n return decoder_model\r\n\r\n def call(self, inputs, states=None, return_state=False, training=False):\r\n input_images = inputs[0]\r\n input_timesteps = inputs[1]\r\n mask = input_timesteps[:, :, 0] > 0.0\r\n\r\n cnn_outputs = tfl.TimeDistributed(self.cnn_model)(input_images, training=training, mask=mask)\r\n fgr_output = cnn_outputs[0]\r\n if states is None:\r\n states = [self.lstm_cell.get_initial_state(input_timesteps), self.conv_lstm.get_initial_state(cnn_outputs[0])]\r\n lstm_output = tfl.Multiply()([cnn_outputs[0], tf.expand_dims(tf.expand_dims(input_timesteps, axis=-1), axis=-1)])\r\n lstm_output, conv_cell_states, conv_carry = self.conv_lstm(lstm_output, \r\n initial_state=states[1], \r\n training=training, \r\n mask=mask)\r\n states[1] = [conv_cell_states, conv_carry]\r\n \r\n upsampling_output = tfl.TimeDistributed(self.decoder)([lstm_output] + cnn_outputs[1:], training=training, mask=mask)\r\n\r\n image_output = tfl.Add()([input_images, upsampling_output])\r\n image_output = tfl.ReLU(max_value = 1.0)(image_output)\r\n\r\n lstm_input = tfl.Concatenate()([fgr_output, input_timesteps])\r\n lstm_output, cell_states, carry = self.lstm_cell(lstm_input, initial_state=states[0], training=training, mask=mask)\r\n time_dense = self.dense(lstm_output)\r\n fgr_output = tfl.Add()([fgr_output, time_dense])\r\n fgr_output = tfl.Activation(tfl.ReLU())(fgr_output)\r\n states[0] = [cell_states, carry]\r\n output = [image_output, fgr_output]\r\n #x = self.dense(x, training=training)\r\n\r\n if return_state:\r\n return output, states\r\n else:\r\n return output\r\n```\r\n\r\nIn addition, I have performed a full stack trace of the error:\r\n\r\n```\r\n---------------------------------------------------------------------------\r\nAttributeError Traceback (most recent call last)\r\n[/Users/[REDACTED]/Peter](https://file+.vscode-resource.vscode-cdn.net/Users/[REDACTED]) DL/TRG_project_recurrent_cnn_residual_unet_instantaneous_train.ipynb Cell 1 line 1\r\n [176](vscode-notebook-cell:/Users/[REDACTED]%20DL/TRG_project_recurrent_cnn_residual_unet_instantaneous_train.ipynb#W0sZmlsZQ%3D%3D?line=175) cnn_model.trainable = False\r\n [177](vscode-notebook-cell:/Users/[REDACTED]%20DL/TRG_project_recurrent_cnn_residual_unet_instantaneous_train.ipynb#W0sZmlsZQ%3D%3D?line=176) model = RNNCNNResidualModel(N_A, cnn_model, [\"activation_239\", \"average_pooling2d_44\", \"average_pooling2d_19\", \"average_pooling2d_6\", \"conv2d\"], [1980, 1452[/](https://file+.vscode-resource.vscode-cdn.net/)4, 660[/](https://file+.vscode-resource.vscode-cdn.net/)4, 264[/](https://file+.vscode-resource.vscode-cdn.net/)4, 66[/](https://file+.vscode-resource.vscode-cdn.net/)2, 1])\r\n--> [179](vscode-notebook-cell:/Users/[REDACTED]%20DL/TRG_project_recurrent_cnn_residual_unet_instantaneous_train.ipynb#W0sZmlsZQ%3D%3D?line=178) model.build([tf.TensorShape([None, None, 101, 101, 1]), tf.TensorShape([None, None, 1])])\r\n [181](vscode-notebook-cell:/Users/[REDACTED]%20DL/TRG_project_recurrent_cnn_residual_unet_instantaneous_train.ipynb#W0sZmlsZQ%3D%3D?line=180) #Initialize inputs\r\n [183](vscode-notebook-cell:/Users/[REDACTED]%20DL/TRG_project_recurrent_cnn_residual_unet_instantaneous_train.ipynb#W0sZmlsZQ%3D%3D?line=182) plot_model(model, to_file='rnn_model_plot.png', show_shapes=True, show_layer_names=True)\r\n\r\nFile [~/mambaforge/envs/tensorflow/lib/python3.10/site-packages/keras/src/engine/training.py:521](https://file+.vscode-resource.vscode-cdn.net/Users/[REDACTED]%20DL/~/mambaforge/envs/tensorflow/lib/python3.10/site-packages/keras/src/engine/training.py:521), in Model.build(self, input_shape)\r\n 516 raise ValueError(\r\n 517 \"You can only call `build()` on a model if its \"\r\n 518 \"`call()` method accepts an `inputs` argument.\"\r\n 519 )\r\n 520 try:\r\n--> 521 self.call(x, **kwargs)\r\n 522 except (tf.errors.InvalidArgumentError, TypeError) as e:\r\n 523 raise ValueError(\r\n 524 \"You cannot build your model by calling `build` \"\r\n 525 \"if your layers do not support float type inputs. \"\r\n (...)\r\n 529 f\"`call` is: {e}.\"\r\n 530 )\r\n\r\nFile [~/[REDACTED]](https://file+.vscode-resource.vscode-cdn.net/Users/[REDACTED]%20DL/~/[REDACTED]) DL/rnn_cnn_residual_unet_model.py:88, in RNNCNNResidualModel.call(self, inputs, states, return_state, training)\r\n 85 input_timesteps = inputs[1]\r\n 86 mask = input_timesteps[:, :, 0] > 0.0\r\n---> 88 cnn_outputs = tfl.TimeDistributed(self.cnn_model)(input_images, training=training, mask=mask)\r\n 89 fgr_output = cnn_outputs[0]\r\n 90 if states is None:\r\n\r\nFile [~/mambaforge/envs/tensorflow/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py:61](https://file+.vscode-resource.vscode-cdn.net/Users/[REDACTED]%20DL/~/mambaforge/envs/tensorflow/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py:61), in filter_traceback.<locals>.error_handler(*args, **kwargs)\r\n 59 def error_handler(*args, **kwargs):\r\n 60 if not tf.debugging.is_traceback_filtering_enabled():\r\n---> 61 return fn(*args, **kwargs)\r\n 63 filtered_tb = None\r\n 64 try:\r\n\r\nFile [~/mambaforge/envs/tensorflow/lib/python3.10/site-packages/keras/src/engine/base_layer.py:1155](https://file+.vscode-resource.vscode-cdn.net/Users/[REDACTED]%20DL/~/mambaforge/envs/tensorflow/lib/python3.10/site-packages/keras/src/engine/base_layer.py:1155), in Layer.__call__(self, *args, **kwargs)\r\n 1153 self._handle_activity_regularization(inputs, outputs)\r\n 1154 if self._supports_masking:\r\n-> 1155 self._set_mask_metadata(\r\n 1156 inputs, outputs, input_masks, not eager\r\n 1157 )\r\n 1158 if self._saved_model_inputs_spec is None:\r\n 1159 self._set_save_spec(inputs, args, kwargs)\r\n\r\nFile [~/mambaforge/envs/tensorflow/lib/python3.10/site-packages/keras/src/engine/base_layer.py:2896](https://file+.vscode-resource.vscode-cdn.net/Users/[REDACTED]%20DL/~/mambaforge/envs/tensorflow/lib/python3.10/site-packages/keras/src/engine/base_layer.py:2896), in Layer._set_mask_metadata(self, inputs, outputs, previous_mask, build_graph)\r\n 2893 self._set_mask_keras_history_checked(flat_outputs)\r\n 2894 return\r\n-> 2896 output_masks = self.compute_mask(inputs, previous_mask)\r\n 2897 if output_masks is None:\r\n 2898 return\r\n\r\nFile [~/mambaforge/envs/tensorflow/lib/python3.10/site-packages/keras/src/layers/rnn/time_distributed.py:348](https://file+.vscode-resource.vscode-cdn.net/Users/[REDACTED]%20DL/~/mambaforge/envs/tensorflow/lib/python3.10/site-packages/keras/src/layers/rnn/time_distributed.py:348), in TimeDistributed.compute_mask(self, inputs, mask)\r\n 346 input_length = tf.nest.flatten(input_length)[0]\r\n 347 reshape_batch_size = batch_size if batch_size else -1\r\n--> 348 output_mask_shape = self._get_shape_tuple(\r\n 349 (reshape_batch_size, input_length), output_mask, 1\r\n 350 )\r\n 351 output_mask = backend.reshape(output_mask, output_mask_shape)\r\n 352 return output_mask\r\n\r\nFile [~/mambaforge/envs/tensorflow/lib/python3.10/site-packages/keras/src/layers/rnn/time_distributed.py:104](https://file+.vscode-resource.vscode-cdn.net/Users/[REDACTED]%20DL/~/mambaforge/envs/tensorflow/lib/python3.10/site-packages/keras/src/layers/rnn/time_distributed.py:104), in TimeDistributed._get_shape_tuple(self, init_tuple, tensor, start_idx)\r\n 88 \"\"\"Finds non-specific dimensions in the static shapes.\r\n 89 \r\n 90 The static shapes are replaced with the corresponding dynamic shapes of\r\n (...)\r\n 101 corresponding dimension from `tf.shape(tensor)`.\r\n 102 \"\"\"\r\n 103 # replace all None in int_shape by backend.shape\r\n--> 104 int_shape = backend.int_shape(tensor)[start_idx:]\r\n 105 if not any(s is None for s in int_shape):\r\n 106 return init_tuple + int_shape\r\n\r\nFile [~/mambaforge/envs/tensorflow/lib/python3.10/site-packages/keras/src/backend.py:1534](https://file+.vscode-resource.vscode-cdn.net/Users/[REDACTED]%20DL/~/mambaforge/envs/tensorflow/lib/python3.10/site-packages/keras/src/backend.py:1534), in int_shape(x)\r\n 1514 \"\"\"Returns shape of tensor/variable as a tuple of int/None entries.\r\n 1515 \r\n 1516 Args:\r\n (...)\r\n 1531 \r\n 1532 \"\"\"\r\n 1533 try:\r\n-> 1534 shape = x.shape\r\n 1535 if not isinstance(shape, tuple):\r\n 1536 shape = tuple(shape.as_list())\r\n\r\nAttributeError: 'list' object has no attribute 'shape'\r\n```\r\n\r\nIt appears the error originates in calculating the output mask for the TimeDistributed layer.",
"@sachinprasadhs Any advice?"
] | 2023-09-28T14:07:56 | 2023-11-01T00:29:19 | 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
Yes
### OS platform and distribution
_No response_
### 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 have been attempting to create a custom CNN-RNN hybrid model that incorporates a pretrained custom DenseNet-derived CNN. My model requires from the CNN both its final output and the intermediate outputs of its dense blocks (as I am attempting to create a U-Net like architecture). I attempted to create a new model from the given CNN that would output these intermediate convolutional layers along with the final output value. However, when I connected it to a TimeDistributed layer, I received a strange error with no clear explanation:
`AttributeError: 'list' object has no attribute 'shape'`
After some experimentation, I realized this error was arising because the TimeDistributed layer was not programmed to handle multi-output layers passed to it. I understand that this issue will likely require a fix to Tensorflow. In the meanwhile, any suggestions for workarounds would be appreciated.
### Standalone code to reproduce the issue
```shell
cnn_model = tf.keras.models.load_model(cnn_filepath)
cnn_final_output = cnn_model.layers[-1].output
cnn_intermediate_output = cnn_model.layers[-3].output
new_model = tf.keras.models.Model(inputs=cnn_input, outputs=[cnn_final_output,cnn_intermediate_output])
output = tfl.TimeDistributed(new_model)(input_images, mask=mask)
```
### Relevant log output
```shell
AttributeError Traceback (most recent call last)
/Users/[NAME REMOVED]/[NAME REMOVED] DL/TRG_project_recurrent_cnn_residual_instantaneous_train.ipynb Cell 1 line 1
173 cnn_model.trainable = False
174 model = RNNCNNResidualModel(N_A, cnn_model, ["average_pooling2d_6", "average_pooling2d_19", "average_pooling2d_44", "activation_239"])
--> 176 model.build([tf.TensorShape([None, None, 101, 101, 1]), tf.TensorShape([None, None, 1])])
178 #Initialize inputs
180 plot_model(model, to_file='rnn_model_plot.png', show_shapes=True, show_layer_names=True)
File ~/mambaforge/envs/tensorflow/lib/python3.10/site-packages/keras/src/engine/training.py:521, in Model.build(self, input_shape)
516 raise ValueError(
517 "You can only call `build()` on a model if its "
518 "`call()` method accepts an `inputs` argument."
519 )
520 try:
--> 521 self.call(x, **kwargs)
522 except (tf.errors.InvalidArgumentError, TypeError) as e:
523 raise ValueError(
524 "You cannot build your model by calling `build` "
525 "if your layers do not support float type inputs. "
(...)
529 f"`call` is: {e}."
530 )
File ~/[NAME REMOVED] DL/rnn_cnn_residual_model.py:41, in RNNCNNResidualModel.call(self, inputs, states, return_state, training)
38 if states is None:
39 states = self.lstm_cell.get_initial_state(input_timesteps)
---> 41 output = tfl.TimeDistributed(self.cnn_model)(input_images, mask=mask)
42 fgr_output = output[0]
43 lstm_input = tfl.Concatenate()([fgr_output, input_timesteps])
File ~/mambaforge/envs/tensorflow/lib/python3.10/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 ~/mambaforge/envs/tensorflow/lib/python3.10/site-packages/keras/src/backend.py:1534, in int_shape(x)
1514 """Returns shape of tensor/variable as a tuple of int/None entries.
1515
1516 Args:
(...)
1531
1532 """
1533 try:
-> 1534 shape = x.shape
1535 if not isinstance(shape, tuple):
1536 shape = tuple(shape.as_list())
AttributeError: 'list' object has no attribute 'shape'
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62004/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/62004/timeline | null | null | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62003 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62003/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62003/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62003/events | https://github.com/tensorflow/tensorflow/issues/62003 | 1,917,560,201 | I_kwDOArmXAs5yS6WJ | 62,003 | Support Python 3.12 | {
"login": "MartinNowak",
"id": 288976,
"node_id": "MDQ6VXNlcjI4ODk3Ng==",
"avatar_url": "https://avatars.githubusercontent.com/u/288976?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MartinNowak",
"html_url": "https://github.com/MartinNowak",
"followers_url": "https://api.github.com/users/MartinNowak/followers",
"following_url": "https://api.github.com/users/MartinNowak/following{/other_user}",
"gists_url": "https://api.github.com/users/MartinNowak/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MartinNowak/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MartinNowak/subscriptions",
"organizations_url": "https://api.github.com/users/MartinNowak/orgs",
"repos_url": "https://api.github.com/users/MartinNowak/repos",
"events_url": "https://api.github.com/users/MartinNowak/events{/privacy}",
"received_events_url": "https://api.github.com/users/MartinNowak/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": 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": 1478826728,
"node_id": "MDU6TGFiZWwxNDc4ODI2NzI4",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:core",
"name": "comp:core",
"color": "024391",
"default": false,
"description": "issues related to core part of tensorflow"
}
] | open | false | {
"login": "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 | [
"More an FYI: Was able to compile/build a wheel \"successfully\" using the latest pull from master by forcing --repo_env=TF_PYTHON_VERSION=3.11 - Unfortunately, although the wheel was successfully created under python/3.12.0, it (perhaps understandably) refused to install with the message:\r\nERROR: tensorflow-2.15.0-cp311-cp311-linux_x86_64.whl is not a supported wheel on this platform. Extracting the wheel also results in a similar error: \"module was compiled for Python 3.11\"\r\nIs it possible to force an attempt for a cp312 compatible build?",
"It is easy enough to edit tensorflow/tools/toolchains/python/python_repo.bzl to add \"3.12\" to VERSIONS, which will let you set TF_PYTHON_VERSION=3.12.\r\n\r\nBut then you will encounter this build failure:\r\n\r\n> ERROR: Traceback (most recent call last):\r\n> \tFile \".../tensorflow/WORKSPACE\", line 32, column 27, in <toplevel>\r\n> \t\tpython_register_toolchains(\r\n> \tFile \".../.cache/bazel/.../40192ecc60b78c448056886e209e7d2b/external/rules_python/python/repositories.bzl\", line 532, column 31, in python_register_toolchains\r\n> \t\tsha256 = tool_versions[python_version][\"sha256\"].get(platform, None)\r\n> Error: key \"3.12\" not found in dictionary\r\n\r\nI am pretty sure this cannot be made to work until [rules_python](https://github.com/bazelbuild/rules_python) gets support for 3.12, and I do not even see an open issue for that yet.",
"The TF build process is quite long, taking several weeks. Since Python 3.12 was not released at the time of TF branch cut it couldn't be supported by the newly released TF.\r\n\r\nThe team is working to reduce the time window between a Python version and the time TF supports it, but support cannot be added after the branch was cut.",
"Python's development process includes a pretty lengthy beta + release candidate cycle. Python 3.12 candidate 1 was released on 8/6, for example.\r\n\r\nIf someone submitted a pull request to add support for a Python beta or release candidate, would it be accepted? For future reference.",
"If CI can support testing with new versions of Python, then I think that should be possible. However, note that TF has a large number of dependencies and those will need to work before TF can support the new version of Python.\r\n\r\nWe've had issues in the past where some dependency did not release a wheel for new version of Python for nearly half a year.",
"> TF has a large number of dependencies and those will need to work before TF can support the new version of Python.\r\n\r\nCan we please have a checklist of those deps that are not yet shipping Py3.12 versions?\r\n* [x] [rules_python v0.26.0](https://github.com/bazelbuild/rules_python/releases) has some level of Py3.12 support",
"cc @MichaelHudgins for \r\n\r\n> > TF has a large number of dependencies and those will need to work before TF can support the new version of Python.\r\n> \r\n> Can we please have a checklist of those deps that are not yet shipping Py3.12 versions?\r\n> \r\n> * [x] [rules_python v0.26.0](https://github.com/bazelbuild/rules_python/releases) has some level of Py3.12 support\r\n\r\n",
"That being said, have a look at #62155 ",
"On at least the Linux side our upstream dependencies are present and we have local 3.12 builds successful with some test errors that will still need addressed. We are in the process of adding 3.12 to the CI system and hope to have nightlies soon. \r\n\r\nEdit:\r\nWe are also working on the macOS and Windows side but are still assessing any additional work that needs to be done on them.",
"Has there been any progress on this issue?\r\n\r\nI tried installing TF with these commands:\r\n\r\n```bash\r\npython3 -m venv .venv # create a virtual environment named .venv\r\nsource ./.venv/bin/activate # activate the venv\r\npip3 install tensorflow # install\r\n```\r\n\r\nGot this error:\r\n\r\n```\r\nERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)\r\nERROR: No matching distribution found for tensorflow\r\n```\r\n\r\nmacOS 14.1.1\r\nPython 3.12.0\r\npip 23.3.1\r\nM2 Macbook Air (arm64 I think)",
"`tf-nightly` would be the first one to get support.\r\n\r\nhttps://pypi.org/project/tf-nightly/#files already shows some `cp312` files, so this should work already",
"@mihaimaruseac - Seems like the file is for Linux, but thank you for pointing this out! Will wait for the macOS version :)",
"MacOS is no longer released officially by the Google team, it's a partner project so it takes longer due to synchronization needs, etc.",
"DIdn't know that! Thank you.",
"How about the windows version?",
"That is also built by partners. Google only builds the Linux wheels now",
"Who are the \"partners\"? Do they have GitHub repos that MacOS and Windows users can contribute to?",
"Try checking the @Google organization?",
";-) 2.6k repos.",
"> ;-) 2.6k repos.\n\nCan't you commit directly to this repo?",
"> Who are the \"partners\"? Do they have GitHub repos that MacOS and Windows users can contribute to?\r\n\r\nhttps://blog.tensorflow.org/2022/09/announcing-tensorflow-official-build-collaborators.html\r\n\r\nThey contribute directly here, in this repository, but they need to release separate wheels that TF then installs. For example https://pypi.org/project/tensorflow-intel/ for windows",
"Is there any known ETA for Python 3.12 compatibility?",
"So, nightly for Linux exists and will be included in the next TF release. By that time, I think the other operating systems will have added support too.",
"Any updates?",
"Same status as [3 weeks ago](https://github.com/tensorflow/tensorflow/issues/62003#issuecomment-1837679866). There has been no release of TensorFlow stable, only nightly releases",
"Could we also add to the checklist:\r\n\r\n- [ ] Python 3.12 wheels for [`tflite-runtime-nightly`](https://pypi.org/project/tflite-runtime-nightly)?",
"hi, any new status?",
"> Same status as [3 weeks ago](https://github.com/tensorflow/tensorflow/issues/62003#issuecomment-1837679866). There has been no release of TensorFlow stable, only nightly releases\r\n\r\nThis is still true",
"It's here: https://github.com/tensorflow/tensorflow/releases/tag/v2.16.1\r\n\r\n(edit: To be clear, I am not a tensorflow contributor. I am just monitoring the release.)",
"Awesome. Then this can be closed now, right?\r\n\r\nThank you for the patience"
] | 2023-09-28T13:29:55 | 2024-06-06T17:39:54 | null | NONE | null | null | null | ### Issue type
Support
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
binary
### TensorFlow version
tf 2.15.0.dev
### Custom code
No
### OS platform and distribution
Linux Fedora 39
### Mobile device
_No response_
### Python version
3.12
### Bazel version
_No response_
### GCC/compiler version
_No response_
### CUDA/cuDNN version
_No response_
### GPU model and memory
_No response_
### Current behavior?
No Python3.12 compatbility and wheels.
This issue can be used as a tracking issue. This includes:
- [ ] TensorFlow builds fully on Python 3.12
- [ ] All TensorFlow tests pass on Python 3.12
- [ ] All CI is run and green on Python 3.12
- [ ] Wheels are uploaded to PyPI for [tf-nightly](https://pypi.org/project/tf-nightly/#files)
- [ ] Linux
- [ ] macOS
- [ ] Windows
- [ ] Wheels are uploaded to PyPI for at least one TensorFlow release
### Standalone code to reproduce the issue
```shell
python3.12 -m venv venv
source venv/bin/activate
pip install -U pip setuptools wheel
pip install tf-nightly --pre
```
### Relevant log output
```shell
ERROR: Could not find a version that satisfies the requirement tf-nightly (from versions: none)
ERROR: No matching distribution found for tf-nightly
Prior editiions:
- [2011/3.11](https://github.com/tensorflow/tensorflow/issues/58032#issuecomment-1279963648)
- [2010/3.10](https://github.com/tensorflow/tensorflow/issues/51776#issuecomment-934569048)
- [2009/3.9](https://github.com/tensorflow/tensorflow/issues/44485)
- [2008/3.8](https://github.com/tensorflow/tensorflow/issues/33374)
TF 2.14 has just shipped, meaning we'll likely have to wait for TF 2.15/2.16 again.
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62003/reactions",
"total_count": 23,
"+1": 23,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/62003/timeline | null | null | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62002 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62002/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62002/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62002/events | https://github.com/tensorflow/tensorflow/issues/62002 | 1,917,289,566 | I_kwDOArmXAs5yR4Re | 62,002 | cuBLAS Error in 2.14.0 | {
"login": "Romeo-CC",
"id": 13418210,
"node_id": "MDQ6VXNlcjEzNDE4MjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/13418210?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Romeo-CC",
"html_url": "https://github.com/Romeo-CC",
"followers_url": "https://api.github.com/users/Romeo-CC/followers",
"following_url": "https://api.github.com/users/Romeo-CC/following{/other_user}",
"gists_url": "https://api.github.com/users/Romeo-CC/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Romeo-CC/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Romeo-CC/subscriptions",
"organizations_url": "https://api.github.com/users/Romeo-CC/orgs",
"repos_url": "https://api.github.com/users/Romeo-CC/repos",
"events_url": "https://api.github.com/users/Romeo-CC/events{/privacy}",
"received_events_url": "https://api.github.com/users/Romeo-CC/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": 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": 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": 5922361893,
"node_id": "LA_kwDOArmXAs8AAAABYQASJQ",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF2.14",
"name": "TF2.14",
"color": "b60205",
"default": false,
"description": "For issues related to Tensorflow 2.14.x"
}
] | open | false | {
"login": "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 | [
"@Romeo-CC,\r\nI tried to install the latest tensorflow v2.14, and it was installed on the ubuntu 23.04 environment. Though it produced the Information warnings and the mentioned erros, I was able to import the tensorflow and ran the code without any issues. Kindly find the screenshot below for the reference.\r\n\r\n```\r\n(tf) tilakrayal@tilak-214-gpu:~$ python3 -c \"import tensorflow as tf; print(tf.__version__)\"\r\n2023-09-29 09:38:46.654714: I tensorflow/tsl/cuda/cudart_stub.cc:28] Could not find cuda drivers on your machine, GPU will not be used.\r\n2023-09-29 09:38:46.724680: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:9342] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered\r\n2023-09-29 09:38:46.724902: E tensorflow/compiler/xla/stream_executor/cuda/cuda_fft.cc:609] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered\r\n2023-09-29 09:38:46.725069: E tensorflow/compiler/xla/stream_executor/cuda/cuda_blas.cc:1518] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered\r\n2023-09-29 09:38:46.738490: I tensorflow/tsl/cuda/cudart_stub.cc:28] Could not find cuda drivers on your machine, GPU will not be used.\r\n2023-09-29 09:38:46.739029: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.\r\nTo enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.\r\n2023-09-29 09:38:48.156496: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT\r\n2.14.0\r\n```\r\n\r\nThank you!",
"Hi @tilakrayal. Thank you for your reply !\r\nIn your test case, the output shows \"2023-09-29 09:38:46.654714: I tensorflow/tsl/cuda/cudart_stub.cc:28] Could not find cuda drivers on your machine, GPU will not be used.\" You may not have installed proper CUDA version in your env, which means TF running in CPU mode. \r\nHave you ever tested the tf-2.14.0 running in GPU mode ?",
"Any luck on this ?\r\n\r\nI seem to have exact problem on win10/wsl2/tensorflow2.14/",
"i have the same problem win11/wsl2/tensorflow 2.14.0",
"Same issue with Ubuntu 22.04 + Cuda 12.2 + cudnn 8.9 + build from source\r\n```\r\nalex@pc:~$ python\r\nPython 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0] on linux\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n>>> import tensorflow as tf\r\n2023-10-09 22:31:24.914587: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:9342] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered\r\n2023-10-09 22:31:24.914620: E tensorflow/compiler/xla/stream_executor/cuda/cuda_fft.cc:609] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered\r\n2023-10-09 22:31:24.914625: E tensorflow/compiler/xla/stream_executor/cuda/cuda_blas.cc:1518] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered\r\n2023-10-09 22:31:24.919056: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.\r\nTo enable the following instructions: SSE3 SSE4.1 SSE4.2 AVX AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.\r\n```",
"I'm facing the same issue, but it is able to show all the physical devices\r\n\r\n```\r\npython test.py \r\n2023-10-10 11:43:10.106768: I tensorflow/core/util/port.cc:111] 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`.\r\n2023-10-10 11:43:10.138994: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:9342] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered\r\n2023-10-10 11:43:10.139027: E tensorflow/compiler/xla/stream_executor/cuda/cuda_fft.cc:609] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered\r\n2023-10-10 11:43:10.139047: E tensorflow/compiler/xla/stream_executor/cuda/cuda_blas.cc:1518] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered\r\n2023-10-10 11:43:10.145045: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.\r\nTo enable the following instructions: AVX2 AVX512F AVX512_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.\r\n[PhysicalDevice(name='/physical_device:GPU:0', device_type='GPU'), PhysicalDevice(name='/physical_device:GPU:1', device_type='GPU'), PhysicalDevice(name='/physical_device:GPU:2', device_type='GPU'), PhysicalDevice(name='/physical_device:GPU:3', device_type='GPU'), PhysicalDevice(name='/physical_device:GPU:4', device_type='GPU'), PhysicalDevice(name='/physical_device:GPU:5', device_type='GPU'), PhysicalDevice(name='/physical_device:GPU:6', device_type='GPU'), PhysicalDevice(name='/physical_device:GPU:7', device_type='GPU')]\r\n2.14.0\r\n```",
"I get the same error. rtx 3090 Driver Version: 536.99 cuda: 12.2\r\n\r\n",
"got the same error on win11/wsl2/ubuntu22.04.2LTS.\r\n\r\n``` 2023-10-11 08:35:26.693664: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:9342] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered\r\n2023-10-11 08:35:26.693719: E tensorflow/compiler/xla/stream_executor/cuda/cuda_fft.cc:609] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered\r\n2023-10-11 08:35:26.696431: E tensorflow/compiler/xla/stream_executor/cuda/cuda_blas.cc:1518] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered\r\n2023-10-11 08:35:26.883564: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.\r\nTo enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.\r\n2023-10-11 08:35:28.856732: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT```\r\n",
"> Same issue with Ubuntu 22.04 + Cuda 12.2 + cudnn 8.9 + build from source\r\n> \r\n> ```\r\n> alex@pc:~$ python\r\n> Python 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0] on linux\r\n> Type \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n> >>> import tensorflow as tf\r\n> 2023-10-09 22:31:24.914587: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:9342] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered\r\n> 2023-10-09 22:31:24.914620: E tensorflow/compiler/xla/stream_executor/cuda/cuda_fft.cc:609] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered\r\n> 2023-10-09 22:31:24.914625: E tensorflow/compiler/xla/stream_executor/cuda/cuda_blas.cc:1518] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered\r\n> 2023-10-09 22:31:24.919056: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.\r\n> To enable the following instructions: SSE3 SSE4.1 SSE4.2 AVX AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.\r\n> ```\r\n\r\nSame here!",
"```\r\ndarsh@darsh-Dell-G15-5520 ~ python3 -c \"import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))\"\r\n\r\n2023-10-11 15:56:05.907841: I tensorflow/core/util/port.cc:111] 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`.\r\n2023-10-11 15:56:05.930153: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:9342] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered\r\n2023-10-11 15:56:05.930185: E tensorflow/compiler/xla/stream_executor/cuda/cuda_fft.cc:609] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered\r\n2023-10-11 15:56:05.930202: E tensorflow/compiler/xla/stream_executor/cuda/cuda_blas.cc:1518] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered\r\n2023-10-11 15:56:05.934830: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.\r\nTo enable the following instructions: AVX2 AVX_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.\r\n2023-10-11 15:56:07.902179: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-10-11 15:56:07.905331: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-10-11 15:56:07.905438: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n[PhysicalDevice(name='/physical_device:GPU:0', device_type='GPU')]\r\n\r\n```\r\nSame Here! and this is making my kernel crash when i am trying to do subclassing",
"Same! Do anyone found a solution?",
"Same here!\r\n```\r\ntensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:9342] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered\r\n2023-10-12 17:38:30.347657: E tensorflow/compiler/xla/stream_executor/cuda/cuda_fft.cc:609] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered\r\n2023-10-12 17:38:30.347695: E tensorflow/compiler/xla/stream_executor/cuda/cuda_blas.cc:1518] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered\r\n2023-10-12 17:38:30.355820: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.\r\nTo enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.\r\n```",
"Same again,\r\n\r\n`2023-10-13 09:41:44.982611: I tensorflow/core/util/port.cc:111] 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`.\r\n2023-10-13 09:41:45.005469: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:9342] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered\r\n2023-10-13 09:41:45.005514: E tensorflow/compiler/xla/stream_executor/cuda/cuda_fft.cc:609] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered\r\n2023-10-13 09:41:45.005529: E tensorflow/compiler/xla/stream_executor/cuda/cuda_blas.cc:1518] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered\r\n2023-10-13 09:41:45.009825: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.\r\nTo enable the following instructions: AVX2 AVX512F AVX512_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.\r\n/usr/lib/python3/dist-packages/scipy/__init__.py:146: UserWarning: A NumPy version >=1.17.3 and <1.25.0 is required for this version of SciPy (detected version 1.26.0\r\n warnings.warn(f\"A NumPy version >={np_minversion} and <{np_maxversion}\"`",
"cc: @learning-to-play ",
"I had this issue and so I downgraded to CUDA 11.8. I modified the following script to handle the downgrade, as the process turned out to be a bit of a pain (lingering files and accidental NVIDIA linux driver installs can cause issues): https://gist.github.com/agentcoops/2c46871c151b32989908361516d08b2a ",
"Same error, reproduced also in TF nightly build\r\nUbuntu 22.04 + CUDA 12.2 + NVIDIA 535.113.01 + cuDNN 8.9.5\r\n\r\n`Python 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0] on linux\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n>>> import tensorflow as tf\r\n2023-10-16 20:53:16.857979: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:9261] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered\r\n2023-10-16 20:53:16.858019: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:607] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered\r\n2023-10-16 20:53:16.858727: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1515] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered\r\n2023-10-16 20:53:16.862814: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.\r\nTo enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.\r\n2023-10-16 20:53:17.441781: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT\r\n>>> print(tf.__version__)\r\n2.16.0-dev20231013\r\n`",
"Here is my complete Fix, supposedly its the newer Kernel causing incompatibility issues so use Ubuntu 20.04 LTS:\r\n\r\nhttps://github.com/tensorflow/tensorflow/issues/62095#issuecomment-1763366758",
"same here, using nvidia 535 on ubuntu 22.04, install tf using `pip install tensorflow[and-cuda]` and got the same errors.",
"Same issue here.\r\n\r\nMaybe some extra context will help:\r\n\r\nIf I run the command via poetry (with tensorflow 2.14.0) It doesn't even detect the GPU.\r\n\r\n```\r\n2023-10-27 20:07:02.381901: I tensorflow/tsl/cuda/cudart_stub.cc:28] Could not find cuda drivers on your machine, GPU will not be used.\r\n2023-10-27 20:07:02.422719: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:9342] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered\r\n2023-10-27 20:07:02.422754: E tensorflow/compiler/xla/stream_executor/cuda/cuda_fft.cc:609] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered\r\n2023-10-27 20:07:02.422785: E tensorflow/compiler/xla/stream_executor/cuda/cuda_blas.cc:1518] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered\r\n2023-10-27 20:07:02.431549: I tensorflow/tsl/cuda/cudart_stub.cc:28] Could not find cuda drivers on your machine, GPU will not be used.\r\n2023-10-27 20:07:02.431843: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.\r\nTo enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.\r\n2023-10-27 20:07:03.495677: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT\r\n2023-10-27 20:07:04.548181: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355\r\n2023-10-27 20:07:04.598400: W tensorflow/core/common_runtime/gpu/gpu_device.cc:2211] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.\r\nSkipping registering GPU devices...\r\n```\r\n\r\nIf I install tensorflow via `pip install tensorflow[and-cuda]` then it does detect the GPU but still complains about the rest.\r\n\r\n",
"Same issue here on both WSL2 and Ubuntu.\r\n\r\n```\r\n>>> import tensorflow as tf\r\n2023-10-28 13:19:49.412588: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:9342] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered\r\n2023-10-28 13:19:49.413083: E tensorflow/compiler/xla/stream_executor/cuda/cuda_fft.cc:609] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered\r\n2023-10-28 13:19:49.437814: E tensorflow/compiler/xla/stream_executor/cuda/cuda_blas.cc:1518] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered\r\n```",
"@BinyanHu , Could you please try in the Tensorflow 2.15rc0",
"Same issue, Tried using `pip install tensorflow[and-cuda]` to no avail\r\nTensorflow Version: 2.14.0\r\n\r\n2023-11-01 17:50:29.722414: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:9342] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered\r\n2023-11-01 17:50:29.722443: E tensorflow/compiler/xla/stream_executor/cuda/cuda_fft.cc:609] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered\r\n2023-11-01 17:50:29.722477: E tensorflow/compiler/xla/stream_executor/cuda/cuda_blas.cc:1518] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered\r\n2023-11-01 17:50:29.728122: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.\r\nTo enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.\r\n",
"Problem happens also within Tensorflow docker container. ",
"This problem occured in version 2.10 and 2.11, then repaired since 2.12, but come again in 2.14.",
"Also getting this error\r\n\r\nOS: Linux Ubuntu Lunar Lobster 23.04\r\nTensorflow: 2.14.0\r\n\r\n```\r\n2023-11-10 15:18:50.850954: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:9342] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered\r\n2023-11-10 15:18:50.850979: E tensorflow/compiler/xla/stream_executor/cuda/cuda_fft.cc:609] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered\r\n2023-11-10 15:18:50.850997: E tensorflow/compiler/xla/stream_executor/cuda/cuda_blas.cc:1518] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered\r\n2023-11-10 15:18:50.855865: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.\r\nTo enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.\r\n```",
"See https://github.com/tensorflow/tensorflow/issues/62075#issuecomment-1806539392",
"Same error happening with Windows 11, WSL2, and Tensorflow 2.14.1 with an RTX 2060\r\n\r\n```\r\n2023-11-14 21:31:07.995539: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:9342] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered\r\n2023-11-14 21:31:07.995626: E tensorflow/compiler/xla/stream_executor/cuda/cuda_fft.cc:609] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered\r\n2023-11-14 21:31:07.995681: E tensorflow/compiler/xla/stream_executor/cuda/cuda_blas.cc:1518] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered\r\n```\r\n\r\nDowngrading to another version of Tensorflow did not work",
"I think it’s a problem by design. TF has stopped supporting gpu under\r\nwindows since 2.10..so don’t break your head anymore …\r\n\r\nOn Wed, 15 Nov 2023 at 9:05 AM, Sebastián Segovia ***@***.***>\r\nwrote:\r\n\r\n> Same error happening with Windows 11, WSL2, and Tensorflow 2.14.1 with an\r\n> RTX 2060\r\n>\r\n> 2023-11-14 21:31:07.995539: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:9342] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered\r\n> 2023-11-14 21:31:07.995626: E tensorflow/compiler/xla/stream_executor/cuda/cuda_fft.cc:609] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered\r\n> 2023-11-14 21:31:07.995681: E tensorflow/compiler/xla/stream_executor/cuda/cuda_blas.cc:1518] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered\r\n>\r\n> Downgrading to another version of Tensorflow did not work\r\n>\r\n> —\r\n> Reply to this email directly, view it on GitHub\r\n> <https://github.com/tensorflow/tensorflow/issues/62002#issuecomment-1811756806>,\r\n> or unsubscribe\r\n> <https://github.com/notifications/unsubscribe-auth/AAPLTDRMG36MFVDGULUWMOTYEQZ6NAVCNFSM6AAAAAA5KZQL6SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJRG42TMOBQGY>\r\n> .\r\n> You are receiving this because you commented.Message ID:\r\n> ***@***.***>\r\n>\r\n",
"Installing TF2.9 from [this comment](https://github.com/google-research/deduplicate-text-datasets/issues/33#issue-1990918530) fixed the \"Unable to register...\" errors for me. This bug happens in TF2.14. Just downgrade to 2.9.",
"> Installing TF2.9 from [this comment](https://github.com/google-research/deduplicate-text-datasets/issues/33#issue-1990918530) fixed the \"Unable to register...\" errors for me. This bug happens in TF2.14. Just downgrade to 2.9.\r\n\r\nStill happens in TF 2.15 - downgrading to TF 2.9 also fixed that error."
] | 2023-09-28T11:21:50 | 2024-04-17T05:45:04 | null | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
No
### Source
binary
### TensorFlow version
2.14.0
### Custom code
No
### OS platform and distribution
Ubuntu 23.04
### Mobile device
_No response_
### Python version
3.11.5
### Bazel version
_No response_
### GCC/compiler version
_No response_
### CUDA/cuDNN version
CUDA 11.8 CUDNN 8.9.4
### GPU model and memory
Nvidia RTX 3080ti
### Current behavior?
in the shell terminal
install tensorflow via pip
```sh
pip install tensorflow==2.14.0
```
In the python terminal
input
```python
import tensorflow as tf
```
then the output
```sh
2023-09-28 19:19:50.298229: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:9342] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
2023-09-28 19:19:50.298259: E tensorflow/compiler/xla/stream_executor/cuda/cuda_fft.cc:609] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
2023-09-28 19:19:50.298302: E tensorflow/compiler/xla/stream_executor/cuda/cuda_blas.cc:1518] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2023-09-28 19:19:50.303578: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-09-28 19:19:50.982905: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
```
### Standalone code to reproduce the issue
```shell
no
```
### Relevant log output
_No response_ | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62002/reactions",
"total_count": 17,
"+1": 14,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 3,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/62002/timeline | null | null | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62001 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62001/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62001/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62001/events | https://github.com/tensorflow/tensorflow/issues/62001 | 1,917,109,754 | I_kwDOArmXAs5yRMX6 | 62,001 | Failed to build tensorflow 2.14 on Apple silicon. | {
"login": "sun1638650145",
"id": 47380395,
"node_id": "MDQ6VXNlcjQ3MzgwMzk1",
"avatar_url": "https://avatars.githubusercontent.com/u/47380395?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sun1638650145",
"html_url": "https://github.com/sun1638650145",
"followers_url": "https://api.github.com/users/sun1638650145/followers",
"following_url": "https://api.github.com/users/sun1638650145/following{/other_user}",
"gists_url": "https://api.github.com/users/sun1638650145/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sun1638650145/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sun1638650145/subscriptions",
"organizations_url": "https://api.github.com/users/sun1638650145/orgs",
"repos_url": "https://api.github.com/users/sun1638650145/repos",
"events_url": "https://api.github.com/users/sun1638650145/events{/privacy}",
"received_events_url": "https://api.github.com/users/sun1638650145/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": 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": 5922361893,
"node_id": "LA_kwDOArmXAs8AAAABYQASJQ",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF2.14",
"name": "TF2.14",
"color": "b60205",
"default": false,
"description": "For issues related to Tensorflow 2.14.x"
}
] | 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 | [
"cc: @kulinseth ",
"Exact same issue here",
"Similar for me on MacOS 2.14.0 (x86-64), running XCode 15. Log:\r\n\r\n```\r\nERROR: /Users/feranick/Desktop/tensorflow/tensorflow/python/BUILD:607:24: Linking tensorflow/python/_pywrap_tensorflow_internal.so failed: (Exit 1): cc_wrapper.sh failed: error executing command (from target //tensorflow/python:_pywrap_tensorflow_internal.so) \r\n (cd /private/var/tmp/_bazel_feranick/50b852099a3bf3aaa184abce166f8e34/execroot/org_tensorflow && \\\r\n exec env - \\\r\n APPLE_SDK_PLATFORM=MacOSX \\\r\n APPLE_SDK_VERSION_OVERRIDE=14.0 \\\r\n PATH=/opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin:/opt/usr/local/bin/:/Users/feranick/Documents/Work/c/android-sdk/platform-tools:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin:/Library/Apple/usr/bin:/usr/local/MacGPG2/bin:/Library/TeX/texbin \\\r\n PYTHON_BIN_PATH=/opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/python3 \\\r\n PYTHON_LIB_PATH=/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages \\\r\n TF2_BEHAVIOR=1 \\\r\n XCODE_VERSION_OVERRIDE=15.0.0.15A240d \\\r\n ZERO_AR_DATE=1 \\\r\n external/local_config_cc/cc_wrapper.sh @bazel-out/darwin-opt/bin/tensorflow/python/_pywrap_tensorflow_internal.so-2.params)\r\n# Configuration: 907b626e9403f9220dbcd58dca264ff964f627822c5119cf4ce0d178d799fedc\r\n# Execution platform: @local_execution_config_platform//:platform\r\nld: building exports trie: duplicate symbol '__FE_DFL_DISABLE_SSE_DENORMS_ENV'\r\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\r\nError in child process '/usr/bin/xcrun'. 1\r\nTarget //tensorflow/tools/pip_package:build_pip_package failed to build\r\nINFO: Elapsed time: 409.983s, Critical Path: 302.11s\r\nINFO: 1355 processes: 519 internal, 836 local.\r\nFAILED: Build did NOT complete successfully\r\n```",
"Same issue here. \r\n\r\nFor my opinion, the reason is a new linker released with clang 15.0. Probably, libraries dependencies should be reviewed by project maintainer. But as temporary solution I use \"-**ld_classic**\" linker flag, that restores old linker's behavior, as before version 15. Please note, this flag is temporary available and will be removed in next releases.\r\n\r\nThe patch is attached.\r\n[tensorflow.patch](https://github.com/tensorflow/tensorflow/files/13215155/tensorflow.patch)\r\n",
"@srg70 This method is very useful; it can be successfully built with `tensorflow 2.14/2.15`.",
"> Same issue here.\r\n> \r\n> For my opinion, the reason is a new linker released with clang 15.0. Probably, libraries dependencies should be reviewed by project maintainer. But as temporary solution I use \"-**ld_classic**\" linker flag, that restores old linker's behavior, as before version 15. Please note, this flag is temporary available and will be removed in next releases.\r\n> \r\n> The patch is attached. [tensorflow.patch](https://github.com/tensorflow/tensorflow/files/13215155/tensorflow.patch)\r\n\r\nThe linker issue is has been resolved = since XCode 14.3 (and as recently as 15.3). Besides this, are people still having issue with Apple Silicon with TF 2.16.1? If not, this should be closed.",
"@sun1638650145 , Could you please try the latest TensorFlow version 2.16.1 and let us know if you're still facing issue.\r\n\r\nYou can follow the table here for dependency details, https://www.tensorflow.org/install/source#macos",
"@sachinprasadhs Thank you very much for your reminder, the issue has finally been resolved!",
"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/62001\">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/62001\">No</a>\n"
] | 2023-09-28T09:42:36 | 2024-03-18T05:18:54 | 2024-03-18T05:18:50 | NONE | null | null | null | ### Issue type
Build/Install
### Have you reproduced the bug with TensorFlow Nightly?
No
### Source
source
### TensorFlow version
tf 2.14
### Custom code
No
### OS platform and distribution
macOS 14.0
### Mobile device
None
### Python version
3.9, 3.10, 3.11
### Bazel version
6.1.0-homebrew
### GCC/compiler version
Apple clang version 15.0.0 (clang-1500.0.40.1)
### CUDA/cuDNN version
None
### GPU model and memory
None
### Current behavior?
I am trying to build `tensorflow 2.14` on Python `3.9`, `3.10`, and `3.11`, but I am encountering an error that says `ld: building exports trie: duplicate symbol '_copy_printf_domain'`, which is causing the build to fail.
### Standalone code to reproduce the issue
Default settings used for all options.
```shell
bazel build //tensorflow/tools/pip_package:build_pip_package
```
### Relevant log output
```shell
WARNING: while reading option defaults file '/Users/sunruiqi/Desktop/tensorflow-2.14.0/.bazelrc':
invalid command name 'startup:windows'.
INFO: Options provided by the client:
Inherited 'common' options: --isatty=1 --terminal_columns=80
INFO: Reading rc options for 'build' from /Users/sunruiqi/Desktop/tensorflow-2.14.0/.bazelrc:
Inherited 'common' options: --experimental_repo_remote_exec
INFO: Reading rc options for 'build' from /Users/sunruiqi/Desktop/tensorflow-2.14.0/.bazelrc:
'build' options: --define framework_shared_object=true --define tsl_protobuf_header_only=true --define=use_fast_cpp_protos=true --define=allow_oversize_protos=true --spawn_strategy=standalone -c opt --announce_rc --define=grpc_no_ares=true --noincompatible_remove_legacy_whole_archive --features=-force_no_whole_archive --enable_platform_specific_config --define=with_xla_support=true --config=short_logs --config=v2 --define=no_aws_support=true --define=no_hdfs_support=true --experimental_cc_shared_library --experimental_link_static_libraries_once=false --incompatible_enforce_config_setting_visibility
INFO: Reading rc options for 'build' from /Users/sunruiqi/Desktop/tensorflow-2.14.0/.tf_configure.bazelrc:
'build' options: --action_env PYTHON_BIN_PATH=/Users/sunruiqi/miniforge3/envs/tensorflow-macos/bin/python3 --action_env PYTHON_LIB_PATH=/Users/sunruiqi/miniforge3/envs/tensorflow-macos/lib/python3.10/site-packages --python_path=/Users/sunruiqi/miniforge3/envs/tensorflow-macos/bin/python3
INFO: Found applicable config definition build:short_logs in file /Users/sunruiqi/Desktop/tensorflow-2.14.0/.bazelrc: --output_filter=DONT_MATCH_ANYTHING
INFO: Found applicable config definition build:v2 in file /Users/sunruiqi/Desktop/tensorflow-2.14.0/.bazelrc: --define=tf_api_version=2 --action_env=TF2_BEHAVIOR=1
INFO: Found applicable config definition build:macos in file /Users/sunruiqi/Desktop/tensorflow-2.14.0/.bazelrc: --apple_platform_type=macos --copt=-DGRPC_BAZEL_BUILD --features=archive_param_file --copt=-w --define=PREFIX=/usr --define=LIBDIR=$(PREFIX)/lib --define=INCLUDEDIR=$(PREFIX)/include --define=PROTOBUF_INCLUDE_PATH=$(PREFIX)/include --cxxopt=-std=c++17 --host_cxxopt=-std=c++17 --config=no_tfrt
INFO: Found applicable config definition build:no_tfrt in file /Users/sunruiqi/Desktop/tensorflow-2.14.0/.bazelrc: --deleted_packages=tensorflow/compiler/mlir/tfrt,tensorflow/compiler/mlir/tfrt/benchmarks,tensorflow/compiler/mlir/tfrt/ir,tensorflow/compiler/mlir/tfrt/ir/mlrt,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/mlrt,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/compiler/mlir/tfrt/transforms/mlrt,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/runtime_fallback/test,tensorflow/core/runtime_fallback/test/gpu,tensorflow/core/runtime_fallback/test/saved_model,tensorflow/core/runtime_fallback/test/testdata,tensorflow/core/tfrt/stubs,tensorflow/core/tfrt/tfrt_session,tensorflow/core/tfrt/mlrt,tensorflow/core/tfrt/mlrt/attribute,tensorflow/core/tfrt/mlrt/kernel,tensorflow/core/tfrt/mlrt/bytecode,tensorflow/core/tfrt/mlrt/interpreter,tensorflow/compiler/mlir/tfrt/translate/mlrt,tensorflow/compiler/mlir/tfrt/translate/mlrt/testdata,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,tensorflow/core/tfrt/utils/debug,tensorflow/core/tfrt/saved_model/python,tensorflow/core/tfrt/graph_executor/python,tensorflow/core/tfrt/saved_model/utils
DEBUG: /Users/sunruiqi/Desktop/tensorflow-2.14.0/tensorflow/tools/toolchains/python/python_repo.bzl:21:14:
TF_PYTHON_VERSION variable was not set correctly, using default version. 3.10 Python
will be used.
To set Python version, run
export TF_PYTHON_VERSION=3.9
WARNING: while reading option defaults file '/Users/sunruiqi/Desktop/tensorflow-2.14.0/.bazelrc':
invalid command name 'startup:windows'.
INFO: Analyzed target //tensorflow/tools/pip_package:build_pip_package (646 packages loaded, 41360 targets configured).
INFO: Found 1 target...
ERROR: /Users/sunruiqi/Desktop/tensorflow-2.14.0/tensorflow/python/BUILD:607:24: Linking tensorflow/python/_pywrap_tensorflow_internal.so failed: (Exit 1): cc_wrapper.sh failed: error executing command (from target //tensorflow/python:_pywrap_tensorflow_internal.so) external/local_config_cc/cc_wrapper.sh @bazel-out/darwin_arm64-opt/bin/tensorflow/python/_pywrap_tensorflow_internal.so-2.params
ld: building exports trie: duplicate symbol '_copy_printf_domain'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Error in child process '/usr/bin/xcrun'. 1
Target //tensorflow/tools/pip_package:build_pip_package failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 4492.049s, Critical Path: 233.85s
INFO: 19651 processes: 4801 internal, 14850 local.
FAILED: Build did NOT complete successfully
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62001/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/62001/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/62000 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/62000/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/62000/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/62000/events | https://github.com/tensorflow/tensorflow/issues/62000 | 1,917,068,353 | I_kwDOArmXAs5yRCRB | 62,000 | Tensorflow 2.14.0 published pypi metadata is missing platform specific dependencies installed via pip | {
"login": "dre-hh",
"id": 917602,
"node_id": "MDQ6VXNlcjkxNzYwMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/917602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dre-hh",
"html_url": "https://github.com/dre-hh",
"followers_url": "https://api.github.com/users/dre-hh/followers",
"following_url": "https://api.github.com/users/dre-hh/following{/other_user}",
"gists_url": "https://api.github.com/users/dre-hh/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dre-hh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dre-hh/subscriptions",
"organizations_url": "https://api.github.com/users/dre-hh/orgs",
"repos_url": "https://api.github.com/users/dre-hh/repos",
"events_url": "https://api.github.com/users/dre-hh/events{/privacy}",
"received_events_url": "https://api.github.com/users/dre-hh/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": 5922361893,
"node_id": "LA_kwDOArmXAs8AAAABYQASJQ",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF2.14",
"name": "TF2.14",
"color": "b60205",
"default": false,
"description": "For issues related to Tensorflow 2.14.x"
}
] | open | false | {
"login": "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 | [
"cc: @kulinseth , @learning-to-play ",
"When I run\r\n\r\n```\r\npoetry add \"tensorflow==2.15.0.post1[and-cuda]\"\r\n```\r\n\r\nI still get\r\n\r\n```\r\nUpdating dependencies\r\nResolving dependencies... (0.6s)\r\n\r\nBecause tensorflow (2.15.0.post1) depends on tensorflow-intel (2.15.0.post1) which doesn't match any versions, tensorflow is forbidden.\r\nSo, because tf depends on tensorflow (2.15.0.post1), version solving failed.\r\n```\r\n\r\nI tried on `tf-nightly` as well, but there I already run into a different (more fundamental?) issue: https://github.com/tensorflow/tensorflow/issues/62928",
"Hi there, on my Windows 10 machine I get the same error when trying to use the CPU version.\r\n```\r\npoetry add tensorflow==2.15.0.post1\r\n```\r\nyields\r\n\r\n```\r\nBecause tensorflow (2.15.0.post1) depends on tensorflow-intel (2.15.0.post1) which doesn't match any versions, tensorflow is forbidden.\r\nSo, because tf depends on tensorflow (2.15.0.post1), version solving failed.\r\n```"
] | 2023-09-28T09:18:26 | 2024-02-09T12:02:47 | null | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
binary
### TensorFlow version
2.14.0
### Custom code
No
### OS platform and distribution
macOS-13.3-arm64-arm-64bit
### 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?
Tensorflow 2.14.0 still has wrong metadata published to pypi compared to what is actually installed
It does not list following platform specific dependencies.:
```
Requires-Dist: tensorflow-macos (==2.14.0) ; platform_system == "Darwin" and platform_machine == "arm64"
Requires-Dist: tensorflow-cpu-aws (==2.14.0) ; platform_system == "Linux" and (platform_machine == "arm64" or platform_machine == "aarch64")
Requires-Dist: tensorflow-intel (==2.14.0) ; platform_system == "Windows"
```
This leads to poetry not being able to install tensorflow properly.
See #61477
### Standalone code to reproduce the issue
```shell
pip install tensorflow==2.14.0
cd python3.11/site-packages
cat tensorflow-2.14.0.dist-info/METADA
Requires-Dist: tensorflow-macos (==2.14.0) ; platform_system == "Darwin" and platform_machine == "arm64"
Requires-Dist: tensorflow-cpu-aws (==2.14.0) ; platform_system == "Linux" and (platform_machine == "arm64" or platform_machine == "aarch64")
Requires-Dist: tensorflow-intel (==2.14.0) ; platform_system == "Windows"
```
vs
curl -s https://pypi.org/pypi/tensorflow/2.14.0/json | jq '.info.requires_dist'
```
[
"opt-einsum (>=2.3.2)",
"absl-py (>=1.0.0)",
"astunparse (>=1.6.0)",
"flatbuffers (>=23.5.26)",
"gast (!=0.5.0,!=0.5.1,!=0.5.2,>=0.2.1)",
"google-pasta (>=0.1.1)",
"h5py (>=2.9.0)",
"libclang (>=13.0.0)",
"ml-dtypes (==0.2.0)",
"numpy (>=1.23.5)",
"packaging",
"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)",
"setuptools",
"six (>=1.12.0)",
"termcolor (>=1.1.0)",
"typing-extensions (>=3.6.6)",
"wrapt (<1.15,>=1.11.0)",
"tensorflow-io-gcs-filesystem (>=0.23.1)",
"grpcio (<2.0,>=1.24.3)",
"tensorboard (<2.15,>=2.14)",
"tensorflow-estimator (<2.15,>=2.14.0)",
"keras (<2.15,>=2.14.0)",
"nvidia-cuda-runtime-cu11 (==11.8.89) ; extra == 'and-cuda'",
"nvidia-cublas-cu11 (==11.11.3.6) ; extra == 'and-cuda'",
"nvidia-cufft-cu11 (==10.9.0.58) ; extra == 'and-cuda'",
"nvidia-cudnn-cu11 (==8.7.0.84) ; extra == 'and-cuda'",
"nvidia-curand-cu11 (==10.3.0.86) ; extra == 'and-cuda'",
"nvidia-cusolver-cu11 (==11.4.1.48) ; extra == 'and-cuda'",
"nvidia-cusparse-cu11 (==11.7.5.86) ; extra == 'and-cuda'",
"nvidia-nccl-cu11 (==2.16.5) ; extra == 'and-cuda'",
"nvidia-cuda-cupti-cu11 (==11.8.87) ; extra == 'and-cuda'",
"nvidia-cuda-nvcc-cu11 (==11.8.89) ; extra == 'and-cuda'",
"tensorrt (==8.5.3.1) ; extra == 'and-cuda'"
]
```
```
### Relevant log output
_No response_ | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/62000/reactions",
"total_count": 6,
"+1": 6,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/62000/timeline | null | null | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61999 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61999/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61999/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61999/events | https://github.com/tensorflow/tensorflow/issues/61999 | 1,917,055,790 | I_kwDOArmXAs5yQ_Mu | 61,999 | Checkpoint callback error "save best only" in .keras format. | {
"login": "Kaczmarekrr",
"id": 62336599,
"node_id": "MDQ6VXNlcjYyMzM2NTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/62336599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Kaczmarekrr",
"html_url": "https://github.com/Kaczmarekrr",
"followers_url": "https://api.github.com/users/Kaczmarekrr/followers",
"following_url": "https://api.github.com/users/Kaczmarekrr/following{/other_user}",
"gists_url": "https://api.github.com/users/Kaczmarekrr/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Kaczmarekrr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Kaczmarekrr/subscriptions",
"organizations_url": "https://api.github.com/users/Kaczmarekrr/orgs",
"repos_url": "https://api.github.com/users/Kaczmarekrr/repos",
"events_url": "https://api.github.com/users/Kaczmarekrr/events{/privacy}",
"received_events_url": "https://api.github.com/users/Kaczmarekrr/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": 1315098405,
"node_id": "MDU6TGFiZWwxMzE1MDk4NDA1",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/regression%20issue",
"name": "regression issue",
"color": "50bcc4",
"default": false,
"description": "To spot regression issues in latest version"
},
{
"id": 5508003926,
"node_id": "LA_kwDOArmXAs8AAAABSE14Vg",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13",
"name": "TF 2.13",
"color": "B13ACB",
"default": false,
"description": "For issues related to Tensorflow 2.13"
}
] | closed | false | {
"login": "SuryanarayanaY",
"id": 116063290,
"node_id": "U_kgDOBur8Og",
"avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SuryanarayanaY",
"html_url": "https://github.com/SuryanarayanaY",
"followers_url": "https://api.github.com/users/SuryanarayanaY/followers",
"following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}",
"gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions",
"organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs",
"repos_url": "https://api.github.com/users/SuryanarayanaY/repos",
"events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}",
"received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "SuryanarayanaY",
"id": 116063290,
"node_id": "U_kgDOBur8Og",
"avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SuryanarayanaY",
"html_url": "https://github.com/SuryanarayanaY",
"followers_url": "https://api.github.com/users/SuryanarayanaY/followers",
"following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}",
"gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions",
"organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs",
"repos_url": "https://api.github.com/users/SuryanarayanaY/repos",
"events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}",
"received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"Hi @Kaczmarekrr ,\r\n\r\nI have replicated the issue with TF2.13 and nightly versions as well.Please refer attached [gist>2.12v](https://colab.sandbox.google.com/gist/SuryanarayanaY/a080d947da2e344994f069fb2efca53e/61999.ipynb#scrollTo=J9xnCutLA-Pl) for same.\r\n\r\nIt seems a regression issue and same code works fine in TF2.12v as per attached [gist-2.12v](https://colab.sandbox.google.com/gist/SuryanarayanaY/88d7169b5d4362f3f900e221f01578c8/61999-tf-21-12v.ipynb).\r\n\r\nBasically in your workaround you are omitting the `options` argument which makes it workable for this case. If I am not wrong you might be adding the code in between if and else here shown in snap shot right? Please confirm.\r\n\r\n<img width=\"729\" alt=\"Screenshot 2023-09-29 at 5 35 41 PM\" src=\"https://github.com/tensorflow/tensorflow/assets/116063290/b70b989f-a9ea-46f5-a2f3-4976cc480adf\">\r\n\r\n\r\n\r\n\r\nWe will have a look into the issue and do needful fix. Thanks!\r\n\r\n",
"Hi @SuryanarayanaY! Thanks for answer! \r\n\r\nYes! This is exactly the place in callbacks.py\r\nIn my version:\r\n```python\r\n if self.verbose > 0:\r\n io_utils.print_msg(\r\n f\"\\nEpoch {epoch + 1}: {self.monitor} \"\r\n \"improved \"\r\n f\"from {self.best:.5f} to {current:.5f}, \"\r\n f\"saving model to {filepath}\"\r\n )\r\n self.best = current\r\n if self.save_weights_only:\r\n self.model.save_weights(\r\n filepath,\r\n overwrite=True,\r\n options=self._options,\r\n )\r\n elif filepath.endswith(\".keras\"):\r\n self.model.save(filepath, overwrite=True)\r\n else:\r\n self.model.save(\r\n filepath,\r\n overwrite=True,\r\n options=self._options,\r\n )\r\n```",
"Hi @SuryanarayanaY and @Kaczmarekrr,\r\n\r\nI came across this thread , Thank you, @SuryanarayanaY , for the temporary workaround. It's been helpful for my local needs.\r\n\r\nFrom a broader perspective, it might be beneficial to consider a more generalized solution. Since the .keras format doesn't support certain arguments, it would be helpful if the TensorFlow library could have an internal check to omit unsupported arguments or throw a more descriptive error to inform users of the unsupported features.\r\n\r\nThe fact that this works in TF2.12 but not in the subsequent versions does suggest a regression issue, and while the local fix addresses the problem, it would be ideal to have an official patch to prevent such issues in future releases.\r\n\r\nThanks for your efforts in identifying and working on the issue!",
"Hi @Kaczmarekrr , @Adesoji1 ,\r\n\r\nThe issue got fixed in `keras_core` nightly with the above commit. I have checked it and working fine now and attached [gist](https://colab.sandbox.google.com/gist/SuryanarayanaY/b7d7ab05ace5a555b2717e67f44f0092/61999-keras_core.ipynb) for reference. Same will be reflected in **Keras3** also.\r\n\r\nThank 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/61999\">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/61999\">No</a>\n"
] | 2023-09-28T09:11:43 | 2023-10-21T01:46:55 | 2023-10-21T01:46:52 | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
No
### Source
binary
### TensorFlow version
2.13
### Custom code
Yes
### OS platform and distribution
Ubuntu 22.02
### Mobile device
_No response_
### Python version
3.10
### Bazel version
_No response_
### GCC/compiler version
_No response_
### CUDA/cuDNN version
_No response_
### GPU model and memory
_No response_
### Current behavior?
Saving best model only with callback with .keras format as the whole model which works well when saving every epoch.
Locally I fixed this adding elif option to save best only as in the version with this parameter is False.
```python
elif filepath.endswith(".keras"):
self.model.save(filepath, overwrite=True)
```
### Standalone code to reproduce the issue
```shell
https://colab.research.google.com/drive/1e_imdDFEm-5qARqSbXm8-5JxZP43V_wg?usp=sharing
```
### Relevant log output
```shell
Traceback (most recent call last):
File "/home/r.kaczmarek/repos/diarization-poc/tmp_train.py", line 67, in <module>
model.fit(
File "/home/r.kaczmarek/miniconda3/envs/tf-diarization/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 70, in error_handler
raise e.with_traceback(filtered_tb) from None
File "/home/r.kaczmarek/miniconda3/envs/tf-diarization/lib/python3.10/site-packages/keras/src/saving/saving_api.py", line 142, in save_model
raise ValueError(
ValueError: The following argument(s) are not supported with the native Keras format: ['options']
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61999/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/61999/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61998 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61998/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61998/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61998/events | https://github.com/tensorflow/tensorflow/pull/61998 | 1,916,961,595 | PR_kwDOArmXAs5bagK6 | 61,998 | Fixed typos in wrap_function.py | {
"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
} | [
{
"id": 390482148,
"node_id": "MDU6TGFiZWwzOTA0ODIxNDg=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/awaiting%20review",
"name": "awaiting review",
"color": "bc3869",
"default": false,
"description": "Pull request awaiting review"
},
{
"id": 987666414,
"node_id": "MDU6TGFiZWw5ODc2NjY0MTQ=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/ready%20to%20pull",
"name": "ready to pull",
"color": "2cd643",
"default": false,
"description": "PR ready for merge process"
},
{
"id": 1169364259,
"node_id": "MDU6TGFiZWwxMTY5MzY0MjU5",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:XS",
"name": "size:XS",
"color": "adafea",
"default": false,
"description": "CL Change Size: Extra Small"
}
] | closed | false | {
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
}
] | null | [] | 2023-09-28T08:16:32 | 2023-10-09T04:30:48 | 2023-10-09T04:30:47 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61998",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61998",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61998.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61998.patch",
"merged_at": "2023-10-09T04:30:47"
} | Fixed typos in `wrap_function.py` and `trt_convert.py` | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61998/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/61998/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61997 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61997/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61997/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61997/events | https://github.com/tensorflow/tensorflow/pull/61997 | 1,916,851,786 | PR_kwDOArmXAs5baIl0 | 61,997 | Fixed typos in TF document | {
"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
} | [
{
"id": 390482148,
"node_id": "MDU6TGFiZWwzOTA0ODIxNDg=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/awaiting%20review",
"name": "awaiting review",
"color": "bc3869",
"default": false,
"description": "Pull request awaiting review"
},
{
"id": 987666414,
"node_id": "MDU6TGFiZWw5ODc2NjY0MTQ=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/ready%20to%20pull",
"name": "ready to pull",
"color": "2cd643",
"default": false,
"description": "PR ready for merge process"
},
{
"id": 1169364259,
"node_id": "MDU6TGFiZWwxMTY5MzY0MjU5",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:XS",
"name": "size:XS",
"color": "adafea",
"default": false,
"description": "CL Change Size: Extra Small"
}
] | closed | false | {
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
}
] | null | [] | 2023-09-28T07:06:53 | 2023-10-03T08:35:11 | 2023-10-03T08:35:10 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61997",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61997",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61997.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61997.patch",
"merged_at": "2023-10-03T08:35:10"
} | Corrected several typos in documentation. Please have a look. Thank you! | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61997/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/61997/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61996 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61996/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61996/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61996/events | https://github.com/tensorflow/tensorflow/issues/61996 | 1,916,763,370 | I_kwDOArmXAs5yP3zq | 61,996 | Why support for Python 3.8 has been removed in Tensorflow 2.14 | {
"login": "harupy",
"id": 17039389,
"node_id": "MDQ6VXNlcjE3MDM5Mzg5",
"avatar_url": "https://avatars.githubusercontent.com/u/17039389?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/harupy",
"html_url": "https://github.com/harupy",
"followers_url": "https://api.github.com/users/harupy/followers",
"following_url": "https://api.github.com/users/harupy/following{/other_user}",
"gists_url": "https://api.github.com/users/harupy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/harupy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/harupy/subscriptions",
"organizations_url": "https://api.github.com/users/harupy/orgs",
"repos_url": "https://api.github.com/users/harupy/repos",
"events_url": "https://api.github.com/users/harupy/events{/privacy}",
"received_events_url": "https://api.github.com/users/harupy/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": 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": 5922361893,
"node_id": "LA_kwDOArmXAs8AAAABYQASJQ",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF2.14",
"name": "TF2.14",
"color": "b60205",
"default": false,
"description": "For issues related to Tensorflow 2.14.x"
}
] | 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 | [
"@harupy,\r\nAFAIK, As part of the upgrade, Python 3.8 has been removed from Tensorflow 2.14. But the TensorFlow 2.13.1 patch release will still have Python 3.8 support.\r\nhttps://github.com/tensorflow/tensorflow/releases\r\nCould please allow me to do a deep dive into the same questions and provide an update. Thank you!",
"@tilakrayal Thanks!",
"Perhaps it's because pandas and numpy already dropped Python 3.8 support in their latest versions?",
"Yes, along with that Tensorflow follow Python lifecycle, 3.8 will be soon be end of lifecycle as per the chart published here https://devguide.python.org/versions/",
"@sachinprasadhs makes sense, thanks for the clarification!",
"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/61996\">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/61996\">No</a>\n"
] | 2023-09-28T05:48:07 | 2023-10-05T07:53:16 | 2023-10-03T15:13:59 | NONE | null | null | null | Not an issue, but a question. Just out of curiosity, Why has support for Python 3.8 been removed in Tensorflow 2.14? | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61996/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/61996/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61995 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61995/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61995/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61995/events | https://github.com/tensorflow/tensorflow/issues/61995 | 1,916,665,821 | I_kwDOArmXAs5yPf_d | 61,995 | can't convert keras model to tflite | {
"login": "meixitu17",
"id": 68658008,
"node_id": "MDQ6VXNlcjY4NjU4MDA4",
"avatar_url": "https://avatars.githubusercontent.com/u/68658008?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/meixitu17",
"html_url": "https://github.com/meixitu17",
"followers_url": "https://api.github.com/users/meixitu17/followers",
"following_url": "https://api.github.com/users/meixitu17/following{/other_user}",
"gists_url": "https://api.github.com/users/meixitu17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/meixitu17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meixitu17/subscriptions",
"organizations_url": "https://api.github.com/users/meixitu17/orgs",
"repos_url": "https://api.github.com/users/meixitu17/repos",
"events_url": "https://api.github.com/users/meixitu17/events{/privacy}",
"received_events_url": "https://api.github.com/users/meixitu17/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 750616506,
"node_id": "MDU6TGFiZWw3NTA2MTY1MDY=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:lite",
"name": "comp:lite",
"color": "0052cc",
"default": false,
"description": "TF Lite related issues"
},
{
"id": 1661751498,
"node_id": "MDU6TGFiZWwxNjYxNzUxNDk4",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TFLiteConverter",
"name": "TFLiteConverter",
"color": "bfdadc",
"default": false,
"description": "For issues related to TFLite converter"
},
{
"id": 5922361893,
"node_id": "LA_kwDOArmXAs8AAAABYQASJQ",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF2.14",
"name": "TF2.14",
"color": "b60205",
"default": false,
"description": "For issues related to Tensorflow 2.14.x"
}
] | 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 @meixitu17 \r\n\r\nThe issue might be caused because the flatbuffers limit of 2GB. However, for LLM models you can refer to our new tutorial \r\nhttps://www.tensorflow.org/lite/examples/auto_complete/overview\r\n\r\nThis tutorial provides example for Auto complete based on [PaLM](https://ai.googleblog.com/2022/04/pathways-language-model-palm-scaling-to.html) model, fine tuned on 1.5 Billion parameters.\r\n\r\nThis model is based on Keras NLP and then converted to TFLite and TFLite runtime.\r\n\r\nThanks.",
"@pjpratik \r\n Yes, I saw you Palm model tutorial , but I did not try it yet. It seems this flow only can use keras_nlp models. right?\r\n\r\n the flatbuffer 2GB limit should be resolved in tf2.14\r\n\r\n\r\nThanks",
"Hi @meixitu17 \r\n\r\nThe flow should work for any keras model as well. Incase your model is an LLM, you can see if the [tutorial](https://www.tensorflow.org/lite/examples/auto_complete/overview) helps for your use case.\r\n\r\nThanks.",
"@pjpratik ,\r\n\r\n Thanks, I will try it.\r\n\r\nThanks",
"@pjpratik ,\r\n1) I tried this 'auto complete' tutorial, here is the code, i just use python=3.9, and pip install keras_nlp==0.6.2, (actually, i tried 0.6.0,0.6.1,0.6.2.dev0, NO version work), did not install others\r\n\r\n\r\n\r\nthere are something wrong:\r\n\r\n\r\n\r\n2) in this tutorial, there is \" Note that you can also use from_keras_model() from [TFLiteConverter]\"\r\n(https://www.tensorflow.org/api_docs/python/tf/lite/TFLiteConverter#from_keras_model) in order to perform the conversion.\r\n\r\nSo If I had a keras model, the convert flow seems no different with my code in the first page:\r\n\r\nimport tensorflow as tf\r\n\r\nkeras_model = tf.keras.models.load_model(keras_model_filename)\r\nconverter = tf.lite.TFLiteConverter.from_keras_model(keras_model)\r\ntflite_model = converter.convert()\r\n\r\nfile = open(tflite_model_filename, 'wb‘)\r\nfile.write(tflite_model)\r\n\r\nCould you please give me an example how to convert the big keras model to tflite?\r\n\r\nThanks",
"Hi @meixitu17 \r\n\r\nI have tried the [autocomplete](https://www.tensorflow.org/lite/examples/auto_complete/overview) tutorial on google colab and I was able to run without any errors. Please find this [gist](https://colab.research.google.com/gist/pjpratik/671f772ca1f754d618d00a6581c31f36/61995.ipynb).\r\n\r\nIf you could share your model inorder to reproduce the issue, that would help us to understand the cause better.\r\n\r\nThanks.\r\n",
"This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.",
"@pjpratik \r\n I read all of your scripts, and tried it. I can generate tflite gpt2 to tflite successfully.\r\nThanks\r\n"
] | 2023-09-28T04:11:06 | 2023-11-14T01:29:23 | 2023-10-16T23:17:42 | NONE | null | null | null | ### 1. System information
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 22
- TensorFlow installation (pip package or built from source): pip
- TensorFlow library (version, if pip package or github SHA, if built from source): 2.14.0 or tf-nightly
### 2. Code
Provide code to help us reproduce your issues using one of the following options:
#### Option A: Reference colab notebooks
1) Reference [TensorFlow Model Colab](https://colab.research.google.com/gist/ymodak/e96a4270b953201d5362c61c1e8b78aa/tensorflow-datasets.ipynb?authuser=1): Demonstrate how to build your TF model.
2) Reference [TensorFlow Lite Model Colab](https://colab.research.google.com/gist/ymodak/0dfeb28255e189c5c48d9093f296e9a8/tensorflow-lite-debugger-colab.ipynb): Demonstrate how to convert your TF model to a TF Lite model (with quantization, if used) and run TFLite Inference (if possible).
```
(You can paste links or attach files by dragging & dropping them below)
- Provide links to your updated versions of the above two colab notebooks.
- Provide links to your TensorFlow model and (optionally) TensorFlow Lite Model.
```
#### Option B: Paste your code here or provide a link to a custom end-to-end colab
```
(You can paste links or attach files by dragging & dropping them below)
- Include code to invoke the TFLite Converter Python API and the errors.
- Provide links to your TensorFlow model and (optionally) TensorFlow Lite Model.
```
import tensorflow as tf
keras_model = tf.keras.models.load_model(keras_model_filename)
converter = tf.lite.TFLiteConverter.from_keras_model(keras_model)
tflite_model = converter.convert()
file = open(tflite_model_filename, 'wb‘)
file.write(tflite_model)
### 3. Failure after conversion
If the conversion is successful, but the generated model is wrong, then state what is wrong:
- Model produces wrong results and/or has lesser accuracy.
- Model produces correct results, but it is slower than expected.
### 4. (optional) RNN conversion support
If converting TF RNN to TFLite fused RNN ops, please prefix [RNN] in the title.
### 5. (optional) Any other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61995/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/61995/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61994 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61994/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61994/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61994/events | https://github.com/tensorflow/tensorflow/pull/61994 | 1,916,048,132 | PR_kwDOArmXAs5bXaF5 | 61,994 | [TOSA] On BatchToSpace legalization, use slice input shape to fix slicing dynamic size | {
"login": "Tessil",
"id": 21028116,
"node_id": "MDQ6VXNlcjIxMDI4MTE2",
"avatar_url": "https://avatars.githubusercontent.com/u/21028116?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Tessil",
"html_url": "https://github.com/Tessil",
"followers_url": "https://api.github.com/users/Tessil/followers",
"following_url": "https://api.github.com/users/Tessil/following{/other_user}",
"gists_url": "https://api.github.com/users/Tessil/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Tessil/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Tessil/subscriptions",
"organizations_url": "https://api.github.com/users/Tessil/orgs",
"repos_url": "https://api.github.com/users/Tessil/repos",
"events_url": "https://api.github.com/users/Tessil/events{/privacy}",
"received_events_url": "https://api.github.com/users/Tessil/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": 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"
}
] | open | false | {
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"Hi @jpienaar Can you please review this PR ? Thank you!",
"Hi @jpienaar Can you please review this PR ? Thank you!",
"Hi @rdzhabarov Can you please review this PR ? Thank you!",
"Hi @rdzhabarov Can you please review this PR ? Thank you!",
"Hi @rdzhabarov Can you please review this PR ? Thank you!"
] | 2023-09-27T17:45:26 | 2024-06-07T16:29:13 | null | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61994",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61994",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61994.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61994.patch",
"merged_at": null
} | Hi,
This PR improves the `tfl.batch_to_space_nd` TFL -> TOSA legalization when the input has dynamic shapes by propagating the inferred input size of the slicing. | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61994/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/61994/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61993 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61993/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61993/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61993/events | https://github.com/tensorflow/tensorflow/issues/61993 | 1,915,942,767 | I_kwDOArmXAs5yMvdv | 61,993 | Packaging Problem with "pip install -U tensorflow[and-cuda]" Installs tensorflow 2.13.1 | {
"login": "teddy661",
"id": 76535893,
"node_id": "MDQ6VXNlcjc2NTM1ODkz",
"avatar_url": "https://avatars.githubusercontent.com/u/76535893?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/teddy661",
"html_url": "https://github.com/teddy661",
"followers_url": "https://api.github.com/users/teddy661/followers",
"following_url": "https://api.github.com/users/teddy661/following{/other_user}",
"gists_url": "https://api.github.com/users/teddy661/gists{/gist_id}",
"starred_url": "https://api.github.com/users/teddy661/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/teddy661/subscriptions",
"organizations_url": "https://api.github.com/users/teddy661/orgs",
"repos_url": "https://api.github.com/users/teddy661/repos",
"events_url": "https://api.github.com/users/teddy661/events{/privacy}",
"received_events_url": "https://api.github.com/users/teddy661/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"
},
{
"id": 5922361893,
"node_id": "LA_kwDOArmXAs8AAAABYQASJQ",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF2.14",
"name": "TF2.14",
"color": "b60205",
"default": false,
"description": "For issues related to Tensorflow 2.14.x"
}
] | open | false | {
"login": "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 had the same issue, Ithink it's partly tied to #61986, TF2.14 is currently not install able on Python 3.11 due to `tensorrt` issues. If/when that gets resolved, we will be able to install it on CP311.",
"@teddy661 Could you please confirm if you are not able to install TF v2.14 using following command\r\n```\r\n!pip install -U tensorflow[and-cuda]\r\n```\r\nI was able to install it on Google [colab](https://colab.research.google.com/gist/sushreebarsa/5ac8efaff85c92c0d64d584bd752634e/61993.ipynb), please have a look?\r\n Thank you!",
"> @teddy661 Could you please confirm if you are not able to install TF v2.14 using following command\n> ```\n> !pip install -U tensorflow[and-cuda]\n> ```\n> I was able to install it on Google [colab](https://colab.research.google.com/gist/sushreebarsa/5ac8efaff85c92c0d64d584bd752634e/61993.ipynb), please have a look?\n> Thank you!\n\nIn colab you used python 3.10. The issue only persists with Python 3.11.",
"@teddy661 Thank you for your response!\r\nI was able to replicate this issue [here](https://colab.research.google.com/gist/sushreebarsa/612de2200bb063bd0646be98bb3ee3c5/61993-gist.ipynb). @sachinprasadhs Could you please have a look at this. Thank you!",
"It appears to still be broken. I received the same result. With a slightly different error message.\r\n\r\n\r\nCollecting keras<2.15,>=2.14.0 (from tensorflow[and-cuda])\r\n Obtaining dependency information for keras<2.15,>=2.14.0 from https://files.pythonhosted.org/packages/fe/58/34d4d8f1aa11120c2d36d7ad27d0526164b1a8ae45990a2fede31d0e59bf/keras-2.14.0-py3-none-any.whl.metadata\r\n Downloading keras-2.14.0-py3-none-any.whl.metadata (2.4 kB)\r\nCollecting nvidia-cuda-runtime-cu11==11.8.89 (from tensorflow[and-cuda])\r\n Downloading nvidia_cuda_runtime_cu11-11.8.89-py3-none-manylinux1_x86_64.whl (875 kB)\r\n ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 875.6/875.6 kB 4.9 MB/s eta 0:00:00\r\nCollecting nvidia-cublas-cu11==11.11.3.6 (from tensorflow[and-cuda])\r\n Downloading nvidia_cublas_cu11-11.11.3.6-py3-none-manylinux1_x86_64.whl (417.9 MB)\r\n ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 417.9/417.9 MB 6.8 MB/s eta 0:00:00\r\nCollecting nvidia-cufft-cu11==10.9.0.58 (from tensorflow[and-cuda])\r\n Downloading nvidia_cufft_cu11-10.9.0.58-py3-none-manylinux1_x86_64.whl (168.4 MB)\r\n ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 168.4/168.4 MB 11.7 MB/s eta 0:00:00\r\nCollecting nvidia-cudnn-cu11==8.7.0.84 (from tensorflow[and-cuda])\r\n Downloading nvidia_cudnn_cu11-8.7.0.84-py3-none-manylinux1_x86_64.whl (728.5 MB)\r\n ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 728.5/728.5 MB 5.4 MB/s eta 0:00:00\r\nCollecting nvidia-curand-cu11==10.3.0.86 (from tensorflow[and-cuda])\r\n Downloading nvidia_curand_cu11-10.3.0.86-py3-none-manylinux1_x86_64.whl (58.1 MB)\r\n ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.1/58.1 MB 13.2 MB/s eta 0:00:00\r\nCollecting nvidia-cusolver-cu11==11.4.1.48 (from tensorflow[and-cuda])\r\n Downloading nvidia_cusolver_cu11-11.4.1.48-py3-none-manylinux1_x86_64.whl (128.2 MB)\r\n ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 128.2/128.2 MB 11.8 MB/s eta 0:00:00\r\nCollecting nvidia-cusparse-cu11==11.7.5.86 (from tensorflow[and-cuda])\r\n Downloading nvidia_cusparse_cu11-11.7.5.86-py3-none-manylinux1_x86_64.whl (204.1 MB)\r\n ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 204.1/204.1 MB 10.7 MB/s eta 0:00:00\r\nCollecting nvidia-nccl-cu11==2.16.5 (from tensorflow[and-cuda])\r\n Downloading nvidia_nccl_cu11-2.16.5-py3-none-manylinux1_x86_64.whl (210.3 MB)\r\n ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 210.3/210.3 MB 10.2 MB/s eta 0:00:00\r\nCollecting nvidia-cuda-cupti-cu11==11.8.87 (from tensorflow[and-cuda])\r\n Downloading nvidia_cuda_cupti_cu11-11.8.87-py3-none-manylinux1_x86_64.whl (13.1 MB)\r\n ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.1/13.1 MB 16.5 MB/s eta 0:00:00\r\nCollecting nvidia-cuda-nvcc-cu11==11.8.89 (from tensorflow[and-cuda])\r\n Downloading nvidia_cuda_nvcc_cu11-11.8.89-py3-none-manylinux1_x86_64.whl (19.5 MB)\r\n ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 19.5/19.5 MB 12.5 MB/s eta 0:00:00\r\nINFO: pip is looking at multiple versions of tensorflow[and-cuda] to determine which version is compatible with other requirements. This could take a while.\r\nCollecting tensorflow[and-cuda]\r\n Obtaining dependency information for tensorflow[and-cuda] from https://files.pythonhosted.org/packages/df/0c/22cb1c82e0fbaca8c00c3e5e8f9cd1e1b618837f1c5641914fe251bdc9a5/tensorflow-2.13.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata\r\n Downloading tensorflow-2.13.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.4 kB)\r\nWARNING: tensorflow 2.13.1 does not provide the extra 'and-cuda'",
"I have the same issue, Ubuntu 20.04.6, Python 3.11, in the middle it spits `WARNING: tensorflow 2.13.1 does not provide the extra 'and-cuda'` and does not install the latest version. If I don't use the `[and-cuda]` it installs 2.14.\r\n\r\n```\r\n$ python3.11 -m venv test_venv\r\n$ . test_venv/bin/activate\r\n(test_venv) $ pip install --upgrade pip setuptools wheel\r\nRequirement already satisfied: pip in ./test_venv/lib/python3.11/site-packages (23.2.1)\r\nRequirement already satisfied: setuptools in ./test_venv/lib/python3.11/site-packages (65.5.0)\r\nCollecting setuptools\r\n Obtaining dependency information for setuptools from https://files.pythonhosted.org/packages/bb/26/7945080113158354380a12ce26873dd6c1ebd88d47f5bc24e2c5bb38c16a/setuptools-68.2.2-py3-none-any.whl.metadata\r\n Using cached setuptools-68.2.2-py3-none-any.whl.metadata (6.3 kB)\r\nCollecting wheel\r\n Obtaining dependency information for wheel from https://files.pythonhosted.org/packages/b8/8b/31273bf66016be6ad22bb7345c37ff350276cfd46e389a0c2ac5da9d9073/wheel-0.41.2-py3-none-any.whl.metadata\r\n Using cached wheel-0.41.2-py3-none-any.whl.metadata (2.2 kB)\r\nUsing cached setuptools-68.2.2-py3-none-any.whl (807 kB)\r\nUsing cached wheel-0.41.2-py3-none-any.whl (64 kB)\r\nInstalling collected packages: wheel, setuptools\r\n Attempting uninstall: setuptools\r\n Found existing installation: setuptools 65.5.0\r\n Uninstalling setuptools-65.5.0:\r\n Successfully uninstalled setuptools-65.5.0\r\nSuccessfully installed setuptools-68.2.2 wheel-0.41.2\r\n(test_venv) $ pip install tensorflow[and-cuda]\r\nCollecting tensorflow[and-cuda]\r\n Obtaining dependency information for tensorflow[and-cuda] from https://files.pythonhosted.org/packages/09/63/25e76075081ea98ec48f23929cefee58be0b42212e38074a9ec5c19e838c/tensorflow-2.14.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata\r\n Using cached tensorflow-2.14.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.1 kB)\r\nCollecting absl-py>=1.0.0 (from tensorflow[and-cuda])\r\n Obtaining dependency information for absl-py>=1.0.0 from https://files.pythonhosted.org/packages/01/e4/dc0a1dcc4e74e08d7abedab278c795eef54a224363bb18f5692f416d834f/absl_py-2.0.0-py3-none-any.whl.metadata\r\n Using cached absl_py-2.0.0-py3-none-any.whl.metadata (2.3 kB)\r\nCollecting astunparse>=1.6.0 (from tensorflow[and-cuda])\r\n Using cached astunparse-1.6.3-py2.py3-none-any.whl (12 kB)\r\nCollecting flatbuffers>=23.5.26 (from tensorflow[and-cuda])\r\n Obtaining dependency information for flatbuffers>=23.5.26 from https://files.pythonhosted.org/packages/6f/12/d5c79ee252793ffe845d58a913197bfa02ae9a0b5c9bc3dc4b58d477b9e7/flatbuffers-23.5.26-py2.py3-none-any.whl.metadata\r\n Using cached flatbuffers-23.5.26-py2.py3-none-any.whl.metadata (850 bytes)\r\nCollecting gast!=0.5.0,!=0.5.1,!=0.5.2,>=0.2.1 (from tensorflow[and-cuda])\r\n Using cached gast-0.5.4-py3-none-any.whl (19 kB)\r\nCollecting google-pasta>=0.1.1 (from tensorflow[and-cuda])\r\n Using cached google_pasta-0.2.0-py3-none-any.whl (57 kB)\r\nCollecting h5py>=2.9.0 (from tensorflow[and-cuda])\r\n Obtaining dependency information for h5py>=2.9.0 from https://files.pythonhosted.org/packages/a7/d9/ac660616671e30d70c091e46ed4fdc50df48ca79b1ac99df5499a45de128/h5py-3.9.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata\r\n Using cached h5py-3.9.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.5 kB)\r\nCollecting libclang>=13.0.0 (from tensorflow[and-cuda])\r\n Obtaining dependency information for libclang>=13.0.0 from https://files.pythonhosted.org/packages/ea/df/55525e489c43f9dbb6c8ea27d8a567b3dcd18a22f3c45483055f5ca6611d/libclang-16.0.6-py2.py3-none-manylinux2010_x86_64.whl.metadata\r\n Using cached libclang-16.0.6-py2.py3-none-manylinux2010_x86_64.whl.metadata (5.2 kB)\r\nCollecting ml-dtypes==0.2.0 (from tensorflow[and-cuda])\r\n Obtaining dependency information for ml-dtypes==0.2.0 from https://files.pythonhosted.org/packages/87/91/d57c2d22e4801edeb7f3e7939214c0ea8a28c6e16f85208c2df2145e0213/ml_dtypes-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata\r\n Using cached ml_dtypes-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (20 kB)\r\nCollecting numpy>=1.23.5 (from tensorflow[and-cuda])\r\n Obtaining dependency information for numpy>=1.23.5 from https://files.pythonhosted.org/packages/c4/36/161e2f8110f8c49e59f6107bd6da4257d30aff9f06373d0471811f73dcc5/numpy-1.26.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata\r\n Using cached numpy-1.26.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (58 kB)\r\nCollecting opt-einsum>=2.3.2 (from tensorflow[and-cuda])\r\n Using cached opt_einsum-3.3.0-py3-none-any.whl (65 kB)\r\nCollecting packaging (from tensorflow[and-cuda])\r\n Obtaining dependency information for packaging from https://files.pythonhosted.org/packages/ec/1a/610693ac4ee14fcdf2d9bf3c493370e4f2ef7ae2e19217d7a237ff42367d/packaging-23.2-py3-none-any.whl.metadata\r\n Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB)\r\nCollecting 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 (from tensorflow[and-cuda])\r\n Obtaining dependency information for 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 from https://files.pythonhosted.org/packages/c8/2c/03046cac73f46bfe98fc846ef629cf4f84c2f59258216aa2cc0d22bfca8f/protobuf-4.24.4-cp37-abi3-manylinux2014_x86_64.whl.metadata\r\n Using cached protobuf-4.24.4-cp37-abi3-manylinux2014_x86_64.whl.metadata (540 bytes)\r\nRequirement already satisfied: setuptools in ./test_venv/lib/python3.11/site-packages (from tensorflow[and-cuda]) (68.2.2)\r\nCollecting six>=1.12.0 (from tensorflow[and-cuda])\r\n Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)\r\nCollecting termcolor>=1.1.0 (from tensorflow[and-cuda])\r\n Using cached termcolor-2.3.0-py3-none-any.whl (6.9 kB)\r\nCollecting typing-extensions>=3.6.6 (from tensorflow[and-cuda])\r\n Obtaining dependency information for typing-extensions>=3.6.6 from https://files.pythonhosted.org/packages/24/21/7d397a4b7934ff4028987914ac1044d3b7d52712f30e2ac7a2ae5bc86dd0/typing_extensions-4.8.0-py3-none-any.whl.metadata\r\n Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB)\r\nCollecting wrapt<1.15,>=1.11.0 (from tensorflow[and-cuda])\r\n Using cached wrapt-1.14.1-cp311-cp311-linux_x86_64.whl\r\nCollecting tensorflow-io-gcs-filesystem>=0.23.1 (from tensorflow[and-cuda])\r\n Obtaining dependency information for tensorflow-io-gcs-filesystem>=0.23.1 from https://files.pythonhosted.org/packages/4c/64/245746084cdd5fafa680a6e7effeecf87abeeac2796decfa835a99b397c7/tensorflow_io_gcs_filesystem-0.34.0-cp311-cp311-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.metadata\r\n Using cached tensorflow_io_gcs_filesystem-0.34.0-cp311-cp311-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.metadata (14 kB)\r\nCollecting grpcio<2.0,>=1.24.3 (from tensorflow[and-cuda])\r\n Obtaining dependency information for grpcio<2.0,>=1.24.3 from https://files.pythonhosted.org/packages/e7/f9/33e17bb938d4b2afc7373120190e857f951d26f899992a9e717121170e2a/grpcio-1.59.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata\r\n Using cached grpcio-1.59.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.0 kB)\r\nCollecting tensorboard<2.15,>=2.14 (from tensorflow[and-cuda])\r\n Obtaining dependency information for tensorboard<2.15,>=2.14 from https://files.pythonhosted.org/packages/73/a2/66ed644f6ed1562e0285fcd959af17670ea313c8f331c46f79ee77187eb9/tensorboard-2.14.1-py3-none-any.whl.metadata\r\n Using cached tensorboard-2.14.1-py3-none-any.whl.metadata (1.7 kB)\r\nCollecting tensorflow-estimator<2.15,>=2.14.0 (from tensorflow[and-cuda])\r\n Obtaining dependency information for tensorflow-estimator<2.15,>=2.14.0 from https://files.pythonhosted.org/packages/d1/da/4f264c196325bb6e37a6285caec5b12a03def489b57cc1fdac02bb6272cd/tensorflow_estimator-2.14.0-py2.py3-none-any.whl.metadata\r\n Using cached tensorflow_estimator-2.14.0-py2.py3-none-any.whl.metadata (1.3 kB)\r\nCollecting keras<2.15,>=2.14.0 (from tensorflow[and-cuda])\r\n Obtaining dependency information for keras<2.15,>=2.14.0 from https://files.pythonhosted.org/packages/fe/58/34d4d8f1aa11120c2d36d7ad27d0526164b1a8ae45990a2fede31d0e59bf/keras-2.14.0-py3-none-any.whl.metadata\r\n Using cached keras-2.14.0-py3-none-any.whl.metadata (2.4 kB)\r\nCollecting nvidia-cuda-runtime-cu11==11.8.89 (from tensorflow[and-cuda])\r\n Using cached nvidia_cuda_runtime_cu11-11.8.89-py3-none-manylinux1_x86_64.whl (875 kB)\r\nCollecting nvidia-cublas-cu11==11.11.3.6 (from tensorflow[and-cuda])\r\n Using cached nvidia_cublas_cu11-11.11.3.6-py3-none-manylinux1_x86_64.whl (417.9 MB)\r\nCollecting nvidia-cufft-cu11==10.9.0.58 (from tensorflow[and-cuda])\r\n Using cached nvidia_cufft_cu11-10.9.0.58-py3-none-manylinux1_x86_64.whl (168.4 MB)\r\nCollecting nvidia-cudnn-cu11==8.7.0.84 (from tensorflow[and-cuda])\r\n Using cached nvidia_cudnn_cu11-8.7.0.84-py3-none-manylinux1_x86_64.whl (728.5 MB)\r\nCollecting nvidia-curand-cu11==10.3.0.86 (from tensorflow[and-cuda])\r\n Using cached nvidia_curand_cu11-10.3.0.86-py3-none-manylinux1_x86_64.whl (58.1 MB)\r\nCollecting nvidia-cusolver-cu11==11.4.1.48 (from tensorflow[and-cuda])\r\n Using cached nvidia_cusolver_cu11-11.4.1.48-py3-none-manylinux1_x86_64.whl (128.2 MB)\r\nCollecting nvidia-cusparse-cu11==11.7.5.86 (from tensorflow[and-cuda])\r\n Using cached nvidia_cusparse_cu11-11.7.5.86-py3-none-manylinux1_x86_64.whl (204.1 MB)\r\nCollecting nvidia-nccl-cu11==2.16.5 (from tensorflow[and-cuda])\r\n Using cached nvidia_nccl_cu11-2.16.5-py3-none-manylinux1_x86_64.whl (210.3 MB)\r\nCollecting nvidia-cuda-cupti-cu11==11.8.87 (from tensorflow[and-cuda])\r\n Using cached nvidia_cuda_cupti_cu11-11.8.87-py3-none-manylinux1_x86_64.whl (13.1 MB)\r\nCollecting nvidia-cuda-nvcc-cu11==11.8.89 (from tensorflow[and-cuda])\r\n Using cached nvidia_cuda_nvcc_cu11-11.8.89-py3-none-manylinux1_x86_64.whl (19.5 MB)\r\nINFO: pip is looking at multiple versions of tensorflow[and-cuda] to determine which version is compatible with other requirements. This could take a while.\r\nCollecting tensorflow[and-cuda]\r\n Obtaining dependency information for tensorflow[and-cuda] from https://files.pythonhosted.org/packages/df/0c/22cb1c82e0fbaca8c00c3e5e8f9cd1e1b618837f1c5641914fe251bdc9a5/tensorflow-2.13.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata\r\n Using cached tensorflow-2.13.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.4 kB)\r\nWARNING: tensorflow 2.13.1 does not provide the extra 'and-cuda'\r\nCollecting gast<=0.4.0,>=0.2.1 (from tensorflow[and-cuda])\r\n Using cached gast-0.4.0-py3-none-any.whl (9.8 kB)\r\nCollecting keras<2.14,>=2.13.1 (from tensorflow[and-cuda])\r\n Obtaining dependency information for keras<2.14,>=2.13.1 from https://files.pythonhosted.org/packages/2e/f3/19da7511b45e80216cbbd9467137b2d28919c58ba1ccb971435cb631e470/keras-2.13.1-py3-none-any.whl.metadata\r\n Using cached keras-2.13.1-py3-none-any.whl.metadata (2.4 kB)\r\nCollecting numpy<=1.24.3,>=1.22 (from tensorflow[and-cuda])\r\n Using cached numpy-1.24.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.3 MB)\r\nCollecting tensorboard<2.14,>=2.13 (from tensorflow[and-cuda])\r\n Using cached tensorboard-2.13.0-py3-none-any.whl (5.6 MB)\r\nCollecting tensorflow-estimator<2.14,>=2.13.0 (from tensorflow[and-cuda])\r\n Obtaining dependency information for tensorflow-estimator<2.14,>=2.13.0 from https://files.pythonhosted.org/packages/72/5c/c318268d96791c6222ad7df1651bbd1b2409139afeb6f468c0f327177016/tensorflow_estimator-2.13.0-py2.py3-none-any.whl.metadata\r\n Using cached tensorflow_estimator-2.13.0-py2.py3-none-any.whl.metadata (1.3 kB)\r\nCollecting typing-extensions<4.6.0,>=3.6.6 (from tensorflow[and-cuda])\r\n Using cached typing_extensions-4.5.0-py3-none-any.whl (27 kB)\r\nCollecting wrapt>=1.11.0 (from tensorflow[and-cuda])\r\n Using cached wrapt-1.15.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (78 kB)\r\nRequirement already satisfied: wheel<1.0,>=0.23.0 in ./test_venv/lib/python3.11/site-packages (from astunparse>=1.6.0->tensorflow[and-cuda]) (0.41.2)\r\nCollecting google-auth<3,>=1.6.3 (from tensorboard<2.14,>=2.13->tensorflow[and-cuda])\r\n Obtaining dependency information for google-auth<3,>=1.6.3 from https://files.pythonhosted.org/packages/d7/88/1826b0c047c48763b36ed854a984127b430a16b70003155d7b19975f1d59/google_auth-2.23.2-py2.py3-none-any.whl.metadata\r\n Using cached google_auth-2.23.2-py2.py3-none-any.whl.metadata (4.2 kB)\r\nCollecting google-auth-oauthlib<1.1,>=0.5 (from tensorboard<2.14,>=2.13->tensorflow[and-cuda])\r\n Using cached google_auth_oauthlib-1.0.0-py2.py3-none-any.whl (18 kB)\r\nCollecting markdown>=2.6.8 (from tensorboard<2.14,>=2.13->tensorflow[and-cuda])\r\n Obtaining dependency information for markdown>=2.6.8 from https://files.pythonhosted.org/packages/1a/b5/228c1cdcfe138f1a8e01ab1b54284c8b83735476cb22b6ba251656ed13ad/Markdown-3.4.4-py3-none-any.whl.metadata\r\n Using cached Markdown-3.4.4-py3-none-any.whl.metadata (6.9 kB)\r\nCollecting requests<3,>=2.21.0 (from tensorboard<2.14,>=2.13->tensorflow[and-cuda])\r\n Obtaining dependency information for requests<3,>=2.21.0 from https://files.pythonhosted.org/packages/70/8e/0e2d847013cb52cd35b38c009bb167a1a26b2ce6cd6965bf26b47bc0bf44/requests-2.31.0-py3-none-any.whl.metadata\r\n Using cached requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)\r\nCollecting tensorboard-data-server<0.8.0,>=0.7.0 (from tensorboard<2.14,>=2.13->tensorflow[and-cuda])\r\n Obtaining dependency information for tensorboard-data-server<0.8.0,>=0.7.0 from https://files.pythonhosted.org/packages/02/52/fb9e51fba47951aabd7a6b25e41d73eae94208ccf62d886168096941a781/tensorboard_data_server-0.7.1-py3-none-manylinux2014_x86_64.whl.metadata\r\n Using cached tensorboard_data_server-0.7.1-py3-none-manylinux2014_x86_64.whl.metadata (1.1 kB)\r\nCollecting werkzeug>=1.0.1 (from tensorboard<2.14,>=2.13->tensorflow[and-cuda])\r\n Obtaining dependency information for werkzeug>=1.0.1 from https://files.pythonhosted.org/packages/b6/a5/54b01f663d60d5334f6c9c87c26274e94617a4fd463d812463626423b10d/werkzeug-3.0.0-py3-none-any.whl.metadata\r\n Using cached werkzeug-3.0.0-py3-none-any.whl.metadata (4.1 kB)\r\nCollecting cachetools<6.0,>=2.0.0 (from google-auth<3,>=1.6.3->tensorboard<2.14,>=2.13->tensorflow[and-cuda])\r\n Obtaining dependency information for cachetools<6.0,>=2.0.0 from https://files.pythonhosted.org/packages/a9/c9/c8a7710f2cedcb1db9224fdd4d8307c9e48cbddc46c18b515fefc0f1abbe/cachetools-5.3.1-py3-none-any.whl.metadata\r\n Using cached cachetools-5.3.1-py3-none-any.whl.metadata (5.2 kB)\r\nCollecting pyasn1-modules>=0.2.1 (from google-auth<3,>=1.6.3->tensorboard<2.14,>=2.13->tensorflow[and-cuda])\r\n Using cached pyasn1_modules-0.3.0-py2.py3-none-any.whl (181 kB)\r\nCollecting rsa<5,>=3.1.4 (from google-auth<3,>=1.6.3->tensorboard<2.14,>=2.13->tensorflow[and-cuda])\r\n Using cached rsa-4.9-py3-none-any.whl (34 kB)\r\nCollecting requests-oauthlib>=0.7.0 (from google-auth-oauthlib<1.1,>=0.5->tensorboard<2.14,>=2.13->tensorflow[and-cuda])\r\n Using cached requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB)\r\nCollecting charset-normalizer<4,>=2 (from requests<3,>=2.21.0->tensorboard<2.14,>=2.13->tensorflow[and-cuda])\r\n Obtaining dependency information for charset-normalizer<4,>=2 from https://files.pythonhosted.org/packages/ff/b6/9222090f396f33cd58aa5b08b9bbf8871416b746a0c7b412a41a973674a5/charset_normalizer-3.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata\r\n Using cached charset_normalizer-3.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (32 kB)\r\nCollecting idna<4,>=2.5 (from requests<3,>=2.21.0->tensorboard<2.14,>=2.13->tensorflow[and-cuda])\r\n Using cached idna-3.4-py3-none-any.whl (61 kB)\r\nCollecting urllib3<3,>=1.21.1 (from requests<3,>=2.21.0->tensorboard<2.14,>=2.13->tensorflow[and-cuda])\r\n Obtaining dependency information for urllib3<3,>=1.21.1 from https://files.pythonhosted.org/packages/26/40/9957270221b6d3e9a3b92fdfba80dd5c9661ff45a664b47edd5d00f707f5/urllib3-2.0.6-py3-none-any.whl.metadata\r\n Using cached urllib3-2.0.6-py3-none-any.whl.metadata (6.6 kB)\r\nCollecting certifi>=2017.4.17 (from requests<3,>=2.21.0->tensorboard<2.14,>=2.13->tensorflow[and-cuda])\r\n Obtaining dependency information for certifi>=2017.4.17 from https://files.pythonhosted.org/packages/4c/dd/2234eab22353ffc7d94e8d13177aaa050113286e93e7b40eae01fbf7c3d9/certifi-2023.7.22-py3-none-any.whl.metadata\r\n Using cached certifi-2023.7.22-py3-none-any.whl.metadata (2.2 kB)\r\nCollecting MarkupSafe>=2.1.1 (from werkzeug>=1.0.1->tensorboard<2.14,>=2.13->tensorflow[and-cuda])\r\n Obtaining dependency information for MarkupSafe>=2.1.1 from https://files.pythonhosted.org/packages/fe/21/2eff1de472ca6c99ec3993eab11308787b9879af9ca8bbceb4868cf4f2ca/MarkupSafe-2.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata\r\n Using cached MarkupSafe-2.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.0 kB)\r\nCollecting pyasn1<0.6.0,>=0.4.6 (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tensorboard<2.14,>=2.13->tensorflow[and-cuda])\r\n Using cached pyasn1-0.5.0-py2.py3-none-any.whl (83 kB)\r\nCollecting oauthlib>=3.0.0 (from requests-oauthlib>=0.7.0->google-auth-oauthlib<1.1,>=0.5->tensorboard<2.14,>=2.13->tensorflow[and-cuda])\r\n Using cached oauthlib-3.2.2-py3-none-any.whl (151 kB)\r\nUsing cached absl_py-2.0.0-py3-none-any.whl (130 kB)\r\nUsing cached flatbuffers-23.5.26-py2.py3-none-any.whl (26 kB)\r\nUsing cached grpcio-1.59.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.3 MB)\r\nUsing cached h5py-3.9.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.8 MB)\r\nUsing cached keras-2.13.1-py3-none-any.whl (1.7 MB)\r\nUsing cached libclang-16.0.6-py2.py3-none-manylinux2010_x86_64.whl (22.9 MB)\r\nUsing cached protobuf-4.24.4-cp37-abi3-manylinux2014_x86_64.whl (311 kB)\r\nUsing cached tensorflow_estimator-2.13.0-py2.py3-none-any.whl (440 kB)\r\nUsing cached tensorflow_io_gcs_filesystem-0.34.0-cp311-cp311-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (2.4 MB)\r\nUsing cached packaging-23.2-py3-none-any.whl (53 kB)\r\nUsing cached tensorflow-2.13.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (479.7 MB)\r\nUsing cached google_auth-2.23.2-py2.py3-none-any.whl (181 kB)\r\nUsing cached Markdown-3.4.4-py3-none-any.whl (94 kB)\r\nUsing cached requests-2.31.0-py3-none-any.whl (62 kB)\r\nUsing cached tensorboard_data_server-0.7.1-py3-none-manylinux2014_x86_64.whl (6.6 MB)\r\nUsing cached werkzeug-3.0.0-py3-none-any.whl (226 kB)\r\nUsing cached cachetools-5.3.1-py3-none-any.whl (9.3 kB)\r\nUsing cached certifi-2023.7.22-py3-none-any.whl (158 kB)\r\nUsing cached charset_normalizer-3.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (137 kB)\r\nUsing cached MarkupSafe-2.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (28 kB)\r\nUsing cached urllib3-2.0.6-py3-none-any.whl (123 kB)\r\nInstalling collected packages: libclang, flatbuffers, wrapt, urllib3, typing-extensions, termcolor, tensorflow-io-gcs-filesystem, tensorflow-estimator, tensorboard-data-server, six, pyasn1, protobuf, packaging, oauthlib, numpy, MarkupSafe, markdown, keras, idna, grpcio, gast, charset-normalizer, certifi, cachetools, absl-py, werkzeug, rsa, requests, pyasn1-modules, opt-einsum, h5py, google-pasta, astunparse, requests-oauthlib, google-auth, google-auth-oauthlib, tensorboard, tensorflow\r\nSuccessfully installed MarkupSafe-2.1.3 absl-py-2.0.0 astunparse-1.6.3 cachetools-5.3.1 certifi-2023.7.22 charset-normalizer-3.3.0 flatbuffers-23.5.26 gast-0.4.0 google-auth-2.23.2 google-auth-oauthlib-1.0.0 google-pasta-0.2.0 grpcio-1.59.0 h5py-3.9.0 idna-3.4 keras-2.13.1 libclang-16.0.6 markdown-3.4.4 numpy-1.24.3 oauthlib-3.2.2 opt-einsum-3.3.0 packaging-23.2 protobuf-4.24.4 pyasn1-0.5.0 pyasn1-modules-0.3.0 requests-2.31.0 requests-oauthlib-1.3.1 rsa-4.9 six-1.16.0 tensorboard-2.13.0 tensorboard-data-server-0.7.1 tensorflow-2.13.1 tensorflow-estimator-2.13.0 tensorflow-io-gcs-filesystem-0.34.0 termcolor-2.3.0 typing-extensions-4.5.0 urllib3-2.0.6 werkzeug-3.0.0 wrapt-1.15.0\r\n```",
"Same problem with WSL2.",
"Same problem with Ubuntu 22.04, Python 3.11 and latest TF 2.15",
"Any workaround? Do you know what's the last tensorflow version that supported the [and-cuda] extension?",
"> Any workaround? Do you know what's the last tensorflow version that supported the [and-cuda] extension?\r\n\r\nhttps://stackoverflow.com/questions/77247945/tensorflow-attributeerror-module-tensorflow-python-ops-control-flow-ops-has\r\nAnswer of Hesam760 helped me to install tensorflow[and-cuda]",
"> https://stackoverflow.com/questions/77247945/tensorflow-attributeerror-module-tensorflow-python-ops-control-flow-ops-has Answer of Hesam760 helped me to install tensorflow[and-cuda]\r\n\r\n@zavalroman , thanks for the fast reply. I circumvented the problem by installing a cuda version compatible with tensorflow 2.13:\r\n```\r\nsudo apt-get install libcudnn8=8.6.0.163-1+cuda11.8\r\n```\r\nNow tensorflow works with GPU",
"Hi, everyone! I have the same problem: \r\n\r\n```[cudaGetDevice() failed. Status: CUDA driver version is insufficient for CUDA runtime version```\r\n\r\ndate Feb 9, 2024\r\n\r\nOS: ```Linux Ubuntu 23.10```\r\n\r\nTensorflow: ```2.15.0``` \r\n\r\nI solved the problem using : ```sudo apt-get install libcudnn8=8.6.0.163-1+cuda11.8```\r\n\r\nThanks! I lost a lot of time to solve this issue.\r\n\r\n\r\n\r\n"
] | 2023-09-27T16:30:46 | 2024-02-10T01:57:58 | null | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
binary
### TensorFlow version
2.14.0
### Custom code
No
### OS platform and distribution
Any Linux
### 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?
docker run -it --entrypoint /bin/bash --gpus all python:3.11-bookworm
pip install -U tensorflow[and-cuda]
wait...
root@16cbc0c15cdd:/# pip list
Package Version
---------------------------- ---------
absl-py 2.0.0
astunparse 1.6.3
cachetools 5.3.1
certifi 2023.7.22
charset-normalizer 3.2.0
flatbuffers 23.5.26
gast 0.4.0
google-auth 2.23.1
google-auth-oauthlib 1.0.0
google-pasta 0.2.0
grpcio 1.58.0
h5py 3.9.0
idna 3.4
keras 2.13.1
libclang 16.0.6
Markdown 3.4.4
MarkupSafe 2.1.3
numpy 1.24.3
oauthlib 3.2.2
opt-einsum 3.3.0
packaging 23.1
pip 23.2.1
protobuf 4.24.3
pyasn1 0.5.0
pyasn1-modules 0.3.0
requests 2.31.0
requests-oauthlib 1.3.1
rsa 4.9
setuptools 65.5.1
six 1.16.0
tensorboard 2.13.0
tensorboard-data-server 0.7.1
tensorflow 2.13.1
tensorflow-estimator 2.13.0
tensorflow-io-gcs-filesystem 0.34.0
termcolor 2.3.0
typing_extensions 4.5.0
urllib3 2.0.5
Werkzeug 2.3.7
wheel 0.41.2
wrapt 1.15.0
root@16cbc0c15cdd:/#
### Standalone code to reproduce the issue
```shell
Not a code issue
```
### Relevant log output
```shell
root@f83803b4dfd4:/# pip install -U tensorflow[and-cuda]
Collecting tensorflow[and-cuda]
Obtaining dependency information for tensorflow[and-cuda] from https://files.pythonhosted.org/packages/09/63/25e76075081ea98ec48f23929cefee58be0b42212e38074a9ec5c19e838c/tensorflow-2.14.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
Using cached tensorflow-2.14.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.1 kB)
Collecting absl-py>=1.0.0 (from tensorflow[and-cuda])
Obtaining dependency information for absl-py>=1.0.0 from https://files.pythonhosted.org/packages/01/e4/dc0a1dcc4e74e08d7abedab278c795eef54a224363bb18f5692f416d834f/absl_py-2.0.0-py3-none-any.whl.metadata
Using cached absl_py-2.0.0-py3-none-any.whl.metadata (2.3 kB)
Collecting astunparse>=1.6.0 (from tensorflow[and-cuda])
Using cached astunparse-1.6.3-py2.py3-none-any.whl (12 kB)
Collecting flatbuffers>=23.5.26 (from tensorflow[and-cuda])
Obtaining dependency information for flatbuffers>=23.5.26 from https://files.pythonhosted.org/packages/6f/12/d5c79ee252793ffe845d58a913197bfa02ae9a0b5c9bc3dc4b58d477b9e7/flatbuffers-23.5.26-py2.py3-none-any.whl.metadata
Using cached flatbuffers-23.5.26-py2.py3-none-any.whl.metadata (850 bytes)
Collecting gast!=0.5.0,!=0.5.1,!=0.5.2,>=0.2.1 (from tensorflow[and-cuda])
Using cached gast-0.5.4-py3-none-any.whl (19 kB)
Collecting google-pasta>=0.1.1 (from tensorflow[and-cuda])
Using cached google_pasta-0.2.0-py3-none-any.whl (57 kB)
Collecting h5py>=2.9.0 (from tensorflow[and-cuda])
Obtaining dependency information for h5py>=2.9.0 from https://files.pythonhosted.org/packages/a7/d9/ac660616671e30d70c091e46ed4fdc50df48ca79b1ac99df5499a45de128/h5py-3.9.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
Using cached h5py-3.9.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.5 kB)
Collecting libclang>=13.0.0 (from tensorflow[and-cuda])
Obtaining dependency information for libclang>=13.0.0 from https://files.pythonhosted.org/packages/ea/df/55525e489c43f9dbb6c8ea27d8a567b3dcd18a22f3c45483055f5ca6611d/libclang-16.0.6-py2.py3-none-manylinux2010_x86_64.whl.metadata
Using cached libclang-16.0.6-py2.py3-none-manylinux2010_x86_64.whl.metadata (5.2 kB)
Collecting ml-dtypes==0.2.0 (from tensorflow[and-cuda])
Obtaining dependency information for ml-dtypes==0.2.0 from https://files.pythonhosted.org/packages/87/91/d57c2d22e4801edeb7f3e7939214c0ea8a28c6e16f85208c2df2145e0213/ml_dtypes-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
Using cached ml_dtypes-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (20 kB)
Collecting numpy>=1.23.5 (from tensorflow[and-cuda])
Obtaining dependency information for numpy>=1.23.5 from https://files.pythonhosted.org/packages/c4/36/161e2f8110f8c49e59f6107bd6da4257d30aff9f06373d0471811f73dcc5/numpy-1.26.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
Using cached numpy-1.26.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (58 kB)
Collecting opt-einsum>=2.3.2 (from tensorflow[and-cuda])
Using cached opt_einsum-3.3.0-py3-none-any.whl (65 kB)
Collecting packaging (from tensorflow[and-cuda])
Using cached packaging-23.1-py3-none-any.whl (48 kB)
Collecting 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 (from tensorflow[and-cuda])
Obtaining dependency information for 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 from https://files.pythonhosted.org/packages/bb/c3/6a06208ecf0934ecaf509b51c52a6cf688586f54ae81ac65c56124571494/protobuf-4.24.3-cp37-abi3-manylinux2014_x86_64.whl.metadata
Using cached protobuf-4.24.3-cp37-abi3-manylinux2014_x86_64.whl.metadata (540 bytes)
Requirement already satisfied: setuptools in /usr/local/lib/python3.11/site-packages (from tensorflow[and-cuda]) (68.2.2)
Collecting six>=1.12.0 (from tensorflow[and-cuda])
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting termcolor>=1.1.0 (from tensorflow[and-cuda])
Using cached termcolor-2.3.0-py3-none-any.whl (6.9 kB)
Collecting typing-extensions>=3.6.6 (from tensorflow[and-cuda])
Obtaining dependency information for typing-extensions>=3.6.6 from https://files.pythonhosted.org/packages/24/21/7d397a4b7934ff4028987914ac1044d3b7d52712f30e2ac7a2ae5bc86dd0/typing_extensions-4.8.0-py3-none-any.whl.metadata
Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB)
Collecting wrapt<1.15,>=1.11.0 (from tensorflow[and-cuda])
Using cached wrapt-1.14.1.tar.gz (50 kB)
Preparing metadata (setup.py) ... done
Collecting tensorflow-io-gcs-filesystem>=0.23.1 (from tensorflow[and-cuda])
Obtaining dependency information for tensorflow-io-gcs-filesystem>=0.23.1 from https://files.pythonhosted.org/packages/4c/64/245746084cdd5fafa680a6e7effeecf87abeeac2796decfa835a99b397c7/tensorflow_io_gcs_filesystem-0.34.0-cp311-cp311-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.metadata
Using cached tensorflow_io_gcs_filesystem-0.34.0-cp311-cp311-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.metadata (14 kB)
Collecting grpcio<2.0,>=1.24.3 (from tensorflow[and-cuda])
Obtaining dependency information for grpcio<2.0,>=1.24.3 from https://files.pythonhosted.org/packages/98/18/10a3af9b1f2521ad765e9fd518783b8883268357fef397d1b57585d1bef8/grpcio-1.58.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
Using cached grpcio-1.58.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.0 kB)
Collecting tensorboard<2.15,>=2.14 (from tensorflow[and-cuda])
Obtaining dependency information for tensorboard<2.15,>=2.14 from https://files.pythonhosted.org/packages/bc/a2/ff5f4c299eb37c95299a76015da3f30211468e29d8d6f1d011683279baee/tensorboard-2.14.0-py3-none-any.whl.metadata
Using cached tensorboard-2.14.0-py3-none-any.whl.metadata (1.8 kB)
Collecting tensorflow-estimator<2.15,>=2.14.0 (from tensorflow[and-cuda])
Obtaining dependency information for tensorflow-estimator<2.15,>=2.14.0 from https://files.pythonhosted.org/packages/d1/da/4f264c196325bb6e37a6285caec5b12a03def489b57cc1fdac02bb6272cd/tensorflow_estimator-2.14.0-py2.py3-none-any.whl.metadata
Using cached tensorflow_estimator-2.14.0-py2.py3-none-any.whl.metadata (1.3 kB)
Collecting keras<2.15,>=2.14.0 (from tensorflow[and-cuda])
Obtaining dependency information for keras<2.15,>=2.14.0 from https://files.pythonhosted.org/packages/fe/58/34d4d8f1aa11120c2d36d7ad27d0526164b1a8ae45990a2fede31d0e59bf/keras-2.14.0-py3-none-any.whl.metadata
Using cached keras-2.14.0-py3-none-any.whl.metadata (2.4 kB)
Collecting nvidia-cuda-runtime-cu11==11.8.89 (from tensorflow[and-cuda])
Downloading nvidia_cuda_runtime_cu11-11.8.89-py3-none-manylinux1_x86_64.whl (875 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 875.6/875.6 kB 3.6 MB/s eta 0:00:00
Collecting nvidia-cublas-cu11==11.11.3.6 (from tensorflow[and-cuda])
Downloading nvidia_cublas_cu11-11.11.3.6-py3-none-manylinux1_x86_64.whl (417.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 417.9/417.9 MB 7.3 MB/s eta 0:00:00
Collecting nvidia-cufft-cu11==10.9.0.58 (from tensorflow[and-cuda])
Downloading nvidia_cufft_cu11-10.9.0.58-py3-none-manylinux1_x86_64.whl (168.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 168.4/168.4 MB 12.6 MB/s eta 0:00:00
Collecting nvidia-cudnn-cu11==8.7.0.84 (from tensorflow[and-cuda])
Downloading nvidia_cudnn_cu11-8.7.0.84-py3-none-manylinux1_x86_64.whl (728.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 728.5/728.5 MB 4.2 MB/s eta 0:00:00
Collecting nvidia-curand-cu11==10.3.0.86 (from tensorflow[and-cuda])
Downloading nvidia_curand_cu11-10.3.0.86-py3-none-manylinux1_x86_64.whl (58.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.1/58.1 MB 28.7 MB/s eta 0:00:00
Collecting nvidia-cusolver-cu11==11.4.1.48 (from tensorflow[and-cuda])
Downloading nvidia_cusolver_cu11-11.4.1.48-py3-none-manylinux1_x86_64.whl (128.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 128.2/128.2 MB 15.8 MB/s eta 0:00:00
Collecting nvidia-cusparse-cu11==11.7.5.86 (from tensorflow[and-cuda])
Downloading nvidia_cusparse_cu11-11.7.5.86-py3-none-manylinux1_x86_64.whl (204.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 204.1/204.1 MB 10.4 MB/s eta 0:00:00
Collecting nvidia-nccl-cu11==2.16.5 (from tensorflow[and-cuda])
Downloading nvidia_nccl_cu11-2.16.5-py3-none-manylinux1_x86_64.whl (210.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 210.3/210.3 MB 5.7 MB/s eta 0:00:00
Collecting nvidia-cuda-cupti-cu11==11.8.87 (from tensorflow[and-cuda])
Downloading nvidia_cuda_cupti_cu11-11.8.87-py3-none-manylinux1_x86_64.whl (13.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.1/13.1 MB 2.3 MB/s eta 0:00:00
Collecting nvidia-cuda-nvcc-cu11==11.8.89 (from tensorflow[and-cuda])
Downloading nvidia_cuda_nvcc_cu11-11.8.89-py3-none-manylinux1_x86_64.whl (19.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 19.5/19.5 MB 30.9 MB/s eta 0:00:00
INFO: pip is looking at multiple versions of tensorflow[and-cuda] to determine which version is compatible with other requirements. This could take a while.
Collecting tensorflow[and-cuda]
Obtaining dependency information for tensorflow[and-cuda] from https://files.pythonhosted.org/packages/df/0c/22cb1c82e0fbaca8c00c3e5e8f9cd1e1b618837f1c5641914fe251bdc9a5/tensorflow-2.13.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
Downloading tensorflow-2.13.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.4 kB)
WARNING: tensorflow 2.13.1 does not provide the extra 'and-cuda'
Collecting gast<=0.4.0,>=0.2.1 (from tensorflow[and-cuda])
Downloading gast-0.4.0-py3-none-any.whl (9.8 kB)
Collecting keras<2.14,>=2.13.1 (from tensorflow[and-cuda])
Obtaining dependency information for keras<2.14,>=2.13.1 from https://files.pythonhosted.org/packages/2e/f3/19da7511b45e80216cbbd9467137b2d28919c58ba1ccb971435cb631e470/keras-2.13.1-py3-none-any.whl.metadata
Downloading keras-2.13.1-py3-none-any.whl.metadata (2.4 kB)
Collecting numpy<=1.24.3,>=1.22 (from tensorflow[and-cuda])
Downloading numpy-1.24.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.3/17.3 MB 32.1 MB/s eta 0:00:00
Collecting tensorboard<2.14,>=2.13 (from tensorflow[and-cuda])
Downloading tensorboard-2.13.0-py3-none-any.whl (5.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.6/5.6 MB 31.4 MB/s eta 0:00:00
Collecting tensorflow-estimator<2.14,>=2.13.0 (from tensorflow[and-cuda])
Obtaining dependency information for tensorflow-estimator<2.14,>=2.13.0 from https://files.pythonhosted.org/packages/72/5c/c318268d96791c6222ad7df1651bbd1b2409139afeb6f468c0f327177016/tensorflow_estimator-2.13.0-py2.py3-none-any.whl.metadata
Downloading tensorflow_estimator-2.13.0-py2.py3-none-any.whl.metadata (1.3 kB)
Collecting typing-extensions<4.6.0,>=3.6.6 (from tensorflow[and-cuda])
Downloading typing_extensions-4.5.0-py3-none-any.whl (27 kB)
Collecting wrapt>=1.11.0 (from tensorflow[and-cuda])
Downloading wrapt-1.15.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (78 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.9/78.9 kB 1.6 MB/s eta 0:00:00
Requirement already satisfied: wheel<1.0,>=0.23.0 in /usr/local/lib/python3.11/site-packages (from astunparse>=1.6.0->tensorflow[and-cuda]) (0.41.2)
Collecting google-auth<3,>=1.6.3 (from tensorboard<2.14,>=2.13->tensorflow[and-cuda])
Obtaining dependency information for google-auth<3,>=1.6.3 from https://files.pythonhosted.org/packages/23/e4/abbb8763fdf6279c471443251b3f847ee9a172d1776742b266fe6de7ac86/google_auth-2.23.1-py2.py3-none-any.whl.metadata
Using cached google_auth-2.23.1-py2.py3-none-any.whl.metadata (4.2 kB)
Collecting google-auth-oauthlib<1.1,>=0.5 (from tensorboard<2.14,>=2.13->tensorflow[and-cuda])
Using cached google_auth_oauthlib-1.0.0-py2.py3-none-any.whl (18 kB)
Collecting markdown>=2.6.8 (from tensorboard<2.14,>=2.13->tensorflow[and-cuda])
Obtaining dependency information for markdown>=2.6.8 from https://files.pythonhosted.org/packages/1a/b5/228c1cdcfe138f1a8e01ab1b54284c8b83735476cb22b6ba251656ed13ad/Markdown-3.4.4-py3-none-any.whl.metadata
Using cached Markdown-3.4.4-py3-none-any.whl.metadata (6.9 kB)
Collecting requests<3,>=2.21.0 (from tensorboard<2.14,>=2.13->tensorflow[and-cuda])
Obtaining dependency information for requests<3,>=2.21.0 from https://files.pythonhosted.org/packages/70/8e/0e2d847013cb52cd35b38c009bb167a1a26b2ce6cd6965bf26b47bc0bf44/requests-2.31.0-py3-none-any.whl.metadata
Using cached requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)
Collecting tensorboard-data-server<0.8.0,>=0.7.0 (from tensorboard<2.14,>=2.13->tensorflow[and-cuda])
Obtaining dependency information for tensorboard-data-server<0.8.0,>=0.7.0 from https://files.pythonhosted.org/packages/02/52/fb9e51fba47951aabd7a6b25e41d73eae94208ccf62d886168096941a781/tensorboard_data_server-0.7.1-py3-none-manylinux2014_x86_64.whl.metadata
Using cached tensorboard_data_server-0.7.1-py3-none-manylinux2014_x86_64.whl.metadata (1.1 kB)
Collecting werkzeug>=1.0.1 (from tensorboard<2.14,>=2.13->tensorflow[and-cuda])
Obtaining dependency information for werkzeug>=1.0.1 from https://files.pythonhosted.org/packages/9b/59/a7c32e3d8d0e546a206e0552a2c04444544f15c1da4a01df8938d20c6ffc/werkzeug-2.3.7-py3-none-any.whl.metadata
Using cached werkzeug-2.3.7-py3-none-any.whl.metadata (4.1 kB)
Collecting cachetools<6.0,>=2.0.0 (from google-auth<3,>=1.6.3->tensorboard<2.14,>=2.13->tensorflow[and-cuda])
Obtaining dependency information for cachetools<6.0,>=2.0.0 from https://files.pythonhosted.org/packages/a9/c9/c8a7710f2cedcb1db9224fdd4d8307c9e48cbddc46c18b515fefc0f1abbe/cachetools-5.3.1-py3-none-any.whl.metadata
Using cached cachetools-5.3.1-py3-none-any.whl.metadata (5.2 kB)
Collecting pyasn1-modules>=0.2.1 (from google-auth<3,>=1.6.3->tensorboard<2.14,>=2.13->tensorflow[and-cuda])
Using cached pyasn1_modules-0.3.0-py2.py3-none-any.whl (181 kB)
Collecting rsa<5,>=3.1.4 (from google-auth<3,>=1.6.3->tensorboard<2.14,>=2.13->tensorflow[and-cuda])
Using cached rsa-4.9-py3-none-any.whl (34 kB)
Collecting urllib3>=2.0.5 (from google-auth<3,>=1.6.3->tensorboard<2.14,>=2.13->tensorflow[and-cuda])
Obtaining dependency information for urllib3>=2.0.5 from https://files.pythonhosted.org/packages/37/dc/399e63f5d1d96bb643404ee830657f4dfcf8503f5ba8fa3c6d465d0c57fe/urllib3-2.0.5-py3-none-any.whl.metadata
Using cached urllib3-2.0.5-py3-none-any.whl.metadata (6.6 kB)
Collecting requests-oauthlib>=0.7.0 (from google-auth-oauthlib<1.1,>=0.5->tensorboard<2.14,>=2.13->tensorflow[and-cuda])
Using cached requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB)
Collecting charset-normalizer<4,>=2 (from requests<3,>=2.21.0->tensorboard<2.14,>=2.13->tensorflow[and-cuda])
Obtaining dependency information for charset-normalizer<4,>=2 from https://files.pythonhosted.org/packages/bc/85/ef25d4ba14c7653c3020a1c6e1a7413e6791ef36a0ac177efa605fc2c737/charset_normalizer-3.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
Using cached charset_normalizer-3.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (31 kB)
Collecting idna<4,>=2.5 (from requests<3,>=2.21.0->tensorboard<2.14,>=2.13->tensorflow[and-cuda])
Using cached idna-3.4-py3-none-any.whl (61 kB)
Collecting certifi>=2017.4.17 (from requests<3,>=2.21.0->tensorboard<2.14,>=2.13->tensorflow[and-cuda])
Obtaining dependency information for certifi>=2017.4.17 from https://files.pythonhosted.org/packages/4c/dd/2234eab22353ffc7d94e8d13177aaa050113286e93e7b40eae01fbf7c3d9/certifi-2023.7.22-py3-none-any.whl.metadata
Using cached certifi-2023.7.22-py3-none-any.whl.metadata (2.2 kB)
Collecting MarkupSafe>=2.1.1 (from werkzeug>=1.0.1->tensorboard<2.14,>=2.13->tensorflow[and-cuda])
Obtaining dependency information for MarkupSafe>=2.1.1 from https://files.pythonhosted.org/packages/fe/21/2eff1de472ca6c99ec3993eab11308787b9879af9ca8bbceb4868cf4f2ca/MarkupSafe-2.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
Using cached MarkupSafe-2.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.0 kB)
Collecting pyasn1<0.6.0,>=0.4.6 (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tensorboard<2.14,>=2.13->tensorflow[and-cuda])
Using cached pyasn1-0.5.0-py2.py3-none-any.whl (83 kB)
Collecting oauthlib>=3.0.0 (from requests-oauthlib>=0.7.0->google-auth-oauthlib<1.1,>=0.5->tensorboard<2.14,>=2.13->tensorflow[and-cuda])
Using cached oauthlib-3.2.2-py3-none-any.whl (151 kB)
Downloading absl_py-2.0.0-py3-none-any.whl (130 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 130.2/130.2 kB 10.0 MB/s eta 0:00:00
Downloading flatbuffers-23.5.26-py2.py3-none-any.whl (26 kB)
Downloading grpcio-1.58.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.3/5.3 MB 39.1 MB/s eta 0:00:00
Downloading h5py-3.9.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.8/4.8 MB 37.4 MB/s eta 0:00:00
Downloading keras-2.13.1-py3-none-any.whl (1.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 33.2 MB/s eta 0:00:00
Downloading libclang-16.0.6-py2.py3-none-manylinux2010_x86_64.whl (22.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 22.9/22.9 MB 32.5 MB/s eta 0:00:00
Downloading protobuf-4.24.3-cp37-abi3-manylinux2014_x86_64.whl (311 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 311.6/311.6 kB 13.7 MB/s eta 0:00:00
Downloading tensorflow_estimator-2.13.0-py2.py3-none-any.whl (440 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 440.8/440.8 kB 25.8 MB/s eta 0:00:00
Downloading tensorflow_io_gcs_filesystem-0.34.0-cp311-cp311-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (2.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.4/2.4 MB 24.8 MB/s eta 0:00:00
Downloading tensorflow-2.13.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (479.7 MB)
━━━━╸━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 55.6/479.7 MB 49.5 MB/s eta 0:00:09
ERROR: Operation cancelled by user
root@f83803b4dfd4:/# ^C
root@f83803b4dfd4:/# pip install -U tensorflow[and-cuda] ^C
root@f83803b4dfd4:/# exit
exit
PS C:\Users\edbrown> docker run -it --entrypoint /bin/bash --gpus all python:3.11-bookworm
root@16cbc0c15cdd:/# pip install -U tensorflow[and-cuda]
Collecting tensorflow[and-cuda]
Obtaining dependency information for tensorflow[and-cuda] from https://files.pythonhosted.org/packages/09/63/25e76075081ea98ec48f23929cefee58be0b42212e38074a9ec5c19e838c/tensorflow-2.14.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
Downloading tensorflow-2.14.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.1 kB)
Collecting absl-py>=1.0.0 (from tensorflow[and-cuda])
Obtaining dependency information for absl-py>=1.0.0 from https://files.pythonhosted.org/packages/01/e4/dc0a1dcc4e74e08d7abedab278c795eef54a224363bb18f5692f416d834f/absl_py-2.0.0-py3-none-any.whl.metadata
Downloading absl_py-2.0.0-py3-none-any.whl.metadata (2.3 kB)
Collecting astunparse>=1.6.0 (from tensorflow[and-cuda])
Downloading astunparse-1.6.3-py2.py3-none-any.whl (12 kB)
Collecting flatbuffers>=23.5.26 (from tensorflow[and-cuda])
Obtaining dependency information for flatbuffers>=23.5.26 from https://files.pythonhosted.org/packages/6f/12/d5c79ee252793ffe845d58a913197bfa02ae9a0b5c9bc3dc4b58d477b9e7/flatbuffers-23.5.26-py2.py3-none-any.whl.metadata
Downloading flatbuffers-23.5.26-py2.py3-none-any.whl.metadata (850 bytes)
Collecting gast!=0.5.0,!=0.5.1,!=0.5.2,>=0.2.1 (from tensorflow[and-cuda])
Downloading gast-0.5.4-py3-none-any.whl (19 kB)
Collecting google-pasta>=0.1.1 (from tensorflow[and-cuda])
Downloading google_pasta-0.2.0-py3-none-any.whl (57 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.5/57.5 kB 764.8 kB/s eta 0:00:00
Collecting h5py>=2.9.0 (from tensorflow[and-cuda])
Obtaining dependency information for h5py>=2.9.0 from https://files.pythonhosted.org/packages/a7/d9/ac660616671e30d70c091e46ed4fdc50df48ca79b1ac99df5499a45de128/h5py-3.9.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
Downloading h5py-3.9.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.5 kB)
Collecting libclang>=13.0.0 (from tensorflow[and-cuda])
Obtaining dependency information for libclang>=13.0.0 from https://files.pythonhosted.org/packages/ea/df/55525e489c43f9dbb6c8ea27d8a567b3dcd18a22f3c45483055f5ca6611d/libclang-16.0.6-py2.py3-none-manylinux2010_x86_64.whl.metadata
Downloading libclang-16.0.6-py2.py3-none-manylinux2010_x86_64.whl.metadata (5.2 kB)
Collecting ml-dtypes==0.2.0 (from tensorflow[and-cuda])
Obtaining dependency information for ml-dtypes==0.2.0 from https://files.pythonhosted.org/packages/87/91/d57c2d22e4801edeb7f3e7939214c0ea8a28c6e16f85208c2df2145e0213/ml_dtypes-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
Downloading ml_dtypes-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (20 kB)
Collecting numpy>=1.23.5 (from tensorflow[and-cuda])
Obtaining dependency information for numpy>=1.23.5 from https://files.pythonhosted.org/packages/c4/36/161e2f8110f8c49e59f6107bd6da4257d30aff9f06373d0471811f73dcc5/numpy-1.26.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
Downloading numpy-1.26.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (58 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.5/58.5 kB 2.2 MB/s eta 0:00:00
Collecting opt-einsum>=2.3.2 (from tensorflow[and-cuda])
Downloading opt_einsum-3.3.0-py3-none-any.whl (65 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.5/65.5 kB 3.1 MB/s eta 0:00:00
Collecting packaging (from tensorflow[and-cuda])
Downloading packaging-23.1-py3-none-any.whl (48 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.9/48.9 kB 2.9 MB/s eta 0:00:00
Collecting 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 (from tensorflow[and-cuda])
Obtaining dependency information for 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 from https://files.pythonhosted.org/packages/bb/c3/6a06208ecf0934ecaf509b51c52a6cf688586f54ae81ac65c56124571494/protobuf-4.24.3-cp37-abi3-manylinux2014_x86_64.whl.metadata
Downloading protobuf-4.24.3-cp37-abi3-manylinux2014_x86_64.whl.metadata (540 bytes)
Requirement already satisfied: setuptools in /usr/local/lib/python3.11/site-packages (from tensorflow[and-cuda]) (65.5.1)
Collecting six>=1.12.0 (from tensorflow[and-cuda])
Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting termcolor>=1.1.0 (from tensorflow[and-cuda])
Downloading termcolor-2.3.0-py3-none-any.whl (6.9 kB)
Collecting typing-extensions>=3.6.6 (from tensorflow[and-cuda])
Obtaining dependency information for typing-extensions>=3.6.6 from https://files.pythonhosted.org/packages/24/21/7d397a4b7934ff4028987914ac1044d3b7d52712f30e2ac7a2ae5bc86dd0/typing_extensions-4.8.0-py3-none-any.whl.metadata
Downloading typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB)
Collecting wrapt<1.15,>=1.11.0 (from tensorflow[and-cuda])
Downloading wrapt-1.14.1.tar.gz (50 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 50.9/50.9 kB 3.1 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Collecting tensorflow-io-gcs-filesystem>=0.23.1 (from tensorflow[and-cuda])
Obtaining dependency information for tensorflow-io-gcs-filesystem>=0.23.1 from https://files.pythonhosted.org/packages/4c/64/245746084cdd5fafa680a6e7effeecf87abeeac2796decfa835a99b397c7/tensorflow_io_gcs_filesystem-0.34.0-cp311-cp311-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.metadata
Downloading tensorflow_io_gcs_filesystem-0.34.0-cp311-cp311-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.metadata (14 kB)
Collecting grpcio<2.0,>=1.24.3 (from tensorflow[and-cuda])
Obtaining dependency information for grpcio<2.0,>=1.24.3 from https://files.pythonhosted.org/packages/98/18/10a3af9b1f2521ad765e9fd518783b8883268357fef397d1b57585d1bef8/grpcio-1.58.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
Downloading grpcio-1.58.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.0 kB)
Collecting tensorboard<2.15,>=2.14 (from tensorflow[and-cuda])
Obtaining dependency information for tensorboard<2.15,>=2.14 from https://files.pythonhosted.org/packages/bc/a2/ff5f4c299eb37c95299a76015da3f30211468e29d8d6f1d011683279baee/tensorboard-2.14.0-py3-none-any.whl.metadata
Downloading tensorboard-2.14.0-py3-none-any.whl.metadata (1.8 kB)
Collecting tensorflow-estimator<2.15,>=2.14.0 (from tensorflow[and-cuda])
Obtaining dependency information for tensorflow-estimator<2.15,>=2.14.0 from https://files.pythonhosted.org/packages/d1/da/4f264c196325bb6e37a6285caec5b12a03def489b57cc1fdac02bb6272cd/tensorflow_estimator-2.14.0-py2.py3-none-any.whl.metadata
Downloading tensorflow_estimator-2.14.0-py2.py3-none-any.whl.metadata (1.3 kB)
Collecting keras<2.15,>=2.14.0 (from tensorflow[and-cuda])
Obtaining dependency information for keras<2.15,>=2.14.0 from https://files.pythonhosted.org/packages/fe/58/34d4d8f1aa11120c2d36d7ad27d0526164b1a8ae45990a2fede31d0e59bf/keras-2.14.0-py3-none-any.whl.metadata
Downloading keras-2.14.0-py3-none-any.whl.metadata (2.4 kB)
Collecting nvidia-cuda-runtime-cu11==11.8.89 (from tensorflow[and-cuda])
Downloading nvidia_cuda_runtime_cu11-11.8.89-py3-none-manylinux1_x86_64.whl (875 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 875.6/875.6 kB 5.4 MB/s eta 0:00:00
Collecting nvidia-cublas-cu11==11.11.3.6 (from tensorflow[and-cuda])
Downloading nvidia_cublas_cu11-11.11.3.6-py3-none-manylinux1_x86_64.whl (417.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 417.9/417.9 MB 7.4 MB/s eta 0:00:00
Collecting nvidia-cufft-cu11==10.9.0.58 (from tensorflow[and-cuda])
Downloading nvidia_cufft_cu11-10.9.0.58-py3-none-manylinux1_x86_64.whl (168.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 168.4/168.4 MB 18.4 MB/s eta 0:00:00
Collecting nvidia-cudnn-cu11==8.7.0.84 (from tensorflow[and-cuda])
Downloading nvidia_cudnn_cu11-8.7.0.84-py3-none-manylinux1_x86_64.whl (728.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 728.5/728.5 MB 6.4 MB/s eta 0:00:00
Collecting nvidia-curand-cu11==10.3.0.86 (from tensorflow[and-cuda])
Downloading nvidia_curand_cu11-10.3.0.86-py3-none-manylinux1_x86_64.whl (58.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.1/58.1 MB 36.6 MB/s eta 0:00:00
Collecting nvidia-cusolver-cu11==11.4.1.48 (from tensorflow[and-cuda])
Downloading nvidia_cusolver_cu11-11.4.1.48-py3-none-manylinux1_x86_64.whl (128.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 128.2/128.2 MB 19.2 MB/s eta 0:00:00
Collecting nvidia-cusparse-cu11==11.7.5.86 (from tensorflow[and-cuda])
Downloading nvidia_cusparse_cu11-11.7.5.86-py3-none-manylinux1_x86_64.whl (204.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 204.1/204.1 MB 10.7 MB/s eta 0:00:00
Collecting nvidia-nccl-cu11==2.16.5 (from tensorflow[and-cuda])
Downloading nvidia_nccl_cu11-2.16.5-py3-none-manylinux1_x86_64.whl (210.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 210.3/210.3 MB 11.3 MB/s eta 0:00:00
Collecting nvidia-cuda-cupti-cu11==11.8.87 (from tensorflow[and-cuda])
Downloading nvidia_cuda_cupti_cu11-11.8.87-py3-none-manylinux1_x86_64.whl (13.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.1/13.1 MB 30.8 MB/s eta 0:00:00
Collecting nvidia-cuda-nvcc-cu11==11.8.89 (from tensorflow[and-cuda])
Downloading nvidia_cuda_nvcc_cu11-11.8.89-py3-none-manylinux1_x86_64.whl (19.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 19.5/19.5 MB 29.9 MB/s eta 0:00:00
INFO: pip is looking at multiple versions of tensorflow[and-cuda] to determine which version is compatible with other requirements. This could take a while.
Collecting tensorflow[and-cuda]
Obtaining dependency information for tensorflow[and-cuda] from https://files.pythonhosted.org/packages/df/0c/22cb1c82e0fbaca8c00c3e5e8f9cd1e1b618837f1c5641914fe251bdc9a5/tensorflow-2.13.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
Downloading tensorflow-2.13.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.4 kB)
WARNING: tensorflow 2.13.1 does not provide the extra 'and-cuda'
Collecting gast<=0.4.0,>=0.2.1 (from tensorflow[and-cuda])
Downloading gast-0.4.0-py3-none-any.whl (9.8 kB)
Collecting keras<2.14,>=2.13.1 (from tensorflow[and-cuda])
Obtaining dependency information for keras<2.14,>=2.13.1 from https://files.pythonhosted.org/packages/2e/f3/19da7511b45e80216cbbd9467137b2d28919c58ba1ccb971435cb631e470/keras-2.13.1-py3-none-any.whl.metadata
Downloading keras-2.13.1-py3-none-any.whl.metadata (2.4 kB)
Collecting numpy<=1.24.3,>=1.22 (from tensorflow[and-cuda])
Downloading numpy-1.24.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.3/17.3 MB 29.0 MB/s eta 0:00:00
Collecting tensorboard<2.14,>=2.13 (from tensorflow[and-cuda])
Downloading tensorboard-2.13.0-py3-none-any.whl (5.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.6/5.6 MB 35.4 MB/s eta 0:00:00
Collecting tensorflow-estimator<2.14,>=2.13.0 (from tensorflow[and-cuda])
Obtaining dependency information for tensorflow-estimator<2.14,>=2.13.0 from https://files.pythonhosted.org/packages/72/5c/c318268d96791c6222ad7df1651bbd1b2409139afeb6f468c0f327177016/tensorflow_estimator-2.13.0-py2.py3-none-any.whl.metadata
Downloading tensorflow_estimator-2.13.0-py2.py3-none-any.whl.metadata (1.3 kB)
Collecting typing-extensions<4.6.0,>=3.6.6 (from tensorflow[and-cuda])
Downloading typing_extensions-4.5.0-py3-none-any.whl (27 kB)
Collecting wrapt>=1.11.0 (from tensorflow[and-cuda])
Downloading wrapt-1.15.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (78 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.9/78.9 kB 8.7 MB/s eta 0:00:00
Requirement already satisfied: wheel<1.0,>=0.23.0 in /usr/local/lib/python3.11/site-packages (from astunparse>=1.6.0->tensorflow[and-cuda]) (0.41.2)
Collecting google-auth<3,>=1.6.3 (from tensorboard<2.14,>=2.13->tensorflow[and-cuda])
Obtaining dependency information for google-auth<3,>=1.6.3 from https://files.pythonhosted.org/packages/23/e4/abbb8763fdf6279c471443251b3f847ee9a172d1776742b266fe6de7ac86/google_auth-2.23.1-py2.py3-none-any.whl.metadata
Downloading google_auth-2.23.1-py2.py3-none-any.whl.metadata (4.2 kB)
Collecting google-auth-oauthlib<1.1,>=0.5 (from tensorboard<2.14,>=2.13->tensorflow[and-cuda])
Downloading google_auth_oauthlib-1.0.0-py2.py3-none-any.whl (18 kB)
Collecting markdown>=2.6.8 (from tensorboard<2.14,>=2.13->tensorflow[and-cuda])
Obtaining dependency information for markdown>=2.6.8 from https://files.pythonhosted.org/packages/1a/b5/228c1cdcfe138f1a8e01ab1b54284c8b83735476cb22b6ba251656ed13ad/Markdown-3.4.4-py3-none-any.whl.metadata
Downloading Markdown-3.4.4-py3-none-any.whl.metadata (6.9 kB)
Collecting requests<3,>=2.21.0 (from tensorboard<2.14,>=2.13->tensorflow[and-cuda])
Obtaining dependency information for requests<3,>=2.21.0 from https://files.pythonhosted.org/packages/70/8e/0e2d847013cb52cd35b38c009bb167a1a26b2ce6cd6965bf26b47bc0bf44/requests-2.31.0-py3-none-any.whl.metadata
Downloading requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)
Collecting tensorboard-data-server<0.8.0,>=0.7.0 (from tensorboard<2.14,>=2.13->tensorflow[and-cuda])
Obtaining dependency information for tensorboard-data-server<0.8.0,>=0.7.0 from https://files.pythonhosted.org/packages/02/52/fb9e51fba47951aabd7a6b25e41d73eae94208ccf62d886168096941a781/tensorboard_data_server-0.7.1-py3-none-manylinux2014_x86_64.whl.metadata
Downloading tensorboard_data_server-0.7.1-py3-none-manylinux2014_x86_64.whl.metadata (1.1 kB)
Collecting werkzeug>=1.0.1 (from tensorboard<2.14,>=2.13->tensorflow[and-cuda])
Obtaining dependency information for werkzeug>=1.0.1 from https://files.pythonhosted.org/packages/9b/59/a7c32e3d8d0e546a206e0552a2c04444544f15c1da4a01df8938d20c6ffc/werkzeug-2.3.7-py3-none-any.whl.metadata
Downloading werkzeug-2.3.7-py3-none-any.whl.metadata (4.1 kB)
Collecting cachetools<6.0,>=2.0.0 (from google-auth<3,>=1.6.3->tensorboard<2.14,>=2.13->tensorflow[and-cuda])
Obtaining dependency information for cachetools<6.0,>=2.0.0 from https://files.pythonhosted.org/packages/a9/c9/c8a7710f2cedcb1db9224fdd4d8307c9e48cbddc46c18b515fefc0f1abbe/cachetools-5.3.1-py3-none-any.whl.metadata
Downloading cachetools-5.3.1-py3-none-any.whl.metadata (5.2 kB)
Collecting pyasn1-modules>=0.2.1 (from google-auth<3,>=1.6.3->tensorboard<2.14,>=2.13->tensorflow[and-cuda])
Downloading pyasn1_modules-0.3.0-py2.py3-none-any.whl (181 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 181.3/181.3 kB 17.2 MB/s eta 0:00:00
Collecting rsa<5,>=3.1.4 (from google-auth<3,>=1.6.3->tensorboard<2.14,>=2.13->tensorflow[and-cuda])
Downloading rsa-4.9-py3-none-any.whl (34 kB)
Collecting urllib3>=2.0.5 (from google-auth<3,>=1.6.3->tensorboard<2.14,>=2.13->tensorflow[and-cuda])
Obtaining dependency information for urllib3>=2.0.5 from https://files.pythonhosted.org/packages/37/dc/399e63f5d1d96bb643404ee830657f4dfcf8503f5ba8fa3c6d465d0c57fe/urllib3-2.0.5-py3-none-any.whl.metadata
Downloading urllib3-2.0.5-py3-none-any.whl.metadata (6.6 kB)
Collecting requests-oauthlib>=0.7.0 (from google-auth-oauthlib<1.1,>=0.5->tensorboard<2.14,>=2.13->tensorflow[and-cuda])
Downloading requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB)
Collecting charset-normalizer<4,>=2 (from requests<3,>=2.21.0->tensorboard<2.14,>=2.13->tensorflow[and-cuda])
Obtaining dependency information for charset-normalizer<4,>=2 from https://files.pythonhosted.org/packages/bc/85/ef25d4ba14c7653c3020a1c6e1a7413e6791ef36a0ac177efa605fc2c737/charset_normalizer-3.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
Downloading charset_normalizer-3.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (31 kB)
Collecting idna<4,>=2.5 (from requests<3,>=2.21.0->tensorboard<2.14,>=2.13->tensorflow[and-cuda])
Downloading idna-3.4-py3-none-any.whl (61 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 7.3 MB/s eta 0:00:00
Collecting certifi>=2017.4.17 (from requests<3,>=2.21.0->tensorboard<2.14,>=2.13->tensorflow[and-cuda])
Obtaining dependency information for certifi>=2017.4.17 from https://files.pythonhosted.org/packages/4c/dd/2234eab22353ffc7d94e8d13177aaa050113286e93e7b40eae01fbf7c3d9/certifi-2023.7.22-py3-none-any.whl.metadata
Downloading certifi-2023.7.22-py3-none-any.whl.metadata (2.2 kB)
Collecting MarkupSafe>=2.1.1 (from werkzeug>=1.0.1->tensorboard<2.14,>=2.13->tensorflow[and-cuda])
Obtaining dependency information for MarkupSafe>=2.1.1 from https://files.pythonhosted.org/packages/fe/21/2eff1de472ca6c99ec3993eab11308787b9879af9ca8bbceb4868cf4f2ca/MarkupSafe-2.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
Downloading MarkupSafe-2.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.0 kB)
Collecting pyasn1<0.6.0,>=0.4.6 (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tensorboard<2.14,>=2.13->tensorflow[and-cuda])
Downloading pyasn1-0.5.0-py2.py3-none-any.whl (83 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 83.9/83.9 kB 9.2 MB/s eta 0:00:00
Collecting oauthlib>=3.0.0 (from requests-oauthlib>=0.7.0->google-auth-oauthlib<1.1,>=0.5->tensorboard<2.14,>=2.13->tensorflow[and-cuda])
Downloading oauthlib-3.2.2-py3-none-any.whl (151 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 151.7/151.7 kB 14.8 MB/s eta 0:00:00
Downloading absl_py-2.0.0-py3-none-any.whl (130 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 130.2/130.2 kB 416.7 kB/s eta 0:00:00
Downloading flatbuffers-23.5.26-py2.py3-none-any.whl (26 kB)
Downloading grpcio-1.58.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.3/5.3 MB 38.2 MB/s eta 0:00:00
Downloading h5py-3.9.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.8/4.8 MB 38.1 MB/s eta 0:00:00
Downloading keras-2.13.1-py3-none-any.whl (1.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 26.1 MB/s eta 0:00:00
Downloading libclang-16.0.6-py2.py3-none-manylinux2010_x86_64.whl (22.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 22.9/22.9 MB 31.9 MB/s eta 0:00:00
Downloading protobuf-4.24.3-cp37-abi3-manylinux2014_x86_64.whl (311 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 311.6/311.6 kB 10.6 MB/s eta 0:00:00
Downloading tensorflow_estimator-2.13.0-py2.py3-none-any.whl (440 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 440.8/440.8 kB 14.4 MB/s eta 0:00:00
Downloading tensorflow_io_gcs_filesystem-0.34.0-cp311-cp311-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (2.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.4/2.4 MB 26.5 MB/s eta 0:00:00
Downloading tensorflow-2.13.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (479.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 479.7/479.7 MB 6.9 MB/s eta 0:00:00
Downloading google_auth-2.23.1-py2.py3-none-any.whl (181 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 181.9/181.9 kB 5.8 MB/s eta 0:00:00
Downloading Markdown-3.4.4-py3-none-any.whl (94 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 94.2/94.2 kB 3.6 MB/s eta 0:00:00
Downloading requests-2.31.0-py3-none-any.whl (62 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 2.2 MB/s eta 0:00:00
Downloading tensorboard_data_server-0.7.1-py3-none-manylinux2014_x86_64.whl (6.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.6/6.6 MB 42.5 MB/s eta 0:00:00
Downloading werkzeug-2.3.7-py3-none-any.whl (242 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 242.2/242.2 kB 6.6 MB/s eta 0:00:00
Downloading cachetools-5.3.1-py3-none-any.whl (9.3 kB)
Downloading certifi-2023.7.22-py3-none-any.whl (158 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 158.3/158.3 kB 6.1 MB/s eta 0:00:00
Downloading charset_normalizer-3.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (199 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 199.6/199.6 kB 7.2 MB/s eta 0:00:00
Downloading MarkupSafe-2.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (28 kB)
Downloading urllib3-2.0.5-py3-none-any.whl (123 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 123.8/123.8 kB 9.7 MB/s eta 0:00:00
Installing collected packages: libclang, flatbuffers, wrapt, urllib3, typing-extensions, termcolor, tensorflow-io-gcs-filesystem, tensorflow-estimator, tensorboard-data-server, six, pyasn1, protobuf, packaging, oauthlib, numpy, MarkupSafe, markdown, keras, idna, grpcio, gast, charset-normalizer, certifi, cachetools, absl-py, werkzeug, rsa, requests, pyasn1-modules, opt-einsum, h5py, google-pasta, astunparse, requests-oauthlib, google-auth, google-auth-oauthlib, tensorboard, tensorflow
Successfully installed MarkupSafe-2.1.3 absl-py-2.0.0 astunparse-1.6.3 cachetools-5.3.1 certifi-2023.7.22 charset-normalizer-3.2.0 flatbuffers-23.5.26 gast-0.4.0 google-auth-2.23.1 google-auth-oauthlib-1.0.0 google-pasta-0.2.0 grpcio-1.58.0 h5py-3.9.0 idna-3.4 keras-2.13.1 libclang-16.0.6 markdown-3.4.4 numpy-1.24.3 oauthlib-3.2.2 opt-einsum-3.3.0 packaging-23.1 protobuf-4.24.3 pyasn1-0.5.0 pyasn1-modules-0.3.0 requests-2.31.0 requests-oauthlib-1.3.1 rsa-4.9 six-1.16.0 tensorboard-2.13.0 tensorboard-data-server-0.7.1 tensorflow-2.13.1 tensorflow-estimator-2.13.0 tensorflow-io-gcs-filesystem-0.34.0 termcolor-2.3.0 typing-extensions-4.5.0 urllib3-2.0.5 werkzeug-2.3.7 wrapt-1.15.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
root@16cbc0c15cdd:/# pip list
Package Version
---------------------------- ---------
absl-py 2.0.0
astunparse 1.6.3
cachetools 5.3.1
certifi 2023.7.22
charset-normalizer 3.2.0
flatbuffers 23.5.26
gast 0.4.0
google-auth 2.23.1
google-auth-oauthlib 1.0.0
google-pasta 0.2.0
grpcio 1.58.0
h5py 3.9.0
idna 3.4
keras 2.13.1
libclang 16.0.6
Markdown 3.4.4
MarkupSafe 2.1.3
numpy 1.24.3
oauthlib 3.2.2
opt-einsum 3.3.0
packaging 23.1
pip 23.2.1
protobuf 4.24.3
pyasn1 0.5.0
pyasn1-modules 0.3.0
requests 2.31.0
requests-oauthlib 1.3.1
rsa 4.9
setuptools 65.5.1
six 1.16.0
tensorboard 2.13.0
tensorboard-data-server 0.7.1
tensorflow 2.13.1
tensorflow-estimator 2.13.0
tensorflow-io-gcs-filesystem 0.34.0
termcolor 2.3.0
typing_extensions 4.5.0
urllib3 2.0.5
Werkzeug 2.3.7
wheel 0.41.2
wrapt 1.15.0
root@16cbc0c15cdd:/#
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61993/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/61993/timeline | null | null | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61992 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61992/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61992/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61992/events | https://github.com/tensorflow/tensorflow/issues/61992 | 1,915,834,216 | I_kwDOArmXAs5yMU9o | 61,992 | TFLite model produces wrong output for constant addition | {
"login": "dengyinlin",
"id": 30567397,
"node_id": "MDQ6VXNlcjMwNTY3Mzk3",
"avatar_url": "https://avatars.githubusercontent.com/u/30567397?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dengyinlin",
"html_url": "https://github.com/dengyinlin",
"followers_url": "https://api.github.com/users/dengyinlin/followers",
"following_url": "https://api.github.com/users/dengyinlin/following{/other_user}",
"gists_url": "https://api.github.com/users/dengyinlin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dengyinlin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dengyinlin/subscriptions",
"organizations_url": "https://api.github.com/users/dengyinlin/orgs",
"repos_url": "https://api.github.com/users/dengyinlin/repos",
"events_url": "https://api.github.com/users/dengyinlin/events{/privacy}",
"received_events_url": "https://api.github.com/users/dengyinlin/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": 474725938,
"node_id": "MDU6TGFiZWw0NzQ3MjU5Mzg=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stale",
"name": "stale",
"color": "d4c5f9",
"default": false,
"description": "This label marks the issue/pr stale - to be closed automatically if no activity"
},
{
"id": 750616506,
"node_id": "MDU6TGFiZWw3NTA2MTY1MDY=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:lite",
"name": "comp:lite",
"color": "0052cc",
"default": false,
"description": "TF Lite related issues"
},
{
"id": 1661751498,
"node_id": "MDU6TGFiZWwxNjYxNzUxNDk4",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TFLiteConverter",
"name": "TFLiteConverter",
"color": "bfdadc",
"default": false,
"description": "For issues related to TFLite converter"
}
] | closed | false | {
"login": "pjpratik",
"id": 118897289,
"node_id": "U_kgDOBxY6iQ",
"avatar_url": "https://avatars.githubusercontent.com/u/118897289?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pjpratik",
"html_url": "https://github.com/pjpratik",
"followers_url": "https://api.github.com/users/pjpratik/followers",
"following_url": "https://api.github.com/users/pjpratik/following{/other_user}",
"gists_url": "https://api.github.com/users/pjpratik/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pjpratik/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pjpratik/subscriptions",
"organizations_url": "https://api.github.com/users/pjpratik/orgs",
"repos_url": "https://api.github.com/users/pjpratik/repos",
"events_url": "https://api.github.com/users/pjpratik/events{/privacy}",
"received_events_url": "https://api.github.com/users/pjpratik/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "pjpratik",
"id": 118897289,
"node_id": "U_kgDOBxY6iQ",
"avatar_url": "https://avatars.githubusercontent.com/u/118897289?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pjpratik",
"html_url": "https://github.com/pjpratik",
"followers_url": "https://api.github.com/users/pjpratik/followers",
"following_url": "https://api.github.com/users/pjpratik/following{/other_user}",
"gists_url": "https://api.github.com/users/pjpratik/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pjpratik/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pjpratik/subscriptions",
"organizations_url": "https://api.github.com/users/pjpratik/orgs",
"repos_url": "https://api.github.com/users/pjpratik/repos",
"events_url": "https://api.github.com/users/pjpratik/events{/privacy}",
"received_events_url": "https://api.github.com/users/pjpratik/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"Hi @dengyinlin \r\n\r\nInput/Output ordering is not guaranteed to be preserved during conversion when the model is a static computation graph . In case of input and outputs in which the ordering matters, please use signatures to map TF inputs/outputs to tflite inputs/outputs and convert using `from_concrete_functions()`. \r\n\r\n```\r\nm = Model()\r\nconcrete_func = m.call.get_concrete_function(\r\n x1=tf.TensorSpec(shape=(1,), dtype=tf.float32),\r\n x2=tf.TensorSpec(shape=(1,), dtype=tf.float32)\r\n)\r\n\r\nconverter = tf.lite.TFLiteConverter.from_concrete_functions([concrete_func])\r\n```\r\nPlease check this working [gist](https://colab.research.google.com/gist/pjpratik/8754db6ed5acccd2c5205e77f3a7d4e3/61992.ipynb).\r\n\r\nThanks.",
"This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.",
"Thanks @pjpratik ! closing the issue as intended behavior.",
"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/61992\">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/61992\">No</a>\n"
] | 2023-09-27T15:26:51 | 2023-10-09T20:22:54 | 2023-10-09T20:22:51 | NONE | null | null | null | ### 1. System information
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 20.04
- TensorFlow installation (pip package or built from source): pip
- TensorFlow library (version, if pip package or github SHA, if built from source): 2.15.0-dev20230926
### 2. Code
The TensorFlow Lite model in the example below should output `x1+x2+x2=7+1+1=9`. However, it produces a wrong output `x1+x1+x2=7+7+1=15`. This indicates that it confuses the order of the two inputs.
```
import tensorflow as tf
import numpy as np
a = tf.constant(7.0, shape=[1])
b = tf.constant(1.0, shape=[1])
input_data = [a, b]
def _evaluateTFLiteModel(tflite_model, input_data):
interpreter = tf.lite.Interpreter(model_content=tflite_model)
interpreter.allocate_tensors()
# Get input and output tensors.
input_details = interpreter.get_input_details()
output_details = interpreter.get_output_details()
# Test model on random input data.
for i in range(len(input_details)):
# input_shape = input_details[i]['shape']
# input_data_i = np.array(np.random.random_sample(input_shape), dtype=np.float32)
interpreter.set_tensor(input_details[i]['index'], input_data[i])
interpreter.invoke()
# The function `get_tensor()` returns a copy of the tensor data.
# Use `tensor()` in order to get a pointer to the tensor.
output_data = [interpreter.get_tensor(output_details[i]['index'])
for i in range(len(output_details))]
return output_data
class Model(tf.keras.Model):
def __init__(self):
super(Model, self).__init__()
@tf.function(input_signature=[tf.TensorSpec(shape=x.shape, dtype=x.dtype) for x in input_data])
def call(self, x1, x2):
return ((x1 + x2) + x2)
m = Model()
converter = tf.lite.TFLiteConverter.from_keras_model(m)
tflite_model = converter.convert()
print(_evaluateTFLiteModel(tflite_model, input_data))
```
Output:
```
[array([15.], dtype=float32)]
```
Keras model:
```
import tensorflow as tf
print(tf.__version__)
import tensorflow as tf
import numpy as np
class Model(tf.keras.Model):
def __init__(self):
super(Model, self).__init__()
def call(self, x1, x2):
return ((x1 + x2) + x2)
m = Model()
a = tf.constant(7.0, shape=[1])
b = tf.constant(1.0, shape=[1])
input_data = [a, b]
print(m(a, b))
```
Output:
```
tf.Tensor([9.], shape=(1,), dtype=float32)
```
### 3. Failure after conversion
Wrong results.
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61992/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/61992/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61991 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61991/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61991/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61991/events | https://github.com/tensorflow/tensorflow/pull/61991 | 1,915,825,612 | PR_kwDOArmXAs5bWpmd | 61,991 | [TOSA] Separate left shifting in SQUARED_DIFFERENCE to avoid precision loss | {
"login": "Tessil",
"id": 21028116,
"node_id": "MDQ6VXNlcjIxMDI4MTE2",
"avatar_url": "https://avatars.githubusercontent.com/u/21028116?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Tessil",
"html_url": "https://github.com/Tessil",
"followers_url": "https://api.github.com/users/Tessil/followers",
"following_url": "https://api.github.com/users/Tessil/following{/other_user}",
"gists_url": "https://api.github.com/users/Tessil/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Tessil/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Tessil/subscriptions",
"organizations_url": "https://api.github.com/users/Tessil/orgs",
"repos_url": "https://api.github.com/users/Tessil/repos",
"events_url": "https://api.github.com/users/Tessil/events{/privacy}",
"received_events_url": "https://api.github.com/users/Tessil/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": 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"
}
] | open | false | {
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"Hi @Tessil 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.",
"@gbaned Done, thanks.",
"Hi @jpienaar Can you please review this PR ? Thank you!",
"Hi @jpienaar Can you please review this PR ? Thank you!",
"Hi @rdzhabarov Can you please review this PR ? Thank you!",
"Hi @jpienaar Can you please review this PR ? Thank you!",
"Hi @jpienaar Can you please review this PR ? Thank you!"
] | 2023-09-27T15:22:12 | 2024-06-07T16:24:28 | null | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61991",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61991",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61991.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61991.patch",
"merged_at": null
} | Hi,
This PR moves the left shifting in the `tfl.squared_difference` TFL -> TOSA legalization in a separate `tosa.rescale` to avoid any precision loss which could create non bit-exact results. | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61991/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/61991/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61990 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61990/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61990/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61990/events | https://github.com/tensorflow/tensorflow/pull/61990 | 1,915,776,119 | PR_kwDOArmXAs5bWeyU | 61,990 | [TOSA] Convert MLIR shape to TF beforehand when creating dynamic dims Reshape | {
"login": "Tessil",
"id": 21028116,
"node_id": "MDQ6VXNlcjIxMDI4MTE2",
"avatar_url": "https://avatars.githubusercontent.com/u/21028116?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Tessil",
"html_url": "https://github.com/Tessil",
"followers_url": "https://api.github.com/users/Tessil/followers",
"following_url": "https://api.github.com/users/Tessil/following{/other_user}",
"gists_url": "https://api.github.com/users/Tessil/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Tessil/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Tessil/subscriptions",
"organizations_url": "https://api.github.com/users/Tessil/orgs",
"repos_url": "https://api.github.com/users/Tessil/repos",
"events_url": "https://api.github.com/users/Tessil/events{/privacy}",
"received_events_url": "https://api.github.com/users/Tessil/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 390482148,
"node_id": "MDU6TGFiZWwzOTA0ODIxNDg=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/awaiting%20review",
"name": "awaiting review",
"color": "bc3869",
"default": false,
"description": "Pull request awaiting review"
},
{
"id": 987666414,
"node_id": "MDU6TGFiZWw5ODc2NjY0MTQ=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/ready%20to%20pull",
"name": "ready to pull",
"color": "2cd643",
"default": false,
"description": "PR ready for merge process"
},
{
"id": 1169364458,
"node_id": "MDU6TGFiZWwxMTY5MzY0NDU4",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:S",
"name": "size:S",
"color": "adafea",
"default": false,
"description": "CL Change Size: Small"
}
] | 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-09-27T14:56:11 | 2023-10-09T04:40:10 | 2023-10-09T04:40:09 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61990",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61990",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61990.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61990.patch",
"merged_at": "2023-10-09T04:40:09"
} | Hi,
This PR fixes a bug with the `tfl.reshape` TFL -> TOSA legalization when it has dynamic dimension. MLIR dynamic dimensions should be converted to -1 with `ConvertMlirShapeToTF`. | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61990/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/61990/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61989 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61989/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61989/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61989/events | https://github.com/tensorflow/tensorflow/pull/61989 | 1,915,738,767 | PR_kwDOArmXAs5bWWip | 61,989 | [TOSA] Add int8 and int16 legalization of the EXP op | {
"login": "Tessil",
"id": 21028116,
"node_id": "MDQ6VXNlcjIxMDI4MTE2",
"avatar_url": "https://avatars.githubusercontent.com/u/21028116?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Tessil",
"html_url": "https://github.com/Tessil",
"followers_url": "https://api.github.com/users/Tessil/followers",
"following_url": "https://api.github.com/users/Tessil/following{/other_user}",
"gists_url": "https://api.github.com/users/Tessil/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Tessil/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Tessil/subscriptions",
"organizations_url": "https://api.github.com/users/Tessil/orgs",
"repos_url": "https://api.github.com/users/Tessil/repos",
"events_url": "https://api.github.com/users/Tessil/events{/privacy}",
"received_events_url": "https://api.github.com/users/Tessil/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": 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 @Tessil Can you please resolve conflicts? Thank you!",
"Hi @Tessil 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-09-27T14:38:25 | 2024-01-28T01:48:24 | 2024-01-28T01:48:15 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61989",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61989",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61989.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61989.patch",
"merged_at": null
} | Hi,
This PR adds int8 and int16 TFL -> TOSA legalization for the EXP operator.
It also contains a commit to align `getTosaConst8bitTable` and `getTosaConst16bitTable` to [LUTPopulate](https://github.com/tensorflow/tensorflow/blob/72aa8ab84e24f66762e502ba6f39f12587e2415b/tensorflow/lite/kernels/internal/common.h#L494) to ensure the generated LUT is bit-exact during legalization.
Thibaut | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61989/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/61989/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61988 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61988/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61988/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61988/events | https://github.com/tensorflow/tensorflow/pull/61988 | 1,915,639,673 | PR_kwDOArmXAs5bWA5s | 61,988 | Fixed typos and grammatical errors | {
"login": "Guakocius",
"id": 98476579,
"node_id": "U_kgDOBd6iIw",
"avatar_url": "https://avatars.githubusercontent.com/u/98476579?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Guakocius",
"html_url": "https://github.com/Guakocius",
"followers_url": "https://api.github.com/users/Guakocius/followers",
"following_url": "https://api.github.com/users/Guakocius/following{/other_user}",
"gists_url": "https://api.github.com/users/Guakocius/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Guakocius/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Guakocius/subscriptions",
"organizations_url": "https://api.github.com/users/Guakocius/orgs",
"repos_url": "https://api.github.com/users/Guakocius/repos",
"events_url": "https://api.github.com/users/Guakocius/events{/privacy}",
"received_events_url": "https://api.github.com/users/Guakocius/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 | [
"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/61988/checks?check_run_id=17181554589) 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 @Guakocius Can you please resolve conflicts? Thank you!"
] | 2023-09-27T13:50:55 | 2023-10-05T16:27:30 | 2023-10-05T16:27:29 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61988",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61988",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61988.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61988.patch",
"merged_at": "2023-10-05T16:27:29"
} | As the title says, I fixed some typos and grammatical errors in the .md files. | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61988/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/61988/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61987 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61987/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61987/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61987/events | https://github.com/tensorflow/tensorflow/issues/61987 | 1,915,356,584 | I_kwDOArmXAs5yKgWo | 61,987 | con't build_pip_package | {
"login": "OptNuo",
"id": 95464981,
"node_id": "U_kgDOBbCuFQ",
"avatar_url": "https://avatars.githubusercontent.com/u/95464981?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/OptNuo",
"html_url": "https://github.com/OptNuo",
"followers_url": "https://api.github.com/users/OptNuo/followers",
"following_url": "https://api.github.com/users/OptNuo/following{/other_user}",
"gists_url": "https://api.github.com/users/OptNuo/gists{/gist_id}",
"starred_url": "https://api.github.com/users/OptNuo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/OptNuo/subscriptions",
"organizations_url": "https://api.github.com/users/OptNuo/orgs",
"repos_url": "https://api.github.com/users/OptNuo/repos",
"events_url": "https://api.github.com/users/OptNuo/events{/privacy}",
"received_events_url": "https://api.github.com/users/OptNuo/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 386191887,
"node_id": "MDU6TGFiZWwzODYxOTE4ODc=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response",
"name": "stat:awaiting response",
"color": "f4b400",
"default": false,
"description": "Status - Awaiting response from author"
},
{
"id": 473173351,
"node_id": "MDU6TGFiZWw0NzMxNzMzNTE=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:build/install",
"name": "type:build/install",
"color": "159b2e",
"default": false,
"description": "Build and install issues"
},
{
"id": 474725938,
"node_id": "MDU6TGFiZWw0NzQ3MjU5Mzg=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stale",
"name": "stale",
"color": "d4c5f9",
"default": false,
"description": "This label marks the issue/pr stale - to be closed automatically if no activity"
},
{
"id": 1205615612,
"node_id": "MDU6TGFiZWwxMjA1NjE1NjEy",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/subtype:%20ubuntu/linux",
"name": "subtype: ubuntu/linux",
"color": "b619ea",
"default": false,
"description": "Ubuntu/Linux Build/Installation Issues"
},
{
"id": 1445545631,
"node_id": "MDU6TGFiZWwxNDQ1NTQ1NjMx",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%201.14",
"name": "TF 1.14",
"color": "5319e7",
"default": false,
"description": "for issues seen with TF 1.14"
}
] | 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 | [
"@OptNuo,\r\nWe see that you are using tensorFlow v1.14 which is not actively supported. Requesting you to please try to install the TensorFlow to the latest stable version v2.13 and check if you are facing the same issue.\r\n\r\nCould you please try to follow the steps which are mentioned in the tensorflow official document for the smooth installation.\r\nhttps://www.tensorflow.org/install\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/61987\">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/61987\">No</a>\n"
] | 2023-09-27T11:37:25 | 2023-10-13T01:48:23 | 2023-10-13T01:48:20 | NONE | null | null | null | ### Issue type
Build/Install
### Have you reproduced the bug with TensorFlow Nightly?
No
### Source
binary
### TensorFlow version
tf1.14.0
### Custom code
No
### OS platform and distribution
Linux Ubuntu 18.04
### Mobile device
_No response_
### Python version
3.6.9
### Bazel version
bazel 0.24.1
### GCC/compiler version
gcc 4.8
### CUDA/cuDNN version
_No response_
### GPU model and memory
intel i7-9750H 12g
### Current behavior?
tensorflow/python/lib/core/bfloat16.cc:608:60: note: no known conversion for argument 2 from '<unresolved overloaded function type>' to 'PyUFuncGenericFunction {aka void ()(char**, const long int, const long int*, void*)}'
Target //tensorflow/tools/pip_package:build_pip_package failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 4163.570s, Critical Path: 161.91s
INFO: 5035 processes: 5035 local.
FAILED: Build did NOT complete successfully
### Standalone code to reproduce the issue
```shell
bazel build --jobs=6 //tensorflow/tools/pip_package:build_pip_package
```
### Relevant log output
_No response_ | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61987/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/61987/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61986 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61986/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61986/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61986/events | https://github.com/tensorflow/tensorflow/issues/61986 | 1,915,045,085 | I_kwDOArmXAs5yJUTd | 61,986 | tensorrt==8.5.3.1 from [and-cuda] not available in Python 3.11 | {
"login": "jonas-eschle",
"id": 17454848,
"node_id": "MDQ6VXNlcjE3NDU0ODQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/17454848?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jonas-eschle",
"html_url": "https://github.com/jonas-eschle",
"followers_url": "https://api.github.com/users/jonas-eschle/followers",
"following_url": "https://api.github.com/users/jonas-eschle/following{/other_user}",
"gists_url": "https://api.github.com/users/jonas-eschle/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jonas-eschle/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jonas-eschle/subscriptions",
"organizations_url": "https://api.github.com/users/jonas-eschle/orgs",
"repos_url": "https://api.github.com/users/jonas-eschle/repos",
"events_url": "https://api.github.com/users/jonas-eschle/events{/privacy}",
"received_events_url": "https://api.github.com/users/jonas-eschle/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"
},
{
"id": 1754777628,
"node_id": "MDU6TGFiZWwxNzU0Nzc3NjI4",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:gpu:tensorrt",
"name": "comp:gpu:tensorrt",
"color": "ea98ba",
"default": false,
"description": "Issues specific to TensorRT"
},
{
"id": 5922361893,
"node_id": "LA_kwDOArmXAs8AAAABYQASJQ",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF2.14",
"name": "TF2.14",
"color": "b60205",
"default": false,
"description": "For issues related to Tensorflow 2.14.x"
}
] | open | false | {
"login": "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 @jonas-eschle ,\r\n\r\nThanks for reporting this. I have replicated the reported error with Python3.11 where Tensorrt fails to install with tensorflow[and-cuda] as per attached [gist-Py3.11v](https://colab.sandbox.google.com/gist/SuryanarayanaY/e5630fe97b6f48ca506c3256cfc557b0/61986_py3-11v.ipynb).\r\n\r\nHowever with Python 3.10v the command works fine and installs tensorrt.Attached [gist-Py3.10v](https://colab.sandbox.google.com/gist/SuryanarayanaY/8bbc745990c8f6dd3f755e091085c8ee/61986_py3-10v-gpu.ipynb) for reference.\r\n\r\nCC: @learning-to-play \r\n",
"@SuryanarayanaY Please assign to the TensorFlow GPU team.",
"When installing it lists `Obtaining dependency information for tensorflow[and-cuda]==2.14.0 from <url>`, download that, therein is listed what packages are installed for and-cuda\r\n\r\nCurrently it seems to be:\r\n```\r\npip install tensorflow==2.14.0 nvidia-cuda-runtime-cu11==11.8.89 nvidia-cublas-cu11==11.11.3.6 nvidia-cufft-cu11==10.9.0.58 nvidia-cudnn-cu11==8.7.0.84 nvidia-curand-cu11==10.3.0.86 nvidia-cusolver-cu11==11.4.1.48 nvidia-cusparse-cu11==11.7.5.86 nvidia-nccl-cu11==2.16.5 nvidia-cuda-cupti-cu11==11.8.87 nvidia-cuda-nvcc-cu11==11.8.89\r\n\r\n# this one seems to fail still:\r\npip install tensorrt==8.5.3.1\r\n```\r\nyou may want to check version updates in the metadata\r\n\r\n",
"> pip install tensorrt==8.5.3.1\r\n\r\nThis is not available for Python 3.11",
"I think the metadata dependencies source hint is only shown in a recent pip version (I see it after upgrading pip). ~~Now python 3.10 and tensorflow[and-cuda]==2.13.1 also indicates there is no `and-cuda` extra; the rules for this extra are indeed removed/missing~~. here: [and-cuda rules](https://github.com/tensorflow/tensorflow/blob/67f519e727605f502c711cd340df46af89c4085e/tensorflow/tools/pip_package/setup.py#L164)\r\n",
"> I think the metadata dependencies source hint is only shown in a recent pip version (I see it after upgrading pip). Now python 3.10 and tensorflow[and-cuda]==2.13.1 also indicates there is no `and-cuda` extra; the rules for this extra are indeed removed/missing. But here: [and-cuda rules](https://github.com/tensorflow/tensorflow/blob/67f519e727605f502c711cd340df46af89c4085e/tensorflow/tools/pip_package/setup.py#L164)\n> \n\nThat option is only available in 2.14.",
"Can we see anywhere that the \"TensorFlow GPU team\" has acknowledged this issue? Can we expect 2.15.0 to fix?",
"Hi @poulsbo , Could you please help triage this issue to the right person?",
"> Can we see anywhere that the \"TensorFlow GPU team\" has acknowledged this issue? Can we expect 2.15.0 to fix?\r\n\r\nDoesn't seem like it, even though there have been multiple issues that have been raised that are related to this. I am a bit disappointed to see that it has been over a month since the release of TF2.14 and it is not possible to even **install** the latest version. I am not sure how it hasn't been caught in tests. This should be considered a high-priority issue, and we have yet to see any indication of an acknowledgement that the team is aware of the issue, or an estimated timeline for the issue to get fixed.",
"@pjannaty is your team aware of this?",
"Routing to @cliffwoolley who has purview now.",
"The best workaround so far is to use \"--extra-index-url https://pypi.nvidia.com\".",
"> The best workaround so far is to use \"--extra-index-url https://pypi.nvidia.com\".\r\n\r\nCurrently even this does not work :(\r\n\r\n```\r\npip install \"tensorflow[and-cuda]>=2.14.0\" --extra-index-url https://pypi.nvidia.com\r\nDefaulting to user installation because normal site-packages is not writeable\r\nLooking in indexes: https://pypi.org/simple, https://pypi.nvidia.com\r\nERROR: Could not find a version that satisfies the requirement tensorflow>=2.14.0 (from versions: 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.4.0, 2.4.1, 2.4.2, 2.4.3, 2.4.4, 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.6.0rc0, 2.6.0rc1, 2.6.0rc2, 2.6.0, 2.6.1, 2.6.2, 2.6.3, 2.6.4, 2.6.5, 2.7.0rc0, 2.7.0rc1, 2.7.0, 2.7.1, 2.7.2, 2.7.3, 2.7.4, 2.8.0rc0, 2.8.0rc1, 2.8.0, 2.8.1, 2.8.2, 2.8.3, 2.8.4, 2.9.0rc0, 2.9.0rc1, 2.9.0rc2, 2.9.0, 2.9.1, 2.9.2, 2.9.3, 2.10.0rc0, 2.10.0rc1, 2.10.0rc2, 2.10.0rc3, 2.10.0, 2.10.1, 2.11.0rc0, 2.11.0rc1, 2.11.0rc2, 2.11.0, 2.11.1, 2.12.0rc0, 2.12.0rc1, 2.12.0, 2.12.1, 2.13.0rc0, 2.13.0rc1, 2.13.0rc2, 2.13.0, 2.13.1)\r\nERROR: No matching distribution found for tensorflow>=2.14.0\r\n```",
"I confirmed with our TensorRT team that TRT 8.5 did not support Python 3.11. This was a matter of timing of release dates: TensorRT 8.5 was first released in early November 2022, and Python 3.11 had only been out for a few days by then, so it didn't get onto that TensorRT release's support matrix in time.\r\n\r\nTRT 8.6 does support Python 3.11, and our TensorRT releases generally do maintain binary backward compatibility as per semantic versioning, though as it happens here the python packaging was redone between 8.5 and 8.6, so even if you could force pip to ignore the == dependency baked into TensorFlow (which I didn't find any particularly straightforward way to do), the binaries for TRT are installed to a different path with 8.6 than with 8.5, and the RUNPATH settings baked into libtensorflow_cc.so would need updating to use the 8.6 pip package.\r\n\r\nTensorFlow does actually act appropriately if the TRT library isn't present at runtime, even though pip is treating it as a hard dependency. (There's no such thing in pip as an 'optional dependency'.) It's possible to make a dummy package that tricks pip into moving forward without installing TRT, and then you can run TF (just without TF-TRT). Is that useful?\r\n\r\n---\r\nCliff Woolley\r\nDL Frameworks Engineering, NVIDIA",
"@cliffwoolley \r\n\r\n> It's possible to make a dummy package that tricks pip into moving forward without installing TRT, and then you can run TF (just without TF-TRT).\r\n\r\nWould you mind showing how to do this? Thanks! ",
"As of the latest tensorflow release `2.15`, I was able to successfully install it using:\r\n```bash\r\npython -m pip install \"tensorflow[and-cuda]==2.15\" --extra-index-url https://pypi.nvidia.com\r\n```\r\n\r\nI ran a quick test and so far, it seems like everything is working fine. I think that it would be nice to fix the package pinning so that the extra-index doesn't have to be used, but this is farther than I was able to get with TF2.14.\r\n\r\nEDIT: This was tested on Python 3.11 under Linux. It appears that tensorrt was bumped to 8.6.x so it appears to work as intended.",
"@stallam-unb this is great! Thanks! Do you know what CUDA/CuDNN versions does `2.15` use? I don't see an entry for it on the webpage https://www.tensorflow.org/install/source",
"> @stallam-unb this is great! Thanks! Do you know what CUDA/CuDNN versions does `2.15` use? I don't see an entry for it on the webpage https://www.tensorflow.org/install/source\r\n\r\n@okurman I think it uses 12.2/8.9, seemingly updated from 11.x series CUDA (based on output from `conda list`):\r\n```text\r\n...\r\nnvidia-cublas-cu12 12.2.5.6 pypi_0 pypi\r\nnvidia-cuda-cupti-cu12 12.2.142 pypi_0 pypi\r\nnvidia-cuda-nvcc-cu12 12.2.140 pypi_0 pypi\r\nnvidia-cuda-nvrtc-cu12 12.2.140 pypi_0 pypi\r\nnvidia-cuda-runtime-cu12 12.2.140 pypi_0 pypi\r\nnvidia-cudnn-cu12 8.9.4.25 pypi_0 pypi\r\nnvidia-cufft-cu12 11.0.8.103 pypi_0 pypi\r\nnvidia-curand-cu12 10.3.3.141 pypi_0 pypi\r\nnvidia-cusolver-cu12 11.5.2.141 pypi_0 pypi\r\nnvidia-cusparse-cu12 12.1.2.141 pypi_0 pypi\r\nnvidia-nccl-cu12 2.16.5 pypi_0 pypi\r\nnvidia-nvjitlink-cu12 12.2.140 pypi_0 pypi\r\n...\r\n```\r\n\r\nEDIT: Info about `tensorrt` in case anyone is curious:\r\n```test\r\n...\r\ntensorrt 8.6.1.post1 pypi_0 pypi\r\ntensorrt-bindings 8.6.1 pypi_0 pypi\r\ntensorrt-libs 8.6.1 pypi_0 pypi\r\n...\r\n```",
"Update:\r\n\r\nSo I ran a few more tests, and interestingly, given `tensorrt` is the focus of this topic, it doesn't actually appear to be detected correctly:\r\n\r\n```text\r\n2023-11-14 17:21:00.148638: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:9261] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered\r\n2023-11-14 17:21:00.148688: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:607] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered\r\n2023-11-14 17:21:00.149349: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1515] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered\r\n2023-11-14 17:21:00.153296: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.\r\nTo enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.\r\n2023-11-14 17:21:00.684660: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT\r\n```\r\n\r\nI am seeing all sorts of errors about CUDA and Tensor RT that I didn't see in 2.13.x series. `nvidia-smi` seems to indicate that the GPUs are being used, but the logs seem to indicate issues. #62075 seems to indicate that this is an old issue.",
"@stallam-unb the same happening with my installation. ",
"For TensorRT 8.6 Python packages, TF's RUNPATH would need to have been updated; I'm not sure if that happened when updating the TRT version dependency in TF? This can be worked around with either symlinks or patchelf to update the runpath or just LD_LIBRARY_PATH -- definitely easier than the issue with TF 2.14 and TRT 8.5 and Py3.11.\r\n\r\nCan we pick one or the other to go after here?",
"> For TensorRT 8.6 Python packages, TF's RUNPATH would need to have been updated; I'm not sure if that happened when updating the TRT version dependency in TF? This can be worked around with either symlinks or patchelf to update the runpath or just LD_LIBRARY_PATH -- definitely easier than the issue with TF 2.14 and TRT 8.5.\r\n> \r\n> Can we pick one or the other to go after here?\r\n\r\n`patchelf` is unfortunately not available on my servers, and it would take sometime to get it through the chain to get it approved. LD_LIBRARY_PATH OTOH can probably updated with conda envs (or `.bashrc`) so I am learning towards that. symlinks are also an easy option and I don't mind them either. @cliffwoolley Can you provide the some instructions for both of these? I am not fully familiar with TensorRT, so I don't exactly what files need to be symlinked/LD'ed.",
"I'll gather up the symlinks for you as soon as I can get to it, but as far as LD_LIBRARY_PATH approach, all you need to do is to get the tensorrt-libs python package install dir into your library path.\r\n\r\nWhat seems to have happened is that when the TRT dependency was bumped to 8.6 in https://github.com/tensorflow/tensorflow/commit/3de44168950a5972ba4cfa7e3c6cbf4cffa67fe6 , they recognized the addition of the tensorrt-libs package, but didn't follow the pattern of https://github.com/tensorflow/tensorflow/pull/59825/files and add tensorrt-libs to the search paths at https://github.com/tensorflow/tensorflow/blob/master/tensorflow/compiler/tf2tensorrt/BUILD#L73 and https://github.com/tensorflow/tensorflow/blob/master/third_party/xla/third_party/tsl/tsl/cuda/BUILD.bazel#L166 . (@meena-at-work , FYI).",
"> I'll gather up the symlinks for you as soon as I can get to it, but as far as LD_LIBRARY_PATH approach, all you need to do is to get the tensorrt-libs python package install dir into your library path.\r\n> \r\n> What seems to have happened is that when the TRT dependency was bumped to 8.6 in [3de4416](https://github.com/tensorflow/tensorflow/commit/3de44168950a5972ba4cfa7e3c6cbf4cffa67fe6) , they recognized the addition of the tensorrt-libs package, but didn't follow the pattern of https://github.com/tensorflow/tensorflow/pull/59825/files and add tensorrt-libs to the search paths at https://github.com/tensorflow/tensorflow/blob/master/tensorflow/compiler/tf2tensorrt/BUILD#L73 and https://github.com/tensorflow/tensorflow/blob/master/third_party/xla/third_party/tsl/tsl/cuda/BUILD.bazel#L166 . (@meena-at-work , FYI).\r\n\r\n@cliffwoolley I've not been quite successful with the `LD_LIBRARY_PATH` approach. I have a conda environment, so I did the following:\r\n```bash\r\necho 'TENSORRT_LIBS_PATH=$(dirname $(python -c \"import tensorrt_libs;print(tensorrt_libs.__file__)\"))' >> $CONDA_PREFIX/etc/conda/activate.d/env_vars.sh\r\necho 'export LD_LIBRARY_PATH=$TENSORRT_LIBS_PATH:$CONDA_PREFIX/lib/:$LD_LIBRARY_PATH' >> $CONDA_PREFIX/etc/conda/activate.d/env_vars.sh\r\n```\r\nThen `source`d (also tried deactivate/activate). Can confirm that `LD_LIBRARY_PATH` has valid paths:\r\n\r\n```bash\r\n(tf215) stallam@lambda-scalar:~$ ls $TENSORRT_LIBS_PATH\r\ndrwxrwxr-x stallam stallam 4.0 KB Tue Nov 14 16:32:22 2023 .\r\ndrwxrwxr-x stallam stallam 16 KB Tue Nov 14 16:33:44 2023 ..\r\n.rw-rw-r-- stallam stallam 1.0 KB Tue Nov 14 16:32:16 2023 __init__.py\r\ndrwxrwxr-x stallam stallam 4.0 KB Tue Nov 14 16:32:22 2023 __pycache__\r\n.rw-rw-r-- stallam stallam 226 MB Tue Nov 14 16:32:17 2023 libnvinfer.so.8\r\n.rw-rw-r-- stallam stallam 957 MB Tue Nov 14 16:32:22 2023 libnvinfer_builder_resource.so.8.6.1\r\n.rw-rw-r-- stallam stallam 37 MB Tue Nov 14 16:32:22 2023 libnvinfer_plugin.so.8\r\n.rw-rw-r-- stallam stallam 2.7 MB Tue Nov 14 16:32:22 2023 libnvonnxparser.so.8\r\n.rw-rw-r-- stallam stallam 3.3 MB Tue Nov 14 16:32:22 2023 libnvparsers.so.8\r\n```\r\n\r\nRe-running my test scripts still returns \"Tensor RT not found\" warning unfortunately.",
"Using something similar to the following:\r\n`$ strace python -c \"import tensorflow\" 2>&1 | grep libnvinfer`,\r\nit appears that TF2.15 is searching for `libnvinfer.so.8.6.1` and `libnvinfer_plugin.so.8.6.1`.\r\n\r\nWhen I manually created the symbolic links `libnvinfer.so.8.6.1 -> libnvinfer.so.8` and `libnvinfer_plugin.so.8.6.1 -> libnvinfer_plugin.so.8`, the warning went away. (LD_LIBRARY_PATH still needs to be set)",
"Thanks all for the clues into this issue. I wrote a helper script to set up symlinks to allow tensorflow to discover the missing tensorrt files, this helped me using tensorflow 2.15.1 and tensorrt 8.6.1.\r\n\r\n```\r\n#!/bin/bash\r\n# Set up symlinks to allow tensorflow to find tensorrt library files\r\n# https://github.com/tensorflow/tensorflow/issues/61986\r\n\r\necho \"Getting linked tensorrt version\"\r\nTENSORRT_VERSION=$(python3 -c \"import tensorflow.compiler as tf_cc; print('.'.join(map(str, tf_cc.tf2tensorrt._pywrap_py_utils.get_linked_tensorrt_version())))\" 2> /dev/null)\r\nif [ -z \"$TENSORRT_VERSION\" ]; then\r\n echo \"Linked tensorrt version not detected\" >&2\r\n exit 1\r\nfi\r\necho $TENSORRT_VERSION\r\n\r\necho \"Getting tensorrt lib dir (where tensorflow is looking)\"\r\nTENSORRT_FILE=\"$(python3 -c \"import tensorrt; print(tensorrt.__file__)\" 2>/dev/null)\"\r\nif [ -z \"$TENSORRT_FILE\" ]; then\r\n echo \"tensorrt dir not found (is tensorrt installed?)\" >&2\r\n exit 1\r\nfi\r\nTENSORRT_DIR=\"$(dirname \"$TENSORRT_FILE\")\"\r\necho $TENSORRT_DIR\r\n\r\necho \"Getting tensorrt_libs dir (where .so files actually are)\"\r\nTENSORRT_LIBS_FILE=\"$(python3 -c \"import tensorrt_libs; print(tensorrt_libs.__file__)\" 2>/dev/null)\"\r\nif [ -z \"$TENSORRT_LIBS_FILE\" ]; then\r\n echo \"tensorrt_libs dir not found (is tensorrt installed?)\" >&2\r\n exit 1\r\nfi\r\nTENSORRT_LIBS_DIR=\"$(dirname \"$TENSORRT_LIBS_FILE\")\"\r\necho $TENSORRT_LIBS_DIR\r\n\r\necho \"Creating links\"\r\nln -srf \"${TENSORRT_LIBS_DIR}/libnvinfer.so.8\" \"${TENSORRT_DIR}/libnvinfer.so.${TENSORRT_VERSION}\"\r\nln -srf \"${TENSORRT_LIBS_DIR}/libnvinfer_plugin.so.8\" \"${TENSORRT_DIR}/libnvinfer_plugin.so.${TENSORRT_VERSION}\"\r\n\r\necho \"tensorrt lib dir (${TENSORRT_DIR}) contents:\"\r\nls -l \"${TENSORRT_DIR}\"\r\n```"
] | 2023-09-27T09:06:01 | 2024-04-22T04:45:29 | null | CONTRIBUTOR | null | null | null | ### Issue type
Build/Install
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
binary
### TensorFlow version
2.14.0
### Custom code
No
### OS platform and distribution
Ubuntu 22.04
### Python version
3.11
### Current behavior?
tensorrt==8.5.3.1, a pinned dependency in TensorFlow[and-cuda], is only available up to Python 3.10 and therefore fails installing with Python 3.11
### Standalone code to reproduce the issue
```shell
Installation issue
`pip install "tensorflow[and-cuda]>=2.14.0"` with Python 3.11+
```
### Relevant log output
```shell
ERROR: Could not find a version that satisfies the requirement tensorrt==8.5.3.1; extra == "and-cuda" (from tensorflow[and-cuda]) (from versions: 0.0.1.dev5, 0.0.1, 8.6.1, 8.6.1.post1, 9.0.0.post11.dev1, 9.0.0.post12.dev1, 9.0.1.post11.dev4, 9.0.1.post12.dev4)
ERROR: No matching distribution found for tensorrt==8.5.3.1; extra == "and-cuda"
```
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61986/reactions",
"total_count": 6,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 6
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61986/timeline | null | null | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61985 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61985/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61985/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61985/events | https://github.com/tensorflow/tensorflow/issues/61985 | 1,914,976,321 | I_kwDOArmXAs5yJDhB | 61,985 | About int16 | {
"login": "panhu",
"id": 11703018,
"node_id": "MDQ6VXNlcjExNzAzMDE4",
"avatar_url": "https://avatars.githubusercontent.com/u/11703018?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/panhu",
"html_url": "https://github.com/panhu",
"followers_url": "https://api.github.com/users/panhu/followers",
"following_url": "https://api.github.com/users/panhu/following{/other_user}",
"gists_url": "https://api.github.com/users/panhu/gists{/gist_id}",
"starred_url": "https://api.github.com/users/panhu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/panhu/subscriptions",
"organizations_url": "https://api.github.com/users/panhu/orgs",
"repos_url": "https://api.github.com/users/panhu/repos",
"events_url": "https://api.github.com/users/panhu/events{/privacy}",
"received_events_url": "https://api.github.com/users/panhu/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": 1661751498,
"node_id": "MDU6TGFiZWwxNjYxNzUxNDk4",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TFLiteConverter",
"name": "TFLiteConverter",
"color": "bfdadc",
"default": false,
"description": "For issues related to TFLite converter"
}
] | closed | false | {
"login": "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 | [
"@panhu For converting your Tf lite model please follow the instruction [here](https://www.tensorflow.org/lite/models/convert) and check [this](https://www.tensorflow.org/lite/performance/post_training_integer_quant_16x8) document for tflite Post-training integer quantization with int16 activations.\r\nIn order to expedite the trouble-shooting process, please provide a code snippet to reproduce the issue reported here. 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.",
"Hi:\r\nI have another question that I would like to ask if I can only install version 2.5.0 of \"tflite runtime\" on Windows? as I am using pip to install other versions of \"tflite runtime\" on Windows, but I am unable to find them.\r\n\r\nThanks!",
"@panhu \r\nYou can use the latest tflite runtime version. The tflite-runtime Python wheels are pre-built and provided for these platforms as follows;\r\n\r\n*Linux armv7l (e.g. Raspberry Pi 2, 3, 4 and Zero 2 running Raspberry Pi OS 32-bit)\r\n*Linux aarch64 (e.g. Raspberry Pi 3, 4 running Debian ARM64)\r\n*Linux x86_64\r\nIf you want to run TensorFlow Lite models on other platforms, you should either use the [full TensorFlow package ](https://www.tensorflow.org/install/), or [build the tflite-runtime package from source ](https://www.tensorflow.org/lite/guide/build_cmake_pip). 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/61985\">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/61985\">No</a>\n"
] | 2023-09-27T08:25:24 | 2023-10-21T01:46:58 | 2023-10-21T01:46:54 | NONE | null | null | null | ### 1. System information
- Linux Ubuntu 16.04
- TensorFlow lite
### 2. Issue
I would like to inquire if my input and output data can only be int16. Can I write "converter. reference_input_type=tf. int16" when converting tflite? or is there any other good method recommended?
Thanks!
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61985/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/61985/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61984 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61984/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61984/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61984/events | https://github.com/tensorflow/tensorflow/issues/61984 | 1,914,871,680 | I_kwDOArmXAs5yIp-A | 61,984 | Could not find a version that satisfies the requirement tensorflow-macos==2.14.0; | {
"login": "cikichen",
"id": 1478821,
"node_id": "MDQ6VXNlcjE0Nzg4MjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1478821?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cikichen",
"html_url": "https://github.com/cikichen",
"followers_url": "https://api.github.com/users/cikichen/followers",
"following_url": "https://api.github.com/users/cikichen/following{/other_user}",
"gists_url": "https://api.github.com/users/cikichen/gists{/gist_id}",
"starred_url": "https://api.github.com/users/cikichen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cikichen/subscriptions",
"organizations_url": "https://api.github.com/users/cikichen/orgs",
"repos_url": "https://api.github.com/users/cikichen/repos",
"events_url": "https://api.github.com/users/cikichen/events{/privacy}",
"received_events_url": "https://api.github.com/users/cikichen/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": 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": 5922361893,
"node_id": "LA_kwDOArmXAs8AAAABYQASJQ",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF2.14",
"name": "TF2.14",
"color": "b60205",
"default": false,
"description": "For issues related to Tensorflow 2.14.x"
}
] | 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 | [
"@cikichen The instructions for tested build configurations for TF v2,14.0 have been updated in the documentation. Please have a look at [this](https://www.tensorflow.org/install/source#macos) reference.\r\n\r\n\r\n\r\n 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/61984\">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/61984\">No</a>\n"
] | 2023-09-27T07:26:00 | 2023-10-08T06:06:59 | 2023-10-08T06:06:57 | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
No
### Source
binary
### TensorFlow version
v2.13.0-rc2-7-g1cb1a030a62 2.13.0
### Custom code
No
### OS platform and distribution
mac os 13.5.1
### Mobile device
Apple silicon
### Python version
3.11.3
### Bazel version
_No response_
### GCC/compiler version
_No response_
### CUDA/cuDNN version
_No response_
### GPU model and memory
_No response_
### Current behavior?
Collecting tensorflow==2.14.0
Obtaining dependency information for tensorflow==2.14.0 from https://files.pythonhosted.org/packages/de/ea/90267db2c02fb61f4d03b9645c7446d3cbca6d5c08522e889535c88edfcd/tensorflow-2.14.0-cp311-cp311-macosx_12_0_arm64.whl.metadata
Using cached tensorflow-2.14.0-cp311-cp311-macosx_12_0_arm64.whl.metadata (3.3 kB)
INFO: pip is looking at multiple versions of tensorflow to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement tensorflow-macos==2.14.0; platform_system == "Darwin" and platform_machine == "arm64" (from tensorflow) (from versions: 2.12.0, 2.13.0rc0, 2.13.0rc1, 2.13.0rc2, 2.13.0, 2.14.0rc0, 2.14.0rc1)
ERROR: No matching distribution found for tensorflow-macos==2.14.0; platform_system == "Darwin" and platform_machine == "arm64"
### Standalone code to reproduce the issue
```shell
pip install tensorflow==2.14.0
```
### Relevant log output
_No response_ | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61984/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/61984/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61983 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61983/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61983/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61983/events | https://github.com/tensorflow/tensorflow/pull/61983 | 1,914,822,829 | PR_kwDOArmXAs5bTSII | 61,983 | Updated debug_events_writer_test.py file in TF doc | {
"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
} | [
{
"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-09-27T06:52:00 | 2023-12-27T23:00:32 | 2023-09-28T05:50:39 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61983",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61983",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61983.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61983.patch",
"merged_at": null
} | "def testGraphOpDigestWithNoOutpusReturnsNumOutputsZero(" is updated as
"def testGraphOpDigestWithNoOutputsReturnsNumOutputsZero(" in the Update debug_events_writer_test.py file. Please do the needful. Thank you! | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61983/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/61983/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61982 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61982/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61982/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61982/events | https://github.com/tensorflow/tensorflow/pull/61982 | 1,914,807,044 | PR_kwDOArmXAs5bTOoQ | 61,982 | Updated the code section in run_models.py file | {
"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
} | [
{
"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": 1754777628,
"node_id": "MDU6TGFiZWwxNzU0Nzc3NjI4",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:gpu:tensorrt",
"name": "comp:gpu:tensorrt",
"color": "ea98ba",
"default": false,
"description": "Issues specific to TensorRT"
}
] | 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 @sushreebarsa Can you please fix the PyLint errors? Thank you!\r\n\r\n\r\n",
"@gbaned Thank you for your response!\r\n I know the reason for this error. I am closing this PR for now. Thank you!"
] | 2023-09-27T06:41:58 | 2023-12-27T23:00:34 | 2023-09-28T05:50:08 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61982",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61982",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61982.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61982.patch",
"merged_at": null
} | DEFAUL_TRT_CONVERT_PARAMS is updated as DEFAULT_TRT_CONVERT_PARAMS in the documentation. Please have a look at the changes. Thank you! | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61982/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/61982/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61981 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61981/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61981/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61981/events | https://github.com/tensorflow/tensorflow/pull/61981 | 1,913,453,053 | PR_kwDOArmXAs5bOm7b | 61,981 | Correct the import of DistributedDatasetInterface in data_adapter.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": 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 | [
"Hi @SuryanarayanaY 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-09-26T12:55:05 | 2023-12-27T23:00:37 | 2023-09-27T05:59:35 | COLLABORATOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61981",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61981",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61981.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61981.patch",
"merged_at": null
} | From TF2.13v the `DistributedDatasetInterface` shifted from `tensorflow.python.distribute.input_lib` to `tensorflow.python.types.distribute` . But still internally in `data_adapter.py `has a protected member function calling this class from `tensorflow.python.distribute.input_lib`.
Hence updated the import statement and the protected member function as well.
A sample gist attached here to check the behaviour.
Shall fix #61974 | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61981/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/61981/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61980 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61980/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61980/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61980/events | https://github.com/tensorflow/tensorflow/issues/61980 | 1,913,334,032 | I_kwDOArmXAs5yCykQ | 61,980 | ModuleNotFoundError: No module named 'resource' | {
"login": "jsmith173",
"id": 10882689,
"node_id": "MDQ6VXNlcjEwODgyNjg5",
"avatar_url": "https://avatars.githubusercontent.com/u/10882689?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jsmith173",
"html_url": "https://github.com/jsmith173",
"followers_url": "https://api.github.com/users/jsmith173/followers",
"following_url": "https://api.github.com/users/jsmith173/following{/other_user}",
"gists_url": "https://api.github.com/users/jsmith173/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jsmith173/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jsmith173/subscriptions",
"organizations_url": "https://api.github.com/users/jsmith173/orgs",
"repos_url": "https://api.github.com/users/jsmith173/repos",
"events_url": "https://api.github.com/users/jsmith173/events{/privacy}",
"received_events_url": "https://api.github.com/users/jsmith173/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": 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 | [
"@jsmith173,\r\nHave you got the chance to have a look at this commit where the PR was raised for the similar issue in the [tensorflow/datasets](https://github.com/tensorflow/datasets/issues) repo and it was merged.\r\nhttps://github.com/tensorflow/datasets/commit/82215c7cf4b3e6df706a72c9b7ad8cede09f4d84\r\n\r\n```\r\ndef _increase_open_files_limit():\r\n \"\"\"Attempts to increase the maximum number of open file descriptors.\"\"\"\r\n \"\"\"Attempts to increase the maximum number of open file descriptors on UNIX.\"\"\"\r\n try:\r\n import resource # pylint: disable=g-import-not-at-top\r\n except ModuleNotFoundError:\r\n logging.error(\r\n \"Missing `resource` module, can't automatically increase the maximum\"\r\n ' number of open file descriptors on your system. Try increasing it'\r\n ' manually.'\r\n )\r\n return\r\n```\r\n\r\n\r\nAlso the developer also confirmed the issue has been resolved for the Windows machine. \r\nhttps://github.com/tensorflow/datasets/issues/5075#issuecomment-1727676597\r\n\r\nThank you!",
"Sorry I can't test it this way.\r\nI've found an older version on my computer that works.\r\nThanks for your help!",
"@jsmith173,\r\nGlad the issue was resolved. Could you please feel free to move this issue to closed status. 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/61980\">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/61980\">No</a>\n",
"Hello, I been troubled with this problem too. You said you found an older version on your computer, could you please tell me which one's version did you changed.",
"Working package version: 4.9.2 (tensorflow_datasets)",
"> Working package version: 4.9.2 (tensorflow_datasets)\r\n\r\nThank you!",
"Thanks, I also solve this problem by installing version 4.9.2"
] | 2023-09-26T11:48:12 | 2023-12-14T23:47:38 | 2023-10-04T05:13:14 | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
No
### Source
binary
### TensorFlow version
v2.13.0-rc2-7-g1cb1a030a62 2.13.0
### Custom code
No
### OS platform and distribution
Windows 11
### Mobile device
_No response_
### Python version
3.11.5
### Bazel version
_No response_
### GCC/compiler version
_No response_
### CUDA/cuDNN version
_No response_
### GPU model and memory
_No response_
### Current behavior?
Python test code
`import tensorflow_datasets as tfds`
Produces
ModuleNotFoundError: No module named 'resource'
### Standalone code to reproduce the issue
```shell
Python test code
import tensorflow_datasets as tfds
```
### Relevant log output
```shell
c:\xxxx\Devel Files\Other\Work\Python\image_class_transferlearning>python64.bat test.py
Traceback (most recent call last):
File "c:\xxxx\Devel Files\Other\Work\Python\image_class_transferlearning\test.py", line 1, in <module>
import tensorflow_datasets as tfds
File "C:\Users\xxxx\AppData\Local\Programs\Python\Python311\Lib\site-packages\tensorflow_datasets\__init__.py", line 43, in <module>
import tensorflow_datasets.core.logging as _tfds_logging
File "C:\Users\xxxx\AppData\Local\Programs\Python\Python311\Lib\site-packages\tensorflow_datasets\core\__init__.py", line 22, in <module>
from tensorflow_datasets.core import community
File "C:\Users\xxxx\AppData\Local\Programs\Python\Python311\Lib\site-packages\tensorflow_datasets\core\community\__init__.py", line 18, in <module>
from tensorflow_datasets.core.community.huggingface_wrapper import mock_builtin_to_use_gfile
File "C:\Users\xxxx\AppData\Local\Programs\Python\Python311\Lib\site-packages\tensorflow_datasets\core\community\huggingface_wrapper.py", line 31, in <module>
from tensorflow_datasets.core import dataset_builder
File "C:\Users\xxxx\AppData\Local\Programs\Python\Python311\Lib\site-packages\tensorflow_datasets\core\dataset_builder.py", line 44, in <module>
from tensorflow_datasets.core import split_builder as split_builder_lib
File "C:\Users\xxxx\AppData\Local\Programs\Python\Python311\Lib\site-packages\tensorflow_datasets\core\split_builder.py", line 37, in <module>
from tensorflow_datasets.core import writer as writer_lib
File "C:\Users\xxxx\AppData\Local\Programs\Python\Python311\Lib\site-packages\tensorflow_datasets\core\writer.py", line 33, in <module>
from tensorflow_datasets.core import shuffle
File "C:\Users\xxxx\AppData\Local\Programs\Python\Python311\Lib\site-packages\tensorflow_datasets\core\shuffle.py", line 20, in <module>
import resource
ModuleNotFoundError: No module named 'resource'
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61980/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/61980/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61979 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61979/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61979/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61979/events | https://github.com/tensorflow/tensorflow/issues/61979 | 1,912,731,651 | I_kwDOArmXAs5yAfgD | 61,979 | TfLiteGpuDelegate Prepare: delegate is not initialized | {
"login": "ZTMIDGO",
"id": 50280785,
"node_id": "MDQ6VXNlcjUwMjgwNzg1",
"avatar_url": "https://avatars.githubusercontent.com/u/50280785?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZTMIDGO",
"html_url": "https://github.com/ZTMIDGO",
"followers_url": "https://api.github.com/users/ZTMIDGO/followers",
"following_url": "https://api.github.com/users/ZTMIDGO/following{/other_user}",
"gists_url": "https://api.github.com/users/ZTMIDGO/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ZTMIDGO/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ZTMIDGO/subscriptions",
"organizations_url": "https://api.github.com/users/ZTMIDGO/orgs",
"repos_url": "https://api.github.com/users/ZTMIDGO/repos",
"events_url": "https://api.github.com/users/ZTMIDGO/events{/privacy}",
"received_events_url": "https://api.github.com/users/ZTMIDGO/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": 2671339633,
"node_id": "MDU6TGFiZWwyNjcxMzM5NjMz",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TFLiteGpuDelegate",
"name": "TFLiteGpuDelegate",
"color": "F71F04",
"default": false,
"description": "TFLite Gpu delegate issue"
},
{
"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 @ZTMIDGO \r\n\r\nWe see that you are using old version of tensorflow (1.x) which is not actively supported. \r\n\r\nWe recommend that you upgrade to 2.13.0 and let us know if the issue still persists in newer versions .\r\n\r\nThanks.\r\n",
"@pjpratik \r\nSorry, I filled in the wrong tensorflow version, I'm currently using v2.13.0\r\n\r\nimplementation 'org.tensorflow:tensorflow-lite-gpu:2.13.0'\r\nimplementation 'org.tensorflow:tensorflow-lite:2.13.0'\r\nimplementation 'org.tensorflow:tensorflow-lite-gpu-api:2.13.0'\r\nimplementation 'org.tensorflow:tensorflow-lite-support:0.4.4'\r\n\r\nI don't know how to handle the exception I mentioned above",
"Hi @ZTMIDGO \r\n\r\nThanks for the information.\r\n\r\nI have inspected the the .pb file and tflite file. I can observe that there could be some runtime incompatibility happening.\r\n\r\nThe original model seems to be a TF 1.x version, specifically TF 1.13.1 because of which the issue seems to happen. Please find this [gist](https://colab.research.google.com/gist/pjpratik/807d47d204c1127f1c8be238e4ef9cf5/61979.ipynb).\r\n\r\nAlso, `from_frozen_graph()` conversion method is deprecated and please migrate the TF model to a 2.x version into a saved model format and try if it works.\r\n\r\nThanks.",
"@pjpratik Thanks, I will try it"
] | 2023-09-26T05:49:23 | 2023-09-30T11:21:31 | 2023-09-30T11:21:31 | NONE | null | null | null | **System information**
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Android 12
- TensorFlow installed from (source or binary): binary
- TensorFlow version (or github SHA if from source): v2.13.0
**Provide the text output from tflite_convert**
```
# Copy and paste here
2023-09-26 13:31:37.492599: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN)to use the following CPU instructions in performance-critical operations: AVX2
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-09-26 13:31:37.500521: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x2168003d970 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2023-09-26 13:31:37.500975: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version
2023-09-26 13:31:37.599984: W tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.cc:313] Ignored output_format.
2023-09-26 13:31:37.600138: W tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.cc:316] Ignored drop_control_dependency.
```
**Standalone code to reproduce the issue**
**java code**
Interpreter.Options options = new Interpreter.Options();
options.addDelegate(new GpuDelegate());
Interpreter interpreter = new Interpreter(model, options);
**Convert code**
output_name = ['add_1']
input_shape = [288, 288, 3]
converter = tf.lite.TFLiteConverter.from_frozen_graph('model.pb', input_arrays=["input_image"], output_arrays=output_name, input_shapes={"input_image": input_shape})
tflite_model = converter.convert()
open('model.tflite', "wb").write(tflite_model)
GraphDef model:
[GraphDef.zip](https://github.com/tensorflow/tensorflow/files/12723201/GraphDef.zip)
TFlite model:
[tflite.zip](https://github.com/tensorflow/tensorflow/files/12723204/tflite.zip)
**Any other info / logs**
**Java issue**
13:40:05.480 W java.lang.IllegalArgumentException: Internal error: Failed to apply delegate: TfLiteGpuDelegate Init: DEPTHWISE_CONV_2D: ReadNonConstantTensor: value is a constant tensor: 4
13:40:05.480 W TfLiteGpuDelegate Prepare: delegate is not initialized
13:40:05.480 W Node number 69 (TfLiteGpuDelegateV2) failed to prepare.
13:40:05.480 W Restored original execution plan after delegate application failure.
13:40:05.480 W at org.tensorflow.lite.NativeInterpreterWrapper.createInterpreter(Native Method)
13:40:05.480 W at org.tensorflow.lite.NativeInterpreterWrapper.init(NativeInterpreterWrapper.java:110)
13:40:05.480 W at org.tensorflow.lite.NativeInterpreterWrapper.<init>(NativeInterpreterWrapper.java:58)
13:40:05.480 W at org.tensorflow.lite.NativeInterpreterWrapperExperimental.<init>(NativeInterpreterWrapperExperimental.java:32)
13:40:05.480 W at org.tensorflow.lite.Interpreter.<init>(Interpreter.java:202)
13:40:05.480 W at com.unt.studio.pumpkin.core.style.DCTNet.init(DCTNet.java:33)
13:40:05.480 W at com.unt.studio.pumpkin.ui.fragment.StyleTransferFragment$1.run(StyleTransferFragment.java:184)
13:40:05.480 W at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
13:40:05.480 W at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
13:40:05.480 W at java.lang.Thread.run(Thread.java:920) | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61979/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/61979/timeline | null | completed | false |
Subsets and Splits