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/61475 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61475/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61475/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61475/events | https://github.com/tensorflow/tensorflow/issues/61475 | 1,836,444,926 | I_kwDOArmXAs5tdez- | 61,475 | Blank | {
"login": "DocKustom",
"id": 140934255,
"node_id": "U_kgDOCGZ8bw",
"avatar_url": "https://avatars.githubusercontent.com/u/140934255?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DocKustom",
"html_url": "https://github.com/DocKustom",
"followers_url": "https://api.github.com/users/DocKustom/followers",
"following_url": "https://api.github.com/users/DocKustom/following{/other_user}",
"gists_url": "https://api.github.com/users/DocKustom/gists{/gist_id}",
"starred_url": "https://api.github.com/users/DocKustom/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DocKustom/subscriptions",
"organizations_url": "https://api.github.com/users/DocKustom/orgs",
"repos_url": "https://api.github.com/users/DocKustom/repos",
"events_url": "https://api.github.com/users/DocKustom/events{/privacy}",
"received_events_url": "https://api.github.com/users/DocKustom/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1593512946,
"node_id": "MDU6TGFiZWwxNTkzNTEyOTQ2",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/invalid",
"name": "invalid",
"color": "db6f57",
"default": true,
"description": "Hacktoberfest spam PR"
}
] | closed | true | {
"login": "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 | [] | 2023-08-04T10:01:10 | 2023-08-04T15:26:23 | 2023-08-04T15:26:23 | NONE | spam | null | null | null | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61475/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61475/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61474 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61474/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61474/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61474/events | https://github.com/tensorflow/tensorflow/pull/61474 | 1,836,428,882 | PR_kwDOArmXAs5XLj02 | 61,474 | [Linaro:ARM_CI] Rename scripts to be clearer about function | {
"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-08-04T09:50:20 | 2023-08-07T09:23:53 | 2023-08-04T17:45:55 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61474",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61474",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61474.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61474.patch",
"merged_at": "2023-08-04T17:45:55"
} | Rename the scripts used in AARCH64 CI jobs to be clearer about their function and move away from deprecated terms. | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61474/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61474/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61473 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61473/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61473/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61473/events | https://github.com/tensorflow/tensorflow/pull/61473 | 1,836,333,333 | PR_kwDOArmXAs5XLPi7 | 61,473 | [TFLite] Fix cmake build kernel test fail | {
"login": "bhbruce",
"id": 55973122,
"node_id": "MDQ6VXNlcjU1OTczMTIy",
"avatar_url": "https://avatars.githubusercontent.com/u/55973122?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bhbruce",
"html_url": "https://github.com/bhbruce",
"followers_url": "https://api.github.com/users/bhbruce/followers",
"following_url": "https://api.github.com/users/bhbruce/following{/other_user}",
"gists_url": "https://api.github.com/users/bhbruce/gists{/gist_id}",
"starred_url": "https://api.github.com/users/bhbruce/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bhbruce/subscriptions",
"organizations_url": "https://api.github.com/users/bhbruce/orgs",
"repos_url": "https://api.github.com/users/bhbruce/repos",
"events_url": "https://api.github.com/users/bhbruce/events{/privacy}",
"received_events_url": "https://api.github.com/users/bhbruce/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 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 | [
"@terryheo \r\nCan you help to review it?",
"Hi @grantjensen / @terryheo Can you please review this PR ? Thank you!",
"Failing internal test when linking conv_test:\r\n\r\n```[100%] Linking CXX executable conv_test\r\n/usr/bin/ld: ../libtensorflow-lite.a(op_signature.cc.o): in function `tflite::GetOpSignature(TfLiteContext const*, TfLiteNode const*, TfLiteRegistration const*)':\r\nop_signature.cc:(.text+0x440): multiple definition of `tflite::GetOpSignature(TfLiteContext const*, TfLiteNode const*, TfLiteRegistration const*)'; libtensorflow-lite-test-base.a(op_signature.cc.o):op_signature.cc:(.text+0x440): first defined here\r\n/usr/bin/ld: ../libtensorflow-lite.a(op_signature.cc.o): in function `tflite::GetOpSignature(tflite::OperatorCode const*, tflite::Operator const*, tflite::SubGraph const*, tflite::Model const*)':\r\nop_signature.cc:(.text+0xb60): multiple definition of `tflite::GetOpSignature(tflite::OperatorCode const*, tflite::Operator const*, tflite::SubGraph const*, tflite::Model const*)'; libtensorflow-lite-test-base.a(op_signature.cc.o):op_signature.cc:(.text+0xb60): first defined here\r\ncollect2: error: ld returned 1 exit status```\r\n\r\nPlease fix\r\n\r\n",
"> /usr/bin/ld: ../libtensorflow-lite.a(op_signature.cc.o): in function `tflite::GetOpSignature(TfLiteContext const*, TfLiteNode const*, TfLiteRegistration const*)':\r\n> op_signature.cc:(.text+0x440): multiple definition of `tflite::GetOpSignature(TfLiteContext const*, TfLiteNode const*, TfLiteRegistration const*)'; libtensorflow-lite-test-base.a(op_signature.cc.o):op_signature.cc:(.text+0x440): first defined here\r\n> /usr/bin/ld: ../libtensorflow-lite.a(op_signature.cc.o): in function `tflite::GetOpSignature(tflite::OperatorCode const*, tflite::Operator const*, tflite::SubGraph const*, tflite::Model const*)':\r\n> op_signature.cc:(.text+0xb60): multiple definition of `tflite::GetOpSignature(tflite::OperatorCode const*, tflite::Operator const*, tflite::SubGraph const*, tflite::Model const*)'; libtensorflow-lite-test-base.a(op_signature.cc.o):op_signature.cc:(.text+0xb60): first defined here\r\n> collect2: error: ld returned 1 exit status```\r\n\r\n@grantjensen Can you share more information about which compiler you used (e.g gcc for arm64)?\r\n",
"Sure.\r\n\r\n```\r\n\"${CMAKE}\" ../tensorflow/lite -DTFLITE_ENABLE_GPU=ON -DTFLITE_KERNEL_TEST=ON\r\ntime \"${CMAKE}\" --build . -j -t benchmark_model -t conv_test\r\n```\r\n(Cmake -v == 3.16.8)\r\nI have also run this code with unpack_test and have not encountered any errors. Do you mind providing the code you used to generate the original issue?\r\n",
"> Do you mind providing the code you used to generate the original issue?\r\n\r\nI set `-DTFLITE_ENABLE_GPU=OFF` and the bug happens as I mentioned at the top.\r\n\r\nThe multiple define errors happen only when `-DTFLITE_ENABLE_GPU=ON`.\r\nBecause `op_signature` is included in `TFLITE_DELEGATES_GPU_SRCS`, it makes `tensorflow-lite.a` define `GetOpSignature `.\r\n https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/CMakeLists.txt#L603C22-L603C22\r\n\r\nMy previous modification makes `tensorflow-lite-test-base` include the definition of `op_signature`.\r\nhttps://github.com/tensorflow/tensorflow/blob/37f535948ea6ff280100ab254c7d9acd183e2ed6/tensorflow/lite/kernels/CMakeLists.txt#L122C57-L122C57\r\n`tensorflow-lite-test-base` will later link `tensorflow-lite`(it defines op_signature when `TFLITE_ENABLE_GPU=ON`) later, so it causes multiple definitions here.\r\nhttps://github.com/tensorflow/tensorflow/blob/37f535948ea6ff280100ab254c7d9acd183e2ed6/tensorflow/lite/kernels/CMakeLists.txt#L122C13-L127\r\n\r\n",
"I provide the other [PR](https://github.com/tensorflow/tensorflow/pull/61798) to solve this issue because of my operation error.",
"Closing this; approving [pr](https://github.com/tensorflow/tensorflow/pull/61798)"
] | 2023-08-04T08:45:06 | 2023-09-06T17:05:41 | 2023-09-06T17:05:37 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61473",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61473",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61473.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61473.patch",
"merged_at": null
} | - Problem:
Using CMake to build the TFLite kernel test will fail in linking stage.
- Error log
```
[ 87%] Linking CXX executable unpack_test
ld: libtensorflow-lite-test-base.a(op_version.cc.o): in function `.LBB1_18':
op_version.cc:(.text._ZN6tflite15UpdateOpVersionEPh+0x14c): undefined reference to `tflite::GetOpSignature(tflite::OperatorCode const*, tflite::Operator const*, tflite::SubGraph const*, tflite::Model const*)'
clang++: rror: linker command failed with exit code 1 (use -v to see invocation)
```
- Solution:
Add `versioning/op_signature.cc` to `TEST_FRAMEWORK_SRC`. `versioning/op_version.cc` depends on `versioning/op_signature.cc` because of using GetOpSignature(). | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61473/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61473/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61472 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61472/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61472/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61472/events | https://github.com/tensorflow/tensorflow/issues/61472 | 1,836,067,448 | I_kwDOArmXAs5tcCp4 | 61,472 | Converter issue | {
"login": "DocKustom",
"id": 140934255,
"node_id": "U_kgDOCGZ8bw",
"avatar_url": "https://avatars.githubusercontent.com/u/140934255?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DocKustom",
"html_url": "https://github.com/DocKustom",
"followers_url": "https://api.github.com/users/DocKustom/followers",
"following_url": "https://api.github.com/users/DocKustom/following{/other_user}",
"gists_url": "https://api.github.com/users/DocKustom/gists{/gist_id}",
"starred_url": "https://api.github.com/users/DocKustom/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DocKustom/subscriptions",
"organizations_url": "https://api.github.com/users/DocKustom/orgs",
"repos_url": "https://api.github.com/users/DocKustom/repos",
"events_url": "https://api.github.com/users/DocKustom/events{/privacy}",
"received_events_url": "https://api.github.com/users/DocKustom/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 386191887,
"node_id": "MDU6TGFiZWwzODYxOTE4ODc=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response",
"name": "stat:awaiting response",
"color": "f4b400",
"default": false,
"description": "Status - Awaiting response from author"
},
{
"id": 474725938,
"node_id": "MDU6TGFiZWw0NzQ3MjU5Mzg=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stale",
"name": "stale",
"color": "d4c5f9",
"default": false,
"description": "This label marks the issue/pr stale - to be closed automatically if no activity"
},
{
"id": 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 | [
"@DocKustom Could you please fill the template properly with relevant information. Please have a look at this [link](https://www.tensorflow.org/lite/guide/faq) to know more about the issues related to the converter. Thank you!",
"I don't even know how to get to the python terminal so I can input an**y**code at all",
"Ok so my problem is that kera monitors you",
"@DocKustom Could you please provide more information on the issue reported as the issue seems to be related converter so please follow this [link](https://www.tensorflow.org/lite/models/convert) for more context to it. 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."
] | 2023-08-04T04:59:40 | 2023-08-23T01:46:30 | 2023-08-23T01:46:30 | NONE | null | null | null | ### 1. System information
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
- TensorFlow installation (pip package or built from source):
- TensorFlow library (version, if pip package or github SHA, if built from source):
### 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.
```
### 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/61472/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61472/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61471 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61471/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61471/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61471/events | https://github.com/tensorflow/tensorflow/pull/61471 | 1,835,890,769 | PR_kwDOArmXAs5XJyvg | 61,471 | [INTEL oneDNN] Refactoring: remove MKL ML API calls | {
"login": "gzmkl",
"id": 29215195,
"node_id": "MDQ6VXNlcjI5MjE1MTk1",
"avatar_url": "https://avatars.githubusercontent.com/u/29215195?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gzmkl",
"html_url": "https://github.com/gzmkl",
"followers_url": "https://api.github.com/users/gzmkl/followers",
"following_url": "https://api.github.com/users/gzmkl/following{/other_user}",
"gists_url": "https://api.github.com/users/gzmkl/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gzmkl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gzmkl/subscriptions",
"organizations_url": "https://api.github.com/users/gzmkl/orgs",
"repos_url": "https://api.github.com/users/gzmkl/repos",
"events_url": "https://api.github.com/users/gzmkl/events{/privacy}",
"received_events_url": "https://api.github.com/users/gzmkl/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 390482148,
"node_id": "MDU6TGFiZWwzOTA0ODIxNDg=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/awaiting%20review",
"name": "awaiting review",
"color": "bc3869",
"default": false,
"description": "Pull request awaiting review"
},
{
"id": 987666414,
"node_id": "MDU6TGFiZWw5ODc2NjY0MTQ=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/ready%20to%20pull",
"name": "ready to pull",
"color": "2cd643",
"default": false,
"description": "PR ready for merge process"
},
{
"id": 1133285679,
"node_id": "MDU6TGFiZWwxMTMzMjg1Njc5",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:xla",
"name": "comp:xla",
"color": "0052cc",
"default": false,
"description": "XLA"
},
{
"id": 1169365682,
"node_id": "MDU6TGFiZWwxMTY5MzY1Njgy",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:L",
"name": "size:L",
"color": "adafea",
"default": false,
"description": "CL Change Size: Large"
}
] | closed | false | {
"login": "penpornk",
"id": 38085909,
"node_id": "MDQ6VXNlcjM4MDg1OTA5",
"avatar_url": "https://avatars.githubusercontent.com/u/38085909?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/penpornk",
"html_url": "https://github.com/penpornk",
"followers_url": "https://api.github.com/users/penpornk/followers",
"following_url": "https://api.github.com/users/penpornk/following{/other_user}",
"gists_url": "https://api.github.com/users/penpornk/gists{/gist_id}",
"starred_url": "https://api.github.com/users/penpornk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/penpornk/subscriptions",
"organizations_url": "https://api.github.com/users/penpornk/orgs",
"repos_url": "https://api.github.com/users/penpornk/repos",
"events_url": "https://api.github.com/users/penpornk/events{/privacy}",
"received_events_url": "https://api.github.com/users/penpornk/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "penpornk",
"id": 38085909,
"node_id": "MDQ6VXNlcjM4MDg1OTA5",
"avatar_url": "https://avatars.githubusercontent.com/u/38085909?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/penpornk",
"html_url": "https://github.com/penpornk",
"followers_url": "https://api.github.com/users/penpornk/followers",
"following_url": "https://api.github.com/users/penpornk/following{/other_user}",
"gists_url": "https://api.github.com/users/penpornk/gists{/gist_id}",
"starred_url": "https://api.github.com/users/penpornk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/penpornk/subscriptions",
"organizations_url": "https://api.github.com/users/penpornk/orgs",
"repos_url": "https://api.github.com/users/penpornk/repos",
"events_url": "https://api.github.com/users/penpornk/events{/privacy}",
"received_events_url": "https://api.github.com/users/penpornk/received_events",
"type": "User",
"site_admin": false
},
{
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"> runtime_matmul_mkl\r\n\r\nI removed it from BUILD. THANKS\r\n",
"https://github.com/tensorflow/tensorflow/pull/61237 was brought back with commit https://github.com/tensorflow/tensorflow/commit/765314dd0b5e3fae242c9b7441ce1bda3daa8070. Does this PR need to be updated again?",
"> #61237 was brought back with commit [765314d](https://github.com/tensorflow/tensorflow/commit/765314dd0b5e3fae242c9b7441ce1bda3daa8070). Does this PR need to be updated again?\r\n\r\nYES, I will patch back the changes in my 2nd commit today",
"@penpornk I updated this PR. Please help to review"
] | 2023-08-04T00:26:15 | 2023-09-01T19:53:13 | 2023-09-01T19:53:12 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61471",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61471",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61471.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61471.patch",
"merged_at": "2023-09-01T19:53:12"
} | The PR removes obsolete MKL ML API calls, including all related functional calls and unit tests.
This PR will replace
this old public PR ( I will close)
https://github.com/tensorflow/tensorflow/pull/60292
Removed functionality in runtime_matmul_mkl.cc/h will be included in a follow-up PR
https://github.com/tensorflow/tensorflow/pull/61237
which depends on the merge of this one. | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61471/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61471/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61470 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61470/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61470/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61470/events | https://github.com/tensorflow/tensorflow/pull/61470 | 1,835,865,547 | PR_kwDOArmXAs5XJtrc | 61,470 | r2.14 cherry-pick: 63d159607a8 "version bump and formatting" | {
"login": "tensorflow-jenkins",
"id": 16359713,
"node_id": "MDQ6VXNlcjE2MzU5NzEz",
"avatar_url": "https://avatars.githubusercontent.com/u/16359713?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tensorflow-jenkins",
"html_url": "https://github.com/tensorflow-jenkins",
"followers_url": "https://api.github.com/users/tensorflow-jenkins/followers",
"following_url": "https://api.github.com/users/tensorflow-jenkins/following{/other_user}",
"gists_url": "https://api.github.com/users/tensorflow-jenkins/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tensorflow-jenkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tensorflow-jenkins/subscriptions",
"organizations_url": "https://api.github.com/users/tensorflow-jenkins/orgs",
"repos_url": "https://api.github.com/users/tensorflow-jenkins/repos",
"events_url": "https://api.github.com/users/tensorflow-jenkins/events{/privacy}",
"received_events_url": "https://api.github.com/users/tensorflow-jenkins/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-08-03T23:52:10 | 2023-08-04T00:33:45 | 2023-08-04T00:33:42 | COLLABORATOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61470",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61470",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61470.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61470.patch",
"merged_at": "2023-08-04T00:33:42"
} | Refer to the original commit: https://github.com/tensorflow/tensorflow/commit/63d159607a86cba983cd1b1b5a7948bae7eb1156 | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61470/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61470/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61469 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61469/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61469/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61469/events | https://github.com/tensorflow/tensorflow/pull/61469 | 1,835,794,678 | PR_kwDOArmXAs5XJenF | 61,469 | Update version numbers for TensorFlow 2.14.0-rc0 | {
"login": "tensorflow-jenkins",
"id": 16359713,
"node_id": "MDQ6VXNlcjE2MzU5NzEz",
"avatar_url": "https://avatars.githubusercontent.com/u/16359713?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tensorflow-jenkins",
"html_url": "https://github.com/tensorflow-jenkins",
"followers_url": "https://api.github.com/users/tensorflow-jenkins/followers",
"following_url": "https://api.github.com/users/tensorflow-jenkins/following{/other_user}",
"gists_url": "https://api.github.com/users/tensorflow-jenkins/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tensorflow-jenkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tensorflow-jenkins/subscriptions",
"organizations_url": "https://api.github.com/users/tensorflow-jenkins/orgs",
"repos_url": "https://api.github.com/users/tensorflow-jenkins/repos",
"events_url": "https://api.github.com/users/tensorflow-jenkins/events{/privacy}",
"received_events_url": "https://api.github.com/users/tensorflow-jenkins/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-08-03T22:08:45 | 2023-08-03T22:23:31 | 2023-08-03T22:23:30 | COLLABORATOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61469",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61469",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61469.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61469.patch",
"merged_at": "2023-08-03T22:23:30"
} | Before merging this PR, please double check that it has correctly updated
`core/public/version.h`, `tools/pip_package/setup.py`, and
`tensorflow/tensorflow.bzl`. Also review the execution notes below:
```
Major: 2 -> 2
Minor: 14 -> 14
Patch: 0 -> 0
WARNING: Below are potentially instances of lingering old version string
"2.14.0" in source directory "tensorflow/" that are not updated by this script.
Please check them manually!
tensorflow/tensorflow.bzl:85:2.14.0
tensorflow/cc/saved_model/testdata/chunked_saved_model/chunked_model/saved_model
.pbtxt:342:2.14.0
Binary file
tensorflow/cc/saved_model/testdata/chunked_saved_model/non_chunked_model/saved_m
odel.pb matches
tensorflow/lite/tools/versioning/runtime_version.cc:113:2.14.0
tensorflow/lite/tools/versioning/runtime_version.cc:251:2.14.0
tensorflow/lite/tools/versioning/runtime_version.cc:252:2.14.0
tensorflow/lite/tools/versioning/runtime_version.cc:280:2.14.0
tensorflow/lite/tools/versioning/runtime_version.cc:368:2.14.0
tensorflow/tools/ci_build/release/requirements_common.txt:29:2.14.0
tensorflow/tools/ci_build/release/requirements_common.txt:30:2.14.0
tensorflow/tools/ci_build/release/requirements_common.txt:31:2.14.0
tensorflow/tools/tf_sig_build_dockerfiles/devel.requirements.txt:33:2.14.0
tensorflow/tools/tf_sig_build_dockerfiles/devel.requirements.txt:35:2.14.0
tensorflow/tools/pip_package/setup.py:50:2.14.0
tensorflow/tools/pip_package/setup.py:122:2.14.0
tensorflow/tools/pip_package/setup.py:126:2.14.0
tensorflow/tools/pip_package/setup.py:129:2.14.0
WARNING: Below are potentially instances of lingering old version string
"2.14.0" in source directory "tensorflow/" that are not updated by this script.
Please check them manually!
tensorflow/tensorflow.bzl:85:2.14.0
tensorflow/cc/saved_model/testdata/chunked_saved_model/chunked_model/saved_model
.pbtxt:342:2.14.0
Binary file
tensorflow/cc/saved_model/testdata/chunked_saved_model/non_chunked_model/saved_m
odel.pb matches
tensorflow/lite/tools/versioning/runtime_version.cc:113:2.14.0
tensorflow/lite/tools/versioning/runtime_version.cc:251:2.14.0
tensorflow/lite/tools/versioning/runtime_version.cc:252:2.14.0
tensorflow/lite/tools/versioning/runtime_version.cc:280:2.14.0
tensorflow/lite/tools/versioning/runtime_version.cc:368:2.14.0
tensorflow/tools/ci_build/release/requirements_common.txt:29:2.14.0
tensorflow/tools/ci_build/release/requirements_common.txt:30:2.14.0
tensorflow/tools/ci_build/release/requirements_common.txt:31:2.14.0
tensorflow/tools/tf_sig_build_dockerfiles/devel.requirements.txt:33:2.14.0
tensorflow/tools/tf_sig_build_dockerfiles/devel.requirements.txt:35:2.14.0
tensorflow/tools/pip_package/setup.py:50:2.14.0
tensorflow/tools/pip_package/setup.py:122:2.14.0
tensorflow/tools/pip_package/setup.py:126:2.14.0
tensorflow/tools/pip_package/setup.py:129:2.14.0
``` | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61469/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61469/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61468 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61468/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61468/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61468/events | https://github.com/tensorflow/tensorflow/issues/61468 | 1,835,528,241 | I_kwDOArmXAs5tZ_Ax | 61,468 | TF-TRT Warning: Could not find TensorRT | {
"login": "mikechen66",
"id": 14157310,
"node_id": "MDQ6VXNlcjE0MTU3MzEw",
"avatar_url": "https://avatars.githubusercontent.com/u/14157310?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mikechen66",
"html_url": "https://github.com/mikechen66",
"followers_url": "https://api.github.com/users/mikechen66/followers",
"following_url": "https://api.github.com/users/mikechen66/following{/other_user}",
"gists_url": "https://api.github.com/users/mikechen66/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mikechen66/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mikechen66/subscriptions",
"organizations_url": "https://api.github.com/users/mikechen66/orgs",
"repos_url": "https://api.github.com/users/mikechen66/repos",
"events_url": "https://api.github.com/users/mikechen66/events{/privacy}",
"received_events_url": "https://api.github.com/users/mikechen66/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 | [
"Hi @mikechen66 ,\r\n\r\nPlease follow the correct configuration and follow the [documentation](https://www.tensorflow.org/install/pip) \r\n\r\nPlease also have a look of similar issue at https://github.com/tensorflow/tensorflow/issues/41060. \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.",
"does anyone have any updates on this? facing the same issue without a trace in sight",
"Hi @mikechen66 ,\r\n\r\nI am assuming you are using prebuilt binaries from Pypi.If you are building from source please confirm.\r\n\r\nCould you please confirm whether CUDNN PATH setting done like below. Refer step 4 in attached [documentation](https://www.tensorflow.org/install/pip#step-by-step_instructions) source for more details on configuring GPU.\r\n\r\n```\r\nCUDNN_PATH=$(dirname $(python -c \"import nvidia.cudnn;print(nvidia.cudnn.__file__)\"))\r\nexport LD_LIBRARY_PATH=$CUDNN_PATH/lib:$CONDA_PREFIX/lib/:$LD_LIBRARY_PATH\r\n```\r\n\r\nAlso please run the command `nvidia-smi` to check whether Nvidia driver installed or not.\r\n\r\nPlease ignore TensorRT warning as this is optional and it won't affect GPU. 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.",
"still having issues too",
"I have the same issue. Does anyone have any updates on this? ",
"I too am suffering from this issue.",
"Try adding this command\r\n\r\n`!pip install tensorflow-gpu==2.8.0`",
"> Try adding this command\r\n> \r\n> `!pip install tensorflow-gpu==2.8.0`\r\n\r\nThank you, it works for me.",
"> Try adding this command\r\n> \r\n> `!pip install tensorflow-gpu==2.8.0`\r\n\r\nIt seems tensorflow-gpu will be deprecated? #60074",
"Looks like it, but it works for me as well.",
"Starting from TF2.12v `tensorflow-gpu` became redundant and installing `tensorflow` automatically installs GPU version also.",
"@mikechen66 , Can we mark it as closed. Please let us know if still having concerns.\r\n\r\nThanks!",
"had same issue as others\r\n\r\n> ```\r\n> CUDNN_PATH=$(dirname $(python -c \"import nvidia.cudnn;print(nvidia.cudnn.__file__)\"))\r\n> export LD_LIBRARY_PATH=$CUDNN_PATH/lib:<path to your python libs>/tensorrt_libs/:$LD_LIBRARY_PATH:\r\n> ```\r\nfrom @SuryanarayanaY & [SO](https://stackoverflow.com/a/76882097) seemed to do the trick for me\r\nin case others had the same issue but didn't install tensorflow through conda\r\n\r\nNote: will need to add to environment variables in profile or `.env` file otherwise will need to reset these variables before each run",
"> had same issue as others\r\n> \r\n> > ```\r\n> > CUDNN_PATH=$(dirname $(python -c \"import nvidia.cudnn;print(nvidia.cudnn.__file__)\"))\r\n> > export LD_LIBRARY_PATH=$CUDNN_PATH/lib:<path to your python libs>/tensorrt_libs/:$LD_LIBRARY_PATH:\r\n> > ```\r\n> \r\n> from @SuryanarayanaY & [SO](https://stackoverflow.com/a/76882097) seemed to do the trick for me in case others had the same issue but didn't install tensorflow through conda\r\n> \r\n> Note: will need to add to environment variables in profile or `.env` file otherwise will need to reset these variables before each run\r\n\r\nThis works for me! 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.",
"> had same issue as others\r\n> \r\n> > ```\r\n> > CUDNN_PATH=$(dirname $(python -c \"import nvidia.cudnn;print(nvidia.cudnn.__file__)\"))\r\n> > export LD_LIBRARY_PATH=$CUDNN_PATH/lib:<path to your python libs>/tensorrt_libs/:$LD_LIBRARY_PATH:\r\n> > ```\r\n> \r\n> from @SuryanarayanaY & [SO](https://stackoverflow.com/a/76882097) seemed to do the trick for me in case others had the same issue but didn't install tensorflow through conda\r\n> \r\n> Note: will need to add to environment variables in profile or `.env` file otherwise will need to reset these variables before each run\r\n\r\nCould you tell the command to find path to python libs ?\r\nAlso I am unable to find tensor_libs folder using find command.",
"In my case the log reported \r\n```\r\nTF-TRT Warning: Could not find TensorRT\r\n```\r\nbut my program ran otherwise normally. I resolved this by using TensorRT 8 instead of TensorRT 7, contrary to what the [documentation](https://www.tensorflow.org/install/pip#software_requirements) suggests.\r\n\r\nAfter tracking the source code a bit, it seems that library search starts in [`py_utils.cc`](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/compiler/tf2tensorrt/utils/py_utils.cc#L36) and lands in [`load_library.cc`](https://github.com/google/tsl/blob/main/tsl/platform/default/load_library.cc#L27). So we can use `dlopen` to test what gets wrong (under Linux, for example).\r\n\r\nI used the following snippet to check the actual error when loading the TensorRT library:\r\n```c\r\n#include <dlfcn.h>\r\n#include <stdio.h>\r\n\r\nint main() {\r\n void* handle = dlopen(\"libnvinfer.so\", RTLD_NOW | RTLD_LOCAL);\r\n if (handle) {\r\n printf(\"%p\", handle);\r\n dlclose(handle);\r\n } else {\r\n printf(\"%s\", dlerror());\r\n }\r\n printf(\"\\n\");\r\n return handle == NULL;\r\n}\r\n```\r\nIn my case, it printed\r\n```\r\nlibnvrtc.so.11.1: cannot open shared object file: No such file or directory\r\n```\r\nand I could only find `libnvrtc.so.11.2` in my system, which seems too new for TensorRT 7. After being aware that [TensorFlow supports TensorRT 8](https://github.com/tensorflow/tensorflow/pull/52932), I upgraded TensorRT and the warning was gone.",
"Hi @mikechen66 ,\r\n\r\nThis could not be an issue with latest version TF2.14v. As tensorflow team came up with GPU package that also bundled with all the necessary cuda,cudnn and Tensorrt packages etc. You can use `pip install tensorflow[and-cuda]==2.14` and it installs all the comapatable versions of GPU packages also. This will ensure there is no compatibility issues arises in any of cuda,cudnn, tensorrt etc.\r\n\r\nhttps://github.com/tensorflow/tensorflow/blob/4dacf3f368eb7965e9b5c3bbdd5193986081c3b2/tensorflow/tools/pip_package/setup.py#L169-L181\r\n\r\nPlease verify and confirm if there is still an issue. Thanks!",
"This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.",
"> Try adding this command\r\n> \r\n> `!pip install tensorflow-gpu==2.8.0`\r\n\r\nit's worked thanks",
"The following snippet resolved the tensorrt problem completely on my machine.\r\n```\r\nmkdir -p $CONDA_PREFIX/etc/conda/activate.d\r\n\r\necho 'CUDNN_PATH=$(dirname $(python -c \"import nvidia.cudnn;print(nvidia.cudnn.__file__)\"))' >> $CONDA_PREFIX/etc/conda/activate.d/env_vars.sh\r\necho 'TENSORRT_PATH=$(dirname $(python -c \"import tensorrt;print(tensorrt.__file__)\"))' >> $CONDA_PREFIX/etc/conda/activate.d/env_vars.sh\r\necho 'export LD_LIBRARY_PATH=$CONDA_PREFIX/lib/:$CUDNN_PATH/lib:$LD_LIBRARY_PATH' >> $CONDA_PREFIX/etc/conda/activate.d/env_vars.sh\r\n\r\nsource $CONDA_PREFIX/etc/conda/activate.d/env_vars.sh\r\n```",
"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/61468\">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/61468\">No</a>\n",
"FWIW, similarly to the answers above setting the LD_LIBRARY_PATH path resolved the issue on my machine (I am not using conda). I downloaded `TensorRT-8.6.1.6.Linux.x86_64-gnu.cuda-12.0` and `cudnn-linux-x86_64-8.9.7.29_cuda12-archive` from Nvidia for my version of tensorrt (8.6.1.post1) . You need to have both as otherwise the msg will be printed and I suspect `TryDlopenTensorRTLibraries` requires a number of libs to be there which `pip install tensorrt` does not fetch :thinking: .",
"@skonto you're right, 2.15-post1 is looking for `libnvinfer_plugin.so.8.6.1` and libnvinfer.so.8.6.1\r\n\r\n```c++\r\nabsl::StatusOr<void*> GetNvInferDsoHandle() {\r\n#if defined(PLATFORM_WINDOWS)\r\n return GetDsoHandle(\"nvinfer\", \"\");\r\n#else\r\n return GetDsoHandle(\"nvinfer\", GetTensorRTVersion());\r\n#endif\r\n}\r\n\r\nabsl::StatusOr<void*> GetNvInferPluginDsoHandle() {\r\n#if defined(PLATFORM_WINDOWS)\r\n return GetDsoHandle(\"nvinfer_plugin\", \"\");\r\n#else\r\n return GetDsoHandle(\"nvinfer_plugin\", GetTensorRTVersion());\r\n#endif\r\n}\r\n```\r\n\r\nYou can know which file your tf is finding by using `strace -e open,openat python -c \"import tensorflow as tf\"` in your venv.\r\n\r\nI recall that in before, tf2.10 and below looks for libnvinfer.so.7 while the tensorrt python prebuild package only offers libnvinfer.so.8, so you do stupid things `ln -s libnvinfer.so.8 libnvinfer.so.7` to get it working,\r\n\r\nalso the file used to be in tensorrt folder, but now, the tensorrt package is not included in `pip install tensorflow[and-cuda]` (and-cuda package). Thus you need to install tensorrt, too. The tensorrt package on pypi comes with 8.6.1. However, the package only gives libnvinfer.so.8 where tensorflow is looking for libnvinfer.8.6.1.\r\n\r\nThus the way to solve this is to go to your venv site-packages folder, find tensorrt_libs folder,\r\n\r\n(in my case tf version 2.15-post1)\r\n\r\n`ln -s libnvinfer_plugin.so.8 libnvinfer_plugin.so.8.6.1`\r\n\r\n`ln -s libnvinfer.so.8 libnvinfer.so.8.6.1`\r\n\r\nand make sure tensorrt_libs folder is in the LD_LIBRARY_PATH\r\n\r\n(maybe `TensorRT-8.6.1.6.Linux.x86_64-gnu.cuda-12.0` offers `libnvinfer.so.8.6.1`, but it works for me though)\r\n\r\n",
"Where do I need to copy these 2 files to?\r\nfor ex. TensorRT-8.6.1.6.Linux.x86_64-gnu.cuda-12.0\r\nfyii. I am on Ubuntu 22.04 on WSL2 on Windows 11",
"It's quite difficult to manage everything with all those changes during time, but a logical assumption is that `tensorflow[and-cuda]` will remain to be a preferable setup in the future. So, for the most recent tensorflow and CUDA:\r\n\r\n`pip install tensorflow[and-cuda]==v2.16.0-rc0`\r\n\r\n```\r\npython3 -c \"import tensorflow.compiler as tf_cc; \\\r\nprint(tf_cc.tf2tensorrt._pywrap_py_utils.get_linked_tensorrt_version())\"\r\n```\r\n(8, 6, 1)\r\n\r\nDownload related tar.gz https://developer.nvidia.com/downloads/compute/machine-learning/tensorrt/secure/8.6.1/tars/TensorRT-8.6.1.6.Linux.x86_64-gnu.cuda-12.0.tar.gz , extract it and set its `lib` to the environment variable LD_LIBRARY_PATH:\r\n\r\n```\r\nexport CUDNN_PATH=$HOME/venv/lib/python3.11/site-packages/nvidia/cudnn\r\nexport LD_LIBRARY_PATH=$CUDNN_PATH/lib:$HOME/repos/TensorRT-8.6.1.6/lib:$LD_LIBRARY_PATH\r\nexport TF_ENABLE_ONEDNN_OPTS=0\r\n```\r\n",
"for me, debian 12, in docker environment, i had to install ` pip install tensorflow[and-cuda]==2.15.1` so it list the gpu for version 2.16.x, it does not list anymore"
] | 2023-08-03T18:24:23 | 2024-06-02T02:24:07 | 2023-11-24T01:48:35 | NONE | null | null | null | ### Issue type
Build/Install
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
source
### TensorFlow version
tf2.12, tf2.13
### Custom code
Yes
### OS platform and distribution
Linux Ubuntu 20.04
### Mobile device
_No response_
### Python version
3.10, 3.11
### Bazel version
_No response_
### GCC/compiler version
9.40
### CUDA/cuDNN version
CUDA 11.8, cuDNN8.6
### GPU model and memory
RTX2060
### Current behavior?
import tensorflow as tf2023-08-03 17:42:07.337886: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-08-03 17:42:07.926267: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
### Standalone code to reproduce the issue
```shell
$ conda create --name tf python=3.10
$ conda activate tf
$ conda install -c conda-forge cudatoolkit=11.8.0
$ pip install nvidia-cudnn-cu11==8.6.0.163
mkdir -p $CONDA_PREFIX/etc/conda/activate.d
echo 'CUDNN_PATH=$(dirname $(python -c "import nvidia.cudnn;print(nvidia.cudnn.__file__)"))' >> $CONDA_PREFIX/etc/conda/activate.d/env_vars.sh
echo 'export LD_LIBRARY_PATH=$CONDA_PREFIX/lib/:$CUDNN_PATH/lib:$LD_LIBRARY_PATH' >> $CONDA_PREFIX/etc/conda/activate.d/env_vars.sh
source $CONDA_PREFIX/etc/conda/activate.d/env_vars.sh
import tensorflow as tf
print(tf.config.list_physical_devices('GPU'))
```
### Relevant log output
```shell
I have already installed cudatoolkit 11.8 written in the above commands. But It shows CUDA Toolkit is not installed while giving the command.
$ nvcc --version
CUDA Toolkit is not installed.
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61468/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/61468/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61467 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61467/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61467/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61467/events | https://github.com/tensorflow/tensorflow/pull/61467 | 1,835,371,530 | PR_kwDOArmXAs5XIGZf | 61,467 | version bump and formatting | {
"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": 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 | [
"cc: @nitins17 ",
"@cjflan Thanks so much for sending this PR btw! I forgot that we needed a version bump for the Apple Silicon r2.14 builds. "
] | 2023-08-03T16:25:10 | 2023-08-04T00:10:31 | 2023-08-03T20:24:28 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61467",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61467",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61467.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61467.patch",
"merged_at": "2023-08-03T20:24:28"
} | updated the release version to r2.14 and fixed formatting for `TF_PYTHON_VERSION` | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61467/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/61467/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61466 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61466/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61466/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61466/events | https://github.com/tensorflow/tensorflow/pull/61466 | 1,835,282,603 | PR_kwDOArmXAs5XHzj9 | 61,466 | Generation of compile commands database for LSPs | {
"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": 1169364458,
"node_id": "MDU6TGFiZWwxMTY5MzY0NDU4",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:S",
"name": "size:S",
"color": "adafea",
"default": false,
"description": "CL Change Size: Small"
}
] | closed | false | {
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"Hi @rdzhabarov Can you please review this PR ? Thank you!",
"Hi @rdzhabarov Can you please review this PR ? Thank you!",
"Hi @rafaelubalmw 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 @rafaelubalmw Can you please resolve conflicts? Thank you!",
"Hi @rafaelubalmw Can you please resolve conflicts? Thank you!",
"Hi @rafaelubalmw I'm going to go ahead and close this PR, because it seems to have stalled. If you're still interested in pursing this (and responding to my comments), please feel free to reopen! Thank you for your contribution!"
] | 2023-08-03T15:26:33 | 2023-12-29T08:06:44 | 2023-12-29T08:06:38 | NONE | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61466",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61466",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61466.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61466.patch",
"merged_at": null
} | File `compile_commands.json` for `tf-opt` can now be generated with the following command:
```
bazelisk run tensorflow/compiler/mlir:tf_opt_compile_commands -- --config=dbg
``` | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61466/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61466/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61465 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61465/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61465/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61465/events | https://github.com/tensorflow/tensorflow/pull/61465 | 1,834,926,580 | PR_kwDOArmXAs5XGmH2 | 61,465 | [TFLite] Fix label_image CMake build | {
"login": "daniel-lang",
"id": 6500514,
"node_id": "MDQ6VXNlcjY1MDA1MTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/6500514?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/daniel-lang",
"html_url": "https://github.com/daniel-lang",
"followers_url": "https://api.github.com/users/daniel-lang/followers",
"following_url": "https://api.github.com/users/daniel-lang/following{/other_user}",
"gists_url": "https://api.github.com/users/daniel-lang/gists{/gist_id}",
"starred_url": "https://api.github.com/users/daniel-lang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/daniel-lang/subscriptions",
"organizations_url": "https://api.github.com/users/daniel-lang/orgs",
"repos_url": "https://api.github.com/users/daniel-lang/repos",
"events_url": "https://api.github.com/users/daniel-lang/events{/privacy}",
"received_events_url": "https://api.github.com/users/daniel-lang/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 | [
"Yea what he said",
"Hi @grantjensen Can you please review this PR ? Thank you!",
"Looks like this was already fixed here: https://github.com/tensorflow/tensorflow/commit/281c2c44db66a57eba280c8dbc10071488752547"
] | 2023-08-03T12:03:42 | 2023-09-06T18:28:39 | 2023-09-06T17:59:56 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61465",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61465",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61465.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61465.patch",
"merged_at": null
} | Building the label_image example currently fails with:
```
/usr/bin/ld: CMakeFiles/label_image.dir/__/__/tools/evaluation/utils.cc.o: in function `tflite::evaluation::CreateXNNPACKDelegate(TfLiteXNNPackDelegateOptions const*)':
utils.cc:(.text+0xfa1): undefined reference to `TfLiteXnnpackDelegatePluginCApi'
collect2: error: ld returned 1 exit status
make[3]: *** [examples/label_image/CMakeFiles/label_image.dir/build.make:349: examples/label_image/label_image] Error 1
make[2]: *** [CMakeFiles/Makefile2:25924: examples/label_image/CMakeFiles/label_image.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:25931: examples/label_image/CMakeFiles/label_image.dir/rule] Error 2
make: *** [Makefile:4946: label_image] Error 2
```
It seems like there is no CI build set up that builds the label_image example using CMake.
Unfortunately I wasn't able to figure out how one would add a build. | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61465/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61465/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61464 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61464/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61464/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61464/events | https://github.com/tensorflow/tensorflow/issues/61464 | 1,834,734,046 | I_kwDOArmXAs5tW9He | 61,464 | "load_model" method causes operating system level user-interface freeze | {
"login": "yeshsurya",
"id": 9417467,
"node_id": "MDQ6VXNlcjk0MTc0Njc=",
"avatar_url": "https://avatars.githubusercontent.com/u/9417467?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yeshsurya",
"html_url": "https://github.com/yeshsurya",
"followers_url": "https://api.github.com/users/yeshsurya/followers",
"following_url": "https://api.github.com/users/yeshsurya/following{/other_user}",
"gists_url": "https://api.github.com/users/yeshsurya/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yeshsurya/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yeshsurya/subscriptions",
"organizations_url": "https://api.github.com/users/yeshsurya/orgs",
"repos_url": "https://api.github.com/users/yeshsurya/repos",
"events_url": "https://api.github.com/users/yeshsurya/events{/privacy}",
"received_events_url": "https://api.github.com/users/yeshsurya/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": 3255468475,
"node_id": "MDU6TGFiZWwzMjU1NDY4NDc1",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/2.6.0",
"name": "2.6.0",
"color": "FA96B6",
"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 | [
"@yeshsurya,\r\n It's unlikely for TF 2.6 version to receive any bug fixes except when we have security patches. There is a high possibility that this was fixed with later TF versions. Perhaps you can use latest tf versions for your case. \r\n\r\nAlso I tried to execute the sample code with the latest tensorflow v2.13, and it was executed without any issue/error. Kindly find the gist of it [here](https://colab.research.google.com/gist/tilakrayal/d631e372dfef25faf51b50836c2933e4/save_and_load.ipynb).\r\n\r\nThank you!",
"I think this is issue on GPU driver and Windows OS. When I switch the GPU mode from TCC to WDDM the freeze will not happen. I'm talking about NVIDIA A6000 GPU",
"@yeshsurya,\r\nIn that case this is not the issue from the tensorflow side. I tried to execute the sample code with the latest tensorflow v2.13, and it was executed without any issue/error. Kindly find the gist of it [here](https://colab.research.google.com/gist/tilakrayal/d631e372dfef25faf51b50836c2933e4/save_and_load.ipynb).\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/61464\">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/61464\">No</a>\n"
] | 2023-08-03T10:02:23 | 2023-09-07T01:47:37 | 2023-09-07T01:47:35 | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
source
### TensorFlow version
2.6.2
### Custom code
Yes
### OS platform and distribution
Windows : 10.0.17763
### Mobile device
_No response_
### Python version
_No response_
### Bazel version
_No response_
### GCC/compiler version
_No response_
### CUDA/cuDNN version
CUDA : 11.2.0_460.89 /CUDNN : 8.1.0.77
### GPU model and memory
NVIDIA RTX A6000
### Current behavior?
There should not be any user interface freeze
### Standalone code to reproduce the issue
```shell
load_m = tf.keras.models.load_model('test.hdf5',custom_objects={'custom_loss':CustomLossFunction})
```
### Relevant log output
```shell
We just see operating system user interface freeze.
When the GPU (NVIDIA RTX A6000 ) mode is TCC we see that whole user interface of operating system ( not just the process which is execution this command ) is frozen for 10 seconds. Can this be fixed so that there is no freeze of user interface ?
Same code when GPU mode is WDDM will not freeze the user interface.
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61464/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61464/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61463 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61463/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61463/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61463/events | https://github.com/tensorflow/tensorflow/issues/61463 | 1,834,632,849 | I_kwDOArmXAs5tWkaR | 61,463 | TFLite cross compile error --> fatal error: cpuid.h: No such file or directory | {
"login": "das-ankur",
"id": 43563075,
"node_id": "MDQ6VXNlcjQzNTYzMDc1",
"avatar_url": "https://avatars.githubusercontent.com/u/43563075?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/das-ankur",
"html_url": "https://github.com/das-ankur",
"followers_url": "https://api.github.com/users/das-ankur/followers",
"following_url": "https://api.github.com/users/das-ankur/following{/other_user}",
"gists_url": "https://api.github.com/users/das-ankur/gists{/gist_id}",
"starred_url": "https://api.github.com/users/das-ankur/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/das-ankur/subscriptions",
"organizations_url": "https://api.github.com/users/das-ankur/orgs",
"repos_url": "https://api.github.com/users/das-ankur/repos",
"events_url": "https://api.github.com/users/das-ankur/events{/privacy}",
"received_events_url": "https://api.github.com/users/das-ankur/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"
}
] | 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 @das-ankur \r\n\r\nCan you please provide the steps you are following inorder to reproduce the issue?\r\n\r\nDid you follow [build steps for arm64](https://www.tensorflow.org/lite/guide/build_cmake_arm#build_for_aarch64_arm64) and hitting the errors?\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/61463\">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/61463\">No</a>\n"
] | 2023-08-03T09:17:19 | 2023-08-20T01:47:01 | 2023-08-20T01:46:59 | NONE | null | null | null | I am trying to cross compile TFLite cpp code for ARM64 on ubuntu machine. After all the steps of installation I copied the cpp file to tflite_build directory, I executed the following command:

After execution of some seconds I am getting the following error.

It will be really helpful if someone can help me to resolve the error.
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61463/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61463/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61462 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61462/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61462/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61462/events | https://github.com/tensorflow/tensorflow/issues/61462 | 1,834,511,837 | I_kwDOArmXAs5tWG3d | 61,462 | BUG: reference count leak in function `RegisterForwardAccumulatorCleanup` (static analyzer report) | {
"login": "Snape3058",
"id": 8165393,
"node_id": "MDQ6VXNlcjgxNjUzOTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/8165393?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Snape3058",
"html_url": "https://github.com/Snape3058",
"followers_url": "https://api.github.com/users/Snape3058/followers",
"following_url": "https://api.github.com/users/Snape3058/following{/other_user}",
"gists_url": "https://api.github.com/users/Snape3058/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Snape3058/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Snape3058/subscriptions",
"organizations_url": "https://api.github.com/users/Snape3058/orgs",
"repos_url": "https://api.github.com/users/Snape3058/repos",
"events_url": "https://api.github.com/users/Snape3058/events{/privacy}",
"received_events_url": "https://api.github.com/users/Snape3058/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": 736653459,
"node_id": "MDU6TGFiZWw3MzY2NTM0NTk=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:eager",
"name": "comp:eager",
"color": "0052cc",
"default": false,
"description": "Eager related issues"
}
] | open | false | {
"login": "sachinprasadhs",
"id": 73069040,
"node_id": "MDQ6VXNlcjczMDY5MDQw",
"avatar_url": "https://avatars.githubusercontent.com/u/73069040?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sachinprasadhs",
"html_url": "https://github.com/sachinprasadhs",
"followers_url": "https://api.github.com/users/sachinprasadhs/followers",
"following_url": "https://api.github.com/users/sachinprasadhs/following{/other_user}",
"gists_url": "https://api.github.com/users/sachinprasadhs/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sachinprasadhs/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sachinprasadhs/subscriptions",
"organizations_url": "https://api.github.com/users/sachinprasadhs/orgs",
"repos_url": "https://api.github.com/users/sachinprasadhs/repos",
"events_url": "https://api.github.com/users/sachinprasadhs/events{/privacy}",
"received_events_url": "https://api.github.com/users/sachinprasadhs/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "sachinprasadhs",
"id": 73069040,
"node_id": "MDQ6VXNlcjczMDY5MDQw",
"avatar_url": "https://avatars.githubusercontent.com/u/73069040?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sachinprasadhs",
"html_url": "https://github.com/sachinprasadhs",
"followers_url": "https://api.github.com/users/sachinprasadhs/followers",
"following_url": "https://api.github.com/users/sachinprasadhs/following{/other_user}",
"gists_url": "https://api.github.com/users/sachinprasadhs/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sachinprasadhs/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sachinprasadhs/subscriptions",
"organizations_url": "https://api.github.com/users/sachinprasadhs/orgs",
"repos_url": "https://api.github.com/users/sachinprasadhs/repos",
"events_url": "https://api.github.com/users/sachinprasadhs/events{/privacy}",
"received_events_url": "https://api.github.com/users/sachinprasadhs/received_events",
"type": "User",
"site_admin": false
}
] | null | [] | 2023-08-03T08:05:54 | 2023-08-07T18:56:56 | null | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
source
### TensorFlow version
commit faad219fc46032a0ae9576ccc3076612cc1f5f72
### Custom code
No
### OS platform and distribution
Linux Ubuntu 20.04
### Mobile device
_No response_
### Python version
3.8
### Bazel version
_No response_
### GCC/compiler version
Our static analyzer uses Clang 13 as its parser
### CUDA/cuDNN version
_No response_
### GPU model and memory
_No response_
### Current behavior?
https://github.com/tensorflow/tensorflow/blob/53fb0130851ad40d544105432f414b4ebe9e729d/tensorflow/python/eager/pywrap_tfe_src.cc#L2378-L2379
API `PyCFunction_New` does not steal a reference for the second argument.
API `PyLong_FromLong` will return a new reference.
Calling `PyLong_FromLong` directly as the second argument of `PyCFunction_New` will lead to a reference count leak for the PyObject returned by `PyLong_FromLong`.
Internal report ID: c13984
### Standalone code to reproduce the issue
```shell
Unnecessary. Whenever this function is called, the problem will be triggered.
```
### Relevant log output
_No response_ | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61462/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61462/timeline | null | null | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61461 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61461/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61461/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61461/events | https://github.com/tensorflow/tensorflow/pull/61461 | 1,834,035,649 | PR_kwDOArmXAs5XDjx6 | 61,461 | Update release notes for TensorFlow 2.14.0 | {
"login": "tensorflow-jenkins",
"id": 16359713,
"node_id": "MDQ6VXNlcjE2MzU5NzEz",
"avatar_url": "https://avatars.githubusercontent.com/u/16359713?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tensorflow-jenkins",
"html_url": "https://github.com/tensorflow-jenkins",
"followers_url": "https://api.github.com/users/tensorflow-jenkins/followers",
"following_url": "https://api.github.com/users/tensorflow-jenkins/following{/other_user}",
"gists_url": "https://api.github.com/users/tensorflow-jenkins/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tensorflow-jenkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tensorflow-jenkins/subscriptions",
"organizations_url": "https://api.github.com/users/tensorflow-jenkins/orgs",
"repos_url": "https://api.github.com/users/tensorflow-jenkins/repos",
"events_url": "https://api.github.com/users/tensorflow-jenkins/events{/privacy}",
"received_events_url": "https://api.github.com/users/tensorflow-jenkins/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-08-02T23:52:25 | 2023-08-08T14:42:27 | 2023-08-03T21:45:11 | COLLABORATOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61461",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61461",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61461.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61461.patch",
"merged_at": "2023-08-03T21:45:11"
} | This PR is intentionally incomplete. One of the Release Owners for 2.14.0
needs to fill in the internal release notes for this version before the PR gets
submitted. Click on the :pencil2: icon in the header for `RELEASE.md` under
"Files Changed" above. | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61461/reactions",
"total_count": 2,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61461/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61460 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61460/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61460/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61460/events | https://github.com/tensorflow/tensorflow/pull/61460 | 1,834,030,556 | PR_kwDOArmXAs5XDitx | 61,460 | Amax for FP8 Convolutions in XLA | {
"login": "philipphack",
"id": 80296164,
"node_id": "MDQ6VXNlcjgwMjk2MTY0",
"avatar_url": "https://avatars.githubusercontent.com/u/80296164?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/philipphack",
"html_url": "https://github.com/philipphack",
"followers_url": "https://api.github.com/users/philipphack/followers",
"following_url": "https://api.github.com/users/philipphack/following{/other_user}",
"gists_url": "https://api.github.com/users/philipphack/gists{/gist_id}",
"starred_url": "https://api.github.com/users/philipphack/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/philipphack/subscriptions",
"organizations_url": "https://api.github.com/users/philipphack/orgs",
"repos_url": "https://api.github.com/users/philipphack/repos",
"events_url": "https://api.github.com/users/philipphack/events{/privacy}",
"received_events_url": "https://api.github.com/users/philipphack/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 390482148,
"node_id": "MDU6TGFiZWwzOTA0ODIxNDg=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/awaiting%20review",
"name": "awaiting review",
"color": "bc3869",
"default": false,
"description": "Pull request awaiting review"
},
{
"id": 987666414,
"node_id": "MDU6TGFiZWw5ODc2NjY0MTQ=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/ready%20to%20pull",
"name": "ready to pull",
"color": "2cd643",
"default": false,
"description": "PR ready for merge process"
},
{
"id": 1133285679,
"node_id": "MDU6TGFiZWwxMTMzMjg1Njc5",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:xla",
"name": "comp:xla",
"color": "0052cc",
"default": false,
"description": "XLA"
},
{
"id": 1173072136,
"node_id": "MDU6TGFiZWwxMTczMDcyMTM2",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:XL",
"name": "size:XL",
"color": "adafea",
"default": false,
"description": "CL Change Size:Extra Large"
}
] | closed | false | {
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"CC @reedwm."
] | 2023-08-02T23:43:44 | 2023-08-12T01:26:06 | 2023-08-12T01:26:06 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61460",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61460",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61460.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61460.patch",
"merged_at": "2023-08-12T01:26:06"
} | Extends the functionality of scaled convolutions operating on `F8E4M3FN` and `F8E5M2` data types to optionally return the scalar maximum of the absolute (Amax) of the result before quantization,
(X, W, x_scale, w_scale, y_scale) -> (Y, y_amax).
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61460/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61460/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61459 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61459/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61459/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61459/events | https://github.com/tensorflow/tensorflow/pull/61459 | 1,834,007,247 | PR_kwDOArmXAs5XDdzD | 61,459 | custom implementation of the Riemann zeta function using mpmath library | {
"login": "amishhaa",
"id": 136238836,
"node_id": "U_kgDOCB7W9A",
"avatar_url": "https://avatars.githubusercontent.com/u/136238836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amishhaa",
"html_url": "https://github.com/amishhaa",
"followers_url": "https://api.github.com/users/amishhaa/followers",
"following_url": "https://api.github.com/users/amishhaa/following{/other_user}",
"gists_url": "https://api.github.com/users/amishhaa/gists{/gist_id}",
"starred_url": "https://api.github.com/users/amishhaa/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/amishhaa/subscriptions",
"organizations_url": "https://api.github.com/users/amishhaa/orgs",
"repos_url": "https://api.github.com/users/amishhaa/repos",
"events_url": "https://api.github.com/users/amishhaa/events{/privacy}",
"received_events_url": "https://api.github.com/users/amishhaa/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1169364458,
"node_id": "MDU6TGFiZWwxMTY5MzY0NDU4",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:S",
"name": "size:S",
"color": "adafea",
"default": false,
"description": "CL Change Size: Small"
},
{
"id": 1178505529,
"node_id": "MDU6TGFiZWwxMTc4NTA1NTI5",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/prtype:bugfix",
"name": "prtype:bugfix",
"color": "159b2e",
"default": false,
"description": "PR to fix a bug"
}
] | closed | false | {
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"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/61459/checks?check_run_id=15571312736) of the CLA check for more information.\n\nFor the most up to date status, view the checks section at the bottom of the pull request."
] | 2023-08-02T23:04:57 | 2023-08-09T20:41:05 | 2023-08-03T15:36:39 | NONE | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61459",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61459",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61459.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61459.patch",
"merged_at": null
} | Usage Examples
```python
import tensorflow as tf
from custom_zeta import custom_zeta
# Complex value of s (for example)
x = tf.constant(2.0)
y = tf.constant(3.0)
# Calculate the zeta function using the custom function
result = custom_zeta(x, y)
print(result)
# Calculate the gradient of the zeta function with respect to x and y
with tf.GradientTape() as tape:
tape.watch(x)
tape.watch(y)
result = custom_zeta(x, y)
gradient = tape.jacobian(result, [x, y])
print(gradient)
```
Important Notes
The custom_zeta function uses mpmath for higher precision.
Ensure that the mpmath library is installed in your Python environment before using this function.
The precision of the computation can be adjusted by setting mpmath.mp.dps before calling the function.
Compatibility and Requirements
The mpmath library is needed for high-precision computations. Install it using pip install mpmath.
This pull request addresses the issue https://github.com/tensorflow/tensorflow/issues/60041 . | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61459/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61459/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61458 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61458/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61458/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61458/events | https://github.com/tensorflow/tensorflow/issues/61458 | 1,833,780,333 | I_kwDOArmXAs5tTURt | 61,458 | How to get detailed information about the issue | {
"login": "pranavladkat",
"id": 9426781,
"node_id": "MDQ6VXNlcjk0MjY3ODE=",
"avatar_url": "https://avatars.githubusercontent.com/u/9426781?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pranavladkat",
"html_url": "https://github.com/pranavladkat",
"followers_url": "https://api.github.com/users/pranavladkat/followers",
"following_url": "https://api.github.com/users/pranavladkat/following{/other_user}",
"gists_url": "https://api.github.com/users/pranavladkat/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pranavladkat/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pranavladkat/subscriptions",
"organizations_url": "https://api.github.com/users/pranavladkat/orgs",
"repos_url": "https://api.github.com/users/pranavladkat/repos",
"events_url": "https://api.github.com/users/pranavladkat/events{/privacy}",
"received_events_url": "https://api.github.com/users/pranavladkat/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": 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": 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": "Varsha-anjanappa",
"id": 137163810,
"node_id": "U_kgDOCCz0Ig",
"avatar_url": "https://avatars.githubusercontent.com/u/137163810?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Varsha-anjanappa",
"html_url": "https://github.com/Varsha-anjanappa",
"followers_url": "https://api.github.com/users/Varsha-anjanappa/followers",
"following_url": "https://api.github.com/users/Varsha-anjanappa/following{/other_user}",
"gists_url": "https://api.github.com/users/Varsha-anjanappa/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Varsha-anjanappa/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Varsha-anjanappa/subscriptions",
"organizations_url": "https://api.github.com/users/Varsha-anjanappa/orgs",
"repos_url": "https://api.github.com/users/Varsha-anjanappa/repos",
"events_url": "https://api.github.com/users/Varsha-anjanappa/events{/privacy}",
"received_events_url": "https://api.github.com/users/Varsha-anjanappa/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "Varsha-anjanappa",
"id": 137163810,
"node_id": "U_kgDOCCz0Ig",
"avatar_url": "https://avatars.githubusercontent.com/u/137163810?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Varsha-anjanappa",
"html_url": "https://github.com/Varsha-anjanappa",
"followers_url": "https://api.github.com/users/Varsha-anjanappa/followers",
"following_url": "https://api.github.com/users/Varsha-anjanappa/following{/other_user}",
"gists_url": "https://api.github.com/users/Varsha-anjanappa/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Varsha-anjanappa/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Varsha-anjanappa/subscriptions",
"organizations_url": "https://api.github.com/users/Varsha-anjanappa/orgs",
"repos_url": "https://api.github.com/users/Varsha-anjanappa/repos",
"events_url": "https://api.github.com/users/Varsha-anjanappa/events{/privacy}",
"received_events_url": "https://api.github.com/users/Varsha-anjanappa/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"Hi @pranavladkat ,\r\n\r\nAs the [document](https://www.tensorflow.org/xla/known_issues#tfvariable_on_a_different_device) says, int32 types are not comprehensively supported on GPUs. As a workaround, please try int64.\r\nAlternatively, you could choose to explicitly place int32 variables on CPU, or just not specify any device at all and let TensorFlow's device placement select GPU where appropriate.\r\nPlease let us know if this works.\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/61458\">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/61458\">No</a>\n"
] | 2023-08-02T19:25:47 | 2023-08-22T01:47:23 | 2023-08-22T01:47:21 | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
No
### Source
binary
### TensorFlow version
2.12.1
### Custom code
No
### OS platform and distribution
Linux Ubuntu 18.04
### Mobile device
_No response_
### Python version
3.8
### Bazel version
_No response_
### GCC/compiler version
_No response_
### CUDA/cuDNN version
Cuda 11.8, Cudnn 8.9.2
### GPU model and memory
Nvidia A10
### Current behavior?
I'm getting following error while compiling the model with XLA:
```
OP_REQUIRES failed at xla_ops.cc:347 : INVALID_ARGUMENT: Trying to access resource Resource-3-at-0x55555dbbdfb0 located in device /job:localhost/replica:0/task:0/device:CPU:0 from device /job:localhost/replica:0/task:0/device:GPU:0
```
This issue is documented as XLA limitation [here](https://www.tensorflow.org/xla/known_issues#tfvariable_on_a_different_device), which seems reasonable, but the error message doesn't specify where this issue is coming from.
Is there any way to get more details on which variable is creating this issue?
### Standalone code to reproduce the issue
```shell
NA
```
### Relevant log output
_No response_ | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61458/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61458/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61457 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61457/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61457/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61457/events | https://github.com/tensorflow/tensorflow/issues/61457 | 1,833,767,053 | I_kwDOArmXAs5tTRCN | 61,457 | Distributed training with parameter servers example using a single binary | {
"login": "ali-raza-tariq",
"id": 16830516,
"node_id": "MDQ6VXNlcjE2ODMwNTE2",
"avatar_url": "https://avatars.githubusercontent.com/u/16830516?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ali-raza-tariq",
"html_url": "https://github.com/ali-raza-tariq",
"followers_url": "https://api.github.com/users/ali-raza-tariq/followers",
"following_url": "https://api.github.com/users/ali-raza-tariq/following{/other_user}",
"gists_url": "https://api.github.com/users/ali-raza-tariq/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ali-raza-tariq/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ali-raza-tariq/subscriptions",
"organizations_url": "https://api.github.com/users/ali-raza-tariq/orgs",
"repos_url": "https://api.github.com/users/ali-raza-tariq/repos",
"events_url": "https://api.github.com/users/ali-raza-tariq/events{/privacy}",
"received_events_url": "https://api.github.com/users/ali-raza-tariq/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": 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"
}
] | 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 | [
"@ali-raza-tariq,\r\n**ClusterResolvers** are a way for TensorFlow to communicate with various cluster management systems (e.g. GCE, AWS, etc...) and gives TensorFlow necessary information to set up distributed training.\r\n\r\nBy letting TensorFlow communicate with these systems, we will be able to automatically discover and resolve IP addresses for various TensorFlow workers. This will eventually allow us to automatically recover from underlying machine failures and scale TensorFlow worker clusters up and down.\r\n\r\nCould you please take a look at the official document for the information on cluster_resolver.\r\nhttps://www.tensorflow.org/api_docs/python/tf/distribute/cluster_resolver/ClusterResolver\r\nhttps://www.tensorflow.org/api_docs/python/tf/distribute/cluster_resolver/TFConfigClusterResolver\r\n\r\nAlso provide the complete error log to debug the issue. Thank you!",
"Hi @tilakrayal thank you for your response. First of all, does this mean the `Chief` no longer participates in the training? Previously, `Chief` (also referred to as `worker0`) used to be just another worker with some extra coordination responsibilities. Secondly, kindly let me know if there are any end to end examples using using `Keras` new style of code (specifically for the `parameterServerStrategy`). This code is just an example using snippets of code I took from the tensorflow documentation from the link above. Which is why I shared the code to make sure I am not doing something fundamentally wrong in the training job. To be fair I am not even sure if its an error or not but this is what I get on my Chief, kindly look below:\r\n\r\n```\r\n2023-08-05 23:40:02.230291: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.\r\nTo enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.\r\n2023-08-05 23:40:03.951682: I tensorflow/core/distributed_runtime/rpc/grpc_server_lib.cc:449] Started server with target: grpc://localhost:12345\r\n/usr/local/lib/python3.8/dist-packages/tensorflow/python/data/ops/dataset_ops.py:468: UserWarning: To make it possible to preserve tf.data options across serialization boundaries, their implementation has moved to be part of the TensorFlow graph. As a consequence, the options value is in general no longer known at graph construction time. Invoking this method in graph mode retains the legacy behavior of the original implementation, but note that the returned value might not reflect the actual value of the options.\r\n warnings.warn(\"To make it possible to preserve tf.data options across \"\r\nEpoch 1/12\r\n2023-08-05 23:40:06.968495: I tensorflow/core/common_runtime/eager/kernel_and_device.cc:94] Ignoring error status when releasing multi-device function handle UNIMPLEMENTED: Releasing a multi-device component handle on a remote device is not yet implemented.\r\n100/100 - 3s - loss: 0.7186 - accuracy: 0.7920 - 3s/epoch - 28ms/step\r\nEpoch 2/12\r\n2023-08-05 23:40:08.341929: I tensorflow/core/common_runtime/eager/kernel_and_device.cc:94] Ignoring error status when releasing multi-device function handle UNIMPLEMENTED: Releasing a multi-device component handle on a remote device is not yet implemented.\r\n100/100 - 1s - loss: 0.2847 - accuracy: 0.9103 - 1s/epoch - 14ms/step\r\nEpoch 3/12\r\n2023-08-05 23:40:09.810759: I tensorflow/core/common_runtime/eager/kernel_and_device.cc:94] Ignoring error status when releasing multi-device function handle UNIMPLEMENTED: Releasing a multi-device component handle on a remote device is not yet implemented.\r\n100/100 - 1s - loss: 0.2160 - accuracy: 0.9369 - 1s/epoch - 15ms/step\r\nEpoch 4/12\r\n2023-08-05 23:40:11.204296: I tensorflow/core/common_runtime/eager/kernel_and_device.cc:94] Ignoring error status when releasing multi-device function handle UNIMPLEMENTED: Releasing a multi-device component handle on a remote device is not yet implemented.\r\n100/100 - 1s - loss: 0.1960 - accuracy: 0.9413 - 1s/epoch - 14ms/step\r\nEpoch 5/12\r\nWARNING:tensorflow:5 out of the last 5 calls to <function MultiDeviceSaver.save.<locals>.tf_function_save at 0x7fdd00686d30> triggered tf.function retracing. Tracing is expensive and the excessive number of tracings could be due to (1) creating @tf.function repeatedly in a loop, (2) passing tensors with different shapes, (3) passing Python objects instead of tensors. For (1), please define your @tf.function outside of the loop. For (2), @tf.function has reduce_retracing=True option that can avoid unnecessary retracing. For (3), please refer to https://www.tensorflow.org/guide/function#controlling_retracing and https://www.tensorflow.org/api_docs/python/tf/function for more details.\r\nWARNING:tensorflow:5 out of the last 5 calls to <function MultiDeviceSaver.save.<locals>.tf_function_save at 0x7fdd00686d30> triggered tf.function retracing. Tracing is expensive and the excessive number of tracings could be due to (1) creating @tf.function repeatedly in a loop, (2) passing tensors with different shapes, (3) passing Python objects instead of tensors. For (1), please define your @tf.function outside of the loop. For (2), @tf.function has reduce_retracing=True option that can avoid unnecessary retracing. For (3), please refer to https://www.tensorflow.org/guide/function#controlling_retracing and https://www.tensorflow.org/api_docs/python/tf/function for more details.\r\n2023-08-05 23:40:12.640156: I tensorflow/core/common_runtime/eager/kernel_and_device.cc:94] Ignoring error status when releasing multi-device function handle UNIMPLEMENTED: Releasing a multi-device component handle on a remote device is not yet implemented.\r\n100/100 - 1s - loss: 0.1419 - accuracy: 0.9598 - 1s/epoch - 14ms/step\r\nEpoch 6/12\r\nWARNING:tensorflow:6 out of the last 6 calls to <function MultiDeviceSaver.save.<locals>.tf_function_save at 0x7fdd668989d0> triggered tf.function retracing. Tracing is expensive and the excessive number of tracings could be due to (1) creating @tf.function repeatedly in a loop, (2) passing tensors with different shapes, (3) passing Python objects instead of tensors. For (1), please define your @tf.function outside of the loop. For (2), @tf.function has reduce_retracing=True option that can avoid unnecessary retracing. For (3), please refer to https://www.tensorflow.org/guide/function#controlling_retracing and https://www.tensorflow.org/api_docs/python/tf/function for more details.\r\nWARNING:tensorflow:6 out of the last 6 calls to <function MultiDeviceSaver.save.<locals>.tf_function_save at 0x7fdd668989d0> triggered tf.function retracing. Tracing is expensive and the excessive number of tracings could be due to (1) creating @tf.function repeatedly in a loop, (2) passing tensors with different shapes, (3) passing Python objects instead of tensors. For (1), please define your @tf.function outside of the loop. For (2), @tf.function has reduce_retracing=True option that can avoid unnecessary retracing. For (3), please refer to https://www.tensorflow.org/guide/function#controlling_retracing and https://www.tensorflow.org/api_docs/python/tf/function for more details.\r\n2023-08-05 23:40:13.990166: I tensorflow/core/common_runtime/eager/kernel_and_device.cc:94] Ignoring error status when releasing multi-device function handle UNIMPLEMENTED: Releasing a multi-device component handle on a remote device is not yet implemented.\r\n100/100 - 1s - loss: 0.1409 - accuracy: 0.9558 - 1s/epoch - 13ms/step\r\nEpoch 7/12\r\n2023-08-05 23:40:15.301438: I tensorflow/core/common_runtime/eager/kernel_and_device.cc:94] Ignoring error status when releasing multi-device function handle UNIMPLEMENTED: Releasing a multi-device component handle on a remote device is not yet implemented.\r\n100/100 - 1s - loss: 0.1303 - accuracy: 0.9634 - 1s/epoch - 13ms/step\r\nEpoch 8/12\r\n2023-08-05 23:40:16.636748: I tensorflow/core/common_runtime/eager/kernel_and_device.cc:94] Ignoring error status when releasing multi-device function handle UNIMPLEMENTED: Releasing a multi-device component handle on a remote device is not yet implemented.\r\n100/100 - 1s - loss: 0.1158 - accuracy: 0.9672 - 1s/epoch - 13ms/step\r\nEpoch 9/12\r\n2023-08-05 23:40:17.985054: I tensorflow/core/common_runtime/eager/kernel_and_device.cc:94] Ignoring error status when releasing multi-device function handle UNIMPLEMENTED: Releasing a multi-device component handle on a remote device is not yet implemented.\r\n100/100 - 1s - loss: 0.0969 - accuracy: 0.9745 - 1s/epoch - 13ms/step\r\nEpoch 10/12\r\n2023-08-05 23:40:19.361131: I tensorflow/core/common_runtime/eager/kernel_and_device.cc:94] Ignoring error status when releasing multi-device function handle UNIMPLEMENTED: Releasing a multi-device component handle on a remote device is not yet implemented.\r\n100/100 - 1s - loss: 0.0949 - accuracy: 0.9725 - 1s/epoch - 14ms/step\r\nEpoch 11/12\r\n2023-08-05 23:40:20.846003: I tensorflow/core/common_runtime/eager/kernel_and_device.cc:94] Ignoring error status when releasing multi-device function handle UNIMPLEMENTED: Releasing a multi-device component handle on a remote device is not yet implemented.\r\n100/100 - 1s - loss: 0.0965 - accuracy: 0.9727 - 1s/epoch - 15ms/step\r\nEpoch 12/12\r\n2023-08-05 23:40:22.234380: I tensorflow/core/common_runtime/eager/kernel_and_device.cc:94] Ignoring error status when releasing multi-device function handle UNIMPLEMENTED: Releasing a multi-device component handle on a remote device is not yet implemented.\r\n100/100 - 1s - loss: 0.0703 - accuracy: 0.9784 - 1s/epoch - 14ms/step\r\n2023-08-05 23:40:22.723441: E tensorflow/core/common_runtime/eager/context.cc:878] Failed to remove function remotely due to Tried to remove non-existent function '__inference_Dataset_map_lookup_nest_65'.\r\nAdditional GRPC error information from remote target /job:ps/replica:0/task:0:\r\n:{\"created\":\"@1691278822.723257314\",\"description\":\"Error received from peer ipv4:127.0.0.1:34567\",\"file\":\"external/com_github_grpc_grpc/src/core/lib/surface/call.cc\",\"file_line\":1056,\"grpc_message\":\"Tried to remove non-existent function '__inference_Dataset_map_lookup_nest_65'.\",\"grpc_status\":3}\r\nThis could happen if the remote target has been disconnected from the client.\r\n2023-08-05 23:40:22.724180: E tensorflow/core/common_runtime/eager/context.cc:878] Failed to remove function remotely due to Tried to remove non-existent function '__inference_Dataset_map_lookup_nest_65'.\r\nAdditional GRPC error information from remote target /job:worker/replica:0/task:0:\r\n:{\"created\":\"@1691278822.724041713\",\"description\":\"Error received from peer ipv4:127.0.0.1:23456\",\"file\":\"external/com_github_grpc_grpc/src/core/lib/surface/call.cc\",\"file_line\":1056,\"grpc_message\":\"Tried to remove non-existent function '__inference_Dataset_map_lookup_nest_65'.\",\"grpc_status\":3}\r\nThis could happen if the remote target has been disconnected from the client.\r\n2023-08-05 23:40:22.724904: E tensorflow/core/common_runtime/eager/context.cc:878] Failed to remove function remotely due to Tried to remove non-existent function '__inference_Dataset_map_parse_and_decode_54'.\r\nAdditional GRPC error information from remote target /job:ps/replica:0/task:0:\r\n:{\"created\":\"@1691278822.724815013\",\"description\":\"Error received from peer ipv4:127.0.0.1:34567\",\"file\":\"external/com_github_grpc_grpc/src/core/lib/surface/call.cc\",\"file_line\":1056,\"grpc_message\":\"Tried to remove non-existent function '__inference_Dataset_map_parse_and_decode_54'.\",\"grpc_status\":3}\r\nThis could happen if the remote target has been disconnected from the client.\r\n2023-08-05 23:40:22.725483: E tensorflow/core/common_runtime/eager/context.cc:878] Failed to remove function remotely due to Tried to remove non-existent function '__inference_Dataset_map_parse_and_decode_54'.\r\nAdditional GRPC error information from remote target /job:worker/replica:0/task:0:\r\n:{\"created\":\"@1691278822.725363814\",\"description\":\"Error received from peer ipv4:127.0.0.1:23456\",\"file\":\"external/com_github_grpc_grpc/src/core/lib/surface/call.cc\",\"file_line\":1056,\"grpc_message\":\"Tried to remove non-existent function '__inference_Dataset_map_parse_and_decode_54'.\",\"grpc_status\":3}\r\nThis could happen if the remote target has been disconnected from the client.\r\n2023-08-05 23:40:22.726046: E tensorflow/core/common_runtime/eager/context.cc:878] Failed to remove function remotely due to Tried to remove non-existent function '__inference_Dataset_interleave_classfunctools.partial_25'.\r\nAdditional GRPC error information from remote target /job:ps/replica:0/task:0:\r\n:{\"created\":\"@1691278822.725959729\",\"description\":\"Error received from peer ipv4:127.0.0.1:34567\",\"file\":\"external/com_github_grpc_grpc/src/core/lib/surface/call.cc\",\"file_line\":1056,\"grpc_message\":\"Tried to remove non-existent function '__inference_Dataset_interleave_classfunctools.partial_25'.\",\"grpc_status\":3}\r\nThis could happen if the remote target has been disconnected from the client.\r\n2023-08-05 23:40:22.726620: E tensorflow/core/common_runtime/eager/context.cc:878] Failed to remove function remotely due to Tried to remove non-existent function '__inference_Dataset_interleave_classfunctools.partial_25'.\r\nAdditional GRPC error information from remote target /job:worker/replica:0/task:0:\r\n:{\"created\":\"@1691278822.726483537\",\"description\":\"Error received from peer ipv4:127.0.0.1:23456\",\"file\":\"external/com_github_grpc_grpc/src/core/lib/surface/call.cc\",\"file_line\":1056,\"grpc_message\":\"Tried to remove non-existent function '__inference_Dataset_interleave_classfunctools.partial_25'.\",\"grpc_status\":3}\r\nThis could happen if the remote target has been disconnected from the client.\r\n2023-08-05 23:40:22.727303: E tensorflow/core/common_runtime/eager/context.cc:878] Failed to remove function remotely due to Tried to remove non-existent function '__inference_Dataset_flat_map_read_one_file_22'.\r\nAdditional GRPC error information from remote target /job:ps/replica:0/task:0:\r\n:{\"created\":\"@1691278822.727133327\",\"description\":\"Error received from peer ipv4:127.0.0.1:34567\",\"file\":\"external/com_github_grpc_grpc/src/core/lib/surface/call.cc\",\"file_line\":1056,\"grpc_message\":\"Tried to remove non-existent function '__inference_Dataset_flat_map_read_one_file_22'.\",\"grpc_status\":3}\r\nThis could happen if the remote target has been disconnected from the client.\r\n2023-08-05 23:40:22.727894: E tensorflow/core/common_runtime/eager/context.cc:878] Failed to remove function remotely due to Tried to remove non-existent function '__inference_Dataset_flat_map_read_one_file_22'.\r\nAdditional GRPC error information from remote target /job:worker/replica:0/task:0:\r\n:{\"created\":\"@1691278822.727780581\",\"description\":\"Error received from peer ipv4:127.0.0.1:23456\",\"file\":\"external/com_github_grpc_grpc/src/core/lib/surface/call.cc\",\"file_line\":1056,\"grpc_message\":\"Tried to remove non-existent function '__inference_Dataset_flat_map_read_one_file_22'.\",\"grpc_status\":3}\r\nThis could happen if the remote target has been disconnected from the client.\r\n2023-08-05 23:40:22.762456: E tensorflow/core/common_runtime/eager/context.cc:878] Failed to remove function remotely due to Tried to remove non-existent function '__inference_Dataset_map_lookup_nest_133'.\r\nAdditional GRPC error information from remote target /job:ps/replica:0/task:0:\r\n:{\"created\":\"@1691278822.762253070\",\"description\":\"Error received from peer ipv4:127.0.0.1:34567\",\"file\":\"external/com_github_grpc_grpc/src/core/lib/surface/call.cc\",\"file_line\":1056,\"grpc_message\":\"Tried to remove non-existent function '__inference_Dataset_map_lookup_nest_133'.\",\"grpc_status\":3}\r\nThis could happen if the remote target has been disconnected from the client.\r\n2023-08-05 23:40:22.763108: E tensorflow/core/common_runtime/eager/context.cc:878] Failed to remove function remotely due to Tried to remove non-existent function '__inference_Dataset_map_lookup_nest_133'.\r\nAdditional GRPC error information from remote target /job:worker/replica:0/task:0:\r\n:{\"created\":\"@1691278822.762942628\",\"description\":\"Error received from peer ipv4:127.0.0.1:23456\",\"file\":\"external/com_github_grpc_grpc/src/core/lib/surface/call.cc\",\"file_line\":1056,\"grpc_message\":\"Tried to remove non-existent function '__inference_Dataset_map_lookup_nest_133'.\",\"grpc_status\":3}\r\nThis could happen if the remote target has been disconnected from the client.\r\n2023-08-05 23:40:22.763966: E tensorflow/core/common_runtime/eager/context.cc:878] Failed to remove function remotely due to Tried to remove non-existent function '__inference_Dataset_map_parse_and_decode_122'.\r\nAdditional GRPC error information from remote target /job:ps/replica:0/task:0:\r\n:{\"created\":\"@1691278822.763808342\",\"description\":\"Error received from peer ipv4:127.0.0.1:34567\",\"file\":\"external/com_github_grpc_grpc/src/core/lib/surface/call.cc\",\"file_line\":1056,\"grpc_message\":\"Tried to remove non-existent function '__inference_Dataset_map_parse_and_decode_122'.\",\"grpc_status\":3}\r\nThis could happen if the remote target has been disconnected from the client.\r\n2023-08-05 23:40:22.764617: E tensorflow/core/common_runtime/eager/context.cc:878] Failed to remove function remotely due to Tried to remove non-existent function '__inference_Dataset_map_parse_and_decode_122'.\r\nAdditional GRPC error information from remote target /job:worker/replica:0/task:0:\r\n:{\"created\":\"@1691278822.764451669\",\"description\":\"Error received from peer ipv4:127.0.0.1:23456\",\"file\":\"external/com_github_grpc_grpc/src/core/lib/surface/call.cc\",\"file_line\":1056,\"grpc_message\":\"Tried to remove non-existent function '__inference_Dataset_map_parse_and_decode_122'.\",\"grpc_status\":3}\r\nThis could happen if the remote target has been disconnected from the client.\r\n2023-08-05 23:40:22.765414: E tensorflow/core/common_runtime/eager/context.cc:878] Failed to remove function remotely due to Tried to remove non-existent function '__inference_Dataset_interleave_classfunctools.partial_93'.\r\nAdditional GRPC error information from remote target /job:ps/replica:0/task:0:\r\n:{\"created\":\"@1691278822.765246613\",\"description\":\"Error received from peer ipv4:127.0.0.1:34567\",\"file\":\"external/com_github_grpc_grpc/src/core/lib/surface/call.cc\",\"file_line\":1056,\"grpc_message\":\"Tried to remove non-existent function '__inference_Dataset_interleave_classfunctools.partial_93'.\",\"grpc_status\":3}\r\nThis could happen if the remote target has been disconnected from the client.\r\n2023-08-05 23:40:22.766108: E tensorflow/core/common_runtime/eager/context.cc:878] Failed to remove function remotely due to Tried to remove non-existent function '__inference_Dataset_interleave_classfunctools.partial_93'.\r\nAdditional GRPC error information from remote target /job:worker/replica:0/task:0:\r\n:{\"created\":\"@1691278822.765934285\",\"description\":\"Error received from peer ipv4:127.0.0.1:23456\",\"file\":\"external/com_github_grpc_grpc/src/core/lib/surface/call.cc\",\"file_line\":1056,\"grpc_message\":\"Tried to remove non-existent function '__inference_Dataset_interleave_classfunctools.partial_93'.\",\"grpc_status\":3}\r\nThis could happen if the remote target has been disconnected from the client.\r\n2023-08-05 23:40:22.766876: E tensorflow/core/common_runtime/eager/context.cc:878] Failed to remove function remotely due to Tried to remove non-existent function '__inference_Dataset_flat_map_read_one_file_90'.\r\nAdditional GRPC error information from remote target /job:ps/replica:0/task:0:\r\n:{\"created\":\"@1691278822.766725231\",\"description\":\"Error received from peer ipv4:127.0.0.1:34567\",\"file\":\"external/com_github_grpc_grpc/src/core/lib/surface/call.cc\",\"file_line\":1056,\"grpc_message\":\"Tried to remove non-existent function '__inference_Dataset_flat_map_read_one_file_90'.\",\"grpc_status\":3}\r\nThis could happen if the remote target has been disconnected from the client.\r\n2023-08-05 23:40:22.767543: E tensorflow/core/common_runtime/eager/context.cc:878] Failed to remove function remotely due to Tried to remove non-existent function '__inference_Dataset_flat_map_read_one_file_90'.\r\nAdditional GRPC error information from remote target /job:worker/replica:0/task:0:\r\n:{\"created\":\"@1691278822.767393731\",\"description\":\"Error received from peer ipv4:127.0.0.1:23456\",\"file\":\"external/com_github_grpc_grpc/src/core/lib/surface/call.cc\",\"file_line\":1056,\"grpc_message\":\"Tried to remove non-existent function '__inference_Dataset_flat_map_read_one_file_90'.\",\"grpc_status\":3}\r\nThis could happen if the remote target has been disconnected from the client.\r\n```\r\n\r\nFor some reason, the worker (separate shell) does not show any thing related to training progress. Worker log:\r\n```\r\n2023-08-05 23:40:03.944832: I tensorflow/core/distributed_runtime/eager/eager_service_impl.cc:311] Creating sync eager service context with rendezvous_id on host tensorflow4 /job:worker/replica:0/task:0\r\n2023-08-05 23:40:03.944929: I tensorflow/core/distributed_runtime/eager/eager_service_impl.cc:317] SessionOptions: device_count {\r\n key: \"CPU\"\r\n value: 1\r\n}\r\ndevice_count {\r\n key: \"GPU\"\r\n value: 0\r\n}\r\ngpu_options {\r\n experimental {\r\n }\r\n}\r\nallow_soft_placement: true\r\nexperimental {\r\n collective_group_leader: \"/job:ps/replica:0/task:0\"\r\n}\r\n\r\n2023-08-05 23:40:04.238759: W tensorflow/core/grappler/optimizers/data/auto_shard.cc:551] The `assert_cardinality` transformation is currently not handled by the auto-shard rewrite and will be removed.\r\n2023-08-05 23:40:04.389447: W tensorflow/core/framework/dataset.cc:956] Input of GeneratorDatasetOp::Dataset will not be optimized because the dataset does not implement the AsGraphDefInternal() method needed to apply optimizations.\r\n2023-08-05 23:40:22.752175: I tensorflow/core/common_runtime/eager/kernel_and_device.cc:94] Ignoring error status when releasing multi-device function handle UNIMPLEMENTED: Releasing a multi-device component handle on a remote device is not yet implemented.\r\n```",
"> To my understanding, all workers and paramter-servers will start and wait for chief to assign the tasks. Chief or coordinator (documentation uses them interchangeably but is there any difference between the two?) will automatically divide the work based on the information it gets from cluster_resolver (let me know if that's wrong interpretation).\r\n\r\nYes this is accurate. The chief (AKA the coordinator; they are different names for the same thing) is the only task running `Model.fit`, which under the hood schedules the function executions and dispatches them to workers and parameter servers. \r\n\r\n> First of all, does this mean the Chief no longer participates in the training? Previously, Chief (also referred to as worker0) used to be just another worker with some extra coordination responsibilities.\r\n\r\nThis is also accurate. Unlike MultiWorkerMirroredStrategy, the chief task is not a worker and doesn't run any training steps itself. It's only called the \"chief\" so that the `TF_CONFIG` can work the same way. \"Coordinator\" is the most meaningful term for that task -- we can look into consolidating on that term.\r\n\r\n> Secondly, kindly let me know if there are any end to end examples using using Keras new style of code (specifically for the parameterServerStrategy). This code is just an example using snippets of code I took from the tensorflow documentation from the link above. \r\n\r\nThe tutorial is the most complete example we have. I don't see anything fundamentally wrong with your code. It looks like the training completes 12/12 epochs. Those errors look like something that happens at the end of training when TF is internally calling destructors on some resources. Sorry they are spammy but I'm pretty confident they can be ignored. You could confirm by adding a final `model.evaluate` or `model.predict` calls after `model.fit` in your code.\r\n\r\n> For some reason, the worker (separate shell) does not show any thing related to training progress. Worker log:\r\n\r\nYes, the workers and parameter servers won't have many useful logs during training. If they encounter errors those would be propagated to the coordinator which will log them. \r\n\r\nOverall your code looks to be working appropriately and hopefully these answers clear things up. Will close this now -- feel free to reopen or open a new issue if you encounter other errors. Thanks!",
"Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61457\">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/61457\">No</a>\n",
"Hi @jamesmullenbach, thank you so much for the detailed response! yes it has cleared things up for me."
] | 2023-08-02T19:17:30 | 2023-08-24T17:19:18 | 2023-08-24T14:07:30 | NONE | null | null | null | Hello everyone! I am sorry if this is a duplicate issue but from my considerable search - I could not find a single end-to-end distributed parameter-server example to run using tensorflow (using the keras api with `.fit()` method). Also, for some reason - the documentation for parameter-server strategy seems a lot more confusing and difficult to get started with, compared to multi-worker strategy.
I have been running training jobs using the estimator api before and now trying to update it to TF2.x style distributed training job with parameter-server training strategy using a single binary file for all workers and parameter-servers. I started with the example in documentation here (https://www.tensorflow.org/tutorials/distribute/parameter_server_training) and modified the code to be used as a single binary.
Code:
```
import tensorflow_datasets as tfds
import tensorflow as tf
import os
cluster_resolver = tf.distribute.cluster_resolver.TFConfigClusterResolver()
if cluster_resolver.task_type in ("worker", "ps"):
# Start a TensorFlow server and wait.
server = tf.distribute.Server(cluster_resolver.cluster_spec(),
job_name=cluster_resolver.task_type,
task_index=cluster_resolver.task_id,
protocol=cluster_resolver.rpc_layer or "grpc",
start=True)
server.join()
else:
## parameter-server
strategy = tf.distribute.ParameterServerStrategy(cluster_resolver=cluster_resolver)
global_batch_size = 64
x = tf.random.uniform((10, 10))
y = tf.random.uniform((10,))
dataset = tf.data.Dataset.from_tensor_slices((x, y)).shuffle(10).repeat()
dataset = dataset.batch(global_batch_size)
dataset = dataset.prefetch(2)
with strategy.scope():
model = tf.keras.models.Sequential([tf.keras.layers.Dense(10)])
model.compile(tf.keras.optimizers.legacy.SGD(), loss="mse", steps_per_execution=10)
working_dir = "./my_working_dir"
log_dir = os.path.join(working_dir, "log")
ckpt_filepath = os.path.join(working_dir, "ckpt")
backup_dir = os.path.join(working_dir, "backup")
callbacks = [
tf.keras.callbacks.TensorBoard(log_dir=log_dir),
tf.keras.callbacks.ModelCheckpoint(filepath=ckpt_filepath),
tf.keras.callbacks.BackupAndRestore(backup_dir=backup_dir),
]
model.fit(dataset, epochs=5, steps_per_epoch=20, callbacks=callbacks)
```
To my understanding, all workers and paramter-servers will start and wait for chief to assign the tasks. Chief or coordinator (documentation uses them interchangeably but is there any difference between the two?) will automatically divide the work based on the information it gets from `cluster_resolver` (let me know if that's wrong interpretation). In any case, I would highly appreciate if someone can point out what I am doing wrong in this example because I have not been able to get it to work! | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61457/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61457/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61456 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61456/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61456/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61456/events | https://github.com/tensorflow/tensorflow/pull/61456 | 1,833,626,874 | PR_kwDOArmXAs5XCKpz | 61,456 | Fixed the broken link on faq.md | {
"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": 750616506,
"node_id": "MDU6TGFiZWw3NTA2MTY1MDY=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:lite",
"name": "comp:lite",
"color": "0052cc",
"default": false,
"description": "TF Lite related issues"
},
{
"id": 987666414,
"node_id": "MDU6TGFiZWw5ODc2NjY0MTQ=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/ready%20to%20pull",
"name": "ready to pull",
"color": "2cd643",
"default": false,
"description": "PR ready for merge process"
},
{
"id": 1169364259,
"node_id": "MDU6TGFiZWwxMTY5MzY0MjU5",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:XS",
"name": "size:XS",
"color": "adafea",
"default": false,
"description": "CL Change Size: Extra Small"
}
] | closed | false | {
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
}
] | null | [] | 2023-08-02T17:34:55 | 2023-08-04T15:26:49 | 2023-08-04T04:05:43 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61456",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61456",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61456.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61456.patch",
"merged_at": "2023-08-04T04:05:43"
} | Fixed the broken link for **op_select_allowlist** on `faq.md` | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61456/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61456/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61455 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61455/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61455/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61455/events | https://github.com/tensorflow/tensorflow/issues/61455 | 1,833,581,054 | I_kwDOArmXAs5tSjn- | 61,455 | What is the reason sanitizer configs are regarded as outdated? | {
"login": "junwha0511",
"id": 17183234,
"node_id": "MDQ6VXNlcjE3MTgzMjM0",
"avatar_url": "https://avatars.githubusercontent.com/u/17183234?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/junwha0511",
"html_url": "https://github.com/junwha0511",
"followers_url": "https://api.github.com/users/junwha0511/followers",
"following_url": "https://api.github.com/users/junwha0511/following{/other_user}",
"gists_url": "https://api.github.com/users/junwha0511/gists{/gist_id}",
"starred_url": "https://api.github.com/users/junwha0511/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/junwha0511/subscriptions",
"organizations_url": "https://api.github.com/users/junwha0511/orgs",
"repos_url": "https://api.github.com/users/junwha0511/repos",
"events_url": "https://api.github.com/users/junwha0511/events{/privacy}",
"received_events_url": "https://api.github.com/users/junwha0511/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": 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 | [
"These were never used in OSS for TF, TF actually does not built with santizers. So it was a clean-up effort, to only have a bazelrc with the minimal required contents.",
"@junwha0511 ,\r\n\r\nActually these sanitizer configurations added in tensorflow .bazelrc to support tflite-micro.\r\nNow tflite-micro has its own version of .bazelrc they are no longer needed in tensorflow .bazelrc. \r\n\r\nAs confirmed in above [comment](https://github.com/tensorflow/tensorflow/issues/61455#issuecomment-1662670200) these configs are not used by TF's CI jobs hence the cleanup is happening.\r\n\r\nThanks!\r\n",
"Thank you for the fast and kind explanation!:)",
"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/61455\">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/61455\">No</a>\n"
] | 2023-08-02T16:59:57 | 2023-08-03T07:13:35 | 2023-08-03T07:13:32 | NONE | null | null | null | ### Issue type
Support
### Have you reproduced the bug with TensorFlow Nightly?
No
### Source
source
### TensorFlow version
mater (7a721887ec4616bd3347815f3ce873a0ab14ea37)
### Custom code
No
### OS platform and distribution
Linux Ubuntu 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?
I tried to build tensorflow with config asan, but I found that it was removed at 7a721887ec4616bd3347815f3ce873a0ab14ea37, by @kanglant
So, I'm curious why these sanitizer flags were regarded as outdated.
Did the community decide to stop supporting sanitizers for tensorflow?
or just because it is not working now?
Thank you:)
### Standalone code to reproduce the issue
```shell
bazel build --config=asan //tensorflow/tools/pip_package:build_pip_package --jobs `nproc`
```
### Relevant log output
_No response_ | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61455/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61455/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61454 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61454/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61454/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61454/events | https://github.com/tensorflow/tensorflow/pull/61454 | 1,833,293,062 | PR_kwDOArmXAs5XBBOy | 61,454 | Update the link for tensorflow hub lite models | {
"login": "pjpratik",
"id": 118897289,
"node_id": "U_kgDOBxY6iQ",
"avatar_url": "https://avatars.githubusercontent.com/u/118897289?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pjpratik",
"html_url": "https://github.com/pjpratik",
"followers_url": "https://api.github.com/users/pjpratik/followers",
"following_url": "https://api.github.com/users/pjpratik/following{/other_user}",
"gists_url": "https://api.github.com/users/pjpratik/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pjpratik/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pjpratik/subscriptions",
"organizations_url": "https://api.github.com/users/pjpratik/orgs",
"repos_url": "https://api.github.com/users/pjpratik/repos",
"events_url": "https://api.github.com/users/pjpratik/events{/privacy}",
"received_events_url": "https://api.github.com/users/pjpratik/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 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 | [
"This is not a broken link. The purpose of our g3doc files are to build up our website. Check it out here: https://www.tensorflow.org/lite/models/trained and note that the link works just fine.",
"Hi @grantjensen \r\n\r\nThe current documentation points to https://tfhub.dev/s but as per g3doc it is expected to point to https://tfhub.dev/s?deployment-format=lite which has lite pretrained models. The issue seems to occur as there is a space created in hyperlink in g3doc.\r\n\r\nThanks."
] | 2023-08-02T14:23:27 | 2023-12-27T23:00:46 | 2023-08-09T17:10:35 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61454",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61454",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61454.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61454.patch",
"merged_at": null
} | The lite models link for Tensorflow Hub is broken because of alignment issue. Updated the link w.r.t alignment.
Thanks. | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61454/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61454/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61453 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61453/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61453/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61453/events | https://github.com/tensorflow/tensorflow/issues/61453 | 1,833,233,972 | I_kwDOArmXAs5tRO40 | 61,453 | ValueError: Input 1 of layer "model" is incompatible with the layer: expected shape=(None, 15), found shape=(1, 14) | {
"login": "emailbsuv",
"id": 42220465,
"node_id": "MDQ6VXNlcjQyMjIwNDY1",
"avatar_url": "https://avatars.githubusercontent.com/u/42220465?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/emailbsuv",
"html_url": "https://github.com/emailbsuv",
"followers_url": "https://api.github.com/users/emailbsuv/followers",
"following_url": "https://api.github.com/users/emailbsuv/following{/other_user}",
"gists_url": "https://api.github.com/users/emailbsuv/gists{/gist_id}",
"starred_url": "https://api.github.com/users/emailbsuv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/emailbsuv/subscriptions",
"organizations_url": "https://api.github.com/users/emailbsuv/orgs",
"repos_url": "https://api.github.com/users/emailbsuv/repos",
"events_url": "https://api.github.com/users/emailbsuv/events{/privacy}",
"received_events_url": "https://api.github.com/users/emailbsuv/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": 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 | [
"@emailbsuv Could you please have a look at this [link](https://www.tensorflow.org/guide/keras/customizing_what_happens_in_fit) to know more about the customizing model fit() and let me know if it helps?\r\nThank you!",
"> @emailbsuv Could you please have a look at this [link](https://www.tensorflow.org/guide/keras/customizing_what_happens_in_fit) to know more about the customizing model fit() and let me know if it helps? Thank you!\r\n\r\nCould you take a look at this [link](https://t.me/s/DeepLearningMonitor/14) to learn more about your link's help for setting up a fit() model and let me know if it helps?\r\nThank you!\r\n",
"@SuryanarayanaY I was able to replicate this issue on colab, please find the [gist](https://colab.research.google.com/gist/sushreebarsa/60d9129070c91869ae3b6c912156dc69/61453.ipynb) here?\r\nThank you!",
"I was able to solve this issue by changing \r\n`#target_sequences = np.expand_dims(output_sequences[:, 1:], -1)` to \r\n`target_sequences = np.expand_dims(output_sequences, -1)`\r\nand \r\n`model.fit([input_sequences, output_sequences[:, :-1]], target_sequences, epochs=50, batch_size=1)` to `model.fit([input_sequences, output_sequences], target_sequences, epochs=50, batch_size=1)`\r\nYou can find the code [here](https://colab.research.google.com/drive/19AVYr_1T77yH8rM6648k0QaOqt52gxM7?usp=sharing)\r\n",
"Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61453\">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/61453\">No</a>\n",
"> I was able to solve this issue by changing `#target_sequences = np.expand_dims(output_sequences[:, 1:], -1)` to `target_sequences = np.expand_dims(output_sequences, -1)` and `model.fit([input_sequences, output_sequences[:, :-1]], target_sequences, epochs=50, batch_size=1)` to `model.fit([input_sequences, output_sequences], target_sequences, epochs=50, batch_size=1)` You can find the code [here](https://colab.research.google.com/drive/19AVYr_1T77yH8rM6648k0QaOqt52gxM7?usp=sharing)\r\n\r\nThere are several possible reasons why a model may return incomplete responses:\r\n\r\n1. Insufficient dataset size for training. A small data set means that the model cannot learn all linguistic patterns. More dialogue examples need to be added.\r\n2. Too small latent space (dimension of phrase presentation vectors). Because of this, the model cannot capture all the information from the input phrase. Try increasing latent_dim.\r\n3. Premature termination of training. We need to increase the number of epochs so that the model learns better.\r\n4. Model architecture problem. Perhaps more complex or deep models are needed (for example, add another LSTM layer).\r\n5. Text preprocessing errors or incorrect generation of target sequences. We need to check these parts of the code.\r\n6. Instability in the learning process. It will help to use dropout, batch normalization and other regularization methods.",
"Hi @emailbsuv ,\r\n\r\nThe error is due to shape mismatch of input-2(encoder output) and target_sequence wrt model architecture. Both should have same shape as per model architecture. Changing the shapes will cause the error as model architecture shape is already defined for Input layer.\r\n\r\nThere are 2 possible solutions. \r\n\r\n1.Mention the shape of Input layer as `(None,)`\r\n2.Or Maintain the same shape as mentioned in Input layer while designing model architecture.\r\n\r\nI have attached both possible fix in the [gist](https://colab.sandbox.google.com/gist/SuryanarayanaY/9d3d4943d195b8e0c250164ff158540c/61453_r1.ipynb) you may choose any one that suits your requirement.\r\n\r\nThanks!\r\n\r\n\r\n\r\n\r\n",
"This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.",
"This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further.",
"Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61453\">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/61453\">No</a>\n"
] | 2023-08-02T13:51:21 | 2023-11-03T01:48:06 | 2023-11-03T01:48:03 | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
source
### TensorFlow version
tf 2.13.0
### Custom code
Yes
### OS platform and distribution
windows 11
### Mobile device
_No response_
### Python version
3.11.4
### Bazel version
_No response_
### GCC/compiler version
_No response_
### CUDA/cuDNN version
_No response_
### GPU model and memory
_No response_
### Current behavior?
Python TF script do not run, because errors
### Standalone code to reproduce the issue
```shell
import numpy as np
import tensorflow as tf
from tensorflow.keras.models import Model
from tensorflow.keras.layers import Input, LSTM, Dense
import os
# Set the TensorFlow logging level to ERROR
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'
# Training data
input_data = [
"Привет, как тебя зовут?",
"Какие у тебя интересы?",
"Как прошел твой день?",
"Ты любишь путешествовать?",
"Что ты думаешь о знакомствах через интернет?"
]
output_data = [
"Привет! Меня зовут ЧатБот. А тебя?",
"Мои интересы - это общение с людьми!",
"Мой день прошел хорошо, спасибо.",
"Я бот, поэтому путешествовать не могу, но обожаю общение с людьми!",
"Я думаю, что знакомства через интернет - это отличный способ найти новых друзей и партнеров."
]
input_tokens = tf.keras.preprocessing.text.Tokenizer(filters='')
output_tokens = tf.keras.preprocessing.text.Tokenizer(filters='')
input_tokens.fit_on_texts(input_data)
output_tokens.fit_on_texts(output_data)
input_sequences = input_tokens.texts_to_sequences(input_data)
output_sequences = output_tokens.texts_to_sequences(output_data)
# Pad sequences to the maximum length
max_seq_length = max(len(seq) for seq in input_sequences + output_sequences)
input_sequences = tf.keras.preprocessing.sequence.pad_sequences(input_sequences, padding='post', maxlen=max_seq_length)
output_sequences = tf.keras.preprocessing.sequence.pad_sequences(output_sequences, padding='post', maxlen=max_seq_length)
# Seq2Seq Model
latent_dim = 64
# Encoder
encoder_inputs = Input(shape=(max_seq_length,))
encoder_embedding = tf.keras.layers.Embedding(len(input_tokens.word_index) + 1, latent_dim)(encoder_inputs)
encoder_outputs, state_h, state_c = LSTM(latent_dim, return_state=True)(encoder_embedding)
encoder_states = [state_h, state_c]
# Decoder
decoder_inputs = Input(shape=(max_seq_length,))
decoder_embedding = tf.keras.layers.Embedding(len(output_tokens.word_index) + 1, latent_dim)(decoder_inputs)
decoder_lstm = LSTM(latent_dim, return_sequences=True, return_state=True)
decoder_outputs, _, _ = decoder_lstm(decoder_embedding, initial_state=encoder_states)
decoder_dense = Dense(len(output_tokens.word_index) + 1, activation='softmax')
decoder_outputs = decoder_dense(decoder_outputs)
# Model
model = Model([encoder_inputs, decoder_inputs], decoder_outputs)
model.compile(optimizer='rmsprop', loss='sparse_categorical_crossentropy')
# Prepare target sequences
target_sequences = output_sequences[:, 1:]
# Training
model.fit([input_sequences, output_sequences[:, :-1]], target_sequences, epochs=50, batch_size=1)
# Save the model
model.save("chatbot_model.keras")
# Example of using the trained model
def predict_response(input_text):
input_seq = input_tokens.texts_to_sequences([input_text])
input_seq = tf.keras.preprocessing.sequence.pad_sequences(input_seq, padding='post', maxlen=max_seq_length)
output_seq = model.predict([input_seq, np.zeros((len(input_seq), max_seq_length))])
output_seq = np.argmax(output_seq, axis=-1)
output_text = ' '.join([output_tokens.index_word[i] for i in output_seq[0] if i != 0])
return output_text
# Example of using the model to generate responses
user_input = "Как прошел твой день?"
response = predict_response(user_input)
print(response)
```
### Relevant log output
```shell
C:\git\mt_server\markettrader.mooo.com>python chat.py
TensorFlow version: 2.13.0
Epoch 1/50
Traceback (most recent call last):
File "C:\git\mt_server\markettrader.mooo.com\chat.py", line 65, in <module>
model.fit([input_sequences, output_sequences[:, :-1]], epochs=50, batch_size=1)
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\keras\src\utils\traceback_utils.py", line 70, in error_handler
raise e.with_traceback(filtered_tb) from None
File "C:\Users\User\AppData\Local\Temp\__autograph_generated_filer5ymro82.py", line 15, in tf__train_function
retval_ = ag__.converted_call(ag__.ld(step_function), (ag__.ld(self), ag__.ld(iterator)), None, fscope)
^^^^^
ValueError: in user code:
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\keras\src\engine\training.py", line 1338, in train_function *
return step_function(self, iterator)
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\keras\src\engine\training.py", line 1322, in step_function **
outputs = model.distribute_strategy.run(run_step, args=(data,))
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\keras\src\engine\training.py", line 1303, in run_step **
outputs = model.train_step(data)
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\keras\src\engine\training.py", line 1080, in train_step
y_pred = self(x, training=True)
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\keras\src\utils\traceback_utils.py", line 70, in error_handler
raise e.with_traceback(filtered_tb) from None
File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\keras\src\engine\input_spec.py", line 298, in assert_input_compatibility
raise ValueError(
ValueError: Input 1 of layer "model" is incompatible with the layer: expected shape=(None, 15), found shape=(1, 14)
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61453/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/61453/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61452 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61452/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61452/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61452/events | https://github.com/tensorflow/tensorflow/issues/61452 | 1,833,091,670 | I_kwDOArmXAs5tQsJW | 61,452 | tf 2.13 - tflite convert error in topk when k is np.int64 | {
"login": "Chizkiyahu",
"id": 37312901,
"node_id": "MDQ6VXNlcjM3MzEyOTAx",
"avatar_url": "https://avatars.githubusercontent.com/u/37312901?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Chizkiyahu",
"html_url": "https://github.com/Chizkiyahu",
"followers_url": "https://api.github.com/users/Chizkiyahu/followers",
"following_url": "https://api.github.com/users/Chizkiyahu/following{/other_user}",
"gists_url": "https://api.github.com/users/Chizkiyahu/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Chizkiyahu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Chizkiyahu/subscriptions",
"organizations_url": "https://api.github.com/users/Chizkiyahu/orgs",
"repos_url": "https://api.github.com/users/Chizkiyahu/repos",
"events_url": "https://api.github.com/users/Chizkiyahu/events{/privacy}",
"received_events_url": "https://api.github.com/users/Chizkiyahu/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": "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 | [
"you can try enabling TensorFlow kernels fallback using TensorFlow Select, which allows you to replace specific unsupported operations with TensorFlow kernels during the conversion. \r\n```python\r\nimport tensorflow as tf\r\n\r\ndef create_model_and_convert(k):\r\n \r\n converter = tf.lite.TFLiteConverter.from_saved_model(saved_model_dir)\r\n converter.allow_custom_ops = True\r\n converter.target_spec.supported_ops = [\r\n tf.lite.OpsSet.TFLITE_BUILTINS, \r\n tf.lite.OpsSet.SELECT_TF_OPS, \r\n ]\r\n tflite_model = converter.convert()\r\n\r\n\r\n with open('model.tflite', 'wb') as f:\r\n f.write(tflite_model)\r\n\r\n``` ",
"Hi @Chizkiyahu ,\r\n\r\nAs amishha's suggested, please try enabling TensorFlow kernels fallback using TensorFlow Select. That would solve the issue.\r\nPlease find the [gist](https://colab.research.google.com/gist/Varsha-anjanappa/23d884383136c1c9ab33a50cc5fb35a0/61452.ipynb) for your reference and let us know if it works.\r\n\r\nThank you!!",
"Hi @Varsha-anjanappa, \r\n\r\nThanks for looking for this.\r\nadding the `converter.allow_custom_ops = True` solve the problem \r\nin my code, I solved that by converting to Python int in the tf model \r\nI assume that because is working in tf 2.12 with np.int64 and with the default `converter` settings is good to fix that \r\nbut this to your judgment\r\n\r\nThank you!!\r\n",
"Hi @Varsha-anjanappa\r\n\r\nTo my understanding, the lable \"TF 2.13\" is more suitable than \"TF 2.12\" so it's easy to find \r\n\r\nThank you!!",
"Hi @Chizkiyahu ,\r\n\r\nThe topk op currently supports only unsigned int64. It does not support signed int, replacing np.int64 with np.uint64 should solve the problem in TF 2.13. Please refer the [documentation](https://www.tensorflow.org/mlir/tfl_ops#tfltopk_v2_tfltopkv2op) .\r\n\r\nPlease refer to the gist provided [here](https://colab.research.google.com/gist/Varsha-anjanappa/61a98ff6d04e6fe522c11a016a3016a7/61452.ipynb).\r\n\r\nThank you!!\r\n\r\n",
"This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.",
"This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further.",
"Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61452\">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/61452\">No</a>\n"
] | 2023-08-02T12:29:15 | 2023-08-31T01:47:35 | 2023-08-31T01:47:33 | NONE | null | null | null | ### 1. System information
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04): mac and colab
- TensorFlow installation (pip package or built from source): pip
- TensorFlow library (version, if pip package or github SHA, if built from source): 2.13
### 2. Code
Colab code [here](https://colab.research.google.com/drive/163eKr3nkQM4vRqCnFu5U9K3QhgA5PWog?usp=sharing)
### 3. Bug
tf 2.13 model with `tf.math.top_k` error in tflite convert
tf 2.12 - **pass**
`k` is numpy.int64 - **fail**
`k` is numpy.int32 - **pass**
`k` is python int - **pass**
### 4. Error logs
```
---------------------------------------------------------------------------
ConverterError Traceback (most recent call last)
[<ipython-input-6-2ef9a00e0912>](https://localhost:8080/#) in <cell line: 2>()
1 # error
----> 2 create_model_and_convert(k=np.int64(5))
9 frames
[/usr/local/lib/python3.10/dist-packages/tensorflow/lite/python/convert.py](https://localhost:8080/#) in convert(model_flags, conversion_flags, input_data_str, debug_info_str, enable_mlir_converter)
365 enable_mlir_converter,
366 )
--> 367 raise converter_error
368
369 return _run_deprecated_conversion_binary(
ConverterError: /usr/local/lib/python3.10/dist-packages/tensorflow/python/saved_model/save.py:1313:0: error: 'tf.TopKV2' op is neither a custom op nor a flex op
<unknown>:0: note: loc(fused["PartitionedCall:", "PartitionedCall"]): called from
/usr/local/lib/python3.10/dist-packages/tensorflow/python/saved_model/save.py:1313:0: note: Error code: ERROR_NEEDS_FLEX_OPS
<unknown>:0: error: failed while converting: 'main':
Some ops are not supported by the native TFLite runtime, you can enable TF kernels fallback using TF Select. See instructions: https://www.tensorflow.org/lite/guide/ops_select
TF Select ops: TopKV2
Details:
tf.TopKV2(tensor<?x29x7xf32>, tensor<i64>) -> (tensor<?x29x5xf32>, tensor<?x29x5xi32>) : {device = "", sorted = true}
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61452/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61452/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61451 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61451/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61451/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61451/events | https://github.com/tensorflow/tensorflow/pull/61451 | 1,833,053,949 | PR_kwDOArmXAs5XANFd | 61,451 | [Linaro:ARM_CI] Put bazel output onto host storage | {
"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": 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 | [
"Hi @elfringham This PR is in draft, any update on this? please. Thank you!",
"None of the changes tried in this PR made any noticeable difference so will just close this."
] | 2023-08-02T12:06:16 | 2023-09-12T08:32:17 | 2023-09-12T08:32:09 | CONTRIBUTOR | null | true | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61451",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61451",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61451.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61451.patch",
"merged_at": null
} | Do not use container writable layer for bazel output but instead use storage mounted from the host. | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61451/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61451/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61450 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61450/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61450/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61450/events | https://github.com/tensorflow/tensorflow/pull/61450 | 1,833,009,918 | PR_kwDOArmXAs5XADfw | 61,450 | Fix link failure in XLA unit tests | {
"login": "elfringham",
"id": 10442001,
"node_id": "MDQ6VXNlcjEwNDQyMDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/10442001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/elfringham",
"html_url": "https://github.com/elfringham",
"followers_url": "https://api.github.com/users/elfringham/followers",
"following_url": "https://api.github.com/users/elfringham/following{/other_user}",
"gists_url": "https://api.github.com/users/elfringham/gists{/gist_id}",
"starred_url": "https://api.github.com/users/elfringham/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/elfringham/subscriptions",
"organizations_url": "https://api.github.com/users/elfringham/orgs",
"repos_url": "https://api.github.com/users/elfringham/repos",
"events_url": "https://api.github.com/users/elfringham/events{/privacy}",
"received_events_url": "https://api.github.com/users/elfringham/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 987666414,
"node_id": "MDU6TGFiZWw5ODc2NjY0MTQ=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/ready%20to%20pull",
"name": "ready to pull",
"color": "2cd643",
"default": false,
"description": "PR ready for merge process"
},
{
"id": 1169364259,
"node_id": "MDU6TGFiZWwxMTY5MzY0MjU5",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:XS",
"name": "size:XS",
"color": "adafea",
"default": false,
"description": "CL Change Size: Extra Small"
}
] | closed | false | {
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
}
] | null | [] | 2023-08-02T11:38:05 | 2023-08-03T08:46:59 | 2023-08-02T17:39:26 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61450",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61450",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61450.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61450.patch",
"merged_at": "2023-08-02T17:39:26"
} | XLA unit tests were unable to link due to undefined reference to stream_executor::Stream::BlockHostUntilDone() | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61450/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61450/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61449 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61449/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61449/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61449/events | https://github.com/tensorflow/tensorflow/issues/61449 | 1,832,753,552 | I_kwDOArmXAs5tPZmQ | 61,449 | tf.compat.v1.train.MonitoredTrainingSession failed to restore checkpoint_dir variables from s3 | {
"login": "bingo163",
"id": 132530935,
"node_id": "U_kgDOB-ZC9w",
"avatar_url": "https://avatars.githubusercontent.com/u/132530935?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bingo163",
"html_url": "https://github.com/bingo163",
"followers_url": "https://api.github.com/users/bingo163/followers",
"following_url": "https://api.github.com/users/bingo163/following{/other_user}",
"gists_url": "https://api.github.com/users/bingo163/gists{/gist_id}",
"starred_url": "https://api.github.com/users/bingo163/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bingo163/subscriptions",
"organizations_url": "https://api.github.com/users/bingo163/orgs",
"repos_url": "https://api.github.com/users/bingo163/repos",
"events_url": "https://api.github.com/users/bingo163/events{/privacy}",
"received_events_url": "https://api.github.com/users/bingo163/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": 1478826728,
"node_id": "MDU6TGFiZWwxNDc4ODI2NzI4",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:core",
"name": "comp:core",
"color": "024391",
"default": false,
"description": "issues related to core part of tensorflow"
},
{
"id": 5508003926,
"node_id": "LA_kwDOArmXAs8AAAABSE14Vg",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13",
"name": "TF 2.13",
"color": "B13ACB",
"default": false,
"description": "For issues related to Tensorflow 2.13"
}
] | 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 | [
"@bingo163,\r\n**tf.compat.v1.train.MonitoredTrainingSession** API was designed for TensorFlow v1. Continue reading for details on how to migrate from this API to a native TensorFlow v2 equivalent. See the [TensorFlow v1 to TensorFlow v2 migration guide](https://www.tensorflow.org/guide/migrate) for instructions on how to migrate the rest of your code.\r\n\r\nAlso is there any specific reason to use the tf.compat.v1.train.MonitoredTrainingSession api and tensorflow v2.7 is pretty older version, I request to upgrade the latest stable version 2.13. Thank you!",
"> @bingo163, **tf.compat.v1.train.MonitoredTrainingSession** API was designed for TensorFlow v1. Continue reading for details on how to migrate from this API to a native TensorFlow v2 equivalent. See the [TensorFlow v1 to TensorFlow v2 migration guide](https://www.tensorflow.org/guide/migrate) for instructions on how to migrate the rest of your code.\r\n> \r\n> Also is there any specific reason to use the tf.compat.v1.train.MonitoredTrainingSession api and tensorflow v2.7 is pretty older version, I request to upgrade the latest stable version 2.13. Thank you!\r\n\r\n@tilakrayal \r\nthanks for the quick reply\r\n\r\nOur project is still using the tf.compat.v1.train.MonitoredTrainingSession API and TF 2.7 version for the reason that changing the API usage or upgrading the TF version would involve revalidation in many aspects, including the convergence of the model. Therefore, we hope to find the cause of this error without changing the API usage and upgrading the TF version as much as possible.\r\n\r\nIn addition, following your suggestion, I have upgraded the TF version and tensorflow-io version of the test code environment to 2.13.0 and 0.33.0, respectively, but the same error still occurred.\r\n",
"@tilakrayal \r\nI also used tf.compat.v1.train.Saver API (shown as below) to restore variables from s3, but the same error was reported. \r\n```\r\n......\r\nwith tf.compat.v1.Session(config=config) as sess:\r\n saver = tf.compat.v1.train.Saver()\r\n ckpt = tf.compat.v1.train.get_checkpoint_state(checkpoint_dir)\r\n if ckpt and ckpt.model_checkpoint_path:\r\n saver.restore(sess, ckpt.model_checkpoint_path)\r\n W_final, b_final = sess.run([W, b])\r\n print(\"Second phase: W:\", W_final, \"b:\", b_final)\r\n else:\r\n raise ValueError(\"No checkpoint found\")\r\n```",
"@tilakrayal any suggestions?",
"@sachinprasadhs any suggestions?",
"Thanks for reporting the issue, we will track this issue internally to find the root cause.\r\n\r\nMeanwhile, could you please check the document [here](https://www.tensorflow.org/guide/keras/serialization_and_saving) for the new saving format, in case if you want to migrate your project to latest version which is highly recommended.\r\n",
"> Thanks for reporting the issue, we will track this issue internally to find the root cause.\r\n> \r\n> Meanwhile, could you please check the document [here](https://www.tensorflow.org/guide/keras/serialization_and_saving) for the new saving format, in case if you want to migrate your project to latest version which is highly recommended.\r\n\r\nThanks, waiting for your reply",
"> Thanks for reporting the issue, we will track this issue internally to find the root cause.\r\n> \r\n> Meanwhile, could you please check the document [here](https://www.tensorflow.org/guide/keras/serialization_and_saving) for the new saving format, in case if you want to migrate your project to latest version which is highly recommended.\r\n\r\n@sachinprasadhs Any update?"
] | 2023-08-02T09:01:20 | 2023-09-13T08:54:54 | null | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
No
### Source
binary
### TensorFlow version
tf 2.7.0
### Custom code
Yes
### OS platform and distribution
Linux Ubuntu 18.04
### Mobile device
_No response_
### Python version
3.7.9
### Bazel version
_No response_
### GCC/compiler version
_No response_
### CUDA/cuDNN version
11.2
### GPU model and memory
_No response_
### Current behavior?
[TOC]
Our project uses tf.compat.v1.train.MonitoredTrainingSession to create a training session. Typically, we need to restore a pre-trained model from S3.
## 1. Error encountered in my project
Before switching to TensorFlow 1, we used TensorFlow 1.15.1 and passed the S3 path to `checkpoint_dir` like this:
```python
import tensorflow as tf
.....
checkpoint_dir = "s3://xxx/xx/"
tf.compat.v1.train.MonitoredTrainingSession(...., checkpoint_dir=checkpoint_dir, ...)
```
`checkpoint_dir` contains everything needed to restore variables, including checkpoint, graph.pbtxt, etc. Everything works fine.
After switching to TensorFlow 2.7.0, we realized that the Modular File System has been introduced into TensorFlow. So, we installed TensorFlow-io version 0.23.0, which is compatible with TensorFlow 2.7.0. The code becomes:
```python
import tensorflow as tf
import tensorflow_io as tfio
.....
checkpoint_dir = "s3://xxx/xx/"
tf.compat.v1.train.MonitoredTrainingSession(...., checkpoint_dir=checkpoint_dir, ...)
```
However, it no longer works, and an error is reported:
```
.....
2023-08-02 16:02:40.147093: W tensorflow/core/framework/op_kernel.cc:1745] OP_REQUIRES failed at save_restore_v2_ops.cc:207 : DATA_LOSS: truncated block read
Traceback (most recent call last):
File "/root/miniconda3/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1380, in _do_call
return fn(*args)
File "/root/miniconda3/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1364, in _run_fn
target_list, run_metadata)
File "/root/miniconda3/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1458, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.DataLossError: 2 root error(s) found.
(0) DATA_LOSS: truncated block read
[[{{node save/RestoreV2}}]]
[[save/RestoreV2/_1]]
(1) DATA_LOSS: truncated block read
[[{{node save/RestoreV2}}]]
0 successful operations.
0 derived errors ignored.
.....
```
## 2. Reproduce the issue using simple code
To rule out the possibility that the issue is caused by the complexity of the model in my project, I reproduced it using a very simple code.
### 2.1 Step 1: Train the model
First, I used the following code to train a very simple model and save it in a local directory:
```python
import tensorflow as tf
tf.compat.v1.disable_eager_execution()
x = tf.compat.v1.placeholder(tf.float32, shape=(None, 1), name="x")
y = tf.compat.v1.placeholder(tf.float32, shape=(None, 1), name="y")
W = tf.Variable(tf.zeros([1, 1]), name="W")
b = tf.Variable(tf.zeros([1]), name="b")
y_pred = tf.matmul(x, W) + b
loss = tf.reduce_mean(tf.square(y - y_pred))
optimizer = tf.compat.v1.train.GradientDescentOptimizer(0.01)
global_step = tf.compat.v1.train.get_or_create_global_step()
train_op = optimizer.minimize(loss, global_step=global_step)
x_train = [[1], [2], [3], [4]]
y_train = [[0], [-1], [-2], [-3]]
config = tf.compat.v1.ConfigProto()
config.gpu_options.allow_growth = True
hooks = [tf.compat.v1.train.StopAtStepHook(last_step=500)]
checkpoint_dir = './checkpoints'
with tf.compat.v1.train.MonitoredTrainingSession(checkpoint_dir=checkpoint_dir,
config=config,
hooks=hooks) as sess:
while not sess.should_stop():
sess.run(train_op, feed_dict={x: x_train, y: y_train})
```
### 2.2 Step 2: Upload the model to S3
Then, I used S3 tools to upload all materials in `./checkpoints` to a remote S3 path:
```
s3cmd put ./checkpoints/ s3://xxxx/xxx/checkpoints/
```
### 2.3 Step 3: Restore the model from S3 (error)
Finally, I restored the model training using the following code, and an error was reported:
```python
import tensorflow as tf
import tensorflow_io as tfio
tf.compat.v1.disable_eager_execution()
x = tf.compat.v1.placeholder(tf.float32, shape=(None, 1), name="x")
y = tf.compat.v1.placeholder(tf.float32, shape=(None, 1), name="y")
W = tf.Variable(tf.zeros([1, 1]), name="W")
b = tf.Variable(tf.zeros([1]), name="b")
y_pred = tf.matmul(x, W) + b
loss = tf.reduce_mean(tf.square(y - y_pred))
optimizer = tf.compat.v1.train.GradientDescentOptimizer(0.01)
global_step = tf.compat.v1.train.get_or_create_global_step()
train_op = optimizer.minimize(loss, global_step=global_step)
x_train = [[1], [2], [3], [4]]
y_train = [[0], [-1], [-2], [-3]]
config = tf.compat.v1.ConfigProto()
config.gpu_options.allow_growth = True
checkpoint_dir = 's3://xxxx/xxx/checkpoints/'
hooks = [tf.compat.v1.train.StopAtStepHook(last_step=2000)]
with tf.compat.v1.train.MonitoredTrainingSession(checkpoint_dir=checkpoint_dir, config=config, hooks=hooks) as sess:
while not sess.should_stop():
sess.run(train_op, feed_dict={x: x_train, y: y_train})
```
The full log is shown below:
```
WARNING:tensorflow:From /root/miniconda3/lib/python3.7/site-packages/tensorflow/python/training/training_util.py:401: Variable.initialized_value (from tensorflow.python.ops.variables) is deprecated and will be removed in a future version.
Instructions for updating:
Use Variable.read_value. Variables in 2.X are initialized automatically both in eager and graph (inside tf.defun) contexts.
2023-08-02 16:43:08.483327: I tensorflow/core/platform/cpu_feature_guard.cc:151] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-08-02 16:43:09.090602: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1525] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 38415 MB memory: -> device: 0, name: A100-SXM4-40GB, pci bus id: 0000:0e:00.0, compute capability: 8.0
2023-08-02 16:43:09.854875: W tensorflow/core/framework/op_kernel.cc:1745] OP_REQUIRES failed at save_restore_v2_ops.cc:207 : DATA_LOSS: truncated block read
Traceback (most recent call last):
File "/root/miniconda3/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1380, in _do_call
return fn(*args)
File "/root/miniconda3/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1364, in _run_fn
target_list, run_metadata)
File "/root/miniconda3/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1458, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.DataLossError: 2 root error(s) found.
(0) DATA_LOSS: truncated block read
[[{{node save/RestoreV2}}]]
[[save/RestoreV2/_1]]
(1) DATA_LOSS: truncated block read
[[{{node save/RestoreV2}}]]
0 successful operations.
0 derived errors ignored.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "train_s3.py", line 36, in <module>
with tf.compat.v1.train.MonitoredTrainingSession(checkpoint_dir=checkpoint_dir, config=config, hooks=hooks) as sess:
File "/root/miniconda3/lib/python3.7/site-packages/tensorflow/python/training/monitored_session.py", line 616, in MonitoredTrainingSession
stop_grace_period_secs=stop_grace_period_secs)
File "/root/miniconda3/lib/python3.7/site-packages/tensorflow/python/training/monitored_session.py", line 1062, in __init__
stop_grace_period_secs=stop_grace_period_secs)
File "/root/miniconda3/lib/python3.7/site-packages/tensorflow/python/training/monitored_session.py", line 761, in __init__
self._sess = _RecoverableSession(self._coordinated_creator)
File "/root/miniconda3/lib/python3.7/site-packages/tensorflow/python/training/monitored_session.py", line 1267, in __init__
_WrappedSession.__init__(self, self._create_session())
File "/root/miniconda3/lib/python3.7/site-packages/tensorflow/python/training/monitored_session.py", line 1272, in _create_session
return self._sess_creator.create_session()
File "/root/miniconda3/lib/python3.7/site-packages/tensorflow/python/training/monitored_session.py", line 914, in create_session
self.tf_sess = self._session_creator.create_session()
File "/root/miniconda3/lib/python3.7/site-packages/tensorflow/python/training/monitored_session.py", line 681, in create_session
init_fn=self._scaffold.init_fn)
File "/root/miniconda3/lib/python3.7/site-packages/tensorflow/python/training/session_manager.py", line 321, in prepare_session
config=config)
File "/root/miniconda3/lib/python3.7/site-packages/tensorflow/python/training/session_manager.py", line 251, in _restore_checkpoint
sess, saver, ckpt.model_checkpoint_path)
File "/root/miniconda3/lib/python3.7/site-packages/tensorflow/python/training/session_manager.py", line 71, in _restore_checkpoint_and_maybe_run_saved_model_initializers
saver.restore(sess, path)
File "/root/miniconda3/lib/python3.7/site-packages/tensorflow/python/training/saver.py", line 1405, in restore
{self.saver_def.filename_tensor_name: save_path})
File "/root/miniconda3/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 971, in run
run_metadata_ptr)
File "/root/miniconda3/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1194, in _run
feed_dict_tensor, options, run_metadata)
File "/root/miniconda3/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1374, in _do_run
run_metadata)
File "/root/miniconda3/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1399, in _do_call
raise type(e)(node_def, op, message) # pylint: disable=no-value-for-parameter
tensorflow.python.framework.errors_impl.DataLossError: 2 root error(s) found.
(0) DATA_LOSS: truncated block read
[[node save/RestoreV2
(defined at train_s3.py:36)
]]
[[save/RestoreV2/_1]]
(1) DATA_LOSS: truncated block read
[[node save/RestoreV2
(defined at train_s3.py:36)
]]
0 successful operations.
0 derived errors ignored.
Errors may have originated from an input operation.
Input Source operations connected to node save/RestoreV2:
In[0] save/Const:
In[1] save/RestoreV2/tensor_names:
In[2] save/RestoreV2/shape_and_slices:
Operation defined at: (most recent call last)
>>> File "train_s3.py", line 36, in <module>
>>> with tf.compat.v1.train.MonitoredTrainingSession(checkpoint_dir=checkpoint_dir, config=config, hooks=hooks) as sess:
>>>
Input Source operations connected to node save/RestoreV2:
In[0] save/Const:
In[1] save/RestoreV2/tensor_names:
In[2] save/RestoreV2/shape_and_slices:
Operation defined at: (most recent call last)
>>> File "train_s3.py", line 36, in <module>
>>> with tf.compat.v1.train.MonitoredTrainingSession(checkpoint_dir=checkpoint_dir, config=config, hooks=hooks) as sess:
>>>
Original stack trace for 'save/RestoreV2':
File "train_s3.py", line 36, in <module>
with tf.compat.v1.train.MonitoredTrainingSession(checkpoint_dir=checkpoint_dir, config=config, hooks=hooks) as sess:
File "/root/miniconda3/lib/python3.7/site-packages/tensorflow/python/training/monitored_session.py", line 616, in MonitoredTrainingSession
stop_grace_period_secs=stop_grace_period_secs)
File "/root/miniconda3/lib/python3.7/site-packages/tensorflow/python/training/monitored_session.py", line 1062, in __init__
stop_grace_period_secs=stop_grace_period_secs)
File "/root/miniconda3/lib/python3.7/site-packages/tensorflow/python/training/monitored_session.py", line 761, in __init__
self._sess = _RecoverableSession(self._coordinated_creator)
File "/root/miniconda3/lib/python3.7/site-packages/tensorflow/python/training/monitored_session.py", line 1267, in __init__
_WrappedSession.__init__(self, self._create_session())
File "/root/miniconda3/lib/python3.7/site-packages/tensorflow/python/training/monitored_session.py", line 1272, in _create_session
return self._sess_creator.create_session()
File "/root/miniconda3/lib/python3.7/site-packages/tensorflow/python/training/monitored_session.py", line 914, in create_session
self.tf_sess = self._session_creator.create_session()
File "/root/miniconda3/lib/python3.7/site-packages/tensorflow/python/training/monitored_session.py", line 672, in create_session
self._scaffold.finalize()
File "/root/miniconda3/lib/python3.7/site-packages/tensorflow/python/training/monitored_session.py", line 236, in finalize
self._saver = training_saver._get_saver_or_default() # pylint: disable=protected-access
File "/root/miniconda3/lib/python3.7/site-packages/tensorflow/python/training/saver.py", line 625, in _get_saver_or_default
saver = Saver(sharded=True, allow_empty=True)
File "/root/miniconda3/lib/python3.7/site-packages/tensorflow/python/training/saver.py", line 923, in __init__
self.build()
File "/root/miniconda3/lib/python3.7/site-packages/tensorflow/python/training/saver.py", line 935, in build
self._build(self._filename, build_save=True, build_restore=True)
File "/root/miniconda3/lib/python3.7/site-packages/tensorflow/python/training/saver.py", line 973, in _build
build_restore=build_restore)
File "/root/miniconda3/lib/python3.7/site-packages/tensorflow/python/training/saver.py", line 528, in _build_internal
restore_sequentially, reshape)
File "/root/miniconda3/lib/python3.7/site-packages/tensorflow/python/training/saver.py", line 407, in _AddShardedRestoreOps
name="restore_shard"))
File "/root/miniconda3/lib/python3.7/site-packages/tensorflow/python/training/saver.py", line 354, in _AddRestoreOps
restore_sequentially)
File "/root/miniconda3/lib/python3.7/site-packages/tensorflow/python/training/saver.py", line 601, in bulk_restore
return io_ops.restore_v2(filename_tensor, names, slices, dtypes)
File "/root/miniconda3/lib/python3.7/site-packages/tensorflow/python/ops/gen_io_ops.py", line 1504, in restore_v2
name=name)
File "/root/miniconda3/lib/python3.7/site-packages/tensorflow/python/framework/op_def_library.py", line 746, in _apply_op_helper
attrs=attr_protos, op_def=op_def)
File "/root/miniconda3/lib/python3.7/site-packages/tensorflow/python/framework/ops.py", line 3705, in _create_op_internal
op_def=op_def)
File "/root/miniconda3/lib/python3.7/site-packages/tensorflow/python/framework/ops.py", line 2101, in __init__
self._traceback = tf_stack.extract_stack_for_node(self._c_op)
```
## 3. Test tf.io and s3 connectivity
I also use the following code to test if tf.io can access s3
```
import tensorflow as tf
import tensorflow_io as tfio
s3_path = "s3://xxxxx/xxx/checkpoints/checkpoint"
ret = tf.io.read_file(s3_path)
print(ret)
```
And it works fine:
```
2023-08-02 16:48:17.619754: I tensorflow/core/platform/cpu_feature_guard.cc:151] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-08-02 16:48:18.226059: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1525] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 38415 MB memory: -> device: 0, name: A100-SXM4-40GB, pci bus id: 0000:0e:00.0, compute capability: 8.0
tf.Tensor(b'model_checkpoint_path: "model.ckpt-1000"\nall_model_checkpoint_paths: "model.ckpt-0"\nall_model_checkpoint_paths: "model.ckpt-500"\nall_model_checkpoint_paths: "model.ckpt-1000"\n', shape=(), dtype=string)
```
### Standalone code to reproduce the issue
```shell
see above
```
### Relevant log output
```shell
see above
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61449/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61449/timeline | null | null | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61448 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61448/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61448/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61448/events | https://github.com/tensorflow/tensorflow/pull/61448 | 1,832,605,088 | PR_kwDOArmXAs5W-rh_ | 61,448 | Minor typos were fixed | {
"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": 1169364458,
"node_id": "MDU6TGFiZWwxMTY5MzY0NDU4",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:S",
"name": "size:S",
"color": "adafea",
"default": false,
"description": "CL Change Size: Small"
}
] | closed | false | {
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
}
] | null | [] | 2023-08-02T07:29:23 | 2023-08-08T14:43:36 | 2023-08-03T05:57:12 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61448",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61448",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61448.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61448.patch",
"merged_at": "2023-08-03T05:57:12"
} | There were several typos present here in this document which have been fixed in this PR. Thank you! | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61448/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61448/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61447 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61447/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61447/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61447/events | https://github.com/tensorflow/tensorflow/pull/61447 | 1,832,561,969 | PR_kwDOArmXAs5W-iPM | 61,447 | Added new resource from coursera | {
"login": "MahadMuhammad",
"id": 95980383,
"node_id": "U_kgDOBbiLXw",
"avatar_url": "https://avatars.githubusercontent.com/u/95980383?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MahadMuhammad",
"html_url": "https://github.com/MahadMuhammad",
"followers_url": "https://api.github.com/users/MahadMuhammad/followers",
"following_url": "https://api.github.com/users/MahadMuhammad/following{/other_user}",
"gists_url": "https://api.github.com/users/MahadMuhammad/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MahadMuhammad/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MahadMuhammad/subscriptions",
"organizations_url": "https://api.github.com/users/MahadMuhammad/orgs",
"repos_url": "https://api.github.com/users/MahadMuhammad/repos",
"events_url": "https://api.github.com/users/MahadMuhammad/events{/privacy}",
"received_events_url": "https://api.github.com/users/MahadMuhammad/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 | [
"Just a bit curious to know, why this `AMD ROCm -- Community CI Build — rocm CI build failed` CI is failing (in almost all PR's)?",
"Hi @MarkDaoust Can you please review this PR ? Thank you!",
"Hmmm... Nobody's really maintaining this list, so it's not clear which of these are still relevant. \r\n\r\nInstead of handling these case by case, @josbecker, WDYT about the idea of just replacing this list with a link to the certification program and links to searches for TensorFlow in Coursera/Udacity/Edx?",
"Hey @MahadMuhammad, thanks for the PR, but I'l just going to put the site-search links here so we don't have to keep curating this list.",
"Sure thing @MarkDaoust, If this sounds okay to you \r\nShould I raise a new PR, replacing these:\r\nhttps://github.com/tensorflow/tensorflow/blob/62479f9b3e6c54f4dbcf99e4e026450606d7d63a/README.md?plain=1#L169-L178\r\n\r\nwith these:\r\n\r\n```\r\n* Courses from Coursera, [here](https://www.coursera.org/search?query=tensorflow).\r\n* Courses from Udacity, [here](https://www.udacity.com/courses/all?search=tensorflow).\r\n* Courses from Coursera, [here](https://www.edx.org/search?q=tensorflow).\r\n```\r\n\r\nin a different PR :)",
"Thanks, but I already send an internal update. It will make it's way out soon. ",
"Sure thing, no problem :)"
] | 2023-08-02T07:00:26 | 2023-08-24T18:09:33 | 2023-08-24T17:42:20 | NONE | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61447",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61447",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61447.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61447.patch",
"merged_at": null
} | - Added a new course from coursera taught by IBM [Building Deep Learning Models with TensorFlow from Coursera](https://www.coursera.org/learn/building-deep-learning-models-with-tensorflow) | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61447/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61447/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61446 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61446/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61446/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61446/events | https://github.com/tensorflow/tensorflow/issues/61446 | 1,832,449,803 | I_kwDOArmXAs5tOPcL | 61,446 | tensorflow.python.framework.errors_impl.FailedPreconditionError: Attempting to use uninitialized value num_blocks_2/multihead_attention/conv1d_1/kerne | {
"login": "vrunm",
"id": 97465624,
"node_id": "U_kgDOBc81GA",
"avatar_url": "https://avatars.githubusercontent.com/u/97465624?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vrunm",
"html_url": "https://github.com/vrunm",
"followers_url": "https://api.github.com/users/vrunm/followers",
"following_url": "https://api.github.com/users/vrunm/following{/other_user}",
"gists_url": "https://api.github.com/users/vrunm/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vrunm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vrunm/subscriptions",
"organizations_url": "https://api.github.com/users/vrunm/orgs",
"repos_url": "https://api.github.com/users/vrunm/repos",
"events_url": "https://api.github.com/users/vrunm/events{/privacy}",
"received_events_url": "https://api.github.com/users/vrunm/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": 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": "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 @vrunm ,\r\n\r\nIt seems you are using older TF versions. tf.train.Saver is deprecated and use tf.train.Checkpoint instead. Could you please submit a minimal code snippet to reproduce the issue with latest versions with the updated APIs ?\r\n\r\nPlease find the warning below from attached [gist](https://colab.sandbox.google.com/gist/SuryanarayanaY/9d9984f2b1da1115f58e355d22d76e4a/61446.ipynb#scrollTo=4S4yrXCjRZZQ).\r\n\r\n`WARNING:tensorflow:Saver is deprecated, please switch to tf.train.Checkpoint or tf.keras.Model.save_weights for training checkpoints. When executing eagerly variables do not necessarily have unique names, and so the variable.name-based lookups Saver performs are error-prone.`\r\n\r\nThanks !\r\n\r\n",
"I am using tensorflow 1.14 so, this is not the problem in my case. It is depreciated only on tensorflow 2.x, where you have tested. Do you still offer the solution to older tensorflow versions?",
"@vrunm ,\r\n\r\nIf it is of 1.x versions then currently we are not supporting. If possible please migrate to TF2.x versions and preferably latest versions.\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.",
"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/61446\">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/61446\">No</a>\n"
] | 2023-08-02T05:17:09 | 2023-08-12T04:40:56 | 2023-08-12T04:40:53 | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
source
### TensorFlow version
tf 2.8
### Custom code
Yes
### OS platform and distribution
Linux Ubuntu 20.04
### Mobile device
_No response_
### Python version
3.9
### Bazel version
_No response_
### GCC/compiler version
_No response_
### CUDA/cuDNN version
_No response_
### GPU model and memory
_No response_
### Current behavior?
I have trained the [CARCA(Context and Attribute-Aware Sequential Recommendation via Cross-Attention)](https://github.com/ahmedrashed-ml/CARCA) on Video Games Dataset. I saved the session after 1 epoch and try to restore the session since all the Architecture was written using the concepts of the session. I saved the session using tf.train.Saver() .save() method.
```
session_saver = tf.train.Saver(save_relative_paths=True)
session_output_path = os.path.join(args.output_dir, "epochs_"+str(epoch))
if not os.path.isdir(session_output_path):
os.makedirs(session_output_path)# make directory if not exists
session_saver.save(sess, session_output_path+"/carca_model")
print(f"[INFO]: Save the model after epochs: {epoch}")
```
then, I restored session using:
```
saver = tf.train.import_meta_graph(session_dir +"carca_model.meta")
saver.restore(sess, tf.train.latest_checkpoint(session_dir))
```
I have tried to perform prediction on new dataset using restored session sess, But I have encountered Attempting to use uninitialized value error. The full error is:
```
Traceback (most recent call last):
File "/home/zakipoint/miniconda3/envs/sequential_recommendation_carca/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1356, in _do_call
return fn(*args)
File "/home/zakipoint/miniconda3/envs/sequential_recommendation_carca/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1341, in _run_fn
options, feed_dict, fetch_list, target_list, run_metadata)
File "/home/zakipoint/miniconda3/envs/sequential_recommendation_carca/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1429, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.FailedPreconditionError: Attempting to use uninitialized value num_blocks_2/multihead_attention/conv1d_1/kernel_1
[[{{node num_blocks_2/multihead_attention/conv1d_1/kernel_1/read}}]]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "CARCA_train.py", line 1441, in <module>
get_load_model_and_inference(dataset, usernum, itemnum, args, ItemFeatures, UserFeatures, CXTDict)
File "CARCA_train.py", line 1317, in get_load_model_and_inference
predictions = -model.predict(sess, np.ones(args.maxlen)*u, [seq], item_idx, [seqcxt], testitemscxt)
File "CARCA_train.py", line 976, in predict
{self.test_user: u, self.input_seq: seq, self.test_item: item_idx, self.is_training: False, self.seq_cxt:seqcxt, self.test_item_cxt:testitemcxt})
File "/home/zakipoint/miniconda3/envs/sequential_recommendation_carca/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 950, in run
run_metadata_ptr)
File "/home/zakipoint/miniconda3/envs/sequential_recommendation_carca/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1173, in _run
feed_dict_tensor, options, run_metadata)
File "/home/zakipoint/miniconda3/envs/sequential_recommendation_carca/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1350, in _do_run
run_metadata)
File "/home/zakipoint/miniconda3/envs/sequential_recommendation_carca/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1370, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.FailedPreconditionError: Attempting to use uninitialized value num_blocks_2/multihead_attention/conv1d_1/kernel_1
[[node num_blocks_2/multihead_attention/conv1d_1/kernel_1/read (defined at CARCA_train.py:670) ]]
Original stack trace for 'num_blocks_2/multihead_attention/conv1d_1/kernel_1/read':
File "CARCA_train.py", line 1441, in <module>
get_load_model_and_inference(dataset, usernum, itemnum, args, ItemFeatures, UserFeatures, CXTDict)
File "CARCA_train.py", line 1266, in get_load_model_and_inference
model = Model(usernum, itemnum, args, ItemFeatures, UserFeatures, cxt_size = cxt_size ,use_res = True)
File "CARCA_train.py", line 768, in __init__
dropout_rate=args.dropout_rate, is_training=self.is_training)
File "CARCA_train.py", line 670, in feedforward
outputs = tf.layers.conv1d(**params)
File "/home/zakipoint/miniconda3/envs/sequential_recommendation_carca/lib/python3.7/site-packages/tensorflow/python/util/deprecation.py", line 324, in new_func
return func(*args, **kwargs)
File "/home/zakipoint/miniconda3/envs/sequential_recommendation_carca/lib/python3.7/site-packages/tensorflow/python/layers/convolutional.py", line 218, in conv1d
return layer.apply(inputs)
File "/home/zakipoint/miniconda3/envs/sequential_recommendation_carca/lib/python3.7/site-packages/tensorflow/python/keras/engine/base_layer.py", line 1479, in apply
return self.__call__(inputs, *args, **kwargs)
File "/home/zakipoint/miniconda3/envs/sequential_recommendation_carca/lib/python3.7/site-packages/tensorflow/python/layers/base.py", line 537, in __call__
outputs = super(Layer, self).__call__(inputs, *args, **kwargs)
File "/home/zakipoint/miniconda3/envs/sequential_recommendation_carca/lib/python3.7/site-packages/tensorflow/python/keras/engine/base_layer.py", line 591, in __call__
self._maybe_build(inputs)
File "/home/zakipoint/miniconda3/envs/sequential_recommendation_carca/lib/python3.7/site-packages/tensorflow/python/keras/engine/base_layer.py", line 1881, in _maybe_build
self.build(input_shapes)
File "/home/zakipoint/miniconda3/envs/sequential_recommendation_carca/lib/python3.7/site-packages/tensorflow/python/keras/layers/convolutional.py", line 165, in build
dtype=self.dtype)
File "/home/zakipoint/miniconda3/envs/sequential_recommendation_carca/lib/python3.7/site-packages/tensorflow/python/layers/base.py", line 450, in add_weight
**kwargs)
File "/home/zakipoint/miniconda3/envs/sequential_recommendation_carca/lib/python3.7/site-packages/tensorflow/python/keras/engine/base_layer.py", line 384, in add_weight
aggregation=aggregation)
File "/home/zakipoint/miniconda3/envs/sequential_recommendation_carca/lib/python3.7/site-packages/tensorflow/python/training/tracking/base.py", line 663, in _add_variable_with_custom_getter
**kwargs_for_getter)
File "/home/zakipoint/miniconda3/envs/sequential_recommendation_carca/lib/python3.7/site-packages/tensorflow/python/ops/variable_scope.py", line 1496, in get_variable
aggregation=aggregation)
File "/home/zakipoint/miniconda3/envs/sequential_recommendation_carca/lib/python3.7/site-packages/tensorflow/python/ops/variable_scope.py", line 1239, in get_variable
aggregation=aggregation)
File "/home/zakipoint/miniconda3/envs/sequential_recommendation_carca/lib/python3.7/site-packages/tensorflow/python/ops/variable_scope.py", line 562, in get_variable
aggregation=aggregation)
File "/home/zakipoint/miniconda3/envs/sequential_recommendation_carca/lib/python3.7/site-packages/tensorflow/python/ops/variable_scope.py", line 514, in _true_getter
aggregation=aggregation)
File "/home/zakipoint/miniconda3/envs/sequential_recommendation_carca/lib/python3.7/site-packages/tensorflow/python/ops/variable_scope.py", line 929, in _get_single_variable
aggregation=aggregation)
File "/home/zakipoint/miniconda3/envs/sequential_recommendation_carca/lib/python3.7/site-packages/tensorflow/python/ops/variables.py", line 259, in __call__
return cls._variable_v1_call(*args, **kwargs)
File "/home/zakipoint/miniconda3/envs/sequential_recommendation_carca/lib/python3.7/site-packages/tensorflow/python/ops/variables.py", line 220, in _variable_v1_call
shape=shape)
File "/home/zakipoint/miniconda3/envs/sequential_recommendation_carca/lib/python3.7/site-packages/tensorflow/python/ops/variables.py", line 198, in <lambda>
previous_getter = lambda **kwargs: default_variable_creator(None, **kwargs)
File "/home/zakipoint/miniconda3/envs/sequential_recommendation_carca/lib/python3.7/site-packages/tensorflow/python/ops/variable_scope.py", line 2511, in default_variable_creator
shape=shape)
File "/home/zakipoint/miniconda3/envs/sequential_recommendation_carca/lib/python3.7/site-packages/tensorflow/python/ops/variables.py", line 263, in __call__
return super(VariableMetaclass, cls).__call__(*args, **kwargs)
File "/home/zakipoint/miniconda3/envs/sequential_recommendation_carca/lib/python3.7/site-packages/tensorflow/python/ops/variables.py", line 1568, in __init__
shape=shape)
File "/home/zakipoint/miniconda3/envs/sequential_recommendation_carca/lib/python3.7/site-packages/tensorflow/python/ops/variables.py", line 1755, in _init_from_args
self._snapshot = array_ops.identity(self._variable, name="read")
File "/home/zakipoint/miniconda3/envs/sequential_recommendation_carca/lib/python3.7/site-packages/tensorflow/python/util/dispatch.py", line 180, in wrapper
return target(*args, **kwargs)
File "/home/zakipoint/miniconda3/envs/sequential_recommendation_carca/lib/python3.7/site-packages/tensorflow/python/ops/array_ops.py", line 86, in identity
ret = gen_array_ops.identity(input, name=name)
File "/home/zakipoint/miniconda3/envs/sequential_recommendation_carca/lib/python3.7/site-packages/tensorflow/python/ops/gen_array_ops.py", line 4253, in identity
"Identity", input=input, name=name)
File "/home/zakipoint/miniconda3/envs/sequential_recommendation_carca/lib/python3.7/site-packages/tensorflow/python/framework/op_def_library.py", line 788, in _apply_op_helper
op_def=op_def)
File "/home/zakipoint/miniconda3/envs/sequential_recommendation_carca/lib/python3.7/site-packages/tensorflow/python/util/deprecation.py", line 507, in new_func
return func(*args, **kwargs)
File "/home/zakipoint/miniconda3/envs/sequential_recommendation_carca/lib/python3.7/site-packages/tensorflow/python/framework/ops.py", line 3616, in create_op
op_def=op_def)
File "/home/zakipoint/miniconda3/envs/sequential_recommendation_carca/lib/python3.7/site-packages/tensorflow/python/framework/ops.py", line 2005, in __init__
self._traceback = tf_stack.extract_stack()
I have also checked the variables in both the stored session and the session just after training. Both outputs seem similar. I was stuck on this issue for a few days and also tested saving the model using tf.saved_model.builder.SavedModelBuilder() and restoring the model using tf.saved_model.loader.load() but not solved the issue.Currently,I am using tensorflow 1.14
```
### Standalone code to reproduce the issue
```shell
session_saver = tf.train.Saver(save_relative_paths=True)
session_output_path = os.path.join(args.output_dir, "epochs_"+str(epoch))
if not os.path.isdir(session_output_path):
os.makedirs(session_output_path)# make directory if not exists
session_saver.save(sess, session_output_path+"/carca_model")
print(f"[INFO]: Save the model after epochs: {epoch}")
saver = tf.train.import_meta_graph(session_dir +"carca_model.meta")
saver.restore(sess, tf.train.latest_checkpoint(session_dir))
```
### Relevant log output
_No response_ | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61446/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61446/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61445 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61445/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61445/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61445/events | https://github.com/tensorflow/tensorflow/issues/61445 | 1,831,966,261 | I_kwDOArmXAs5tMZY1 | 61,445 | Tflite use USB camera with android image classification app | {
"login": "suyash-narain",
"id": 78979784,
"node_id": "MDQ6VXNlcjc4OTc5Nzg0",
"avatar_url": "https://avatars.githubusercontent.com/u/78979784?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/suyash-narain",
"html_url": "https://github.com/suyash-narain",
"followers_url": "https://api.github.com/users/suyash-narain/followers",
"following_url": "https://api.github.com/users/suyash-narain/following{/other_user}",
"gists_url": "https://api.github.com/users/suyash-narain/gists{/gist_id}",
"starred_url": "https://api.github.com/users/suyash-narain/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/suyash-narain/subscriptions",
"organizations_url": "https://api.github.com/users/suyash-narain/orgs",
"repos_url": "https://api.github.com/users/suyash-narain/repos",
"events_url": "https://api.github.com/users/suyash-narain/events{/privacy}",
"received_events_url": "https://api.github.com/users/suyash-narain/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": 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": ""
},
{
"id": 4989164230,
"node_id": "LA_kwDOArmXAs8AAAABKWCaxg",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/Android",
"name": "Android",
"color": "e99695",
"default": false,
"description": ""
}
] | open | false | {
"login": "miaout17",
"id": 22063,
"node_id": "MDQ6VXNlcjIyMDYz",
"avatar_url": "https://avatars.githubusercontent.com/u/22063?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/miaout17",
"html_url": "https://github.com/miaout17",
"followers_url": "https://api.github.com/users/miaout17/followers",
"following_url": "https://api.github.com/users/miaout17/following{/other_user}",
"gists_url": "https://api.github.com/users/miaout17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/miaout17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/miaout17/subscriptions",
"organizations_url": "https://api.github.com/users/miaout17/orgs",
"repos_url": "https://api.github.com/users/miaout17/repos",
"events_url": "https://api.github.com/users/miaout17/events{/privacy}",
"received_events_url": "https://api.github.com/users/miaout17/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "miaout17",
"id": 22063,
"node_id": "MDQ6VXNlcjIyMDYz",
"avatar_url": "https://avatars.githubusercontent.com/u/22063?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/miaout17",
"html_url": "https://github.com/miaout17",
"followers_url": "https://api.github.com/users/miaout17/followers",
"following_url": "https://api.github.com/users/miaout17/following{/other_user}",
"gists_url": "https://api.github.com/users/miaout17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/miaout17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/miaout17/subscriptions",
"organizations_url": "https://api.github.com/users/miaout17/orgs",
"repos_url": "https://api.github.com/users/miaout17/repos",
"events_url": "https://api.github.com/users/miaout17/events{/privacy}",
"received_events_url": "https://api.github.com/users/miaout17/received_events",
"type": "User",
"site_admin": false
},
{
"login": "pkgoogle",
"id": 132095473,
"node_id": "U_kgDOB9-d8Q",
"avatar_url": "https://avatars.githubusercontent.com/u/132095473?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pkgoogle",
"html_url": "https://github.com/pkgoogle",
"followers_url": "https://api.github.com/users/pkgoogle/followers",
"following_url": "https://api.github.com/users/pkgoogle/following{/other_user}",
"gists_url": "https://api.github.com/users/pkgoogle/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pkgoogle/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pkgoogle/subscriptions",
"organizations_url": "https://api.github.com/users/pkgoogle/orgs",
"repos_url": "https://api.github.com/users/pkgoogle/repos",
"events_url": "https://api.github.com/users/pkgoogle/events{/privacy}",
"received_events_url": "https://api.github.com/users/pkgoogle/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"Hi @suyash-narain, can you try reviewing this documentation to see if it helps you?\r\n\r\nhttps://source.android.com/docs/core/camera\r\nhttps://source.android.com/docs/core/camera/external-usb-cameras\r\nhttps://developer.android.com/reference/android/hardware/camera2/package-summary.html",
"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 @pkgoogle \r\n\r\nI was trying to replicate https://developer.android.com/training/camerax/configuration#camera-selection and add this snippet to select cameraId using camerax api on the official tflite image classification example using kotlin. The build is successful but the app keeps on crashing. \r\nCamerax makes use of camera2 api so i assume i can use camera2 cameramanager to select the cameraId and call that in cameraSelector build using camerafilter?\r\nwhat do you suggest?",
"Hi @suyash-narain,\r\n\r\nIt's hard for me to tell exactly what you are doing, can you share your code? or just the portion which is causing the issue? Glad to hear that your build is successful. Do you have any errors or error logs you can share as well when it crashes? Generally the more information you share with me the faster/more likely I will be able to help you. Thanks for your help!",
"Hi @pkgoogle,\r\n\r\nmy code is sourced from https://github.com/tensorflow/examples/blob/master/lite/examples/image_classification/android/app/src/main/java/org/tensorflow/lite/examples/imageclassification/fragments/CameraFragment.kt \r\nthough I added a camerafilter to search for external camera and use it if found\r\n\r\nThe code is below:\r\n```\r\n/*\r\n * Copyright 2022 The TensorFlow Authors. All Rights Reserved.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n\r\npackage org.tensorflow.lite.examples.imageclassification.fragments\r\n\r\nimport android.annotation.SuppressLint\r\nimport android.content.res.Configuration\r\nimport android.graphics.Bitmap\r\nimport android.hardware.camera2.CameraCharacteristics\r\nimport android.hardware.camera2.CameraManager\r\nimport android.os.Bundle\r\nimport android.util.DisplayMetrics\r\nimport android.util.Log\r\nimport android.view.*\r\nimport android.widget.AdapterView\r\nimport android.widget.Toast\r\nimport androidx.annotation.NonNull\r\nimport androidx.annotation.OptIn\r\nimport androidx.annotation.experimental.Experimental\r\nimport androidx.camera.camera2.interop.Camera2CameraInfo\r\nimport androidx.camera.camera2.interop.ExperimentalCamera2Interop\r\nimport androidx.camera.core.AspectRatio\r\nimport androidx.camera.core.ImageProxy\r\nimport androidx.camera.core.Camera\r\nimport androidx.camera.core.CameraFilter\r\nimport androidx.camera.core.CameraInfo\r\nimport androidx.camera.core.CameraSelector\r\nimport androidx.camera.core.ImageAnalysis\r\nimport androidx.camera.core.Preview\r\nimport androidx.camera.lifecycle.ProcessCameraProvider\r\nimport androidx.core.content.ContextCompat\r\nimport androidx.fragment.app.Fragment\r\nimport androidx.navigation.Navigation\r\nimport androidx.recyclerview.widget.LinearLayoutManager\r\nimport org.tensorflow.lite.examples.imageclassification.ImageClassifierHelper\r\nimport org.tensorflow.lite.examples.imageclassification.MyCameraFilter\r\nimport org.tensorflow.lite.examples.imageclassification.R\r\nimport org.tensorflow.lite.examples.imageclassification.databinding.FragmentCameraBinding\r\nimport org.tensorflow.lite.task.vision.classifier.Classifications\r\nimport java.util.concurrent.ExecutorService\r\nimport java.util.concurrent.Executors\r\n\r\n\r\nclass CameraFragment : Fragment(), ImageClassifierHelper.ClassifierListener {\r\n\r\n companion object {\r\n private const val TAG = \"Image Classifier\"\r\n }\r\n\r\n private var _fragmentCameraBinding: FragmentCameraBinding? = null\r\n private val fragmentCameraBinding\r\n get() = _fragmentCameraBinding!!\r\n\r\n private lateinit var imageClassifierHelper: ImageClassifierHelper\r\n private lateinit var bitmapBuffer: Bitmap\r\n private val classificationResultsAdapter by lazy {\r\n ClassificationResultsAdapter().apply {\r\n updateAdapterSize(imageClassifierHelper.maxResults)\r\n }\r\n }\r\n private var preview: Preview? = null\r\n private var imageAnalyzer: ImageAnalysis? = null\r\n private var camera: Camera? = null\r\n private var cameraProvider: ProcessCameraProvider? = null\r\n\r\n /** Blocking camera operations are performed using this executor */\r\n private lateinit var cameraExecutor: ExecutorService\r\n\r\n override fun onResume() {\r\n super.onResume()\r\n\r\n if (!PermissionsFragment.hasPermissions(requireContext())) {\r\n Navigation.findNavController(requireActivity(), R.id.fragment_container)\r\n .navigate(CameraFragmentDirections.actionCameraToPermissions())\r\n }\r\n }\r\n\r\n override fun onDestroyView() {\r\n _fragmentCameraBinding = null\r\n super.onDestroyView()\r\n\r\n // Shut down our background executor\r\n cameraExecutor.shutdown()\r\n }\r\n\r\n override fun onCreateView(\r\n inflater: LayoutInflater,\r\n container: ViewGroup?,\r\n savedInstanceState: Bundle?\r\n ): View {\r\n _fragmentCameraBinding = FragmentCameraBinding.inflate(inflater, container, false)\r\n\r\n return fragmentCameraBinding.root\r\n }\r\n\r\n @SuppressLint(\"MissingPermission\")\r\n override fun onViewCreated(view: View, savedInstanceState: Bundle?) {\r\n super.onViewCreated(view, savedInstanceState)\r\n\r\n imageClassifierHelper =\r\n ImageClassifierHelper(context = requireContext(), imageClassifierListener = this)\r\n\r\n with(fragmentCameraBinding.recyclerviewResults) {\r\n layoutManager = LinearLayoutManager(requireContext())\r\n adapter = classificationResultsAdapter\r\n }\r\n\r\n cameraExecutor = Executors.newSingleThreadExecutor()\r\n\r\n fragmentCameraBinding.viewFinder.post {\r\n // Set up the camera and its use cases\r\n setUpCamera()\r\n }\r\n\r\n // Attach listeners to UI control widgets\r\n initBottomSheetControls()\r\n }\r\n\r\n // Initialize CameraX, and prepare to bind the camera use cases\r\n private fun setUpCamera() {\r\n val cameraProviderFuture = ProcessCameraProvider.getInstance(requireContext())\r\n cameraProviderFuture.addListener(\r\n {\r\n // CameraProvider\r\n cameraProvider = cameraProviderFuture.get()\r\n\r\n // Build and bind the camera use cases\r\n bindCameraUseCases()\r\n },\r\n ContextCompat.getMainExecutor(requireContext())\r\n )\r\n }\r\n\r\n private fun initBottomSheetControls() {\r\n // When clicked, lower classification score threshold floor\r\n fragmentCameraBinding.bottomSheetLayout.thresholdMinus.setOnClickListener {\r\n if (imageClassifierHelper.threshold >= 0.1) {\r\n imageClassifierHelper.threshold -= 0.1f\r\n updateControlsUi()\r\n }\r\n }\r\n\r\n // When clicked, raise classification score threshold floor\r\n fragmentCameraBinding.bottomSheetLayout.thresholdPlus.setOnClickListener {\r\n if (imageClassifierHelper.threshold < 0.9) {\r\n imageClassifierHelper.threshold += 0.1f\r\n updateControlsUi()\r\n }\r\n }\r\n\r\n // When clicked, reduce the number of objects that can be classified at a time\r\n fragmentCameraBinding.bottomSheetLayout.maxResultsMinus.setOnClickListener {\r\n if (imageClassifierHelper.maxResults > 1) {\r\n imageClassifierHelper.maxResults--\r\n updateControlsUi()\r\n classificationResultsAdapter.updateAdapterSize(size = imageClassifierHelper.maxResults)\r\n }\r\n }\r\n\r\n // When clicked, increase the number of objects that can be classified at a time\r\n fragmentCameraBinding.bottomSheetLayout.maxResultsPlus.setOnClickListener {\r\n if (imageClassifierHelper.maxResults < 3) {\r\n imageClassifierHelper.maxResults++\r\n updateControlsUi()\r\n classificationResultsAdapter.updateAdapterSize(size = imageClassifierHelper.maxResults)\r\n }\r\n }\r\n\r\n // When clicked, decrease the number of threads used for classification\r\n fragmentCameraBinding.bottomSheetLayout.threadsMinus.setOnClickListener {\r\n if (imageClassifierHelper.numThreads > 1) {\r\n imageClassifierHelper.numThreads--\r\n updateControlsUi()\r\n }\r\n }\r\n\r\n // When clicked, increase the number of threads used for classification\r\n fragmentCameraBinding.bottomSheetLayout.threadsPlus.setOnClickListener {\r\n if (imageClassifierHelper.numThreads < 4) {\r\n imageClassifierHelper.numThreads++\r\n updateControlsUi()\r\n }\r\n }\r\n\r\n // When clicked, change the underlying hardware used for inference. Current options are CPU\r\n // GPU, and NNAPI\r\n fragmentCameraBinding.bottomSheetLayout.spinnerDelegate.setSelection(0, false)\r\n fragmentCameraBinding.bottomSheetLayout.spinnerDelegate.onItemSelectedListener =\r\n object : AdapterView.OnItemSelectedListener {\r\n override fun onItemSelected(\r\n parent: AdapterView<*>?,\r\n view: View?,\r\n position: Int,\r\n id: Long\r\n ) {\r\n imageClassifierHelper.currentDelegate = position\r\n updateControlsUi()\r\n }\r\n\r\n override fun onNothingSelected(parent: AdapterView<*>?) {\r\n /* no op */\r\n }\r\n }\r\n\r\n // When clicked, change the underlying model used for object classification\r\n fragmentCameraBinding.bottomSheetLayout.spinnerModel.setSelection(0, false)\r\n fragmentCameraBinding.bottomSheetLayout.spinnerModel.onItemSelectedListener =\r\n object : AdapterView.OnItemSelectedListener {\r\n override fun onItemSelected(\r\n parent: AdapterView<*>?,\r\n view: View?,\r\n position: Int,\r\n id: Long\r\n ) {\r\n imageClassifierHelper.currentModel = position\r\n updateControlsUi()\r\n }\r\n\r\n override fun onNothingSelected(parent: AdapterView<*>?) {\r\n /* no op */\r\n }\r\n }\r\n }\r\n\r\n // Update the values displayed in the bottom sheet. Reset classifier.\r\n private fun updateControlsUi() {\r\n fragmentCameraBinding.bottomSheetLayout.maxResultsValue.text =\r\n imageClassifierHelper.maxResults.toString()\r\n\r\n fragmentCameraBinding.bottomSheetLayout.thresholdValue.text =\r\n String.format(\"%.2f\", imageClassifierHelper.threshold)\r\n fragmentCameraBinding.bottomSheetLayout.threadsValue.text =\r\n imageClassifierHelper.numThreads.toString()\r\n // Needs to be cleared instead of reinitialized because the GPU\r\n // delegate needs to be initialized on the thread using it when applicable\r\n imageClassifierHelper.clearImageClassifier()\r\n }\r\n\r\n override fun onConfigurationChanged(newConfig: Configuration) {\r\n super.onConfigurationChanged(newConfig)\r\n imageAnalyzer?.targetRotation = fragmentCameraBinding.viewFinder.display.rotation\r\n }\r\n\r\n // Declare and bind preview, capture and analysis use cases\r\n @SuppressLint(\"UnsafeOptInUsageError\")\r\n private fun bindCameraUseCases() {\r\n\r\n // CameraProvider\r\n val cameraProvider =\r\n cameraProvider ?: throw IllegalStateException(\"Camera initialization failed.\")\r\n\r\n //CameraSelector - makes assumption that we're only using the back camera\r\n\r\n //val cameraSelector =\r\n // CameraSelector.Builder().requireLensFacing(CameraSelector.LENS_FACING_BACK).build()\r\n// @androidx.annotation.OptIn(ExperimentalCamera2Interop::class)\r\n// val cam2info = cameraProvider.availableCameraInfos.map{ Camera2CameraInfo.from(it)}.sortedByDescending{it.getCameraCharacteristic(CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL)}\r\n// Log.i(TAG, \"[camera id] available cameras:\"+cam2info)\r\n// val cameraSelector = CameraSelector.Builder().addCameraFilter{it.filter {caminfo -> val camid = Camera2CameraInfo.from(caminfo).cameraId\r\n// camid =0}}.build()\r\n // val cameraSelector = CameraSelector.Builder().addCameraFilter{it.filter {camInfo ->\r\n // Camera2CameraInfo.from(camInfo).getCameraCharacteristic(CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL)==CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL_EXTERNAL}}.build()\r\n //cameraSelector = selectCam(cameraProvider)\r\n\r\n val mCameraId = 103\r\n val cameraSelector = CameraSelector.Builder().addCameraFilter(MyCameraFilter(\"$mCameraId\")).build()\r\n\r\n // Preview. Only using the 4:3 ratio because this is the closest to our models\r\n preview =\r\n Preview.Builder()\r\n .setTargetAspectRatio(AspectRatio.RATIO_4_3)\r\n .setTargetRotation(fragmentCameraBinding.viewFinder.display.rotation)\r\n .build()\r\n\r\n // ImageAnalysis. Using RGBA 8888 to match how our models work\r\n imageAnalyzer =\r\n ImageAnalysis.Builder()\r\n .setTargetAspectRatio(AspectRatio.RATIO_4_3)\r\n .setTargetRotation(fragmentCameraBinding.viewFinder.display.rotation)\r\n .setBackpressureStrategy(ImageAnalysis.STRATEGY_KEEP_ONLY_LATEST)\r\n .setOutputImageFormat(ImageAnalysis.OUTPUT_IMAGE_FORMAT_RGBA_8888)\r\n .build()\r\n // The analyzer can then be assigned to the instance\r\n .also {\r\n it.setAnalyzer(cameraExecutor) { image ->\r\n if (!::bitmapBuffer.isInitialized) {\r\n // The image rotation and RGB image buffer are initialized only once\r\n // the analyzer has started running\r\n bitmapBuffer = Bitmap.createBitmap(\r\n image.width,\r\n image.height,\r\n Bitmap.Config.ARGB_8888\r\n )\r\n }\r\n\r\n classifyImage(image)\r\n }\r\n }\r\n\r\n // Must unbind the use-cases before rebinding them\r\n cameraProvider.unbindAll()\r\n\r\n try {\r\n // A variable number of use-cases can be passed here -\r\n // camera provides access to CameraControl & CameraInfo\r\n camera = cameraProvider.bindToLifecycle(this, cameraSelector, preview, imageAnalyzer)\r\n\r\n // Attach the viewfinder's surface provider to preview use case\r\n preview?.setSurfaceProvider(fragmentCameraBinding.viewFinder.surfaceProvider)\r\n } catch (exc: Exception) {\r\n Log.e(TAG, \"Use case binding failed\", exc)\r\n }\r\n }\r\n\r\n private fun getScreenOrientation() : Int {\r\n val outMetrics = DisplayMetrics()\r\n\r\n val display: Display?\r\n if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.R) {\r\n display = requireActivity().display\r\n display?.getRealMetrics(outMetrics)\r\n } else {\r\n @Suppress(\"DEPRECATION\")\r\n display = requireActivity().windowManager.defaultDisplay\r\n @Suppress(\"DEPRECATION\")\r\n display.getMetrics(outMetrics)\r\n }\r\n\r\n return display?.rotation ?: 0\r\n }\r\n\r\n private fun classifyImage(image: ImageProxy) {\r\n // Copy out RGB bits to the shared bitmap buffer\r\n image.use { bitmapBuffer.copyPixelsFromBuffer(image.planes[0].buffer) }\r\n\r\n // Pass Bitmap and rotation to the image classifier helper for processing and classification\r\n imageClassifierHelper.classify(bitmapBuffer, getScreenOrientation())\r\n }\r\n\r\n @SuppressLint(\"NotifyDataSetChanged\")\r\n override fun onError(error: String) {\r\n activity?.runOnUiThread {\r\n Toast.makeText(requireContext(), error, Toast.LENGTH_SHORT).show()\r\n classificationResultsAdapter.updateResults(null)\r\n classificationResultsAdapter.notifyDataSetChanged()\r\n }\r\n }\r\n\r\n @SuppressLint(\"NotifyDataSetChanged\")\r\n override fun onResults(\r\n results: List<Classifications>?,\r\n inferenceTime: Long\r\n ) {\r\n activity?.runOnUiThread {\r\n // Show result on bottom sheet\r\n classificationResultsAdapter.updateResults(results)\r\n classificationResultsAdapter.notifyDataSetChanged()\r\n fragmentCameraBinding.bottomSheetLayout.inferenceTimeVal.text =\r\n String.format(\"%d ms\", inferenceTime)\r\n }\r\n }\r\n}\r\n```\r\nIn above code, cameraid=103 is determined from my android device with a usb camera connected, using the command: 'dumpsys media.camera'\r\n\r\nI created another MyCameraFilter.kt which i use in camerafragment.kt as below:\r\n\r\n```\r\npackage org.tensorflow.lite.examples.imageclassification\r\n\r\nimport android.annotation.SuppressLint\r\nimport android.util.Log\r\nimport androidx.camera.core.CameraFilter\r\nimport androidx.camera.core.CameraInfo\r\nimport androidx.camera.core.impl.CameraInfoInternal\r\nimport androidx.core.util.Preconditions\r\n\r\nclass MyCameraFilter(private val mId: String) : CameraFilter {\r\n\r\n private val TAG = \"CameraIdCameraFilter\"\r\n\r\n @SuppressLint(\"RestrictedApi\")\r\n override fun filter(cameraInfos: MutableList<CameraInfo>): MutableList<CameraInfo> {\r\n\r\n val result = mutableListOf<CameraInfo>()\r\n cameraInfos.forEach {\r\n Preconditions.checkArgument(\r\n it is CameraInfoInternal,\r\n \"the camera info doesn't contain internal implementation \"\r\n )\r\n it as CameraInfoInternal\r\n val id = it.cameraId\r\n Log.d(TAG, \"id: $id\")\r\n\r\n if (id.contains(mId)) {\r\n result.add(it)\r\n }\r\n }\r\n return result\r\n }\r\n}\r\n```\r\n\r\nI tried adding CameraSelector.LENS_FACING_EXTERNAL which is part of @ExperimentalLensFacing but my android studio didn't take this annotation at all. Do you have any suggestions how to move forward? my device only supports usb camera, and since camerax contains camera2, i assume i can use camera2 api with camerax interchangeably. \r\n\r\nHow else can i use a usb camera to perform image classification?\r\n\r\nthanks\r\n\r\n",
"logcat error log on android studio when running the classification app:\r\n\r\n> 2023-07-31 14:19:29.809 744-967 StartingSurfaceDrawer com.android.systemui D fillViewWithIcon surfaceWindowView android.window.SplashScreenView{8f16232 V.E...... ......ID 0,0-0,0}\r\n> 2023-07-31 14:19:29.826 517-537 Compatibil...geReporter system_server D Compat change id reported: 135634846; UID 10077; state: DISABLED\r\n> 2023-07-31 14:19:29.829 517-537 Compatibil...geReporter system_server D Compat change id reported: 177438394; UID 10077; state: DISABLED\r\n> 2023-07-31 14:19:29.829 517-537 Compatibil...geReporter system_server D Compat change id reported: 135772972; UID 10077; state: DISABLED\r\n> 2023-07-31 14:19:29.830 517-537 Compatibil...geReporter system_server D Compat change id reported: 135754954; UID 10077; state: ENABLED\r\n> 2023-07-31 14:19:29.831 517-544 Compatibil...geReporter system_server D Compat change id reported: 143937733; UID 10077; state: ENABLED\r\n> 2023-07-31 14:19:29.850 285-285 Zygote pid-285 D Forked child process 2466\r\n> 2023-07-31 14:19:29.854 517-544 ActivityManager system_server I Start proc 2466:org.tensorflow.lite.examples.imageclassification/u0a77 for pre-top-activity {org.tensorflow.lite.examples.imageclassification/org.tensorflow.lite.examples.imageclassification.MainActivity}\r\n> 2023-07-31 14:19:29.874 2466-2466 Zygote pid-2466 I seccomp disabled by setenforce 0\r\n> 2023-07-31 14:19:29.887 2466-2466 eclassificatio pid-2466 I Late-enabling -Xcheck:jni\r\n> 2023-07-31 14:19:29.952 394-427 adbd adbd I jdwp connection from 2466\r\n> 2023-07-31 14:19:30.084 2466-2466 re-initialized> pid-2466 W type=1400 audit(0.0:1035): avc: granted { execute } for path=\"/data/data/org.tensorflow.lite.examples.imageclassification/code_cache/startup_agents/566ca8ec-agent.so\" dev=\"dm-2\" ino=20224 scontext=u:r:untrusted_app:s0:c77,c256,c512,c768 tcontext=u:object_r:app_data_file:s0:c77,c256,c512,c768 tclass=file app=org.tensorflow.lite.examples.imageclassification\r\n> 2023-07-31 14:19:30.113 2466-2466 eclassificatio pid-2466 W DexFile /data/data/org.tensorflow.lite.examples.imageclassification/code_cache/.studio/instruments-45c255fe.jar is in boot class path but is not in a known location\r\n> 2023-07-31 14:19:30.836 2466-2466 eclassificatio pid-2466 W Current dex file has more than one class in it. Calling RetransformClasses on this class might fail if no transformations are applied to it!\r\n> 2023-07-31 14:19:31.168 2466-2466 eclassificatio pid-2466 W Current dex file has more than one class in it. Calling RetransformClasses on this class might fail if no transformations are applied to it!\r\n> 2023-07-31 14:19:31.173 2466-2466 eclassificatio pid-2466 W Redefining intrinsic method java.lang.Thread java.lang.Thread.currentThread(). This may cause the unexpected use of the original definition of java.lang.Thread java.lang.Thread.currentThread()in methods that have already been compiled.\r\n> 2023-07-31 14:19:31.173 2466-2466 eclassificatio pid-2466 W Redefining intrinsic method boolean java.lang.Thread.interrupted(). This may cause the unexpected use of the original definition of boolean java.lang.Thread.interrupted()in methods that have already been compiled.\r\n> 2023-07-31 14:19:31.221 2466-2466 eclassificatio pid-2466 W Current dex file has more than one class in it. Calling RetransformClasses on this class might fail if no transformations are applied to it!\r\n> 2023-07-31 14:19:31.807 2466-2466 eclassificatio pid-2466 W Current dex file has more than one class in it. Calling RetransformClasses on this class might fail if no transformations are applied to it!\r\n> 1969-12-31 16:00:00.000 0-0 <no-tag> I ---------------------------- PROCESS STARTED (2466) for package org.tensorflow.lite.examples.imageclassification ----------------------------\r\n> 2023-07-31 14:19:32.372 2466-2466 eclassificatio pid-2466 W Current dex file has more than one class in it. Calling RetransformClasses on this class might fail if no transformations are applied to it!\r\n> 2023-07-31 14:19:32.389 2466-2466 Compatibil...geReporter org....examples.imageclassification D Compat change id reported: 171979766; UID 10077; state: ENABLED\r\n> 2023-07-31 14:19:32.796 2466-2466 GraphicsEnvironment org....examples.imageclassification V ANGLE Developer option for 'org.tensorflow.lite.examples.imageclassification' set to: 'default'\r\n> 2023-07-31 14:19:32.797 2466-2466 GraphicsEnvironment org....examples.imageclassification V ANGLE GameManagerService for org.tensorflow.lite.examples.imageclassification: false\r\n> 2023-07-31 14:19:32.798 2466-2466 GraphicsEnvironment org....examples.imageclassification V Neither updatable production driver nor prerelease driver is supported.\r\n> 2023-07-31 14:19:32.812 2466-2466 NetworkSecurityConfig org....examples.imageclassification D No Network Security Config specified, using platform default\r\n> 2023-07-31 14:19:32.814 2466-2466 NetworkSecurityConfig org....examples.imageclassification D No Network Security Config specified, using platform default\r\n> 2023-07-31 14:19:33.691 2466-2466 eclassificatio org....examples.imageclassification W Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (unsupported, reflection, allowed)\r\n> 2023-07-31 14:19:33.695 2466-2466 eclassificatio org....examples.imageclassification W Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (unsupported, reflection, allowed)\r\n> 2023-07-31 14:19:33.701 2466-2477 System org....examples.imageclassification W A resource failed to call close. \r\n> 2023-07-31 14:19:33.827 2466-2466 Compatibil...geReporter org....examples.imageclassification D Compat change id reported: 171228096; UID 10077; state: ENABLED\r\n> 2023-07-31 14:19:33.844 517-1259 TaskPersister system_server E File error accessing recents directory (directory doesn't exist?).\r\n> 2023-07-31 14:19:34.158 2466-2466 tflite org....examples.imageclassification I Initialized TensorFlow Lite runtime.\r\n> 2023-07-31 14:19:34.488 2466-2466 RenderThread org....examples.imageclassification I type=1400 audit(0.0:1036): avc: denied { open } for path=\"/dev/__properties__/u:object_r:vendor_default_prop:s0\" dev=\"tmpfs\" ino=256 scontext=u:r:untrusted_app:s0:c77,c256,c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=1 app=org.tensorflow.lite.examples.imageclassification\r\n> 2023-07-31 14:19:34.488 2466-2466 RenderThread org....examples.imageclassification I type=1400 audit(0.0:1037): avc: denied { getattr } for path=\"/dev/__properties__/u:object_r:vendor_default_prop:s0\" dev=\"tmpfs\" ino=256 scontext=u:r:untrusted_app:s0:c77,c256,c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=1 app=org.tensorflow.lite.examples.imageclassification\r\n> 2023-07-31 14:19:34.488 2466-2466 RenderThread org....examples.imageclassification I type=1400 audit(0.0:1038): avc: denied { map } for path=\"/dev/__properties__/u:object_r:vendor_default_prop:s0\" dev=\"tmpfs\" ino=256 scontext=u:r:untrusted_app:s0:c77,c256,c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=1 app=org.tensorflow.lite.examples.imageclassification\r\n> 2023-07-31 14:19:34.516 199-199 hwservicemanager hwservicemanager I getTransport: Cannot find entry [email protected]::ISurfaceFlingerConfigs/default in either framework or device VINTF manifest.\r\n> 2023-07-31 14:19:34.718 2466-2483 cutils-trace org....examples.imageclassification E Error opening trace file: Permission denied (13)\r\n> 2023-07-31 14:19:34.776 744-965 StartingSurfaceDrawer com.android.systemui D Task start finish, remove starting surface for task 92\r\n> 2023-07-31 14:19:34.776 744-965 StartingSurfaceDrawer com.android.systemui V Removing splash screen window for task: 92\r\n> 2023-07-31 14:19:34.781 517-534 ActivityTaskManager system_server I Displayed org.tensorflow.lite.examples.imageclassification/.MainActivity: +5s8ms\r\n> 2023-07-31 14:19:34.902 2466-2498 CameraManagerGlobal org....examples.imageclassification I Connecting to camera service\r\n> 2023-07-31 14:19:34.915 895-993 ServiceManager cameraserver W Permission failure: android.permission.CAMERA_OPEN_CLOSE_LISTENER from uid=10077 pid=2466\r\n> 2023-07-31 14:19:34.975 2466-2498 CameraRepository org....examples.imageclassification D Added camera: 103\r\n> 2023-07-31 14:19:35.072 517-899 InputManager-JNI system_server W Input channel object '2117409 Splash Screen org.tensorflow.lite.examples.imageclassification (client)' was disposed without first being removed with the input manager!\r\n> 2023-07-31 14:19:35.266 2466-2498 Camera2CameraInfo org....examples.imageclassification I Device Level: INFO_SUPPORTED_HARDWARE_LEVEL_EXTERNAL\r\n> 2023-07-31 14:19:35.281 2466-2498 CameraValidator org....examples.imageclassification D Verifying camera lens facing on device, lensFacingInteger: null\r\n> 2023-07-31 14:19:35.365 2466-2466 CameraIdCameraFilter org....examples.imageclassification D id: 103\r\n> 2023-07-31 14:19:35.479 2466-2466 DeferrableSurface org....examples.imageclassification D Surface created[total_surfaces=1, used_surfaces=0](androidx.camera.core.SurfaceRequest$2@58f49df}\r\n> 2023-07-31 14:19:35.496 2466-2466 CameraOrientationUtil org....examples.imageclassification D getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=0, isOppositeFacing=false, result=0\r\n> 2023-07-31 14:19:35.498 2466-2466 CameraOrientationUtil org....examples.imageclassification D getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=0, isOppositeFacing=false, result=0\r\n> 2023-07-31 14:19:35.502 2466-2466 DeferrableSurface org....examples.imageclassification D Surface created[total_surfaces=2, used_surfaces=0](androidx.camera.core.impl.ImmediateSurface@176268a}\r\n> 2023-07-31 14:19:35.509 2466-2498 Camera2CameraImpl org....examples.imageclassification D {Camera@cf9cb2a[id=103]} Use case androidx.camera.core.Preview-e28319fa-d481-4935-af63-c99e3540a85160384050 INACTIVE\r\n> 2023-07-31 14:19:35.513 2466-2466 CameraOrientationUtil org....examples.imageclassification D getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=0, isOppositeFacing=false, result=0\r\n> 2023-07-31 14:19:35.514 2466-2466 PreviewView org....examples.imageclassification D Surface requested by Preview.\r\n> 2023-07-31 14:19:35.515 2466-2498 UseCaseAttachState org....examples.imageclassification D Active and attached use case: [] for camera: 103\r\n> 2023-07-31 14:19:35.523 2466-2498 Camera2CameraImpl org....examples.imageclassification D {Camera@cf9cb2a[id=103]} Use case androidx.camera.core.ImageAnalysis-8231df21-375a-4253-a87a-2ae8de627879255109251 ACTIVE\r\n> 2023-07-31 14:19:35.524 2466-2498 UseCaseAttachState org....examples.imageclassification D Active and attached use case: [] for camera: 103\r\n> 2023-07-31 14:19:35.532 2466-2498 Camera2CameraImpl org....examples.imageclassification D {Camera@cf9cb2a[id=103]} Use cases [androidx.camera.core.Preview-e28319fa-d481-4935-af63-c99e3540a85160384050, androidx.camera.core.ImageAnalysis-8231df21-375a-4253-a87a-2ae8de627879255109251] now ATTACHED\r\n> 2023-07-31 14:19:35.532 2466-2466 PreviewView org....examples.imageclassification D Preview transformation info updated. TransformationInfo{cropRect=Rect(0, 0 - 960, 720), rotationDegrees=0, targetRotation=0}\r\n> 2023-07-31 14:19:35.533 2466-2466 AndroidRuntime org....examples.imageclassification D Shutting down VM\r\n\r\n> --------- beginning of crash\r\n> 2023-07-31 14:19:35.535 2466-2498 UseCaseAttachState org....examples.imageclassification D All use case: [androidx.camera.core.ImageAnalysis-8231df21-375a-4253-a87a-2ae8de627879255109251, androidx.camera.core.Preview-e28319fa-d481-4935-af63-c99e3540a85160384050] for camera: 103\r\n> 2023-07-31 14:19:35.536 2466-2466 AndroidRuntime org....examples.imageclassification E FATAL EXCEPTION: main\r\n> Process: org.tensorflow.lite.examples.imageclassification, PID: 2466\r\n> java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference\r\n> \tat androidx.camera.view.PreviewView$1.lambda$onSurfaceRequested$1$androidx-camera-view-PreviewView$1(PreviewView.java:203)\r\n> \tat androidx.camera.view.PreviewView$1$$ExternalSyntheticLambda0.onTransformationInfoUpdate(Unknown Source:6)\r\n> \tat androidx.camera.core.SurfaceRequest.lambda$setTransformationInfoListener$7(SurfaceRequest.java:456)\r\n> \tat androidx.camera.core.SurfaceRequest$$ExternalSyntheticLambda3.run(Unknown Source:4)\r\n> \tat android.os.Handler.handleCallback(Handler.java:938)\r\n> \tat android.os.Handler.dispatchMessage(Handler.java:99)\r\n> \tat android.os.Looper.loopOnce(Looper.java:201)\r\n> \tat android.os.Looper.loop(Looper.java:288)\r\n> \tat android.app.ActivityThread.main(ActivityThread.java:7839)\r\n> \tat java.lang.reflect.Method.invoke(Native Method)\r\n> \tat com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)\r\n> \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)\r\n> 2023-07-31 14:19:35.539 2466-2498 UseCaseAttachState org....examples.imageclassification D Active and attached use case: [androidx.camera.core.ImageAnalysis-8231df21-375a-4253-a87a-2ae8de627879255109251] for camera: 103\r\n> 2023-07-31 14:19:35.542 517-899 ActivityTaskManager system_server W Force finishing activity org.tensorflow.lite.examples.imageclassification/.MainActivity\r\n> 2023-07-31 14:19:35.548 517-2502 DropBoxManagerService system_server I add tag=data_app_crash isTagEnabled=true flags=0x2\r\n> 2023-07-31 14:19:35.555 2466-2498 Camera2CameraImpl org....examples.imageclassification D {Camera@cf9cb2a[id=103]} Resetting Capture Session\r\n> 2023-07-31 14:19:35.558 2466-2498 Camera2CameraImpl org....examples.imageclassification D {Camera@cf9cb2a[id=103]} Releasing session in state INITIALIZED\r\n> 2023-07-31 14:19:35.562 2466-2498 Camera2CameraImpl org....examples.imageclassification D {Camera@cf9cb2a[id=103]} Attempting to force open the camera.\r\n> 2023-07-31 14:19:35.564 2466-2498 CameraStateRegistry org....examples.imageclassification D tryOpenCamera(Camera@cf9cb2a[id=103]) [Available Cameras: 1, Already Open: false (Previous state: null)] --> SUCCESS\r\n> 2023-07-31 14:19:35.570 2466-2466 Process org....examples.imageclassification I Sending signal. PID: 2466 SIG: 9\r\n> ---------------------------- PROCESS ENDED (2466) for package org.tensorflow.lite.examples.imageclassification ----------------------------\r\n> 2023-07-31 14:19:35.666 517-899 ActivityManager system_server I Process org.tensorflow.lite.examples.imageclassification (pid 2466) has died: fg TOP \r\n> 2023-07-31 14:19:35.668 517-545 libprocessgroup system_server I Successfully killed process cgroup uid 10077 pid 2466 in 0ms\r\n> 2023-07-31 14:19:35.670 285-285 Zygote pid-285 I Process 2466 exited due to signal 9 (Killed)\r\n> 2023-07-31 14:19:35.670 517-921 WindowManager system_server I WIN DEATH: Window{d0379fb u0 org.tensorflow.lite.examples.imageclassification/org.tensorflow.lite.examples.imageclassification.MainActivity}\r\n> 2023-07-31 14:19:35.671 517-921 InputManager-JNI system_server W Input channel object 'd0379fb org.tensorflow.lite.examples.imageclassification/org.tensorflow.lite.examples.imageclassification.MainActivity (client)' was disposed without first being removed with the input manager!\r\n> 2023-07-31 14:19:35.687 343-343 BpTransact...edListener surfaceflinger E Failed to transact (-32)\r\n> 2023-07-31 14:19:35.700 517-899 ActivityTaskManager system_server W Can't find TaskDisplayArea to determine support for multi window. Task id=92 attached=false\r\n> 2023-07-31 14:19:35.701 517-899 ActivityTaskManager system_server W Can't find TaskDisplayArea to determine support for multi window. Task id=92 attached=false\r\n> 2023-07-31 14:19:35.730 517-537 ActivityManager system_server W setHasOverlayUi called on unknown pid: 2466\r\n> 2023-07-31 14:19:35.798 1109-1153 OpenGLRenderer com.android.launcher3 I Davey! duration=99848ms; Flags=1, FrameTimelineVsyncId=7224, IntendedVsync=236882707405, Vsync=236882707405, InputEventId=0, HandleInputStart=236883940860, AnimationStart=236883945013, PerformTraversalsStart=236883948167, DrawStart=236907705936, FrameDeadline=236916091065, FrameInterval=236883932629, FrameStartTime=16691830, SyncQueued=236914034936, SyncStart=236914191167, IssueDrawCommandsStart=236914506936, SwapBuffers=236919260321, FrameCompleted=336731089942, DequeueBufferDuration=178385, QueueBufferDuration=1787154, GpuCompleted=336731089942, SwapBuffersCompleted=236929178167, DisplayPresentTime=168144668009, \r\n> 2023-07-31 14:19:35.803 517-527 system_server system_server I NativeAlloc concurrent copying GC freed 76952(4326KB) AllocSpace objects, 17(452KB) LOS objects, 37% free, 10191KB/15MB, paused 2.919ms,344us total 204.204ms\r\n> 2023-07-31 14:19:35.848 1109-1153 OpenGLRenderer com.android.launcher3 I Davey! duration=99807ms; Flags=0, FrameTimelineVsyncId=7237, IntendedVsync=236966153846, Vsync=236966153846, InputEventId=0, HandleInputStart=236967284475, AnimationStart=236967287013, PerformTraversalsStart=236967289936, DrawStart=236967508013, FrameDeadline=236999537506, FrameInterval=236967278936, FrameStartTime=16691830, SyncQueued=236967943783, SyncStart=236968116167, IssueDrawCommandsStart=236968318706, SwapBuffers=236975167321, FrameCompleted=336774274327, DequeueBufferDuration=35230, QueueBufferDuration=1930308, GpuCompleted=336774274327, SwapBuffersCompleted=236977859629, DisplayPresentTime=168161398317, \r\n> 2023-07-31 14:19:36.048 517-537 ActivityTaskManager system_server W Activity top resumed state loss timeout for ActivityRecord{55231d3 u0 org.tensorflow.lite.examples.imageclassification/.MainActivity t-1 f}}\r\n> 2023-07-31 14:19:36.945 284-322 netd netd I setProcSysNet(4, 2, wlan0, retrans_time_ms, 750) <0.75ms>\r\n> 2023-07-31 14:19:36.946 284-322 netd netd I setProcSysNet(4, 2, wlan0, ucast_solicit, 10) <0.30ms>\r\n> 2023-07-31 14:19:36.948 284-322 netd netd I setProcSysNet(6, 2, wlan0, retrans_time_ms, 750) <0.44ms>\r\n> 2023-07-31 14:19:36.950 284-322 netd netd I setProcSysNet(6, 2, wlan0, ucast_solicit, 10) <0.43ms>\r\n> 2023-07-31 14:19:38.698 517-1259 TaskPersister system_server E File error accessing recents directory (directory doesn't exist?).",
"Hi, @suyash-narain, those are the two ways that makes sense, LENS_FACING_EXTERNAL is experimental so sometimes it doesn't always work. You did say you try it, was there a building error? That information can be helpful.\r\n\r\nHi, @miaout17, can you please take a look? Thanks. \r\n\r\n",
"Hi @pkgoogle @miaout17 \r\n\r\nandroid studio doesn't take LENS_FACING_EXTERNAL and its corresponding annotation. It shows it as an error (marking with red font and a red underline) before the build. So couldn't build with it. \r\n\r\nusing val cameraSelector = CameraSelector.Builder().addCameraFilter(MyCameraFilter(\"$mCameraId\")).build() doesn't lead to any build error, but the app crashes at runtime, and camera is not detected as could be seen from the above posted error log\r\n"
] | 2023-08-01T20:15:26 | 2023-08-21T21:36:08 | null | NONE | null | null | null |
### System information
- **Have I written custom code (as opposed to using a stock example script
provided in TensorFlow)**: No
- **TensorFlow installed from (source or binary)**: binary
- **TensorFlow version (use command below)**: 2.10
- **Python version**: 3.10
### Describe the problem
I am new to android and building the tflite image classification app in tensorflow/examples using android studio. I want to make use of a USB camera instead of the mobile back camera to detect the images for classification. How can I achieve that?
What changes do i need to make in CameraFragment.kt to make sure the app can search for a connected USB camera as well? currently the default app only searches for back camera as in this code https://github.com/tensorflow/examples/blob/0bbf4fe43fbf41b7174b9ce4a64d69bd33aadd21/lite/examples/image_classification/android/app/src/main/java/org/tensorflow/lite/examples/imageclassification/fragments/CameraFragment.kt
thanks
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61445/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/61445/timeline | null | null | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61444 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61444/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61444/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61444/events | https://github.com/tensorflow/tensorflow/pull/61444 | 1,831,621,380 | PR_kwDOArmXAs5W7Y8O | 61,444 | Added required packages valid version check. | {
"login": "ZappaBoy",
"id": 45740621,
"node_id": "MDQ6VXNlcjQ1NzQwNjIx",
"avatar_url": "https://avatars.githubusercontent.com/u/45740621?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZappaBoy",
"html_url": "https://github.com/ZappaBoy",
"followers_url": "https://api.github.com/users/ZappaBoy/followers",
"following_url": "https://api.github.com/users/ZappaBoy/following{/other_user}",
"gists_url": "https://api.github.com/users/ZappaBoy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ZappaBoy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ZappaBoy/subscriptions",
"organizations_url": "https://api.github.com/users/ZappaBoy/orgs",
"repos_url": "https://api.github.com/users/ZappaBoy/repos",
"events_url": "https://api.github.com/users/ZappaBoy/events{/privacy}",
"received_events_url": "https://api.github.com/users/ZappaBoy/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1169364458,
"node_id": "MDU6TGFiZWwxMTY5MzY0NDU4",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:S",
"name": "size:S",
"color": "adafea",
"default": false,
"description": "CL Change Size: Small"
}
] | closed | false | {
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).\n\nView this [failed invocation](https://github.com/tensorflow/tensorflow/pull/61444/checks?check_run_id=15525632648) 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.",
"> This seems like a no-op, after you inline all definitions\r\n\r\nHi @mihaimaruseac and thanks for your time,\r\nAs you can see in the issue https://github.com/tensorflow/tensorflow/issues/61434, this avoid errors in the resolution of dependencies if the version of the package is something different from `major.minor.patch` versioning. \r\nI encountered this issue using `poetry` while installing the `tensorflow-rocm` package that use the `major.minor.patch.rocm-version` semantic versioning e.g. `2.12.0.560`. \r\nMy changes simply ensure the version of the `REQUIRED_PACKAGES` to the `major.minor.parch` versioning to solve the issue. This solves dependency resolution problems even when using versions like `major.minor.patch.build`.\r\n\r\nI hope this makes it clearer.",
"But how does this setup.py translate to the rocm variant?",
"> But how does this setup.py translate to the rocm variant?\r\n\r\nThis doesn't directly affect the tensorflow forks but AFAIK forks like `tensorflow-rocm` sync some changes with the main `tensorflow` branches so these changes will affect them when they will sync.\r\nAlso, this can be helpful for future forks.\r\n\r\nHowever, what do you mean by \"translate\" specifically?\r\nIf you mean how this can benefit the rocm variant the answer is that in `tensorflow-rocm` variant the version is something like `2.12.0.560`, so in the actual state, both `FAKE_REQUIRED_PACKAGES` and `collaborator_build REQUIRED_PACKAGES` versions are still `2.12.0.560`. As you can check packages like `tensorflow-intel` (that is a `FAKE_REQUIRED_PACKAGE`) don't have a `2.12.0.560` version but only the `2.12.0` version. \r\nSo the proposed changes simply ensure that the version of these packages is a `major.minor.patch` version that matches an existent packages version of the `REQUIRED_PACKAGES`.\r\n\r\nI hope I have answered your doubts correctly, however, If you feel that this is not an issue directly related to `tensorflow` I imagine that forks can independently manage that issue.\r\n",
"I don't understand how TF's `setup.py` is used by the other variants. Perhaps the change should actually occur on the `tensorflow-rocm` repo instead.",
"> I don't understand how TF's `setup.py` is used by the other variants. Perhaps the change should actually occur on the `tensorflow-rocm` repo instead.\r\n\r\nThe `setup.py` is used in other tensorflow variant to create their own package version (e.g. [tensorflow-rocm](https://pypi.org/project/tensorflow-rocm/)). If the `setup.py` contains a non existent version of some packages this obviously run into an issues while installing the package with some package manager that check that like `poetry`.\r\n\r\nHowever, I may have misunderstood this behavior.\r\n\r\nPlease let me know if I'm in error.\r\n",
"The ROCM `setup.py` has\r\n\r\n```py\r\n# Append the ROCM version to the version string\r\nif project_name.endswith('_rocm'):\r\n _VERSION = _VERSION + \".\" + str(_rocm_version(_get_rocm_install_path()).replace('.', ''))\r\n```\r\n\r\nI think that is the part that needs to change, not in TF. From TF's point of view, this PR is a no-op.",
"> The ROCM `setup.py` has\r\n> \r\n> ```python\r\n> # Append the ROCM version to the version string\r\n> if project_name.endswith('_rocm'):\r\n> _VERSION = _VERSION + \".\" + str(_rocm_version(_get_rocm_install_path()).replace('.', ''))\r\n> ```\r\n> \r\n> I think that is the part that needs to change, not in TF. From TF's point of view, this PR is a no-op.\r\n\r\nOk @mihaimaruseac, thanks for your time. I opened a PR on `tensorflow-rocm` to fix that. \r\nI think that this issue can now be closed.",
"> tensorflow-rocm\r\n\r\nHi @ZappaBoy Shall we go ahead and close this PR since you created [PR#2174](https://github.com/ROCmSoftwarePlatform/tensorflow-upstream/pull/2174) on tensorflow-rocm repo to fix that. Please confirm. Thank you!",
"> Shall we go ahead and close this PR since you created [PR#2174](https://github.com/ROCmSoftwarePlatform/tensorflow-upstream/pull/2174) on tensorflow-rocm repo to fix that. Please confirm. Thank you!\r\n\r\nSure, as I said before I think that this issue can be closed. Thanks for your support and have a nice day."
] | 2023-08-01T16:15:37 | 2023-08-27T13:08:11 | 2023-08-27T13:08:05 | NONE | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61444",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61444",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61444.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61444.patch",
"merged_at": null
} | These minimal changes will ensure that both `FAKE_REQUIRED_PACKAGES` and `collaborator_build REQUIRED_PACKAGES` versions are valid regardless of the actual package version considering at most the patch version.
This will fix the dependency check while installing the tensorflow-like packages like `tensorflow-rocm` using some package managers like `poetry` solving the issue I opened: https://github.com/tensorflow/tensorflow/issues/61434.
If this PR will be accepted I think that the same changes can be done also in previous versions.
However I don't know if your policies allow the PR directly in master, if some changes are needed feel free to notice that to me. I'll be glad to help. | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61444/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61444/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61443 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61443/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61443/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61443/events | https://github.com/tensorflow/tensorflow/pull/61443 | 1,831,574,350 | PR_kwDOArmXAs5W7Osm | 61,443 | [Linaro:ARM_CI] Clean bazel cache to save time removing container | {
"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": 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 | [
"This was no help, so closing."
] | 2023-08-01T15:51:50 | 2023-08-02T11:46:22 | 2023-08-02T11:46:15 | CONTRIBUTOR | null | true | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61443",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61443",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61443.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61443.patch",
"merged_at": null
} | Remove files generated during test instead of leaving them to be cleaned up with the container | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61443/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61443/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61442 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61442/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61442/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61442/events | https://github.com/tensorflow/tensorflow/issues/61442 | 1,831,119,461 | I_kwDOArmXAs5tJKpl | 61,442 | [TfLite] unresolved TfLiteGPUDelegateV2Create with Visual Studio | {
"login": "misterBart",
"id": 54583863,
"node_id": "MDQ6VXNlcjU0NTgzODYz",
"avatar_url": "https://avatars.githubusercontent.com/u/54583863?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/misterBart",
"html_url": "https://github.com/misterBart",
"followers_url": "https://api.github.com/users/misterBart/followers",
"following_url": "https://api.github.com/users/misterBart/following{/other_user}",
"gists_url": "https://api.github.com/users/misterBart/gists{/gist_id}",
"starred_url": "https://api.github.com/users/misterBart/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/misterBart/subscriptions",
"organizations_url": "https://api.github.com/users/misterBart/orgs",
"repos_url": "https://api.github.com/users/misterBart/repos",
"events_url": "https://api.github.com/users/misterBart/events{/privacy}",
"received_events_url": "https://api.github.com/users/misterBart/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 404586594,
"node_id": "MDU6TGFiZWw0MDQ1ODY1OTQ=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20tensorflower",
"name": "stat:awaiting tensorflower",
"color": "f4b400",
"default": false,
"description": "Status - Awaiting response from tensorflower"
},
{
"id": 473172988,
"node_id": "MDU6TGFiZWw0NzMxNzI5ODg=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug",
"name": "type:bug",
"color": "159b2e",
"default": false,
"description": "Bug"
},
{
"id": 473173351,
"node_id": "MDU6TGFiZWw0NzMxNzMzNTE=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:build/install",
"name": "type:build/install",
"color": "159b2e",
"default": false,
"description": "Build and install issues"
},
{
"id": 750616506,
"node_id": "MDU6TGFiZWw3NTA2MTY1MDY=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:lite",
"name": "comp:lite",
"color": "0052cc",
"default": false,
"description": "TF Lite related issues"
},
{
"id": 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"
}
] | open | false | {
"login": "terryheo",
"id": 2908505,
"node_id": "MDQ6VXNlcjI5MDg1MDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/2908505?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/terryheo",
"html_url": "https://github.com/terryheo",
"followers_url": "https://api.github.com/users/terryheo/followers",
"following_url": "https://api.github.com/users/terryheo/following{/other_user}",
"gists_url": "https://api.github.com/users/terryheo/gists{/gist_id}",
"starred_url": "https://api.github.com/users/terryheo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/terryheo/subscriptions",
"organizations_url": "https://api.github.com/users/terryheo/orgs",
"repos_url": "https://api.github.com/users/terryheo/repos",
"events_url": "https://api.github.com/users/terryheo/events{/privacy}",
"received_events_url": "https://api.github.com/users/terryheo/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "terryheo",
"id": 2908505,
"node_id": "MDQ6VXNlcjI5MDg1MDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/2908505?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/terryheo",
"html_url": "https://github.com/terryheo",
"followers_url": "https://api.github.com/users/terryheo/followers",
"following_url": "https://api.github.com/users/terryheo/following{/other_user}",
"gists_url": "https://api.github.com/users/terryheo/gists{/gist_id}",
"starred_url": "https://api.github.com/users/terryheo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/terryheo/subscriptions",
"organizations_url": "https://api.github.com/users/terryheo/orgs",
"repos_url": "https://api.github.com/users/terryheo/repos",
"events_url": "https://api.github.com/users/terryheo/events{/privacy}",
"received_events_url": "https://api.github.com/users/terryheo/received_events",
"type": "User",
"site_admin": false
},
{
"login": "pkgoogle",
"id": 132095473,
"node_id": "U_kgDOB9-d8Q",
"avatar_url": "https://avatars.githubusercontent.com/u/132095473?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pkgoogle",
"html_url": "https://github.com/pkgoogle",
"followers_url": "https://api.github.com/users/pkgoogle/followers",
"following_url": "https://api.github.com/users/pkgoogle/following{/other_user}",
"gists_url": "https://api.github.com/users/pkgoogle/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pkgoogle/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pkgoogle/subscriptions",
"organizations_url": "https://api.github.com/users/pkgoogle/orgs",
"repos_url": "https://api.github.com/users/pkgoogle/repos",
"events_url": "https://api.github.com/users/pkgoogle/events{/privacy}",
"received_events_url": "https://api.github.com/users/pkgoogle/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"Hi @misterBart, I'm in the process of replicating but am running into Windows installation restrictions, just letting you know I am looking into this.",
"Thanks, I appreciate your message that you're working on it.\r\nIn the meantime I tried several things, among others I employed the Clang compiler within Visual Studio. But everything I tried still gives me the `unresolved external symbol' error.",
"Update: the program works after removing macro `TFL_CAPI_EXPORT` (= `__declspec(dllimport)`) before the function declaration `TfLiteGpuDelegateV2Create` and subsequently rebuild TfLite.\r\nI never heard of `__delcapsec(dllimport)` before, and after some Googling I get the impression that it is a performance optimization for loading a dynamic library.\r\nThe first question is of course why this caused an `unresolved external` error in Windows / Visual Studio (and not in Linux with gcc). \r\nThe second question is whether my fix by removing `TFL_CAPI_EXPORT` is a proper fix.\r\nDo you/anybody have thoughts about this?",
"Hi @terryheo, can you please take a look? Thanks.",
"`TFLITE_ENABLE_GPU` isn't supported for Windows.\r\n\r\nhttps://www.tensorflow.org/lite/guide/build_cmake#available_options_to_build_tensorflow_lite",
"In my experience, the documentation often lags behind the implementation.\r\nThe GPU code contain Windows-specific code (e.g. opencl_wrapper.cc), that wouldn't make sense if Windows is not supported.\r\nThe GPU code contains a delegate for iOS' Metal, also unmentioned in the documentation."
] | 2023-08-01T12:02:55 | 2023-08-12T07:19:48 | null | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
source
### TensorFlow version
2.13
### Custom code
No
### OS platform and distribution
Windows 10 Pro
### Mobile device
_No response_
### Python version
3.11.4
### Bazel version
_No response_
### GCC/compiler version
Microsoft Visual Studio 2022 C++ compiler
### CUDA/cuDNN version
_No response_
### GPU model and memory
_No response_
### Current behavior?
I built TfLite with `-DTFLITE_ENABLE_GPU=ON`.
I tried to test TfLite with GPU, but the minimal-working C++ example for the GPU from https://www.tensorflow.org/lite/android/delegates/gpu_native does not work under Windows 10 with Visual Studio 2022.
I receive the linker error `error LNK2001: unresolved external symbol __imp_TfLiteGpuDelegateV2Create`.
I ran `dumpbin` on `tensorflow-lite.lib` and it says a static fuction `TfLiteGPUDelegateV2Create` does exist.
I tried a different Windows 10 machine with Visual Studio 2019, but I receive the same linker error.
I got the example working under Ubuntu Linux 23.04 with gcc12 using the same build commands (except from replacing the Windows specifics with Linux specifics of course).
### Standalone code to reproduce the issue
```shell
Build commands (in Command Prompt):
git clone https://github.com/tensorflow/tensorflow tensorflow_src
mkdir tflite_release_x64
cd tflite_release_x64
cmake -G "Visual Studio 17" -A x64 -DTFLITE_ENABLE_GPU=ON ..\tensorflow_src\tensorflow\lite
cmake --build . -j 16 --config Release
C++ code (https://www.tensorflow.org/lite/android/delegates/gpu_native):
#include "tensorflow/lite/model.h"
#include "tensorflow/lite/interpreter.h"
#include "tensorflow/lite/kernels/register.h"
#include "tensorflow/lite/delegates/gpu/delegate.h"
#include <iostream>
using namespace tflite;
int main() {
// Set up interpreter.
auto model = FlatBufferModel::BuildFromFile("C:/Users/bartp/source/lite-model_deeplabv3_1_metadata_2.tflite");
if (!model) return false;
ops::builtin::BuiltinOpResolver op_resolver;
std::unique_ptr<Interpreter> interpreter;
InterpreterBuilder(*model, op_resolver)(&interpreter);
auto* delegate = TfLiteGpuDelegateV2Create(/*default options=*/nullptr);
std::cout << "Done\n";
return 0;
}
```
### Relevant log output
```shell
1>------ Build started: Project: MweTfLite2.13Gpu, Configuration: Release x64 ------
1>Main.cpp
1>Main.obj : error LNK2001: unresolved external symbol __imp_TfLiteGpuDelegateV2Create
1>C:\Users\bartp\source\MweTfLite2.13Gpu\x64\Release\MweTfLite2.13Gpu.exe : fatal error LNK1120: 1 unresolved externals
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61442/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61442/timeline | null | null | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61441 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61441/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61441/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61441/events | https://github.com/tensorflow/tensorflow/issues/61441 | 1,831,082,323 | I_kwDOArmXAs5tJBlT | 61,441 | try self.interpreter!.invoke() App got crashed on this line | {
"login": "ShiviAGL",
"id": 108125826,
"node_id": "U_kgDOBnHegg",
"avatar_url": "https://avatars.githubusercontent.com/u/108125826?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ShiviAGL",
"html_url": "https://github.com/ShiviAGL",
"followers_url": "https://api.github.com/users/ShiviAGL/followers",
"following_url": "https://api.github.com/users/ShiviAGL/following{/other_user}",
"gists_url": "https://api.github.com/users/ShiviAGL/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ShiviAGL/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ShiviAGL/subscriptions",
"organizations_url": "https://api.github.com/users/ShiviAGL/orgs",
"repos_url": "https://api.github.com/users/ShiviAGL/repos",
"events_url": "https://api.github.com/users/ShiviAGL/events{/privacy}",
"received_events_url": "https://api.github.com/users/ShiviAGL/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": 4989164736,
"node_id": "LA_kwDOArmXAs8AAAABKWCcwA",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/iOS",
"name": "iOS",
"color": "5E69E3",
"default": false,
"description": ""
}
] | 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 | [
" try self.interpreter!.copy(inputData, toInputAt: 0)\r\n try self.interpreter!.invoke() // App got crashed on this line without any log(Thread 1: EXC_BAD_ACCESS (code=1, address=0x32e110180))\r\n",
"Even Tensor were allocated still getting crash.",
"@ShiviAGL,\r\nCould you please provide the complete standalone code & the tensorflow version you are using and helps us to analyse the issue in an effective way. Thank you!",
"Hi TilakRayl \r\nThanks for reply :\r\nVersion is not mention only used pod 'TensorFlowLiteSwift'\r\n\r\n //TFLITE Model parameter example\r\n let batchSize = 1\r\n let inputChannels = 3\r\n let inputWidth = 640 \r\n let inputHeight = 640\r\n \r\n private var inputTensor: Tensor?\r\n private var outputTensor: Tensor?\r\n\r\n func checkTfliteImage (imageTocheck : UIImage) -> (Bool){\r\n \r\n let myimage: UIImage = imageTocheck.resized(to: CGSizeMake(CGFloat(inputWidth), CGFloat(inputHeight)))\r\n \r\n let image : CGImage = myimage.cgImage!\r\n\r\n guard let context = CGContext(\r\n data: nil,\r\n width: image.width, height: image.height,\r\n bitsPerComponent: 8, bytesPerRow: image.width * 4,\r\n space: CGColorSpaceCreateDeviceRGB(),\r\n bitmapInfo: CGImageAlphaInfo.noneSkipFirst.rawValue\r\n ) else {\r\n return false\r\n }\r\n\r\n context.draw(image, in: CGRect(x: 0, y: 0, width: image.width, height: image.height))\r\n guard let imageData = context.data else { return false }\r\n\r\n var inputData = Data()\r\n for row in 0 ..< inputWidth { \r\n for col in 0 ..< inputHeight {\r\n let offset = 4 * (col * context.width + row)\r\n // (Ignore offset 0, the unused alpha channel)\r\n var red = imageData.load(fromByteOffset: offset+1, as: UInt8.self)\r\n var green = imageData.load(fromByteOffset: offset+2, as: UInt8.self)\r\n var blue = imageData.load(fromByteOffset: offset+3, as: UInt8.self)\r\n\r\n inputData.append(&red, count: 1)\r\n inputData.append(&green, count: 1)\r\n inputData.append(&blue, count: 1)\r\n }\r\n }\r\n do {\r\n try self.interpreter!.copy(inputData, toInputAt: 0)\r\n try self.interpreter!.invoke()\r\n var output = try interpreter!.output(at: 0)\r\n let boundingBoxes =\r\n UnsafeMutableBufferPointer<Float32>.allocate(capacity: 4 * 40)\r\n output.data.copyBytes(to: boundingBoxes)\r\n\r\n output = try interpreter!.output(at: 1)\r\n let labels =\r\n UnsafeMutableBufferPointer<Float32>.allocate(capacity: 40)\r\n output.data.copyBytes(to: labels)\r\n\r\n output = try interpreter!.output(at: 2)\r\n let probabilities =\r\n UnsafeMutableBufferPointer<Float32>.allocate(capacity: 40)\r\n output.data.copyBytes(to: probabilities)\r\n\r\n guard let labelPath = Bundle.main.path(\r\n forResource: \"labels\",\r\n ofType: \"txt\"\r\n ) else { return true }\r\n let fileContents = try? String(contentsOfFile: labelPath)\r\n guard let labelText = fileContents?.components(separatedBy: \"\\n\") else { return true }\r\n\r\n for i in 0 ..< 40 {\r\n let top = boundingBoxes[0 * i]\r\n let left = boundingBoxes[1 * i]\r\n let bottom = boundingBoxes[2 * i]\r\n let right = boundingBoxes[3 * i]\r\n\r\n let labelIdx = Int(labels[i])\r\n let label = labelText[labelIdx]\r\n let confidence = probabilities[i]\r\n\r\n if confidence > 0.66 {\r\n print(\"Object found: \\(label) (confidence: \\(confidence))\")\r\n print(\" Top-left: (\\(left),\\(top))\")\r\n print(\" Bottom-right: (\\(right),\\(bottom))\")\r\n }\r\n }\r\n\r\n try self.interpreter!.allocateTensors()\r\n } catch {\r\n print(\"error in recognition \\(error.localizedDescription)\")\r\n //error in recognition Provided data count 150528 must match the required count 1228800.\r\n\r\n }\r\n return false\r\n }\r\n",
"Hi @ShiviAGL \r\n\r\nCould you please share TFLite model if possible to analyse and better understand the issue? \r\n\r\nThanks.",
"hi pjpratik ,\r\ncan you plz chk .tflite file with attached url below :\r\n\r\n\r\nplease let us know how to preprocess the input image for this file as tensor input. and what will be the values of:\r\n\r\n1. tflite_metadata.json\r\n2. The model's input dimensions \r\n3. The model's maximum detections \r\n4. dict.txt or labels.txt file to get the name of detected object \r\n",
"Hi @ShiviAGL \r\n\r\n>tflite_metadata.json\r\n\r\nWe can use [MetaDatadisplayer](https://www.tensorflow.org/lite/api_docs/python/tflite_support/metadata/MetadataDisplayer) which is available through `tflite_support` library. \r\n\r\n`get_metadata_json()` can be used which converts the metadata into a json string.\r\n\r\n>The model's input dimensions\r\n\r\nI did observe that model's input dimensions are `[1,320,320,3]`.\r\n\r\n>The model's maximum detections\r\n\r\nAnd the model has maximum detections of 10.\r\n\r\n>dict.txt or labels.txt file to get the name of detected object\r\n\r\nWe can get the label map from the tflite model with metadata by unzipping it.\r\n\r\nPlease find this [gist](https://colab.research.google.com/gist/pjpratik/40842c05fae056d6009f15edd67a123b/61441.ipynb) for the same.\r\n\r\nThanks.\r\n\r\n\r\n",
"hi pjpratik ,\r\nThanks for your reply ,\r\ncan you please help us to understand how an image can be passed as tensor input with dimensions [1,320,320,3], for this model.\r\n",
"Hi @ShiviAGL ,\r\n\r\nSince you have a model with metadata, you can use [TensorFlow Lite Task Library](https://www.tensorflow.org/lite/inference_with_metadata/task_library/object_detector#step_2_using_the_model_2) with the same `tflite_support` library which provides easy to use interfaces for TFLite.\r\n\r\nIncase if you are interested in Swift based implementation, please check this [model data handler](https://github.com/tensorflow/examples/blob/630bd990cc909cee217a805e4b4ce258721f3432/lite/examples/object_detection/ios/ObjectDetection/ModelDataHandler/ModelDataHandler.swift) in object detection example.\r\n\r\nPlease let us know if it helps.\r\n\r\nThanks.",
"ok , thanks .\r\nwill check and let you know.",
"hi @pjpratik ,\r\n\r\nI have used TensorFlowLiteTaskVision and followed the steps using https://www.tensorflow.org/lite/inference_with_metadata/task_library/object_detector#swift\r\n\r\n guard let modelPath = Bundle.main.path(forResource: \"ssd_320_fpnlite_rtpd_exterior_fp32_metadata\",\r\n ofType: \"tflite\") else { return }\r\n\r\n let options = ObjectDetectorOptions(modelPath: modelPath)\r\n\r\n // options.classificationOptions.maxResults = 3\r\n\r\n do {\r\n let detector = try ObjectDetector.detector(options: options)\r\n \r\n guard let image = UIImage (named: \"carimage.jpeg\"), let mlImage = MLImage(image: image) else { return }\r\n\r\n do{ let detectionResult = try detector.detect(mlImage: mlImage)}\r\n catch {throw error}\r\n\r\n }\r\n catch{\r\n throw error\r\n }\r\n\r\n \r\n\r\n\r\n\r\n\r\nthen I am getting this errors in log:\r\n\r\n2023-08-10 17:26:39.458625+0530 Nexa[5290:4005447] [tcp] tcp_input [C16.1.1.1:3] flags=[R.] seq=3641772054, ack=340852762, win=0 state=CLOSED rcv_nxt=3641772007, snd_una=340852685\r\n2023-08-10 17:26:39.473151+0530 Nexa[5290:4003754] Initialized TensorFlow Lite runtime.\r\nINFO: Initialized TensorFlow Lite runtime.\r\n2023-08-10 17:26:39.477445+0530 Nexa[5290:4003754] Created TensorFlow Lite XNNPACK delegate for CPU.\r\nINFO: Created TensorFlow Lite XNNPACK delegate for CPU.\r\n2023-08-10 17:26:39.481691+0530 Nexa[5290:4003754] failed to create XNNPACK runtime\r\nERROR: failed to create XNNPACK runtime\r\n2023-08-10 17:26:39.482903+0530 Nexa[5290:4003754] failed to create XNNPACK runtime\r\nERROR: failed to create XNNPACK runtime\r\n2023-08-10 17:26:39.483089+0530 Nexa[5290:4003754] failed to create XNNPACK runtime\r\nERROR: failed to create XNNPACK runtime\r\n2023-08-10 17:26:39.483877+0530 Nexa[5290:4003754] Node number 157 (TfLiteXNNPackDelegate) failed to prepare.\r\nERROR: Node number 157 (TfLiteXNNPackDelegate) failed to prepare.\r\n2023-08-10 17:26:39.484266+0530 Nexa[5290:4003754] Restored original execution plan after delegate application failure.\r\nERROR: Restored original execution plan after delegate application failure.\r\n2023-08-10 17:26:59.219212+0530 Nexa[5290:4005310] [tcp] tcp_input [C15.1.1.1:3] flags=[R.] seq=51485920, ack=3936341466, win=0 state=LAST_ACK rcv_nxt=51485920, snd_una=3936341420\r\n2023-08-10 17:26:59.219761+0530 Nexa[5290:4005310] [tcp] tcp_input [C17.1.1.1:3] flags=[R.] seq=3431658725, ack=3245991258, win=0 state=LAST_ACK rcv_nxt=3431658725, snd_una=3245991212\r\n2023-08-10 17:26:59.224111+0530 Nexa[5290:4005310] [tcp] tcp_input [C15.1.1.1:3] flags=[R.] seq=51485920, ack=3936341498, win=0 state=CLOSED rcv_nxt=51485920, snd_una=3936341420\r\n\r\nPlease have a look and help me to understand what can we do to get result by passing image for this model?",
"Hi @ShiviAGL \r\n\r\nI have tried your model with Python API with random data and was able to get results. Please find this [gist](https://colab.research.google.com/gist/pjpratik/8975520e37604b1bad398c7dec02b518/61441.ipynb).\r\n\r\nThere seems to be no issue model. Could you check this ios [object detector](https://github.com/tensorflow/examples/blob/master/lite/examples/object_detection/ios/ObjectDetection/TFLite/ObjectDetectionHelper.swift) example which uses the TFLiteTaskLibrary and let us know if it helps?\r\n\r\nThanks.",
"Hi @pjpratik \r\nThanks for your reply .\r\nWe have tried the same model with Android studio as well and its working fine but for iOS Xcode with swift 5 we are unable to get results from this model so we are just looking for the help to integrate this model in our iOS project. \r\n\r\nI have tried with \r\npod 'TensorFlowLiteSwift'\r\nand\r\npod 'TensorFlowLiteTaskVision'\r\n\r\n with different ways with frames and images as well as an tensor input but with all the different ways i got errors :\r\n **error in recognition Provided data count 150528 must match the required count 1228800**\r\n and then after checking the input interpreter.invoke() failed and then followed the TensorFlowLiteTaskVision and then again for the simple image getting error : failed to create XNNPACK runtime\r\n\r\nalso tried with Firebase as well (https://firebase.google.com/docs/ml-kit/ios/use-custom-models) \r\n\r\nSo the requirement is to detect the image(not frame) with this model in ios swift 5 \r\nand for that what will be the correct approach as I have checked TFLiteTaskLibrary too and here we can use TensorFlowLiteTaskVision and then I have implemented the same but again failed with XNNPACK runtime issue.\r\nso can you please help us to understand what are the reasons to got these errors. \r\n\r\n\r\nIs there any complete guide to understand how an image can be used for object detection using Tflite models with detailed description for the tensor input dimensions and how can we use the values like maximum number of detections and image with dimension [1,320,320,3] and the input preprocessing mean , input preprocessing standard deviation with datatype float32.\r\n",
"Hi @ShiviAGL \r\n\r\nThanks for the information. Seems like the issue is with iOS only, as per understanding. \r\n\r\n@pkgoogle Could you please look into this issue?\r\n\r\nThanks.",
"Hi @ShiviAGL, I was able to get a result from your model with my toy project that's basically just this:\r\n\r\n_1441_toyApp:\r\n```swift\r\n//\r\n// _1441_toyApp.swift\r\n// 61441_toy\r\n//\r\n//\r\n\r\nimport SwiftUI\r\nimport TensorFlowLiteTaskVision\r\n\r\n@main\r\nstruct _1441_toyApp: App {\r\n init() {\r\n // Initialization\r\n do {\r\n guard let modelPath = Bundle.main.path(forResource: \"ssd_320_fpnlite_rtpd_exterior_fp32_metadata\",\r\n ofType: \"tflite\") else { return }\r\n\r\n let options = ObjectDetectorOptions(modelPath: modelPath)\r\n\r\n // Configure any additional options:\r\n // options.classificationOptions.maxResults = 3\r\n\r\n let detector = try ObjectDetector.detector(options: options)\r\n\r\n // Convert the input image to MLImage.\r\n // There are other sources for MLImage. For more details, please see:\r\n // https://developers.google.com/ml-kit/reference/ios/mlimage/api/reference/Classes/GMLImage\r\n guard let image = UIImage (named: \"istockphoto-925066016-612x612.jpg\"), let mlImage = MLImage(image: image) else { return }\r\n\r\n // Run inference\r\n let detectionResult = try detector.detect(mlImage: mlImage)\r\n print(detectionResult)\r\n } catch {\r\n print(error)\r\n }\r\n }\r\n\r\n var body: some Scene {\r\n WindowGroup {\r\n ContentView()\r\n }\r\n }\r\n}\r\n```\r\n\r\nContentView (Default app one):\r\n```swift\r\n//\r\n// ContentView.swift\r\n// 61441_toy\r\n//\r\n//\r\n\r\nimport SwiftUI\r\n\r\nstruct ContentView: View {\r\n var body: some View {\r\n VStack {\r\n Image(systemName: \"globe\")\r\n .imageScale(.large)\r\n .foregroundColor(.accentColor)\r\n Text(\"Hello, world!\")\r\n }\r\n .padding()\r\n }\r\n}\r\n\r\nstruct ContentView_Previews: PreviewProvider {\r\n static var previews: some View {\r\n ContentView()\r\n }\r\n}\r\n```\r\n\r\nmy PodFile:\r\n```sh\r\n# Uncomment the next line to define a global platform for your project\r\n# platform :ios, '9.0'\r\n\r\ntarget '61441_toy' do\r\n # Comment the next line if you don't want to use dynamic frameworks\r\n # use_frameworks!\r\n\r\n # Pods for 61441_toy\r\n pod 'TensorFlowLiteTaskVision'\r\n\r\nend\r\n```\r\n\r\nMy image is different, but I didn't try anything special with it. My swift version is also 5. Can you try with a very simple project like the above and see if you can get a result? Thanks for your help.",
"@pkgoogle \r\nThanks for your reply, will check this approach too and let you know about the results. ",
"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/61441\">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/61441\">No</a>\n"
] | 2023-08-01T11:41:30 | 2023-09-02T01:46:28 | 2023-09-02T01:46:19 | NONE | null | null | null | Swift 5 | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61441/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61441/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61440 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61440/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61440/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61440/events | https://github.com/tensorflow/tensorflow/issues/61440 | 1,830,889,088 | I_kwDOArmXAs5tISaA | 61,440 | //tensorflow/compiler/mlir/lite/tests:optimize.mlir.test fails | {
"login": "elfringham",
"id": 10442001,
"node_id": "MDQ6VXNlcjEwNDQyMDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/10442001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/elfringham",
"html_url": "https://github.com/elfringham",
"followers_url": "https://api.github.com/users/elfringham/followers",
"following_url": "https://api.github.com/users/elfringham/following{/other_user}",
"gists_url": "https://api.github.com/users/elfringham/gists{/gist_id}",
"starred_url": "https://api.github.com/users/elfringham/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/elfringham/subscriptions",
"organizations_url": "https://api.github.com/users/elfringham/orgs",
"repos_url": "https://api.github.com/users/elfringham/repos",
"events_url": "https://api.github.com/users/elfringham/events{/privacy}",
"received_events_url": "https://api.github.com/users/elfringham/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 404586594,
"node_id": "MDU6TGFiZWw0MDQ1ODY1OTQ=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20tensorflower",
"name": "stat:awaiting tensorflower",
"color": "f4b400",
"default": false,
"description": "Status - Awaiting response from tensorflower"
},
{
"id": 473172988,
"node_id": "MDU6TGFiZWw0NzMxNzI5ODg=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug",
"name": "type:bug",
"color": "159b2e",
"default": false,
"description": "Bug"
},
{
"id": 473173351,
"node_id": "MDU6TGFiZWw0NzMxNzMzNTE=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:build/install",
"name": "type:build/install",
"color": "159b2e",
"default": false,
"description": "Build and install issues"
},
{
"id": 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": 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": "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": "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 | [
"@cfRod @nSircombe @TensorFlow-MKL @milpuz01 ",
"Roll back https://github.com/tensorflow/tensorflow/commit/973cd1af48a7006a06bfbdbebbb659ad566d6b66",
"This is no longer a problem.",
"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/61440\">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/61440\">No</a>\n"
] | 2023-08-01T09:51:02 | 2023-08-09T08:09:12 | 2023-08-09T08:09:09 | CONTRIBUTOR | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
source
### TensorFlow version
git HEAD
### Custom code
No
### OS platform and distribution
Ubuntu 20.04
### Mobile device
n/a
### Python version
3.9.17
### Bazel version
6.1.0
### GCC/compiler version
10.2.1
### CUDA/cuDNN version
n/a
### GPU model and memory
n/a
### Current behavior?
Unit test fails since commit https://github.com/tensorflow/tensorflow/commit/9d0fea2d5935285122b56867c4499433121f531f
### Standalone code to reproduce the issue
```shell
bazel test --config=mkl_aarch64_threadpool --copt=-flax-vector-conversions --test_env=TF_ENABLE_ONEDNN_OPTS=1 --test_env=TF2_BEHAVIOR=1 --define=tf_api_version=2 --jobs=75 --build_tests_only -- //tensorflow/compiler/mlir/lite/tests:optimize.mlir.test
```
### Relevant log output
```shell
==================== Test output for //tensorflow/compiler/mlir/lite/tests:optimize.mlir.test:
-- Testing: 1 tests, 1 workers --
FAIL: MLIR tests :: optimize.mlir (1 of 1)
******************** TEST 'MLIR tests :: optimize.mlir' FAILED ********************
Script:
--
: 'RUN: at line 2'; /home/andrew/src/tf_test/tensorflow-git/bazel-ci_build-cache/.cache/bazel/_bazel_andrew/eab0d61a99b6696edb3d2aff87b585e8/execroot/org_tensorflow/bazel-out/aarch64-opt/bin/tensorflow/compiler/mlir/lite/tests/optimize.mlir.test.runfiles/org_tensorflow/tensorflow/compiler/mlir/tf-opt /home/andrew/src/tf_test/tensorflow-git/bazel-ci_build-cache/.cache/bazel/_bazel_andrew/eab0d61a99b6696edb3d2aff87b585e8/execroot/org_tensorflow/bazel-out/aarch64-opt/bin/tensorflow/compiler/mlir/lite/tests/optimize.mlir.test.runfiles/org_tensorflow/tensorflow/compiler/mlir/lite/tests/optimize.mlir -tfl-optimize | /home/andrew/src/tf_test/tensorflow-git/bazel-ci_build-cache/.cache/bazel/_bazel_andrew/eab0d61a99b6696edb3d2aff87b585e8/execroot/org_tensorflow/bazel-out/aarch64-opt/bin/tensorflow/compiler/mlir/lite/tests/optimize.mlir.test.runfiles/llvm-project/llvm/FileCheck /home/andrew/src/tf_test/tensorflow-git/bazel-ci_build-cache/.cache/bazel/_bazel_andrew/eab0d61a99b6696edb3d2aff87b585e8/execroot/org_tensorflow/bazel-out/aarch64-opt/bin/tensorflow/compiler/mlir/lite/tests/optimize.mlir.test.runfiles/org_tensorflow/tensorflow/compiler/mlir/lite/tests/optimize.mlir
: 'RUN: at line 4'; /home/andrew/src/tf_test/tensorflow-git/bazel-ci_build-cache/.cache/bazel/_bazel_andrew/eab0d61a99b6696edb3d2aff87b585e8/execroot/org_tensorflow/bazel-out/aarch64-opt/bin/tensorflow/compiler/mlir/lite/tests/optimize.mlir.test.runfiles/org_tensorflow/tensorflow/compiler/mlir/tf-opt /home/andrew/src/tf_test/tensorflow-git/bazel-ci_build-cache/.cache/bazel/_bazel_andrew/eab0d61a99b6696edb3d2aff87b585e8/execroot/org_tensorflow/bazel-out/aarch64-opt/bin/tensorflow/compiler/mlir/lite/tests/optimize.mlir.test.runfiles/org_tensorflow/tensorflow/compiler/mlir/lite/tests/optimize.mlir -tfl-optimize='enable-canonicalization=true' | /home/andrew/src/tf_test/tensorflow-git/bazel-ci_build-cache/.cache/bazel/_bazel_andrew/eab0d61a99b6696edb3d2aff87b585e8/execroot/org_tensorflow/bazel-out/aarch64-opt/bin/tensorflow/compiler/mlir/lite/tests/optimize.mlir.test.runfiles/llvm-project/llvm/FileCheck --check-prefix=FOLD /home/andrew/src/tf_test/tensorflow-git/bazel-ci_build-cache/.cache/bazel/_bazel_andrew/eab0d61a99b6696edb3d2aff87b585e8/execroot/org_tensorflow/bazel-out/aarch64-opt/bin/tensorflow/compiler/mlir/lite/tests/optimize.mlir.test.runfiles/org_tensorflow/tensorflow/compiler/mlir/lite/tests/optimize.mlir
: 'RUN: at line 7'; /home/andrew/src/tf_test/tensorflow-git/bazel-ci_build-cache/.cache/bazel/_bazel_andrew/eab0d61a99b6696edb3d2aff87b585e8/execroot/org_tensorflow/bazel-out/aarch64-opt/bin/tensorflow/compiler/mlir/lite/tests/optimize.mlir.test.runfiles/org_tensorflow/tensorflow/compiler/mlir/tf-opt /home/andrew/src/tf_test/tensorflow-git/bazel-ci_build-cache/.cache/bazel/_bazel_andrew/eab0d61a99b6696edb3d2aff87b585e8/execroot/org_tensorflow/bazel-out/aarch64-opt/bin/tensorflow/compiler/mlir/lite/tests/optimize.mlir.test.runfiles/org_tensorflow/tensorflow/compiler/mlir/lite/tests/optimize.mlir -tfl-legalize-tf -tfl-optimize | /home/andrew/src/tf_test/tensorflow-git/bazel-ci_build-cache/.cache/bazel/_bazel_andrew/eab0d61a99b6696edb3d2aff87b585e8/execroot/org_tensorflow/bazel-out/aarch64-opt/bin/tensorflow/compiler/mlir/lite/tests/optimize.mlir.test.runfiles/llvm-project/llvm/FileCheck --check-prefix=Fusing /home/andrew/src/tf_test/tensorflow-git/bazel-ci_build-cache/.cache/bazel/_bazel_andrew/eab0d61a99b6696edb3d2aff87b585e8/execroot/org_tensorflow/bazel-out/aarch64-opt/bin/tensorflow/compiler/mlir/lite/tests/optimize.mlir.test.runfiles/org_tensorflow/tensorflow/compiler/mlir/lite/tests/optimize.mlir
: 'RUN: at line 9'; /home/andrew/src/tf_test/tensorflow-git/bazel-ci_build-cache/.cache/bazel/_bazel_andrew/eab0d61a99b6696edb3d2aff87b585e8/execroot/org_tensorflow/bazel-out/aarch64-opt/bin/tensorflow/compiler/mlir/lite/tests/optimize.mlir.test.runfiles/org_tensorflow/tensorflow/compiler/mlir/tf-opt /home/andrew/src/tf_test/tensorflow-git/bazel-ci_build-cache/.cache/bazel/_bazel_andrew/eab0d61a99b6696edb3d2aff87b585e8/execroot/org_tensorflow/bazel-out/aarch64-opt/bin/tensorflow/compiler/mlir/lite/tests/optimize.mlir.test.runfiles/org_tensorflow/tensorflow/compiler/mlir/lite/tests/optimize.mlir -tfl-legalize-tf -tfl-optimize='disable-fuse-mul-and-fc=true' | /home/andrew/src/tf_test/tensorflow-git/bazel-ci_build-cache/.cache/bazel/_bazel_andrew/eab0d61a99b6696edb3d2aff87b585e8/execroot/org_tensorflow/bazel-out/aarch64-opt/bin/tensorflow/compiler/mlir/lite/tests/optimize.mlir.test.runfiles/llvm-project/llvm/FileCheck --check-prefix=NoFusing /home/andrew/src/tf_test/tensorflow-git/bazel-ci_build-cache/.cache/bazel/_bazel_andrew/eab0d61a99b6696edb3d2aff87b585e8/execroot/org_tensorflow/bazel-out/aarch64-opt/bin/tensorflow/compiler/mlir/lite/tests/optimize.mlir.test.runfiles/org_tensorflow/tensorflow/compiler/mlir/lite/tests/optimize.mlir
--
Exit Code: 1
Command Output (stderr):
--
/home/andrew/src/tf_test/tensorflow-git/bazel-ci_build-cache/.cache/bazel/_bazel_andrew/eab0d61a99b6696edb3d2aff87b585e8/execroot/org_tensorflow/bazel-out/aarch64-opt/bin/tensorflow/compiler/mlir/lite/tests/optimize.mlir.test.runfiles/org_tensorflow/tensorflow/compiler/mlir/lite/tests/optimize.mlir:3622:12: error: CHECK: expected string not found in input
// CHECK: "tfl.batch_matmul"(%arg0, %arg1)
^
<stdin>:1542:53: note: scanning from here
func.func @FuseReshapeAndTransposeAroundBatchMatmul(%arg0: tensor<1x128x1024xf32>, %arg1: tensor<1024x16xf32>) -> tensor<1x128x16xf32> {
^
<stdin>:1549:7: note: possible intended match here
%2 = "tfl.batch_matmul"(%arg1, %1) {adj_x = true, adj_y = false, asymmetric_quantize_inputs = false} : (tensor<1024x16xf32>, tensor<1024x128xf32>) -> tensor<16x128xf32>
^
Input file: <stdin>
Check file: /home/andrew/src/tf_test/tensorflow-git/bazel-ci_build-cache/.cache/bazel/_bazel_andrew/eab0d61a99b6696edb3d2aff87b585e8/execroot/org_tensorflow/bazel-out/aarch64-opt/bin/tensorflow/compiler/mlir/lite/tests/optimize.mlir.test.runfiles/org_tensorflow/tensorflow/compiler/mlir/lite/tests/optimize.mlir
-dump-input=help explains the following input dump.
Input was:
<<<<<<
.
.
.
1537: %3 = "tfl.transpose"(%2, %0) : (tensor<16x1x8x1280xf32>, tensor<4xi32>) -> tensor<8x1x16x1280xf32>
1538: %4 = "tfl.gather_nd"(%3, %1) : (tensor<8x1x16x1280xf32>, tensor<16x1xi32>) -> tensor<16x1x16x1280xf32>
1539: %5 = "tfl.reshape"(%4, %cst) : (tensor<16x1x16x1280xf32>, tensor<4xi32>) -> tensor<1x16x16x1280xf32>
1540: return %5 : tensor<1x16x16x1280xf32>
1541: }
1542: func.func @FuseReshapeAndTransposeAroundBatchMatmul(%arg0: tensor<1x128x1024xf32>, %arg1: tensor<1024x16xf32>) -> tensor<1x128x16xf32> {
check:3622'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
1543: %cst = arith.constant dense<[1, 2, 0]> : tensor<3xi32>
check:3622'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1544: %cst_0 = arith.constant dense<[16, 1, 128]> : tensor<3xi32>
check:3622'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1545: %cst_1 = arith.constant dense<[1024, 128]> : tensor<2xi32>
check:3622'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1546: %cst_2 = arith.constant dense<[2, 0, 1]> : tensor<3xi32>
check:3622'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1547: %0 = "tfl.transpose"(%arg0, %cst_2) : (tensor<1x128x1024xf32>, tensor<3xi32>) -> tensor<1024x1x128xf32>
check:3622'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1548: %1 = "tfl.reshape"(%0, %cst_1) : (tensor<1024x1x128xf32>, tensor<2xi32>) -> tensor<1024x128xf32>
check:3622'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1549: %2 = "tfl.batch_matmul"(%arg1, %1) {adj_x = true, adj_y = false, asymmetric_quantize_inputs = false} : (tensor<1024x16xf32>, tensor<1024x128xf32>) -> tensor<16x128xf32>
check:3622'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:3622'1 ? possible intended match
1550: %3 = "tfl.reshape"(%2, %cst_0) : (tensor<16x128xf32>, tensor<3xi32>) -> tensor<16x1x128xf32>
check:3622'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1551: %4 = "tfl.transpose"(%3, %cst) : (tensor<16x1x128xf32>, tensor<3xi32>) -> tensor<1x128x16xf32>
check:3622'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1552: return %4 : tensor<1x128x16xf32>
check:3622'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1553: }
check:3622'0 ~~~
1554: func.func @FuseTransposeFCRhsToBatchMatmul(%arg0: tensor<16x1024xf32>, %arg1: tensor<1024x128xf32>, %arg2: none) -> tensor<16x128xf32> {
check:3622'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.
.
.
>>>>>>
--
********************
********************
Failed Tests (1):
MLIR tests :: optimize.mlir
Testing Time: 0.53s
Failed: 1
================================================================================
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61440/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61440/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61439 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61439/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61439/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61439/events | https://github.com/tensorflow/tensorflow/issues/61439 | 1,830,445,046 | I_kwDOArmXAs5tGl_2 | 61,439 | Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found | {
"login": "ahmedbhaila",
"id": 1494132,
"node_id": "MDQ6VXNlcjE0OTQxMzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1494132?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ahmedbhaila",
"html_url": "https://github.com/ahmedbhaila",
"followers_url": "https://api.github.com/users/ahmedbhaila/followers",
"following_url": "https://api.github.com/users/ahmedbhaila/following{/other_user}",
"gists_url": "https://api.github.com/users/ahmedbhaila/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ahmedbhaila/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ahmedbhaila/subscriptions",
"organizations_url": "https://api.github.com/users/ahmedbhaila/orgs",
"repos_url": "https://api.github.com/users/ahmedbhaila/repos",
"events_url": "https://api.github.com/users/ahmedbhaila/events{/privacy}",
"received_events_url": "https://api.github.com/users/ahmedbhaila/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": 1188421838,
"node_id": "MDU6TGFiZWwxMTg4NDIxODM4",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/subtype:windows",
"name": "subtype:windows",
"color": "b619ea",
"default": false,
"description": "Windows Build/Installation Issues"
},
{
"id": 4257391797,
"node_id": "LA_kwDOArmXAs79wqS1",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/wsl2",
"name": "wsl2",
"color": "A352E6",
"default": false,
"description": "Windows Subsystem for Linux"
},
{
"id": 4511033337,
"node_id": "LA_kwDOArmXAs8AAAABDODn-Q",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.10",
"name": "TF 2.10",
"color": "C15088",
"default": false,
"description": ""
}
] | closed | false | {
"login": "SuryanarayanaY",
"id": 116063290,
"node_id": "U_kgDOBur8Og",
"avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SuryanarayanaY",
"html_url": "https://github.com/SuryanarayanaY",
"followers_url": "https://api.github.com/users/SuryanarayanaY/followers",
"following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}",
"gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions",
"organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs",
"repos_url": "https://api.github.com/users/SuryanarayanaY/repos",
"events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}",
"received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "SuryanarayanaY",
"id": 116063290,
"node_id": "U_kgDOBur8Og",
"avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SuryanarayanaY",
"html_url": "https://github.com/SuryanarayanaY",
"followers_url": "https://api.github.com/users/SuryanarayanaY/followers",
"following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}",
"gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions",
"organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs",
"repos_url": "https://api.github.com/users/SuryanarayanaY/repos",
"events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}",
"received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"@ahmedbhaila Please make sure the TF version you are using and check the tested build configuration [here](https://www.tensorflow.org/install/source_windows#gpu). FYI, TensorFlow 2.10 was the last TensorFlow release that supported GPU on native-Windows. Starting with TensorFlow 2.11, you will need to install [TensorFlow in WSL2](https://tensorflow.org/install/pip#windows-wsl2), or install tensorflow or tensorflow-cpu and, optionally, try the [TensorFlow-DirectML-Plugin](https://github.com/microsoft/tensorflow-directml-plugin#tensorflow-directml-plugin-)\r\nThank you!",
"Yes I am aware of the versioning, that's why I'm using Python 3.10, so I can use tf 2.10.0. On the website, it says to use CUDA 11.2 for tf 2.10.0, which is what I have done. At this point I'm most likely to use WSL2.",
"Can confirm It works in WSL2 using the tutorial from the tensorflow docs. Not sure about native windows though.",
"Hi @ahmedbhaila ,\r\n\r\nFor windows native you need to have Microsoft Visual C++ Redistributable installed and also long paths enabled manually. \r\n\r\nCould you please verify step2 in the attached documentation [here](https://www.tensorflow.org/install/pip#step-by-step_instructions).",
"Downloaded and activated long paths, then restarted. No change same response",
"Hi @ahmedbhaila ,\r\n\r\nWe have tested on windows VM using conda environment with TF2.10 as per official [instructions](https://www.tensorflow.org/install/pip#windows-native) and able to detect GPU successfully. Please refer to attached logs below.\r\n\r\n[61439_win_logs.txt](https://github.com/tensorflow/tensorflow/files/12260724/61439_win_logs.txt)\r\n\r\nIt seems there is some issue with your environment. Could you please try a fresh environment with miniconda followed by official instructions.\r\n\r\nThanks!",
"Hi, it seems I was using a different page on the documentation, and using miniconda fixed all the issues. Thanks",
"Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61439\">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/61439\">No</a>\n"
] | 2023-08-01T04:33:37 | 2023-08-05T03:46:17 | 2023-08-05T03:46:14 | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
source
### TensorFlow version
tf 2.10.0
### Custom code
Yes
### OS platform and distribution
Windows 11
### Mobile device
N/A
### Python version
3.10(Microsoft Store)
### Bazel version
_No response_
### GCC/compiler version
_No response_
### CUDA/cuDNN version
Cuda: 11.2
### GPU model and memory
RTX 3070 Ti 8GB
### Current behavior?
I installed CUDA 11.2 as recommended for tf 2.10.0, here's the install:

At first, I thought it was a path issue, but after restarting my pc, I was able to access exe files in that folder:

If the files are in path, why can't tensorflow find them?
Many people say to use miniconda, so I did, but I got the same result. Other resolved issues were resolved as the OP's were using the wrong version of CUDA, I checked on the website and I can confirm that my version is the required one.
### Standalone code to reproduce the issue
```shell
import tensorflow as tf
```
### Relevant log output
```shell
2023-07-31 18:56:25.098058: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found
2023-07-31 18:56:25.098226: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
2023-07-31 18:56:26.164080: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found
2023-07-31 18:56:26.164320: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cublas64_11.dll'; dlerror: cublas64_11.dll not found
2023-07-31 18:56:26.164540: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cublasLt64_11.dll'; dlerror: cublasLt64_11.dll not found
2023-07-31 18:56:26.164818: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cufft64_10.dll'; dlerror: cufft64_10.dll not found
2023-07-31 18:56:26.368828: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cusparse64_11.dll'; dlerror: cusparse64_11.dll not found
2023-07-31 18:56:26.369092: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudnn64_8.dll'; dlerror: cudnn64_8.dll not found
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61439/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61439/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61438 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61438/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61438/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61438/events | https://github.com/tensorflow/tensorflow/issues/61438 | 1,830,443,078 | I_kwDOArmXAs5tGlhG | 61,438 | Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found | {
"login": "ahmedbhaila",
"id": 1494132,
"node_id": "MDQ6VXNlcjE0OTQxMzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1494132?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ahmedbhaila",
"html_url": "https://github.com/ahmedbhaila",
"followers_url": "https://api.github.com/users/ahmedbhaila/followers",
"following_url": "https://api.github.com/users/ahmedbhaila/following{/other_user}",
"gists_url": "https://api.github.com/users/ahmedbhaila/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ahmedbhaila/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ahmedbhaila/subscriptions",
"organizations_url": "https://api.github.com/users/ahmedbhaila/orgs",
"repos_url": "https://api.github.com/users/ahmedbhaila/repos",
"events_url": "https://api.github.com/users/ahmedbhaila/events{/privacy}",
"received_events_url": "https://api.github.com/users/ahmedbhaila/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 473172988,
"node_id": "MDU6TGFiZWw0NzMxNzI5ODg=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug",
"name": "type:bug",
"color": "159b2e",
"default": false,
"description": "Bug"
}
] | closed | false | {
"login": "Varsha-anjanappa",
"id": 137163810,
"node_id": "U_kgDOCCz0Ig",
"avatar_url": "https://avatars.githubusercontent.com/u/137163810?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Varsha-anjanappa",
"html_url": "https://github.com/Varsha-anjanappa",
"followers_url": "https://api.github.com/users/Varsha-anjanappa/followers",
"following_url": "https://api.github.com/users/Varsha-anjanappa/following{/other_user}",
"gists_url": "https://api.github.com/users/Varsha-anjanappa/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Varsha-anjanappa/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Varsha-anjanappa/subscriptions",
"organizations_url": "https://api.github.com/users/Varsha-anjanappa/orgs",
"repos_url": "https://api.github.com/users/Varsha-anjanappa/repos",
"events_url": "https://api.github.com/users/Varsha-anjanappa/events{/privacy}",
"received_events_url": "https://api.github.com/users/Varsha-anjanappa/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "Varsha-anjanappa",
"id": 137163810,
"node_id": "U_kgDOCCz0Ig",
"avatar_url": "https://avatars.githubusercontent.com/u/137163810?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Varsha-anjanappa",
"html_url": "https://github.com/Varsha-anjanappa",
"followers_url": "https://api.github.com/users/Varsha-anjanappa/followers",
"following_url": "https://api.github.com/users/Varsha-anjanappa/following{/other_user}",
"gists_url": "https://api.github.com/users/Varsha-anjanappa/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Varsha-anjanappa/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Varsha-anjanappa/subscriptions",
"organizations_url": "https://api.github.com/users/Varsha-anjanappa/orgs",
"repos_url": "https://api.github.com/users/Varsha-anjanappa/repos",
"events_url": "https://api.github.com/users/Varsha-anjanappa/events{/privacy}",
"received_events_url": "https://api.github.com/users/Varsha-anjanappa/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"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/61438\">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/61438\">No</a>\n"
] | 2023-08-01T04:31:13 | 2023-08-01T04:33:59 | 2023-08-01T04:33:57 | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
source
### TensorFlow version
tf 2.10.0
### Custom code
Yes
### OS platform and distribution
Windows 11
### Mobile device
N/A
### Python version
3.10(Microsoft Store)
### Bazel version
_No response_
### GCC/compiler version
_No response_
### CUDA/cuDNN version
Cuda: 11.2
### GPU model and memory
RTX 3070 Ti 8GB
### Current behavior?
I installed CUDA 11.2 as recommended for tf 2.10.0, here's the install:

At first, I thought it was a path issue, but after restarting my pc, I was able to access exe files in that folder:

If the files are in path, why can't tensorflow find them?
Many people say to use miniconda, so I did, but I got the same result. Other resolved issues were resolved as the OP's were using the wrong version of CUDA, I checked on the website and I can confirm that my version is the required one.
### Standalone code to reproduce the issue
```shell
import tensorflow as tf
```
### Relevant log output
```shell
2023-07-31 18:56:25.098058: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found
2023-07-31 18:56:25.098226: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
2023-07-31 18:56:26.164080: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found
2023-07-31 18:56:26.164320: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cublas64_11.dll'; dlerror: cublas64_11.dll not found
2023-07-31 18:56:26.164540: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cublasLt64_11.dll'; dlerror: cublasLt64_11.dll not found
2023-07-31 18:56:26.164818: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cufft64_10.dll'; dlerror: cufft64_10.dll not found
2023-07-31 18:56:26.368828: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cusparse64_11.dll'; dlerror: cusparse64_11.dll not found
2023-07-31 18:56:26.369092: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudnn64_8.dll'; dlerror: cudnn64_8.dll not found
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61438/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61438/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61437 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61437/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61437/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61437/events | https://github.com/tensorflow/tensorflow/issues/61437 | 1,830,343,188 | I_kwDOArmXAs5tGNIU | 61,437 | Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found | {
"login": "ahmedbhaila",
"id": 1494132,
"node_id": "MDQ6VXNlcjE0OTQxMzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1494132?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ahmedbhaila",
"html_url": "https://github.com/ahmedbhaila",
"followers_url": "https://api.github.com/users/ahmedbhaila/followers",
"following_url": "https://api.github.com/users/ahmedbhaila/following{/other_user}",
"gists_url": "https://api.github.com/users/ahmedbhaila/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ahmedbhaila/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ahmedbhaila/subscriptions",
"organizations_url": "https://api.github.com/users/ahmedbhaila/orgs",
"repos_url": "https://api.github.com/users/ahmedbhaila/repos",
"events_url": "https://api.github.com/users/ahmedbhaila/events{/privacy}",
"received_events_url": "https://api.github.com/users/ahmedbhaila/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": "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 | [
"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/61437\">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/61437\">No</a>\n"
] | 2023-08-01T02:23:13 | 2023-08-01T04:31:43 | 2023-08-01T04:31:41 | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
source
### TensorFlow version
tf 2.10.0
### Custom code
Yes
### OS platform and distribution
Windows 11
### Mobile device
N/A
### Python version
3.10(Microsoft Store)
### Bazel version
_No response_
### GCC/compiler version
_No response_
### CUDA/cuDNN version
Cuda: 11.2
### GPU model and memory
RTX 3070 Ti 8GB
### Current behavior?
I installed CUDA 11.2 as recommended for tf 2.10.0, here's the install:

At first, I thought it was a path issue, but after restarting my pc, I was able to access exe files in that folder:

If the files are in path, why can't tensorflow find them?
Many people say to use miniconda, so I did, but I got the same result. Other resolved issues were resolved as the OP's were using the wrong version of CUDA, I checked on the website and I can confirm that my version is the required one.
### Standalone code to reproduce the issue
```shell
import tensorflow as tf
```
### Relevant log output
```shell
2023-07-31 18:56:25.098058: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found
2023-07-31 18:56:25.098226: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
2023-07-31 18:56:26.164080: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found
2023-07-31 18:56:26.164320: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cublas64_11.dll'; dlerror: cublas64_11.dll not found
2023-07-31 18:56:26.164540: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cublasLt64_11.dll'; dlerror: cublasLt64_11.dll not found
2023-07-31 18:56:26.164818: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cufft64_10.dll'; dlerror: cufft64_10.dll not found
2023-07-31 18:56:26.368828: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cusparse64_11.dll'; dlerror: cusparse64_11.dll not found
2023-07-31 18:56:26.369092: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudnn64_8.dll'; dlerror: cudnn64_8.dll not found
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61437/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61437/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61436 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61436/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61436/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61436/events | https://github.com/tensorflow/tensorflow/issues/61436 | 1,829,703,811 | I_kwDOArmXAs5tDxCD | 61,436 | When building from source code, I always end up with a Python 3.10 whl file, instead of a Python3.8 whl file. | {
"login": "moooises",
"id": 19190820,
"node_id": "MDQ6VXNlcjE5MTkwODIw",
"avatar_url": "https://avatars.githubusercontent.com/u/19190820?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/moooises",
"html_url": "https://github.com/moooises",
"followers_url": "https://api.github.com/users/moooises/followers",
"following_url": "https://api.github.com/users/moooises/following{/other_user}",
"gists_url": "https://api.github.com/users/moooises/gists{/gist_id}",
"starred_url": "https://api.github.com/users/moooises/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/moooises/subscriptions",
"organizations_url": "https://api.github.com/users/moooises/orgs",
"repos_url": "https://api.github.com/users/moooises/repos",
"events_url": "https://api.github.com/users/moooises/events{/privacy}",
"received_events_url": "https://api.github.com/users/moooises/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": 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 @moooises ,\r\n\r\nCould you please confirm the python path selected in `./configure` step ?\r\n\r\n```\r\n/configure\r\nYou have bazel 6.1.0 installed.\r\nPlease specify the location of python. [Default is /Library/Frameworks/Python.framework/Versions/3.9/bin/python3]: \r\n\r\n\r\nFound possible Python library paths:\r\n /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages\r\nPlease input the desired Python library path to use. Default is [/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages]\r\n```\r\n\r\nThanks!",
"Hi,\r\ninstead of having /Library/Frameworks/Python.framework/Versions/3.9/bin/python3 as the default path, I have /usr/bin/python3.\r\nI tried with both /usr/bin/python3.8 and /usr/bin/python3, which in my system redirects to /usr/bin/python3.8, and with both paths I end up with a cp310 whl file .\r\nAside from Python2.7, which path is /usr/bin/python, I only have Python3.8 installed.",
"This is likely due to hermetic python picking out the default when it builds. See: https://github.com/tensorflow/tensorflow/tree/master/ci/official/requirements_updater#hermetic-python-toolchain-details\r\n\r\nSpecifically for python 3.8, we have dropped support at HEAD to keep in following with numpy's python support. ",
"You should not need to run configure anymore. Just need to build a virtual env with the desired version of Python and/or use hermetic python build flags.",
"@moooises ,\r\n\r\nThe [comment-1662775801](https://github.com/tensorflow/tensorflow/issues/61436#issuecomment-1662775801) makes sense to me on why it is ended up with python 3.10 whl file. Also as the comment suggests python 3.8 versions may not be recommended for nightly builds. \r\n\r\nCould you please go through the comments above and do the necessary changes for build and let us know if still facing any issue. Thanks! ",
"You can follow this [link](https://github.com/tensorflow/tensorflow/tree/master/ci/official/requirements_updater#how-to-add-a-new-python-version) to update python version. I can see `Python3.9` is minimum python version recommended for nightly where `Python3.10` is default. Not sure though `Python3.8` have any compatibility issues due to numpy dependencies. So please make a note of it and build accordingly.",
"I tried creating a virtual environment for python 3.10, as @mihaimaruseac suggested, using anaconda and I could install the generated whl file.\r\nHowever I get some warning telling \"Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered\" and the same warning for cuFFT and cuBLAS. Aside from than, the installation seems to work. It recognize my GPU.\r\nWill those warning cause me any problem in the future?",
"Hi @moooises ,\r\n\r\nAFAIK , If GPU able to recognise these warnings can be ignored. These warnings seems to be due to duplicate registrations as discussed in #56630\r\n",
"Just FYI, starting from Tf2.13v onwards TF uses Clang as compiler. ",
"Ok, thanks for the responses.\r\nI installed it again using conda and following the steps of the official guide https://www.tensorflow.org/install/pip and everything seems to work fine now. I don't have those duplication warnings anymore.",
"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/61436\">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/61436\">No</a>\n"
] | 2023-07-31T17:26:18 | 2023-08-10T06:25:25 | 2023-08-10T06:25:22 | NONE | null | null | null | ### Issue type
Build/Install
### Have you reproduced the bug with TensorFlow Nightly?
No
### Source
source
### TensorFlow version
2.14.0
### Custom code
No
### OS platform and distribution
Linux Ubuntu 20.04.6 LTS
### Mobile device
_No response_
### Python version
3.8
### Bazel version
1.17
### GCC/compiler version
9.4.0
### CUDA/cuDNN version
11.8/8.7
### GPU model and memory
GTX 1050 Ti 4GB
### Current behavior?
When I try to build the source code from my machine I end up always with a wheel for Python 3.10, although I specified the python path for python3.8 and I don't even have python3.10 installed.
The generated wheel is called tensorflow-2.14.0-cp310-cp310-linux_x86_64.whl
Can you guide why this is happening and how to solve it?
### Standalone code to reproduce the issue
```shell
Just trying to build the source code following the steps from this two sites:
https://gist.github.com/kmhofmann/e368a2ebba05f807fa1a90b3bf9a1e03
https://www.tensorflow.org/install/source
```
### Relevant log output
_No response_ | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61436/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61436/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61435 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61435/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61435/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61435/events | https://github.com/tensorflow/tensorflow/issues/61435 | 1,829,601,621 | I_kwDOArmXAs5tDYFV | 61,435 | absl update required to slove MSVC compile error | {
"login": "johnnkp",
"id": 22496821,
"node_id": "MDQ6VXNlcjIyNDk2ODIx",
"avatar_url": "https://avatars.githubusercontent.com/u/22496821?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/johnnkp",
"html_url": "https://github.com/johnnkp",
"followers_url": "https://api.github.com/users/johnnkp/followers",
"following_url": "https://api.github.com/users/johnnkp/following{/other_user}",
"gists_url": "https://api.github.com/users/johnnkp/gists{/gist_id}",
"starred_url": "https://api.github.com/users/johnnkp/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/johnnkp/subscriptions",
"organizations_url": "https://api.github.com/users/johnnkp/orgs",
"repos_url": "https://api.github.com/users/johnnkp/repos",
"events_url": "https://api.github.com/users/johnnkp/events{/privacy}",
"received_events_url": "https://api.github.com/users/johnnkp/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 386191887,
"node_id": "MDU6TGFiZWwzODYxOTE4ODc=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response",
"name": "stat:awaiting response",
"color": "f4b400",
"default": false,
"description": "Status - Awaiting response from author"
},
{
"id": 473173351,
"node_id": "MDU6TGFiZWw0NzMxNzMzNTE=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:build/install",
"name": "type:build/install",
"color": "159b2e",
"default": false,
"description": "Build and install issues"
},
{
"id": 474725938,
"node_id": "MDU6TGFiZWw0NzQ3MjU5Mzg=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stale",
"name": "stale",
"color": "d4c5f9",
"default": false,
"description": "This label marks the issue/pr stale - to be closed automatically if no activity"
},
{
"id": 1188421838,
"node_id": "MDU6TGFiZWwxMTg4NDIxODM4",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/subtype:windows",
"name": "subtype:windows",
"color": "b619ea",
"default": false,
"description": "Windows Build/Installation Issues"
},
{
"id": 5508003926,
"node_id": "LA_kwDOArmXAs8AAAABSE14Vg",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13",
"name": "TF 2.13",
"color": "B13ACB",
"default": false,
"description": "For issues related to Tensorflow 2.13"
}
] | closed | false | {
"login": "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 @johnnkp ,\r\n\r\nWindows CUDA builds not officially supported for Tf>2.11 versions as per the attached [source](https://www.tensorflow.org/install/source_windows#:~:text=on%20a%20GPU.-,Note%3A%20GPU%20support%20on%20native%2DWindows%20is%20only%20available%20for%202.10%20or%20earlier%20versions%2C%20starting%20in%20TF%202.11%2C%20CUDA%20build%20is%20not%20supported%20for%20Windows.%20For%20using%20TensorFlow%20GPU%20on%20Windows%2C%20you%20will%20need%20to%20build/install%20TensorFlow%20in%20WSL2%20or%20use%20tensorflow%2Dcpu%20with%20TensorFlow%2DDirectML%2DPlugin,-Download%20the%20TensorFlow). \r\n\r\nWe recommend to use WSL on windows to enable GPU builds. 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/61435\">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/61435\">No</a>\n"
] | 2023-07-31T16:17:21 | 2023-08-22T01:47:26 | 2023-08-22T01:47:23 | CONTRIBUTOR | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
source
### TensorFlow version
2.13.0
### Custom code
Yes
### OS platform and distribution
Windows 10 22H2
### Mobile device
_No response_
### Python version
Anaconda 2023.07-1
### Bazel version
6.3.0
### GCC/compiler version
Visual Studio 2022 (build tools 14.36) + msys2-x86_64-20230718
### CUDA/cuDNN version
CUDA 11.8 + CUDNN 8.6.0 + TensorRT 8.5.3
### GPU model and memory
GTX 750 Ti 2GB
### Current behavior?
Currently, MSVC address sanitizer isn't enabled during compilation and cause compilation error. https://github.com/abseil/abseil-cpp/commit/2927340217c37328319b5869285a6dcdbc13e7a7 (LTS Jan 2023 Patch 3) has fixed it. This update required developers to check if corresponding code is necessary to change.
### Standalone code to reproduce the issue
```shell
1. download https://github.com/tensorflow/tensorflow/archive/refs/tags/v2.13.0.zip and extract
2. comment out Windows CUDA build rejection code in configure.py
3. run `python configure.py` to configure Windows CUDA build
4. run `bazel build --config=opt --define=no_tensorflow_py_deps=true //tensorflow/tools/pip_package:build_pip_package`
```
### Relevant log output
```shell
error: "no_sanitize_address" is undefined
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61435/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61435/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61434 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61434/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61434/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61434/events | https://github.com/tensorflow/tensorflow/issues/61434 | 1,829,116,496 | I_kwDOArmXAs5tBhpQ | 61,434 | `FAKE_REQUIRED_PACKAGES` tensorflow-intel prevent poetry installation of `tensorflow-rocm` | {
"login": "ZappaBoy",
"id": 45740621,
"node_id": "MDQ6VXNlcjQ1NzQwNjIx",
"avatar_url": "https://avatars.githubusercontent.com/u/45740621?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZappaBoy",
"html_url": "https://github.com/ZappaBoy",
"followers_url": "https://api.github.com/users/ZappaBoy/followers",
"following_url": "https://api.github.com/users/ZappaBoy/following{/other_user}",
"gists_url": "https://api.github.com/users/ZappaBoy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ZappaBoy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ZappaBoy/subscriptions",
"organizations_url": "https://api.github.com/users/ZappaBoy/orgs",
"repos_url": "https://api.github.com/users/ZappaBoy/repos",
"events_url": "https://api.github.com/users/ZappaBoy/events{/privacy}",
"received_events_url": "https://api.github.com/users/ZappaBoy/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": 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": 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": "Varsha-anjanappa",
"id": 137163810,
"node_id": "U_kgDOCCz0Ig",
"avatar_url": "https://avatars.githubusercontent.com/u/137163810?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Varsha-anjanappa",
"html_url": "https://github.com/Varsha-anjanappa",
"followers_url": "https://api.github.com/users/Varsha-anjanappa/followers",
"following_url": "https://api.github.com/users/Varsha-anjanappa/following{/other_user}",
"gists_url": "https://api.github.com/users/Varsha-anjanappa/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Varsha-anjanappa/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Varsha-anjanappa/subscriptions",
"organizations_url": "https://api.github.com/users/Varsha-anjanappa/orgs",
"repos_url": "https://api.github.com/users/Varsha-anjanappa/repos",
"events_url": "https://api.github.com/users/Varsha-anjanappa/events{/privacy}",
"received_events_url": "https://api.github.com/users/Varsha-anjanappa/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "Varsha-anjanappa",
"id": 137163810,
"node_id": "U_kgDOCCz0Ig",
"avatar_url": "https://avatars.githubusercontent.com/u/137163810?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Varsha-anjanappa",
"html_url": "https://github.com/Varsha-anjanappa",
"followers_url": "https://api.github.com/users/Varsha-anjanappa/followers",
"following_url": "https://api.github.com/users/Varsha-anjanappa/following{/other_user}",
"gists_url": "https://api.github.com/users/Varsha-anjanappa/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Varsha-anjanappa/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Varsha-anjanappa/subscriptions",
"organizations_url": "https://api.github.com/users/Varsha-anjanappa/orgs",
"repos_url": "https://api.github.com/users/Varsha-anjanappa/repos",
"events_url": "https://api.github.com/users/Varsha-anjanappa/events{/privacy}",
"received_events_url": "https://api.github.com/users/Varsha-anjanappa/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"Hi @ZappaBoy ,\r\n\r\nTo enable ROCm you have to build from source.\r\n\r\nPlease find the configuration [here](https://www.tensorflow.org/install/source#expandable-1).\r\n\r\nThank you!!",
"Hi @Varsha-anjanappa,\r\n\r\nFirst of all thanks for your time.\r\nI'm currently using `rocm` successfully. The issue here is about the `FAKE_REQUIRED_PACKAGES` versions definition that prevent to install other `tensorflow` versions different from main versions using package managers like `poetry`.\r\nAs you can see the problem is not only related to `tensorflow-rocm` but it's related to all the package with a version longer than the `major.minor.patch` standard versioning. The issue is generated due to the fact that the fake packages like `tensorflow-cpu-aws` and `tensorflow-intel` version follow the `major.minor.patch` standard versioning while other forks can use a `major.minor.patch.other` versioning standard. \r\n\r\nSo I think that my proposed solution can be useful but I'm not sure where to place the following line in the `setup.py`:\r\n```python\r\n_VERSION = (\".\").join(_VERSION.split(\".\")[:3])\r\n```\r\nMaybe it can be safer to create a `_FAKE_REQUIRED_PACKAGES_VERSION` variable like that:\r\n```python\r\n_FAKE_REQUIRED_PACKAGES_VERSION = (\".\").join(_VERSION.split(\".\")[:3])\r\n```\r\nAnd use `_FAKE_REQUIRED_PACKAGES_VERSION` instead of `_VERSION` in the `FAKE_REQUIRED_PACKAGES` list.\r\n",
"Hi @Varsha-anjanappa,\r\nI had some free time and I created this PR https://github.com/tensorflow/tensorflow/pull/61444.\r\nI hope this can help to solve the issue.",
"Hi @ZappaBoy ,\r\nCan this issue be closed now ?",
"The PR did not land",
"@Varsha-anjanappa as discussed in the PR this seems to be an issue that the forks of tensorflow will have to solve independently, so this issue can be closed 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/61434\">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/61434\">No</a>\n"
] | 2023-07-31T12:46:02 | 2023-08-30T07:58:43 | 2023-08-30T07:58:40 | NONE | null | null | null | ### Issue type
Build/Install
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
source
### TensorFlow version
2.12.0.560
### Custom code
Yes
### OS platform and distribution
Archlinux 6.1.38-2-lts
### 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
AMD Radeon RX 6700 XT - gfx1031
### Current behavior?
Updating `tensorflow-rocm` using `poetry` produce a not resolvable dependency error due to `tensorflow-intel` "fake required package".
The problem is due to the following lines:
https://github.com/tensorflow/tensorflow/blob/6d2f5ac299ef81e3bcd0a431b2375ebbd8252708/tensorflow/tools/pip_package/setup.py#L140-L142
https://github.com/tensorflow/tensorflow/blob/6d2f5ac299ef81e3bcd0a431b2375ebbd8252708/tensorflow/tools/pip_package/setup.py#L143-L144
In particular, the error is caused by the `_VERSION`. In fact, the same version of `tensorflow-rocm` (`2.12.0.560`) not exists in `tensorflow-intel`.
### Standalone code to reproduce the issue
```shell
poetry new fixme
cd fixme
poetry add tensorflow-rocm=="2.12.0.560"
```
### Relevant log output
```shell
Because tensorflow-rocm (2.12.0.560) depends on tensorflow-intel (2.12.0.560) which doesn't match any versions, tensorflow-rocm is forbidden.
So, because lstm-predictor depends on tensorflow-rocm (2.12.0.560), version solving failed.
```
### Possible fix
Simply truncate the version to the patch version before the FAKE_REQUIRED_PACKAGES list definition.
```python
# _VERSION="2.12.0.560"
_VERSION = (".").join(_VERSION.split(".")[:3])
```
### Other open issue
I open the same issue on [ROCmSoftwarePlatform/tensorflow-upstream](https://github.com/ROCmSoftwarePlatform/tensorflow-upstream) [here](https://github.com/ROCmSoftwarePlatform/tensorflow-upstream/issues/2161#issue-1809512685) | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61434/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61434/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61433 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61433/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61433/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61433/events | https://github.com/tensorflow/tensorflow/pull/61433 | 1,828,927,807 | PR_kwDOArmXAs5WyQWa | 61,433 | Fix gemm_algorithm_picker bug for cublasLt. | {
"login": "kimbaol",
"id": 5410381,
"node_id": "MDQ6VXNlcjU0MTAzODE=",
"avatar_url": "https://avatars.githubusercontent.com/u/5410381?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kimbaol",
"html_url": "https://github.com/kimbaol",
"followers_url": "https://api.github.com/users/kimbaol/followers",
"following_url": "https://api.github.com/users/kimbaol/following{/other_user}",
"gists_url": "https://api.github.com/users/kimbaol/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kimbaol/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kimbaol/subscriptions",
"organizations_url": "https://api.github.com/users/kimbaol/orgs",
"repos_url": "https://api.github.com/users/kimbaol/repos",
"events_url": "https://api.github.com/users/kimbaol/events{/privacy}",
"received_events_url": "https://api.github.com/users/kimbaol/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1133285679,
"node_id": "MDU6TGFiZWwxMTMzMjg1Njc5",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:xla",
"name": "comp:xla",
"color": "0052cc",
"default": false,
"description": "XLA"
},
{
"id": 1169364458,
"node_id": "MDU6TGFiZWwxMTY5MzY0NDU4",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:S",
"name": "size:S",
"color": "adafea",
"default": false,
"description": "CL Change Size: Small"
}
] | closed | false | {
"login": "SandSnip3r",
"id": 5478410,
"node_id": "MDQ6VXNlcjU0Nzg0MTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/5478410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SandSnip3r",
"html_url": "https://github.com/SandSnip3r",
"followers_url": "https://api.github.com/users/SandSnip3r/followers",
"following_url": "https://api.github.com/users/SandSnip3r/following{/other_user}",
"gists_url": "https://api.github.com/users/SandSnip3r/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SandSnip3r/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SandSnip3r/subscriptions",
"organizations_url": "https://api.github.com/users/SandSnip3r/orgs",
"repos_url": "https://api.github.com/users/SandSnip3r/repos",
"events_url": "https://api.github.com/users/SandSnip3r/events{/privacy}",
"received_events_url": "https://api.github.com/users/SandSnip3r/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "SandSnip3r",
"id": 5478410,
"node_id": "MDQ6VXNlcjU0Nzg0MTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/5478410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SandSnip3r",
"html_url": "https://github.com/SandSnip3r",
"followers_url": "https://api.github.com/users/SandSnip3r/followers",
"following_url": "https://api.github.com/users/SandSnip3r/following{/other_user}",
"gists_url": "https://api.github.com/users/SandSnip3r/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SandSnip3r/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SandSnip3r/subscriptions",
"organizations_url": "https://api.github.com/users/SandSnip3r/orgs",
"repos_url": "https://api.github.com/users/SandSnip3r/repos",
"events_url": "https://api.github.com/users/SandSnip3r/events{/privacy}",
"received_events_url": "https://api.github.com/users/SandSnip3r/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 @cheshire Can you please review this PR ? Thank you!",
"Makes sense ! I think we do not notice it because we do not use cublasLT by default. @SandSnip3r could you take a look?",
"Hmm, yeah. As far as I can tell, it looks like we never set the algorithm for cublasLt. However, I disagree with the way that this PR goes about setting it.\r\n\r\nThe code inside of `GetBestAlgorithm` already sets the algorithm via\r\n```\r\nresult.mutable_gemm()->set_algorithm(profile_result.algorithm());\r\n```\r\n\r\nInstead, we should be setting the algorithm inside of the profile result similarly to how it's done for cublas. For cublas, the `blas::ProfileResult`'s algorithm is set inside of `cuda_blas.cc`. The same should be done inside `cuda_blas_lt_.cc` for cublasLt. This PR would further complicate the already complicated \"blas\" abstraction.",
"> Hmm, yeah. As far as I can tell, it looks like we never set the algorithm for cublasLt. However, I disagree with the way that this PR goes about setting it.\r\n> \r\n> The code inside of `GetBestAlgorithm` already sets the algorithm via\r\n> \r\n> ```\r\n> result.mutable_gemm()->set_algorithm(profile_result.algorithm());\r\n> ```\r\n> \r\n> Instead, we should be setting the algorithm inside of the profile result similarly to how it's done for cublas. For cublas, the `blas::ProfileResult`'s algorithm is set inside of `cuda_blas.cc`. The same should be done inside `cuda_blas_lt_.cc` for cublasLt. This PR would further complicate the already complicated \"blas\" abstraction.\r\n\r\nThanks for the review @cheshire @SandSnip3r \r\n\r\nThe algorithm in cublasLt is a little different from cublas. \r\n\r\nIn cublas, we can specify the best algorithm by set a integer value (algorithm id).\r\nHowever, in cublasLt, the algorithm is repsented by cublasLtMatmulAlgo_t, which is more complex[ref].(https://gitlab.com/nvidia/headers/cuda-individual/cublas/-/blob/main/cublasLt.h#L119)\r\n\r\nIn order to use the \"blas\" abstraction for gemm algorithm, I think we can use cublasLtMatmulAlgoGetHeuristic in gemm_algorithm_picker, get the best algorithm, save it's index in blas::ProfileResult. And later in RunGemm(), we can first call cublasLtMatmulAlgoGetHeuristic(), and then use the saved index find the best algorithm. ",
"> In cublas, we can specify the best algorithm by set a integer value (algorithm id). However, in cublasLt, the algorithm is repsented by cublasLtMatmulAlgo_t, which is more complex[ref].(https://gitlab.com/nvidia/headers/cuda-individual/cublas/-/blob/main/cublasLt.h#L119)\r\n> \r\n> In order to use the \"blas\" abstraction for gemm algorithm, I think we can use cublasLtMatmulAlgoGetHeuristic in gemm_algorithm_picker, get the best algorithm, save it's index in blas::ProfileResult. And later in RunGemm(), we can first call cublasLtMatmulAlgoGetHeuristic(), and then use the saved index find the best algorithm.\r\n\r\nI suppose you could do that, just to avoid needing to make the algorithm a bit more abstract in the profile result.\r\n\r\nHowever, you now have an additional call to GetHeuristic. Also is that going to be called each time you call RunGemm? Also, that's trusting that the algorithms are returned in the same order every time, which could lead to a very hard-to-spot performance regression if that were no longer the case.\r\n\r\nTo do it right, I think you ought to adapt the interface to allow for the different types used by cublas and cublasLt for their algorithms.",
"BTW also note that past Ampere, the select algorithm is ignored entirely in cuBLAS from what I recall. So ironically storing or not storing the algorithm on Ampere+ GPUs probably makes no difference.",
"Hi @kimbaol 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.",
"Hi @kimbaol Any update on this PR? Please. Thank you!",
"Hi @kimbaol I'm going to go ahead and close this PR, because it seems to have stalled. If you're still interested in pursing this (and responding to my comments), please feel free to reopen! Thank you for you contribution!"
] | 2023-07-31T10:53:22 | 2023-11-03T06:55:30 | 2023-11-03T06:55:30 | NONE | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61433",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61433",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61433.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61433.patch",
"merged_at": null
} | In [cublas_lt_matmul.cc](https://github.com/tensorflow/tensorflow/blob/305c2c09dd998397f52da79650b36c35ff211225/tensorflow/compiler/xla/service/gpu/runtime/cublas_lt_matmul.cc#L140),we will get all valid algorithms from cublasLtMatmulAlgoGetHeuristic(),and then select the i-th from parameter "algorithm". However, it seems this "algorithm" parameter is not correctly set in gemm_algorithm_picker.
This pr fix the bug, and I run several tests on A800, it can help to improve the gemm performance.
(A800 with cuda12.2)
(XLA_FLAGS='--xla_gpu_enable_cublaslt', TF_CPP_VMODULE=gemm_algorithm_picker=10)
(m=1024, k=4096,n=2048)
Before
- logs
<img width="917" alt="image" src="https://github.com/tensorflow/tensorflow/assets/5410381/f8808d34-efb5-4c62-9699-3b75b44f1a37">
- result
<img width="1537" alt="image" src="https://github.com/tensorflow/tensorflow/assets/5410381/adc09542-9a27-445b-8e09-e40a0c2d25d4">
After
- logs
<img width="914" alt="image" src="https://github.com/tensorflow/tensorflow/assets/5410381/433d1fbc-c816-44e3-b9fb-c84a0bcb7aa7">
- result
<img width="1526" alt="image" src="https://github.com/tensorflow/tensorflow/assets/5410381/c48acb15-f06d-44ab-8dfc-9d4866f92819">
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61433/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61433/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61432 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61432/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61432/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61432/events | https://github.com/tensorflow/tensorflow/pull/61432 | 1,828,895,734 | PR_kwDOArmXAs5WyJja | 61,432 | Fix gemm_algorithm_picker bug for cublasLt. | {
"login": "kimbaol",
"id": 5410381,
"node_id": "MDQ6VXNlcjU0MTAzODE=",
"avatar_url": "https://avatars.githubusercontent.com/u/5410381?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kimbaol",
"html_url": "https://github.com/kimbaol",
"followers_url": "https://api.github.com/users/kimbaol/followers",
"following_url": "https://api.github.com/users/kimbaol/following{/other_user}",
"gists_url": "https://api.github.com/users/kimbaol/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kimbaol/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kimbaol/subscriptions",
"organizations_url": "https://api.github.com/users/kimbaol/orgs",
"repos_url": "https://api.github.com/users/kimbaol/repos",
"events_url": "https://api.github.com/users/kimbaol/events{/privacy}",
"received_events_url": "https://api.github.com/users/kimbaol/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1169364458,
"node_id": "MDU6TGFiZWwxMTY5MzY0NDU4",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:S",
"name": "size:S",
"color": "adafea",
"default": false,
"description": "CL Change Size: Small"
}
] | closed | false | {
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).\n\nView this [failed invocation](https://github.com/tensorflow/tensorflow/pull/61432/checks?check_run_id=15479404539) of the CLA check for more information.\n\nFor the most up to date status, view the checks section at the bottom of the pull request."
] | 2023-07-31T10:34:32 | 2023-07-31T10:45:22 | 2023-07-31T10:45:21 | NONE | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61432",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61432",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61432.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61432.patch",
"merged_at": null
} | In [cublas_lt_matmul.cc](https://github.com/tensorflow/tensorflow/blob/305c2c09dd998397f52da79650b36c35ff211225/tensorflow/compiler/xla/service/gpu/runtime/cublas_lt_matmul.cc#L140),we will get all valid algorithms from cublasLtMatmulAlgoGetHeuristic(),and then select the i-th from parameter "algorithm". However, it seems this "algorithm" parameter is not correctly set in gemm_algorithm_picker.
This pr fix the bug, and I run several tests on A800, it can help to improve the gemm performance.
(A800 with cuda12.2)
(XLA_FLAGS='--xla_gpu_enable_cublaslt', TF_CPP_VMODULE=gemm_algorithm_picker=10)
(m=1024, k=4096,n=2048)
Before
- logs
<img width="917" alt="image" src="https://github.com/tensorflow/tensorflow/assets/5410381/f8808d34-efb5-4c62-9699-3b75b44f1a37">
- result
<img width="1537" alt="image" src="https://github.com/tensorflow/tensorflow/assets/5410381/adc09542-9a27-445b-8e09-e40a0c2d25d4">
After
- logs
<img width="914" alt="image" src="https://github.com/tensorflow/tensorflow/assets/5410381/433d1fbc-c816-44e3-b9fb-c84a0bcb7aa7">
- result
<img width="1526" alt="image" src="https://github.com/tensorflow/tensorflow/assets/5410381/c48acb15-f06d-44ab-8dfc-9d4866f92819">
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61432/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61432/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61431 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61431/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61431/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61431/events | https://github.com/tensorflow/tensorflow/pull/61431 | 1,828,802,290 | PR_kwDOArmXAs5Wx1Be | 61,431 | Slight differences with AARCH64 so need to relax test | {
"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": 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-07-31T09:40:55 | 2023-08-01T08:13:48 | 2023-08-01T04:53:11 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61431",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61431",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61431.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61431.patch",
"merged_at": "2023-08-01T04:53:11"
} | The unit test //tensorflow/python/kernel_tests/nn_ops:rnn_cell_test_cpu frequently fails due to slight differences in results when tested on AARCH64 so allow close match rather than needing absolute equality. | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61431/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61431/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61430 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61430/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61430/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61430/events | https://github.com/tensorflow/tensorflow/issues/61430 | 1,828,775,266 | I_kwDOArmXAs5tAOVi | 61,430 | Visual Studio 2022 / MingW64: cant find source files | {
"login": "emailbsuv",
"id": 42220465,
"node_id": "MDQ6VXNlcjQyMjIwNDY1",
"avatar_url": "https://avatars.githubusercontent.com/u/42220465?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/emailbsuv",
"html_url": "https://github.com/emailbsuv",
"followers_url": "https://api.github.com/users/emailbsuv/followers",
"following_url": "https://api.github.com/users/emailbsuv/following{/other_user}",
"gists_url": "https://api.github.com/users/emailbsuv/gists{/gist_id}",
"starred_url": "https://api.github.com/users/emailbsuv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/emailbsuv/subscriptions",
"organizations_url": "https://api.github.com/users/emailbsuv/orgs",
"repos_url": "https://api.github.com/users/emailbsuv/repos",
"events_url": "https://api.github.com/users/emailbsuv/events{/privacy}",
"received_events_url": "https://api.github.com/users/emailbsuv/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": 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": "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 | [
"```\r\n#include <iostream>\r\n#include \"tensorflow/cc/client/client_session.h\"\r\n#include \"tensorflow/cc/ops/standard_ops.h\"\r\n#include \"tensorflow/core/framework/tensor.h\"\r\n\r\nusing namespace tensorflow;\r\nusing namespace tensorflow::ops;\r\n\r\nint main() {\r\n // Входные данные - предыдущие 5 OHLC свечей\r\n float input_data[5][4] = {\r\n {100.0, 110.0, 95.0, 105.0},\r\n {105.0, 115.0, 100.0, 110.0},\r\n {110.0, 120.0, 105.0, 115.0},\r\n {115.0, 125.0, 110.0, 120.0},\r\n {120.0, 130.0, 115.0, 125.0}\r\n };\r\n\r\n // Будущая OHLC свеча, которую нужно предсказать\r\n float target_data[4] = { 125.0, 135.0, 120.0, 130.0 };\r\n\r\n // Создание графа TensorFlow\r\n Scope root = Scope::NewRootScope();\r\n auto input = Placeholder(root, DT_FLOAT, Placeholder::Shape({ 5, 4 }));\r\n auto target = Placeholder(root, DT_FLOAT, Placeholder::Shape({ 4 }));\r\n\r\n // Определение модели\r\n auto weights = Variable(root, { 4, 8 }, DT_FLOAT);\r\n auto biases = Variable(root, { 8 }, DT_FLOAT);\r\n auto output = Tanh(root, Add(root, MatMul(root, input, weights), biases));\r\n\r\n // Определение функции потерь\r\n auto loss = ReduceMean(root, Square(root, Sub(root, output, target)), { 0 });\r\n\r\n // Определение оптимизатора\r\n auto learning_rate = Const(root, 0.01f, {});\r\n auto optimizer = GradientDescentOptimizer(root, learning_rate);\r\n auto train_op = optimizer.minimize(root, loss);\r\n\r\n // Создание сессии\r\n ClientSession session(root);\r\n\r\n // Обучение модели\r\n Tensor input_tensor(DT_FLOAT, TensorShape({ 5, 4 }));\r\n Tensor target_tensor(DT_FLOAT, TensorShape({ 4 }));\r\n\r\n memcpy(input_tensor.flat<float>().data(), input_data, sizeof(input_data));\r\n memcpy(target_tensor.flat<float>().data(), target_data, sizeof(target_data));\r\n\r\n for (int i = 0; i < 1000; i++) {\r\n // Запуск одной итерации обучения\r\n session.Run({ {input, input_tensor}, {target, target_tensor} }, {}, { train_op });\r\n }\r\n\r\n // Прогнозирование будущей OHLC свечи\r\n Tensor prediction;\r\n session.Run({ {input, input_tensor} }, { output }, &prediction);\r\n\r\n // Вывод предсказанной свечи\r\n auto result = prediction.flat<float>();\r\n std::cout << \"Predicted OHLC: \" << result(0) << \", \" << result(1) << \", \" << result(2) << \", \" << result(3) << std::endl;\r\n\r\n return 0;\r\n}\r\n```\r\nСерьезность\tКод\tОписание\tПроект\tФайл\tСтрока\tСостояние подавления\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/status/status.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\cc\\framework\\ops.h\t24\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/strings/str_cat.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\cc\\framework\\ops.h\t25\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/core/framework/tensor.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\cc\\framework\\ops.h\t27\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/strings/str_cat.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\cc\\framework\\scope.h\t25\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/cc/ops/array_ops.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\cc\\ops\\standard_ops.h\t19\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/cc/ops/candidate_sampling_ops.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\cc\\ops\\standard_ops.h\t20\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/cc/ops/control_flow_ops.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\cc\\ops\\standard_ops.h\t22\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/cc/ops/data_flow_ops.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\cc\\ops\\standard_ops.h\t23\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/cc/ops/image_ops.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\cc\\ops\\standard_ops.h\t24\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/cc/ops/io_ops.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\cc\\ops\\standard_ops.h\t25\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/cc/ops/linalg_ops.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\cc\\ops\\standard_ops.h\t26\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/cc/ops/logging_ops.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\cc\\ops\\standard_ops.h\t27\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/cc/ops/lookup_ops.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\cc\\ops\\standard_ops.h\t28\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/cc/ops/math_ops.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\cc\\ops\\standard_ops.h\t29\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/cc/ops/nn_ops.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\cc\\ops\\standard_ops.h\t30\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/cc/ops/no_op.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\cc\\ops\\standard_ops.h\t31\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/cc/ops/parsing_ops.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\cc\\ops\\standard_ops.h\t32\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/cc/ops/random_ops.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\cc\\ops\\standard_ops.h\t33\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/cc/ops/sparse_ops.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\cc\\ops\\standard_ops.h\t34\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/cc/ops/state_ops.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\cc\\ops\\standard_ops.h\t35\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/cc/ops/string_ops.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\cc\\ops\\standard_ops.h\t36\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/cc/ops/training_ops.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\cc\\ops\\standard_ops.h\t37\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/cc/ops/user_ops.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\cc\\ops\\standard_ops.h\t38\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/core/framework/graph.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\common_runtime\\graph_constructor.h\t19\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/strings/string_view.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\allocator.h\t24\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/types/optional.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\allocator.h\t25\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/base/macros.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\device_base.h\t23\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/strings/string_view.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\device_base.h\t24\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/core/framework/device_attributes.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\device_base.h\t25\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/core/framework/full_type.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\full_type_inference_util.h\t23\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/core/framework/full_type.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\full_type_util.h\t22\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/core/framework/node_def.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\full_type_util.h\t23\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/core/framework/op_def.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\full_type_util.h\t25\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/core/framework/graph_debug_info.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t25\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/container/flat_hash_map.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t30\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/types/optional.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t31\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/types/variant.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t32\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/core/framework/attr_value.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t33\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/core/framework/function.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t36\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/core/framework/optimized_function_graph.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t40\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/core/protobuf/config.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t51\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/tsl/protobuf/error_codes.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t52\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/core/protobuf/remote_tensor_handle.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t54\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/core/framework/node_def.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\node_def_builder.h\t23\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/core/framework/op_def.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\node_def_builder.h\t26\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/core/framework/node_def.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\node_def_util.h\t24\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/core/framework/op_def.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\node_def_util.h\t25\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/core/framework/types.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\node_def_util.h\t29\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/core/framework/node_def.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\node_properties.h\t19\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/core/framework/op_def.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\node_properties.h\t20\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/container/flat_hash_map.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op.h\t25\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/core/framework/full_type.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op.h\t26\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/core/framework/full_type.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_def_builder.h\t26\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/core/framework/op_def.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_def_builder.h\t27\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/core/framework/api_def.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_def_util.h\t24\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/core/framework/op_def.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_def_util.h\t25\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/time/time.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t24\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/types/optional.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t25\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/types/span.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t26\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/core/framework/graph.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t31\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/core/framework/kernel_def.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t32\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/core/framework/node_def.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t34\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/core/framework/tensor_shape.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t44\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/core/framework/types.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t47\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/core/protobuf/config.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t59\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/core/framework/registration/options.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\registration\\registration.h\t38\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/core/framework/types.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\resource_handle.h\t24\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"third_party/eigen3/unsupported/Eigen/CXX11/Tensor\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor.h\t25\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/core/framework/types.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor.h\t30\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"third_party/eigen3/unsupported/Eigen/CXX11/Tensor\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_shape.h\t21\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/core/framework/types.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_shape.h\t22\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"third_party/eigen3/unsupported/Eigen/CXX11/Tensor\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t19\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"third_party/eigen3/unsupported/Eigen/CXX11/Tensor\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\types.h\t23\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/core/framework/full_type.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\types.h\t25\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/core/framework/types.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\types.h\t28\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/types/optional.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph.h\t45\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/core/framework/full_type.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph.h\t46\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/core/framework/node_def.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph.h\t48\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/container/flat_hash_map.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph_debug_info_builder.h\t24\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/status/status.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph_debug_info_builder.h\t25\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/status/statusor.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph_debug_info_builder.h\t26\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/strings/string_view.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph_debug_info_builder.h\t27\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/types/span.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph_debug_info_builder.h\t28\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/core/framework/graph_debug_info.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph_debug_info_builder.h\t29\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/core/framework/op_def.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\node_builder.h\t22\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/types/span.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\lib\\gtl\\array_slice.h\t19\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/base/attributes.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\platform\\errors.h\t23\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/strings/str_join.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\platform\\errors.h\t24\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/types/optional.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\platform\\threadpool.h\t22\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/core/protobuf/config.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\public\\session_options.h\t22\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/strings/match.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\util\\managed_stack_trace.h\t26\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/strings/str_cat.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\util\\managed_stack_trace.h\t27\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/types/optional.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\util\\managed_stack_trace.h\t28\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/strings/string_view.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\util\\tensor_format.h\t23\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/strings/string_view.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\framework\\allocator.h\t25\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/types/optional.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\framework\\allocator.h\t26\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/strings/string_view.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\framework\\device_type.h\t22\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"Eigen/Core\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\framework\\fixedpoint_types.h\t21\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/container/inlined_vector.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\lib\\gtl\\inlined_vector.h\t19\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"third_party/eigen3/Eigen/Core\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\bfloat16.h\t20\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/strings/cord.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\default\\cord.h\t22\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/base/log_severity.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\default\\logging.h\t35\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/strings/string_view.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\default\\logging.h\t36\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/status/statusor.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\default\\statusor.h\t18\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/functional/any_invocable.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\env.h\t27\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/base/attributes.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\errors.h\t26\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/status/status.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\errors.h\t27\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/strings/cord.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\errors.h\t28\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/strings/str_join.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\errors.h\t29\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"include/float8.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\float8.h\t19\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"google/protobuf/descriptor.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\protobuf.h\t30\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"google/protobuf/arena.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\protobuf.h\t31\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"google/protobuf/descriptor.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\protobuf.h\t32\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"google/protobuf/dynamic_message.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\protobuf.h\t33\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"google/protobuf/io/coded_stream.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\protobuf.h\t34\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"google/protobuf/io/tokenizer.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\protobuf.h\t35\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"google/protobuf/io/zero_copy_stream.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\protobuf.h\t36\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"google/protobuf/io/zero_copy_stream_impl_lite.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\protobuf.h\t37\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"google/protobuf/map.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\protobuf.h\t38\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"google/protobuf/message.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\protobuf.h\t39\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"google/protobuf/repeated_field.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\protobuf.h\t40\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"google/protobuf/text_format.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\protobuf.h\t41\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"google/protobuf/util/field_comparator.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\protobuf.h\t42\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"google/protobuf/util/json_util.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\protobuf.h\t43\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"google/protobuf/util/message_differencer.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\protobuf.h\t44\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"google/protobuf/util/type_resolver_util.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\protobuf.h\t45\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/base/attributes.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\status.h\t28\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/functional/function_ref.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\status.h\t29\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/status/status.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\status.h\t30\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/strings/cord.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\status.h\t31\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/strings/string_view.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\status.h\t32\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/types/optional.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\status.h\t33\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"tensorflow/tsl/protobuf/error_codes.pb.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\status.h\t39\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/base/attributes.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\statusor.h\t71\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/status/statusor.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\statusor.h\t72\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/strings/string_view.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\stringpiece.h\t29\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/strings/str_join.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\str_util.h\t23\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/strings/str_split.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\str_util.h\t24\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"absl/types/optional.h\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\threadpool.h\t22\t\r\nОшибка (активно)\tE1696\tне удается открыть источник файл \"third_party/eigen3/unsupported/Eigen/CXX11/ThreadPool\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\threadpool_interface.h\t19\t\r\nОшибка (активно)\tE0020\tидентификатор \"_crt_app_type\" не определен\tai\tC:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.22000.0\\ucrt\\corecrt_startup.h\t54\t\r\nОшибка (активно)\tE0020\tидентификатор \"_crt_app_type\" не определен\tai\tC:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.22000.0\\ucrt\\corecrt_startup.h\t57\t\r\nОшибка (активно)\tE0020\tидентификатор \"_crt_argv_mode\" не определен\tai\tC:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.22000.0\\ucrt\\corecrt_startup.h\t76\t\r\nОшибка (активно)\tE0020\tидентификатор \"_crt_argv_mode\" не определен\tai\tC:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.22000.0\\ucrt\\corecrt_startup.h\t80\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.22000.0\\ucrt\\corecrt_startup.h\t197\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.22000.0\\ucrt\\process.h\t372\t\r\nОшибка (активно)\tE0020\tидентификатор \"_Min_max_element_t\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t49\t\r\nОшибка (активно)\tE0020\tидентификатор \"_Min_max_element_t\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t50\t\r\nОшибка (активно)\tE0020\tидентификатор \"_Min_max_element_t\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t51\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t52\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t106\t\r\nОшибка (активно)\tE0077\tэто объявление не содержит класс хранения или спецификатор типа\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t114\t\r\nОшибка (активно)\tE0020\tидентификатор \"_Ty\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t114\t\r\nОшибка (активно)\tE0020\tидентификатор \"_Stack_space\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t114\t\r\nОшибка (активно)\tE0077\tэто объявление не содержит класс хранения или спецификатор типа\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t115\t\r\nОшибка (активно)\tE0020\tидентификатор \"_Optimistic_count\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t115\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t116\t\r\nОшибка (активно)\tE0020\tидентификатор \"_Optimistic_temporary_buffer\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t119\t\r\nОшибка (активно)\tE0341\tфункция \"operator=\" должна быть функцией-членом\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t119\t\r\nОшибка (активно)\tE0020\tидентификатор \"_Optimistic_temporary_buffer\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t119\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t121\t\r\nОшибка (активно)\tE0864\t_Aligned_storage_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t129\t\r\nОшибка (активно)\tE0020\tидентификатор \"_Ty\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t129\t\r\nОшибка (активно)\tE0020\tидентификатор \"_Ty\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t129\t\r\nОшибка (активно)\tE0020\tидентификатор \"_Optimistic_count\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t129\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t130\t\r\nОшибка (активно)\tE0864\t_Iter_diff_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t481\t\r\nОшибка (активно)\tE0864\tpair не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t546\t\r\nОшибка (активно)\tE0864\tpair не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t569\t\r\nОшибка (активно)\tE0864\tpair не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t586\t\r\nОшибка (активно)\tE0864\tpair не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t624\t\r\nОшибка (активно)\tE0864\tpair не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t1614\t\r\nОшибка (активно)\tE0864\t_Iter_diff_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t5969\t\r\nОшибка (активно)\tE0864\t_Iter_diff_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t5969\t\r\nОшибка (активно)\tE0864\t_Iter_value_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t5969\t\r\nОшибка (активно)\tE0864\tpair не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6001\t\r\nОшибка (активно)\tE0020\tидентификатор \"_Iter_diff_t\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6001\t\r\nОшибка (активно)\tE0254\tиспользование имени типа не допускается\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6001\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6001\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6026\t\r\nОшибка (активно)\tE0077\tэто объявление не содержит класс хранения или спецификатор типа\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6027\t\r\nОшибка (активно)\tE0147\tобъявление несовместимо с шаблон функции \"_OutIt std::_Move_unchecked(_InIt _First, _InIt _Last, _OutIt _Dest)\" (объявлено в строке 4788 из \"C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\xutility\")\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6027\t\r\nОшибка (активно)\tE0020\tидентификатор \"_Backout\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6027\t\r\nОшибка (активно)\tE0020\tидентификатор \"_Backout\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6027\t\r\nОшибка (активно)\tE0020\tидентификатор \"_Next\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6027\t\r\nОшибка (активно)\tE0020\tидентификатор \"_Diff\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6028\t\r\nОшибка (активно)\tE0020\tидентификатор \"_Diff\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6028\t\r\nОшибка (активно)\tE0020\tидентификатор \"_Count\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6028\t\r\nОшибка (активно)\tE0020\tидентификатор \"_Diff\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6028\t\r\nОшибка (активно)\tE0020\tидентификатор \"_Backout\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6028\t\r\nОшибка (активно)\tE0020\tидентификатор \"_Backout\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6028\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6029\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6030\t\r\nОшибка (активно)\tE0020\tидентификатор \"_BidIt\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6033\t\r\nОшибка (активно)\tE0020\tидентификатор \"_First\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6033\t\r\nОшибка (активно)\tE0020\tидентификатор \"_Mid_offset\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6033\t\r\nОшибка (активно)\tE0020\tидентификатор \"_BidIt\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6036\t\r\nОшибка (активно)\tE0020\tидентификатор \"_Diff\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6037\t\r\nОшибка (активно)\tE0020\tидентификатор \"_Mid_offset\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6037\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6038\t\r\nОшибка (активно)\tE0020\tидентификатор \"_Diff\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6058\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6059\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6083\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6084\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6109\t\r\nОшибка (активно)\tE0020\tидентификатор \"_Diff\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6113\t\r\nОшибка (активно)\tE0020\tидентификатор \"_First\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6113\t\r\nОшибка (активно)\tE0020\tидентификатор \"_Last\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6113\t\r\nОшибка (активно)\tE0020\tидентификатор \"_Diff\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6114\t\r\nОшибка (активно)\tE0020\tидентификатор \"_Diff\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6114\t\r\nОшибка (активно)\tE0864\t_Optimistic_temporary_buffer не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6115\t\r\nОшибка (активно)\tE0020\tидентификатор \"_Iter_value_t\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6115\t\r\nОшибка (активно)\tE0020\tидентификатор \"_BidIt\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6115\t\r\nОшибка (активно)\tE0040\tтребуется идентификатор\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6115\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6116\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6117\t\r\nОшибка (активно)\tE0077\tэто объявление не содержит класс хранения или спецификатор типа\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6467\t\r\nОшибка (активно)\tE0020\tидентификатор \"_Bottom\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6467\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6468\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t6471\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t7044\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t7206\t\r\nОшибка (активно)\tE0077\tэто объявление не содержит класс хранения или спецификатор типа\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t7220\t\r\nОшибка (активно)\tE0020\tидентификатор \"_Dest\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t7220\t\r\nОшибка (активно)\tE0020\tидентификатор \"_UFirst2\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t7220\t\r\nОшибка (активно)\tE0020\tидентификатор \"_ULast2\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t7220\t\r\nОшибка (активно)\tE0020\tидентификатор \"_UDest\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t7220\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t7221\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t7222\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t7384\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t7385\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t7418\t\r\nОшибка (активно)\tE0864\t_Iter_diff_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t7433\t\r\nОшибка (активно)\tE0864\t_Iter_diff_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t7434\t\r\nОшибка (активно)\tE0864\t_Iter_value_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t7434\t\r\nОшибка (активно)\tE0864\t_Iter_diff_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t7435\t\r\nОшибка (активно)\tE0864\t_Iter_diff_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t7435\t\r\nОшибка (активно)\tE0864\t_Iter_diff_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t7447\t\r\nОшибка (активно)\tE0864\t_Iter_diff_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t7448\t\r\nОшибка (активно)\tE0864\t_Iter_value_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t7448\t\r\nОшибка (активно)\tE0864\t_Iter_diff_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t7468\t\r\nОшибка (активно)\tE0864\t_Iter_diff_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t7469\t\r\nОшибка (активно)\tE0864\t_Iter_value_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t7469\t\r\nОшибка (активно)\tE0864\t_Iter_diff_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t7483\t\r\nОшибка (активно)\tE0864\t_Iter_diff_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t7484\t\r\nОшибка (активно)\tE0864\t_Iter_value_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t7484\t\r\nОшибка (активно)\tE0864\tpair не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t7979\t\r\nОшибка (активно)\tE0864\t_Iter_diff_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t8049\t\r\nОшибка (активно)\tE0864\t_Iter_diff_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t8373\t\r\nОшибка (активно)\tE0864\t_Iter_diff_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t8393\t\r\nОшибка (активно)\tE0864\t_Iter_diff_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t8394\t\r\nОшибка (активно)\tE0864\t_Iter_diff_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t8412\t\r\nОшибка (активно)\tE0864\t_Iter_diff_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t8423\t\r\nОшибка (активно)\tE0864\t_Iter_value_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t8424\t\r\nОшибка (активно)\tE0864\t_Iter_diff_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t8454\t\r\nОшибка (активно)\tE0864\t_Iter_value_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t8455\t\r\nОшибка (активно)\tE0864\tpair не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t9834\t\r\nОшибка (активно)\tE0864\tpair не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t9888\t\r\nОшибка (активно)\tE0864\tpair не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t9898\t\r\nОшибка (активно)\tE0864\tpair не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t10027\t\r\nОшибка (активно)\tE1835\tатрибут \"nodiscard\" не применяется в этом случае\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t10038\t\r\nОшибка (активно)\tE0864\tpair не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\algorithm\t10038\t\r\nОшибка (активно)\tE0864\t_Aligned_storage_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\condition_variable\t251\t\r\nОшибка (активно)\tE0020\tидентификатор \"cv_status\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\condition_variable\t258\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\condition_variable\t274\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\condition_variable\t281\t\r\nОшибка (активно)\tE1018\tкласс \"std::_Get_function_impl<tsl::Status (std::vector<std::string, std::allocator<std::string>>, std::vector<std::string, std::allocator<std::string>>, tensorflow::FunctionLibraryDefinition *, const tensorflow::DeviceSet &, tensorflow::Device *, std::unique_ptr<tensorflow::Graph, std::default_delete<tensorflow::Graph>> *)>\" не содержит класс-член \"type\"\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\functional\t1015\t\r\nОшибка (активно)\tE0135\tкласс \"std::_Get_function_impl<tsl::Status (std::vector<std::string, std::allocator<std::string>>, std::vector<std::string, std::allocator<std::string>>, tensorflow::FunctionLibraryDefinition *, const tensorflow::DeviceSet &, tensorflow::Device *, std::unique_ptr<tensorflow::Graph, std::default_delete<tensorflow::Graph>> *)>\" не содержит члена \"type\"\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\functional\t1017\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\functional\t1028\t\r\nОшибка (активно)\tE0952\tнетипизированный параметр шаблона не может иметь тип класса\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\functional\t1028\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\functional\t1028\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\functional\t1045\t\r\nОшибка (активно)\tE0952\tнетипизированный параметр шаблона не может иметь тип класса\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\functional\t1045\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\functional\t1045\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\functional\t1075\t\r\nОшибка (активно)\tE0952\tнетипизированный параметр шаблона не может иметь тип класса\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\functional\t1075\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\functional\t1075\t\r\nОшибка (активно)\tE0020\tидентификатор \"jmp_buf\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\intrin.h\t929\t\r\nОшибка (активно)\tE0020\tидентификатор \"jmp_buf\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\intrin.h\t930\t\r\nОшибка (активно)\tE0020\tидентификатор \"_Kty\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\map\t67\t\r\nОшибка (активно)\tE0864\tpair не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\map\t67\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\map\t70\t\r\nОшибка (активно)\tE0864\tless не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\map\t72\t\r\nОшибка (активно)\tE0864\tallocator не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\map\t72\t\r\nОшибка (активно)\tE0020\tидентификатор \"pair\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\map\t72\t\r\nОшибка (активно)\tE0254\tиспользование имени типа не допускается\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\map\t72\t\r\nОшибка (активно)\tE0706\tтребуется запятая \",\" или угловая скобка \">\"\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\map\t72\t\r\nОшибка (активно)\tE0864\tless не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\map\t454\t\r\nОшибка (активно)\tE0864\tallocator не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\map\t454\t\r\nОшибка (активно)\tE0020\tидентификатор \"pair\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\map\t454\t\r\nОшибка (активно)\tE0254\tиспользование имени типа не допускается\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\map\t454\t\r\nОшибка (активно)\tE0706\tтребуется запятая \",\" или угловая скобка \">\"\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\map\t454\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\map\t701\t\r\nОшибка (активно)\tE0020\tидентификатор \"element_type\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\memory\t1613\t\r\nОшибка (активно)\tE0020\tидентификатор \"element_type\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\memory\t1619\t\r\nОшибка (активно)\tE0020\tидентификатор \"element_type\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\memory\t1661\t\r\nОшибка (активно)\tE0020\tидентификатор \"element_type\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\memory\t1715\t\r\nОшибка (активно)\tE0020\tидентификатор \"element_type\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\memory\t1766\t\r\nОшибка (активно)\tE0020\tидентификатор \"native_handle_type\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\mutex\t61\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\mutex\t65\t\r\nОшибка (активно)\tE0239\tнедопустимый спецификатор вне объявления класса\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\mutex\t67\t\r\nОшибка (активно)\tE0260\tотсутствует явный тип (требуется \"int\")\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\mutex\t67\t\r\nОшибка (активно)\tE0864\t_Aligned_storage_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\mutex\t69\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\mutex\t74\t\r\nОшибка (активно)\tE0262\tне является именем класса или структуры\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\mutex\t76\t\r\nОшибка (активно)\tE0147\tобъявление несовместимо с \"void swap\" (объявлено в строке 111 из \"C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\")\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\mutex\t266\t\r\nОшибка (активно)\tE0864\tindex_sequence не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\mutex\t271\t\r\nОшибка (активно)\tE0864\tindex_sequence не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\mutex\t278\t\r\nОшибка (активно)\tE0864\tindex_sequence не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\mutex\t286\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\mutex\t954\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\ratio\t47\t\r\nОшибка (активно)\tE2386\t\"constexpr\" здесь не допускается\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\ratio\t83\t\r\nОшибка (активно)\tE0834\tнедопустимая частичная специализация -- уже выполнена полная специализация переменная \"_Is_ratio_v [с _Ty=<error-type>]\"\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\ratio\t83\t\r\nОшибка (активно)\tE0864\tratio не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\ratio\t83\t\r\nОшибка (активно)\tE0864\tvoid_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\ratio\t140\t\r\nОшибка (активно)\tE0864\tratio не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\ratio\t263\t\r\nОшибка (активно)\tE0864\tratio не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\ratio\t264\t\r\nОшибка (активно)\tE0864\tratio не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\ratio\t265\t\r\nОшибка (активно)\tE0864\tratio не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\ratio\t266\t\r\nОшибка (активно)\tE0864\tratio не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\ratio\t267\t\r\nОшибка (активно)\tE0864\tratio не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\ratio\t268\t\r\nОшибка (активно)\tE0864\tratio не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\ratio\t269\t\r\nОшибка (активно)\tE0864\tratio не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\ratio\t270\t\r\nОшибка (активно)\tE0864\tratio не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\ratio\t271\t\r\nОшибка (активно)\tE0864\tratio не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\ratio\t272\t\r\nОшибка (активно)\tE0864\tratio не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\ratio\t273\t\r\nОшибка (активно)\tE0864\tratio не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\ratio\t274\t\r\nОшибка (активно)\tE0864\tratio не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\ratio\t275\t\r\nОшибка (активно)\tE0864\tratio не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\ratio\t276\t\r\nОшибка (активно)\tE0864\tratio не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\ratio\t277\t\r\nОшибка (активно)\tE0864\tratio не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\ratio\t278\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\ratio\t279\t\r\nОшибка (активно)\tE0020\tидентификатор \"_Tuple\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t54\t\r\nОшибка (активно)\tE0020\tидентификатор \"_FnVals\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t54\t\r\nОшибка (активно)\tE0077\tэто объявление не содержит класс хранения или спецификатор типа\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t55\t\r\nОшибка (активно)\tE0493\tотсутствуют экземпляры перегруженная функция \"std::invoke\", соответствующие заданному типу\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t55\t\r\nОшибка (активно)\tE0020\tидентификатор \"_Indices\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t55\t\r\nОшибка (активно)\tE0018\tтребуется круглая скобка \")\"\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t55\t\r\nОшибка (активно)\tE0260\tотсутствует явный тип (требуется \"int\")\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t56\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t57\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t58\t\r\nОшибка (активно)\tE0020\tидентификатор \"thread\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t109\t\r\nОшибка (активно)\tE0341\tфункция \"operator=\" должна быть функцией-членом\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t109\t\r\nОшибка (активно)\tE0020\tидентификатор \"thread\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t109\t\r\nОшибка (активно)\tE0147\tобъявление несовместимо с перегруженная функция \"swap\" (объявлено в строке 442 из \"C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\map\")\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t111\t\r\nОшибка (активно)\tE0020\tидентификатор \"thread\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t111\t\r\nОшибка (активно)\tE0020\tидентификатор \"_Other\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t111\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t111\t\r\nОшибка (активно)\tE0020\tидентификатор \"native_handle_type\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t146\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t154\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t156\t\r\nОшибка (активно)\tE0260\tотсутствует явный тип (требуется \"int\")\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t159\t\r\nОшибка (активно)\tE0018\tтребуется круглая скобка \")\"\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t159\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t175\t\r\nОшибка (активно)\tE0260\tотсутствует явный тип (требуется \"int\")\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t186\t\r\nОшибка (активно)\tE0018\tтребуется круглая скобка \")\"\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t186\t\r\nОшибка (активно)\tE0260\tотсутствует явный тип (требуется \"int\")\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t203\t\r\nОшибка (активно)\tE0018\tтребуется круглая скобка \")\"\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t203\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t208\t\r\nОшибка (активно)\tE0260\tотсутствует явный тип (требуется \"int\")\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t210\t\r\nОшибка (активно)\tE0771\tключевое слово explicit недопустимо\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t213\t\r\nОшибка (активно)\tE0260\tотсутствует явный тип (требуется \"int\")\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t213\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t213\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t217\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t217\t\r\nОшибка (активно)\tE1670\tквалификатор типа не разрешен на функции не элементам\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t217\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t218\t\r\nОшибка (активно)\tE0898\tоператору, не являющемуся членом, требуется параметр с класса перечисляемого типа\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t219\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t219\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t219\t\r\nОшибка (активно)\tE0898\tоператору, не являющемуся членом, требуется параметр с класса перечисляемого типа\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t223\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t223\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t223\t\r\nОшибка (активно)\tE0864\tbasic_ostream не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t226\t\r\nОшибка (активно)\tE0898\tоператору, не являющемуся членом, требуется параметр с класса перечисляемого типа\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t226\t\r\nОшибка (активно)\tE0864\tbasic_ostream не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t226\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t226\t\r\nОшибка (активно)\tE0864\thash не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t227\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t227\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t230\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t230\t\r\nОшибка (активно)\tE1670\tквалификатор типа не разрешен на функции не элементам\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t230\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t234\t\r\nОшибка (активно)\tE0325\tвстроенный спецификатор можно использовать только в объявлениях функций\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t238\t\r\nОшибка (активно)\tE0070\tнедопустимый неполный тип\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t238\t\r\nОшибка (активно)\tE0020\tидентификатор \"thread\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t238\t\r\nОшибка (активно)\tE0020\tидентификатор \"_Left\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t238\t\r\nОшибка (активно)\tE0020\tидентификатор \"thread\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t238\t\r\nОшибка (активно)\tE0020\tидентификатор \"_Right\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t238\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t238\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\thread\t380\t\r\nОшибка (активно)\tE0020\tидентификатор \"_crt_exit_return_mode\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\vcruntime_startup.h\t39\t\r\nОшибка (активно)\tE0020\tидентификатор \"_crt_argv_mode\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\vcruntime_startup.h\t50\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\vcruntime_startup.h\t54\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t52\t\r\nОшибка (активно)\tE0864\tratio не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t71\t\r\nОшибка (активно)\tE0864\tenable_if_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t77\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t253\t\r\nОшибка (активно)\tE2386\t\"constexpr\" здесь не допускается\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t259\t\r\nОшибка (активно)\tE0864\t_Is_trivially_swappable_v не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t259\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t259\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t259\t\r\nОшибка (активно)\tE0864\tcommon_type не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t267\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t267\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t267\t\r\nОшибка (активно)\tE0864\tcommon_type не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t273\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t273\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t273\t\r\nОшибка (активно)\tE0864\tcommon_type_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t280\t\r\nОшибка (активно)\tE0864\tcommon_type_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t288\t\r\nОшибка (активно)\tE0864\tenable_if_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t296\t\r\nОшибка (активно)\tE0020\tидентификатор \"is_convertible_v\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t296\t\r\nОшибка (активно)\tE0254\tиспользование имени типа не допускается\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t296\t\r\nОшибка (активно)\tE0029\tтребуется выражение\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t296\t\r\nОшибка (активно)\tE0020\tидентификатор \"common_type_t\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t296\t\r\nОшибка (активно)\tE0254\tиспользование имени типа не допускается\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t296\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t296\t\r\nОшибка (активно)\tE0840\tиспользование списка аргументов шаблона в объявлении основного шаблона не допускается\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t319\t\r\nОшибка (активно)\tE0864\tcommon_type_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t330\t\r\nОшибка (активно)\tE0864\tcommon_type_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t339\t\r\nОшибка (активно)\tE0864\tcommon_type_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t347\t\r\nОшибка (активно)\tE0864\tcommon_type_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t356\t\r\nОшибка (активно)\tE0864\tenable_if_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t420\t\r\nОшибка (активно)\tE0864\tenable_if_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t450\t\r\nОшибка (активно)\tE0864\tenable_if_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t463\t\r\nОшибка (активно)\tE0864\tenable_if_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t483\t\r\nОшибка (активно)\tE0020\tидентификатор \"treat_as_floating_point_v\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t483\t\r\nОшибка (активно)\tE0254\tиспользование имени типа не допускается\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t483\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t483\t\r\nОшибка (активно)\tE0864\tratio не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t514\t\r\nОшибка (активно)\tE0864\tratio не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t515\t\r\nОшибка (активно)\tE0864\tcommon_type_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t524\t\r\nОшибка (активно)\tE0864\tcommon_type_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t532\t\r\nОшибка (активно)\tE0864\tcommon_type_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t539\t\r\nОшибка (активно)\tE0864\tcommon_type_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t547\t\r\nОшибка (активно)\tE0864\tenable_if_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t606\t\r\nОшибка (активно)\tE0864\tenable_if_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t613\t\r\nОшибка (активно)\tE0864\tenable_if_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t620\t\r\nОшибка (активно)\tE0864\tenable_if_t не является шаблоном\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t628\t\r\nОшибка (активно)\tE0020\tидентификатор \"treat_as_floating_point_v\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t628\t\r\nОшибка (активно)\tE0254\tиспользование имени типа не допускается\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t628\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t628\t\r\nОшибка (активно)\tE0020\tидентификатор \"nanoseconds\" не определен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t665\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t666\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t666\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t698\t\r\nОшибка (активно)\tE0018\tтребуется круглая скобка \")\"\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t698\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t723\t\r\nОшибка (активно)\tE1835\tатрибут \"nodiscard\" не применяется в этом случае\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t728\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t728\t\r\nОшибка (активно)\tE0040\tтребуется идентификатор\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t728\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include\\__msvc_chrono.hpp\t788\t\r\nОшибка (активно)\tE0020\tидентификатор \"Placeholder\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\ai.cpp\t24\t\r\nОшибка (активно)\tE0020\tидентификатор \"DT_FLOAT\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\ai.cpp\t24\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\ai.cpp\t24\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\ai.cpp\t25\t\r\nОшибка (активно)\tE0020\tидентификатор \"Variable\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\ai.cpp\t28\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tanh\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\ai.cpp\t30\t\r\nОшибка (активно)\tE0020\tидентификатор \"Add\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\ai.cpp\t30\t\r\nОшибка (активно)\tE0020\tидентификатор \"MatMul\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\ai.cpp\t30\t\r\nОшибка (активно)\tE0020\tидентификатор \"ReduceMean\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\ai.cpp\t33\t\r\nОшибка (активно)\tE0020\tидентификатор \"Square\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\ai.cpp\t33\t\r\nОшибка (активно)\tE0020\tидентификатор \"Sub\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\ai.cpp\t33\t\r\nОшибка (активно)\tE0020\tидентификатор \"GradientDescentOptimizer\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\ai.cpp\t37\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\ai.cpp\t44\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\ai.cpp\t44\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\ai.cpp\t45\t\r\nОшибка (активно)\tE0020\tидентификатор \"input_tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\ai.cpp\t47\t\r\nОшибка (активно)\tE0254\tиспользование имени типа не допускается\tai\tC:\\Users\\User\\source\\repos\\ai\\ai.cpp\t47\t\r\nОшибка (активно)\tE0029\tтребуется выражение\tai\tC:\\Users\\User\\source\\repos\\ai\\ai.cpp\t47\t\r\nОшибка (активно)\tE0020\tидентификатор \"target_tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\ai.cpp\t48\t\r\nОшибка (активно)\tE0254\tиспользование имени типа не допускается\tai\tC:\\Users\\User\\source\\repos\\ai\\ai.cpp\t48\t\r\nОшибка (активно)\tE0029\tтребуется выражение\tai\tC:\\Users\\User\\source\\repos\\ai\\ai.cpp\t48\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\ai.cpp\t56\t\r\nОшибка (активно)\tE0020\tидентификатор \"prediction\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\ai.cpp\t57\t\r\nОшибка (активно)\tE0254\tиспользование имени типа не допускается\tai\tC:\\Users\\User\\source\\repos\\ai\\ai.cpp\t60\t\r\nОшибка (активно)\tE0029\tтребуется выражение\tai\tC:\\Users\\User\\source\\repos\\ai\\ai.cpp\t60\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\cc\\framework\\ops.h\t48\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\cc\\framework\\ops.h\t52\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\cc\\framework\\ops.h\t80\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\cc\\framework\\ops.h\t125\t\r\nОшибка (активно)\tE0020\tидентификатор \"TensorProto\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\cc\\framework\\ops.h\t189\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\cc\\framework\\ops.h\t200\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\cc\\framework\\ops.h\t223\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\cc\\framework\\ops.h\t239\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\cc\\framework\\ops.h\t245\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\cc\\framework\\ops.h\t247\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\cc\\framework\\ops.h\t252\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\cc\\framework\\ops.h\t255\t\r\nОшибка (активно)\tE0020\tидентификатор \"DT_INVALID\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\cc\\framework\\ops.h\t255\t\r\nОшибка (активно)\tE0135\tпространство имен \"absl\" не содержит члена \"Span\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\cc\\framework\\scope.h\t263\t\r\nОшибка (активно)\tE0018\tтребуется круглая скобка \")\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\cc\\framework\\scope.h\t263\t\r\nОшибка (активно)\tE0020\tидентификатор \"TensorProto\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\cc\\ops\\const_op.h\t33\t\r\nОшибка (активно)\tE0020\tидентификатор \"NodeDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\common_runtime\\graph_constructor.h\t65\t\r\nОшибка (активно)\tE0020\tидентификатор \"AttrValue\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t109\t\r\nОшибка (активно)\tE0020\tидентификатор \"NodeDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t160\t\r\nОшибка (активно)\tE0020\tидентификатор \"FunctionDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t169\t\r\nОшибка (активно)\tE0020\tидентификатор \"FunctionDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t180\t\r\nОшибка (активно)\tE0020\tидентификатор \"FunctionDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t188\t\r\nОшибка (активно)\tE0020\tидентификатор \"FunctionDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t195\t\r\nОшибка (активно)\tE0020\tидентификатор \"OpDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t258\t\r\nОшибка (активно)\tE0020\tидентификатор \"FunctionDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t266\t\r\nОшибка (активно)\tE0020\tидентификатор \"AttrSlice\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t266\t\r\nОшибка (активно)\tE0020\tидентификатор \"FunctionDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t278\t\r\nОшибка (активно)\tE0020\tидентификатор \"NodeDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t280\t\r\nОшибка (активно)\tE0020\tидентификатор \"FunctionDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t288\t\r\nОшибка (активно)\tE0020\tидентификатор \"FunctionDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t288\t\r\nОшибка (активно)\tE0020\tидентификатор \"FunctionDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t293\t\r\nОшибка (активно)\tE0135\tпространство имен \"absl\" не содержит члена \"flat_hash_map\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t359\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t359\t\r\nОшибка (активно)\tE0070\tнедопустимый неполный тип\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t396\t\r\nОшибка (активно)\tE0020\tидентификатор \"FunctionDefLibrary\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t415\t\r\nОшибка (активно)\tE1455\tобъявленная с использованием ключевого слова override функция-член не переопределят член базового класса\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t416\t\r\nОшибка (активно)\tE0020\tидентификатор \"FunctionDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t430\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t434\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t434\t\r\nОшибка (активно)\tE0020\tидентификатор \"FunctionDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t446\t\r\nОшибка (активно)\tE0020\tидентификатор \"GradientDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t455\t\r\nОшибка (активно)\tE0020\tидентификатор \"FunctionDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t461\t\r\nОшибка (активно)\tE0020\tидентификатор \"GradientDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t468\t\r\nОшибка (активно)\tE0020\tидентификатор \"FunctionDefLibrary\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t490\t\r\nОшибка (активно)\tE0020\tидентификатор \"FunctionDefLibrary\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t491\t\r\nОшибка (активно)\tE0020\tидентификатор \"FunctionDefLibrary\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t496\t\r\nОшибка (активно)\tE0020\tидентификатор \"FunctionDefLibrary\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t499\t\r\nОшибка (активно)\tE1455\tобъявленная с использованием ключевого слова override функция-член не переопределят член базового класса\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t517\t\r\nОшибка (активно)\tE0020\tидентификатор \"OpRegistrationData\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t518\t\r\nОшибка (активно)\tE0020\tидентификатор \"NodeDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t531\t\r\nОшибка (активно)\tE0020\tидентификатор \"FunctionDefLibrary\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t540\t\r\nОшибка (активно)\tE0020\tидентификатор \"FunctionDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t560\t\r\nОшибка (активно)\tE0020\tидентификатор \"OptimizedFunctionGraph\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t584\t\r\nОшибка (активно)\tE0020\tидентификатор \"OptimizedFunctionGraph\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t592\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t603\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t603\t\r\nОшибка (активно)\tE0020\tидентификатор \"FunctionDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t613\t\r\nОшибка (активно)\tE0020\tидентификатор \"GradientDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t615\t\r\nОшибка (активно)\tE0020\tидентификатор \"FunctionDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t620\t\r\nОшибка (активно)\tE0020\tидентификатор \"NodeDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t620\t\r\nОшибка (активно)\tE0077\tэто объявление не содержит класс хранения или спецификатор типа\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t642\t\r\nОшибка (активно)\tE0135\tпространство имен \"tensorflow::gtl\" не содержит члена \"FlatMap\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t642\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t642\t\r\nОшибка (активно)\tE0077\tэто объявление не содержит класс хранения или спецификатор типа\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t643\t\r\nОшибка (активно)\tE0135\tпространство имен \"tensorflow::gtl\" не содержит члена \"FlatMap\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t643\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t643\t\r\nОшибка (активно)\tE0077\tэто объявление не содержит класс хранения или спецификатор типа\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t645\t\r\nОшибка (активно)\tE0135\tпространство имен \"tensorflow::gtl\" не содержит члена \"FlatMap\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t645\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t645\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t671\t\r\nОшибка (активно)\tE0077\tэто объявление не содержит класс хранения или спецификатор типа\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t727\t\r\nОшибка (активно)\tE0135\tпространство имен \"absl\" не содержит члена \"optional\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t727\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t727\t\r\nОшибка (активно)\tE0077\tэто объявление не содержит класс хранения или спецификатор типа\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t731\t\r\nОшибка (активно)\tE0135\tпространство имен \"absl\" не содержит члена \"flat_hash_map\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t731\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t731\t\r\nОшибка (активно)\tE0020\tидентификатор \"ConfigProto\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t776\t\r\nОшибка (активно)\tE0020\tидентификатор \"AttrSlice\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t839\t\r\nОшибка (активно)\tE0020\tидентификатор \"AttrSlice\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t842\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataTypeVector\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t859\t\r\nОшибка (активно)\tE0077\tэто объявление не содержит класс хранения или спецификатор типа\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t886\t\r\nОшибка (активно)\tE0135\tпространство имен \"absl\" не содержит члена \"optional\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t886\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t886\t\r\nОшибка (активно)\tE0020\tидентификатор \"RendezvousInterface\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t889\t\r\nОшибка (активно)\tE0020\tидентификатор \"CancellationManager\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t890\t\r\nОшибка (активно)\tE0077\tэто объявление не содержит класс хранения или спецификатор типа\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t896\t\r\nОшибка (активно)\tE0135\tпространство имен \"absl\" не содержит члена \"optional\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t896\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t896\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t922\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t929\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t929\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t935\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t936\t\r\nОшибка (активно)\tE0260\tотсутствует явный тип (требуется \"int\")\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t945\t\r\nОшибка (активно)\tE0439\tтребуется угловая скобка \">\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t945\t\r\nОшибка (активно)\tE0020\tидентификатор \"Env\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t977\t\r\nОшибка (активно)\tE0020\tидентификатор \"ConfigProto\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t980\t\r\nОшибка (активно)\tE0020\tидентификатор \"AttrSlice\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t1015\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t1021\t\r\nОшибка (активно)\tE0020\tидентификатор \"FunctionDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t1021\t\r\nОшибка (активно)\tE0135\tпространство имен \"absl\" не содержит члена \"flat_hash_map\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t1022\t\r\nОшибка (активно)\tE0018\tтребуется круглая скобка \")\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t1022\t\r\nОшибка (активно)\tE0020\tидентификатор \"AttrSlice\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t1031\t\r\nОшибка (активно)\tE0020\tидентификатор \"AttrSlice\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t1033\t\r\nОшибка (активно)\tE0283\tиспользование полного имени не допускается\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t1057\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t1057\t\r\nОшибка (активно)\tE0283\tиспользование полного имени не допускается\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t1065\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t1065\t\r\nОшибка (активно)\tE0020\tидентификатор \"AttrSlice\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t1128\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t1128\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataTypeVector\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t1129\t\r\nОшибка (активно)\tE0020\tидентификатор \"AttrSlice\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t1192\t\r\nОшибка (активно)\tE0020\tидентификатор \"FunctionDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t1192\t\r\nОшибка (активно)\tE0020\tидентификатор \"NodeDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t1206\t\r\nОшибка (активно)\tE0020\tидентификатор \"NodeDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\function.h\t1207\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\node_def_builder.h\t56\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\node_def_builder.h\t58\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\node_def_builder.h\t61\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\node_def_builder.h\t69\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\node_def_builder.h\t80\t\r\nОшибка (активно)\tE0020\tидентификатор \"AttrValue\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\node_def_builder.h\t97\t\r\nОшибка (активно)\tE0020\tидентификатор \"AttrValue\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\node_def_builder.h\t98\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\node_def_builder.h\t106\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\node_def_builder.h\t108\t\r\nОшибка (активно)\tE0020\tидентификатор \"TensorProto\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\node_def_builder.h\t109\t\r\nОшибка (активно)\tE0020\tидентификатор \"NameAttrList\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\node_def_builder.h\t110\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\node_def_builder.h\t120\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\node_def_builder.h\t126\t\r\nОшибка (активно)\tE0020\tидентификатор \"NameAttrList\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\node_def_builder.h\t127\t\r\nОшибка (активно)\tE0070\tнедопустимый неполный тип\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\node_def_builder.h\t152\t\r\nОшибка (активно)\tE0070\tнедопустимый неполный тип\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\node_def_builder.h\t159\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\node_def_builder.h\t160\t\r\nОшибка (активно)\tE0070\tнедопустимый неполный тип\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\node_def_builder.h\t161\t\r\nОшибка (активно)\tE0070\tнедопустимый неполный тип\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\node_def_builder.h\t168\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\node_def_builder.h\t168\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\node_def_builder.h\t169\t\r\nОшибка (активно)\tE0070\tнедопустимый неполный тип\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\node_def_builder.h\t172\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\node_def_builder.h\t172\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\node_def_builder.h\t175\t\r\nОшибка (активно)\tE0070\tнедопустимый неполный тип\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\node_def_builder.h\t175\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\node_def_builder.h\t175\t\r\nОшибка (активно)\tE0020\tидентификатор \"AttrValue\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\node_def_builder.h\t182\t\r\nОшибка (активно)\tE0070\tнедопустимый неполный тип\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\node_def_builder.h\t185\t\r\nОшибка (активно)\tE0020\tидентификатор \"DeviceType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t254\t\r\nОшибка (активно)\tE0020\tидентификатор \"DeviceBase\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t254\t\r\nОшибка (активно)\tE0260\tотсутствует явный тип (требуется \"int\")\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t257\t\r\nОшибка (активно)\tE0439\tтребуется угловая скобка \">\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t257\t\r\nОшибка (активно)\tE0020\tидентификатор \"MemoryTypeSlice\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t258\t\r\nОшибка (активно)\tE0020\tидентификатор \"MemoryTypeSlice\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t259\t\r\nОшибка (активно)\tE0020\tидентификатор \"Env\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t262\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t276\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t277\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t278\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t279\t\r\nОшибка (активно)\tE0020\tидентификатор \"NodeDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t282\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t286\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataTypeSlice\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t287\t\r\nОшибка (активно)\tE0020\tидентификатор \"MemoryTypeSlice\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t288\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t294\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataTypeSlice\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t295\t\r\nОшибка (активно)\tE0020\tидентификатор \"MemoryTypeSlice\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t298\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataTypeSlice\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t305\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataTypeSlice\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t306\t\r\nОшибка (активно)\tE0020\tидентификатор \"DeviceType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t322\t\r\nОшибка (активно)\tE0020\tидентификатор \"DeviceBase\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t351\t\r\nОшибка (активно)\tE0020\tидентификатор \"DeviceType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t354\t\r\nОшибка (активно)\tE0020\tидентификатор \"DeviceBase\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t355\t\r\nОшибка (активно)\tE0260\tотсутствует явный тип (требуется \"int\")\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t359\t\r\nОшибка (активно)\tE0439\tтребуется угловая скобка \">\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t359\t\r\nОшибка (активно)\tE0020\tидентификатор \"MemoryTypeSlice\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t360\t\r\nОшибка (активно)\tE0020\tидентификатор \"MemoryTypeSlice\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t361\t\r\nОшибка (активно)\tE0260\tотсутствует явный тип (требуется \"int\")\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t423\t\r\nОшибка (активно)\tE0439\tтребуется угловая скобка \">\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t423\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t428\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t443\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t448\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t464\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t469\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t471\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t472\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t473\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t474\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t475\t\r\nОшибка (активно)\tE0020\tидентификатор \"TrackingAllocator\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t568\t\r\nОшибка (активно)\tE0077\tэто объявление не содержит класс хранения или спецификатор типа\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t583\t\r\nОшибка (активно)\tE0135\tпространство имен \"absl\" не содержит члена \"optional\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t583\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t583\t\r\nОшибка (активно)\tE0020\tидентификатор \"DeviceBase\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t589\t\r\nОшибка (активно)\tE0020\tидентификатор \"PerOpGpuDevice\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t601\t\r\nОшибка (активно)\tE0020\tидентификатор \"RendezvousInterface\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t632\t\r\nОшибка (активно)\tE0020\tидентификатор \"SessionState\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t639\t\r\nОшибка (активно)\tE0020\tидентификатор \"SessionMetadata\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t645\t\r\nОшибка (активно)\tE0020\tидентификатор \"TensorStore\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t648\t\r\nОшибка (активно)\tE0020\tидентификатор \"CancellationManager\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t652\t\r\nОшибка (активно)\tE0077\tэто объявление не содержит класс хранения или спецификатор типа\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t655\t\r\nОшибка (активно)\tE0135\tпространство имен \"absl\" не содержит члена \"Span\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t655\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t655\t\r\nОшибка (активно)\tE0077\tэто объявление не содержит класс хранения или спецификатор типа\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t658\t\r\nОшибка (активно)\tE0135\tпространство имен \"absl\" не содержит члена \"Span\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t658\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t658\t\r\nОшибка (активно)\tE0020\tидентификатор \"DeviceContext\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t661\t\r\nОшибка (активно)\tE0020\tидентификатор \"FrameAndIter\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t664\t\r\nОшибка (активно)\tE0077\tэто объявление не содержит класс хранения или спецификатор типа\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t688\t\r\nОшибка (активно)\tE0135\tпространство имен \"absl\" не содержит члена \"optional\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t688\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t688\t\r\nОшибка (активно)\tE0020\tидентификатор \"Env\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t703\t\r\nОшибка (активно)\tE0077\tэто объявление не содержит класс хранения или спецификатор типа\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t711\t\r\nОшибка (активно)\tE0135\tпространство имен \"absl\" не содержит члена \"optional\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t711\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t711\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t724\t\r\nОшибка (активно)\tE0020\tидентификатор \"MemoryType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t725\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t728\t\r\nОшибка (активно)\tE0020\tидентификатор \"MemoryType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t729\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t737\t\r\nОшибка (активно)\tE0864\tStatusOr не является шаблоном\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t742\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t742\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t749\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t775\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t784\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t798\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t804\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t854\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t858\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t888\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t889\t\r\nОшибка (активно)\tE0020\tидентификатор \"MemoryType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t890\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t901\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t906\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t912\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t914\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t917\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t918\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t988\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t990\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t996\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t999\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1006\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1007\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1009\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1010\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1011\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1012\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1018\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1019\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1020\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1021\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1026\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1029\t\r\nОшибка (активно)\tE0020\tидентификатор \"DeviceContext\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1039\t\r\nОшибка (активно)\tE0077\tэто объявление не содержит класс хранения или спецификатор типа\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1062\t\r\nОшибка (активно)\tE0135\tпространство имен \"tensorflow::gtl\" не содержит члена \"InlinedVector\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1062\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1062\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataTypeSlice\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1140\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataTypeSlice\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1141\t\r\nОшибка (активно)\tE0020\tидентификатор \"CancellationManager\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1152\t\r\nОшибка (активно)\tE0020\tидентификатор \"FrameAndIter\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1159\t\r\nОшибка (активно)\tE0020\tидентификатор \"DeviceBase\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1164\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1188\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1190\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1197\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1265\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1266\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1272\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1273\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1279\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1281\t\r\nОшибка (активно)\tE0077\tэто объявление не содержит класс хранения или спецификатор типа\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1293\t\r\nОшибка (активно)\tE0135\tпространство имен \"tensorflow::gtl\" не содержит члена \"InlinedVector\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1293\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1293\t\r\nОшибка (активно)\tE0135\tпространство имен \"std\" не содержит члена \"unordered_set\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1297\t\r\nОшибка (активно)\tE0439\tтребуется угловая скобка \">\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1297\t\r\nОшибка (активно)\tE0040\tтребуется идентификатор\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1297\t\r\nОшибка (активно)\tE0077\tэто объявление не содержит класс хранения или спецификатор типа\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1304\t\r\nОшибка (активно)\tE0135\tпространство имен \"tensorflow::gtl\" не содержит члена \"InlinedVector\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1304\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1304\t\r\nОшибка (активно)\tE0077\tэто объявление не содержит класс хранения или спецификатор типа\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1311\t\r\nОшибка (активно)\tE0135\tпространство имен \"tensorflow::gtl\" не содержит члена \"InlinedVector\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1311\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1311\t\r\nОшибка (активно)\tE0077\tэто объявление не содержит класс хранения или спецификатор типа\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1313\t\r\nОшибка (активно)\tE0135\tпространство имен \"tensorflow::gtl\" не содержит члена \"InlinedVector\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1313\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1313\t\r\nОшибка (активно)\tE0135\tкласс \"tensorflow::OpKernelContext\" не содержит члена \"eigen_device\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1325\t\r\nОшибка (активно)\tE1670\tквалификатор типа не разрешен на функции не элементам\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1325\t\r\nОшибка (активно)\tE0135\tкласс \"tensorflow::OpKernelContext\" не содержит члена \"eigen_device\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1328\t\r\nОшибка (активно)\tE1670\tквалификатор типа не разрешен на функции не элементам\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1328\t\r\nОшибка (активно)\tE0020\tидентификатор \"DeviceType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1372\t\r\nОшибка (активно)\tE0020\tидентификатор \"DeviceBase\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1373\t\r\nОшибка (активно)\tE0020\tидентификатор \"NodeDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1375\t\r\nОшибка (активно)\tE0020\tидентификатор \"DeviceType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1379\t\r\nОшибка (активно)\tE0020\tидентификатор \"DeviceBase\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1379\t\r\nОшибка (активно)\tE0260\tотсутствует явный тип (требуется \"int\")\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1380\t\r\nОшибка (активно)\tE0439\tтребуется угловая скобка \">\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1380\t\r\nОшибка (активно)\tE0020\tидентификатор \"DeviceType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1383\t\r\nОшибка (активно)\tE0020\tидентификатор \"DeviceBase\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1383\t\r\nОшибка (активно)\tE0260\tотсутствует явный тип (требуется \"int\")\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1385\t\r\nОшибка (активно)\tE0439\tтребуется угловая скобка \">\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1385\t\r\nОшибка (активно)\tE0020\tидентификатор \"DeviceType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1388\t\r\nОшибка (активно)\tE0020\tидентификатор \"DeviceBase\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1388\t\r\nОшибка (активно)\tE0260\tотсутствует явный тип (требуется \"int\")\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1391\t\r\nОшибка (активно)\tE0439\tтребуется угловая скобка \">\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1391\t\r\nОшибка (активно)\tE0020\tидентификатор \"DeviceType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1400\t\r\nОшибка (активно)\tE0020\tидентификатор \"NodeDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1400\t\r\nОшибка (активно)\tE0020\tидентификатор \"PrioritizedDeviceTypeVector\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1401\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1402\t\r\nОшибка (активно)\tE0020\tидентификатор \"DeviceType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1490\t\r\nОшибка (активно)\tE0020\tидентификатор \"NodeDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1490\t\r\nОшибка (активно)\tE0020\tидентификатор \"DeviceType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1497\t\r\nОшибка (активно)\tE0020\tидентификатор \"NodeDef_ExperimentalDebugInfo\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1499\t\r\nОшибка (активно)\tE0020\tидентификатор \"AttrSlice\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1500\t\r\nОшибка (активно)\tE0020\tидентификатор \"KernelDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1501\t\r\nОшибка (активно)\tE0020\tидентификатор \"DeviceType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1506\t\r\nОшибка (активно)\tE0020\tидентификатор \"NodeDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1506\t\r\nОшибка (активно)\tE0020\tидентификатор \"KernelDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1507\t\r\nОшибка (активно)\tE0020\tидентификатор \"KernelList\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1514\t\r\nОшибка (активно)\tE0020\tидентификатор \"KernelList\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1517\t\r\nОшибка (активно)\tE0020\tидентификатор \"KernelDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1518\t\r\nОшибка (активно)\tE0020\tидентификатор \"KernelList\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1521\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1578\t\r\nОшибка (активно)\tE0147\tобъявление несовместимо с \"tsl::Status tensorflow::OpKernelContext::input_dtype(tensorflow::StringPiece name, <error-type> *dtype) const\" (объявлено в строке 724)\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1578\t\r\nОшибка (активно)\tE0020\tидентификатор \"MemoryType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1585\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1591\t\r\nОшибка (активно)\tE0020\tидентификатор \"MemoryType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1597\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1622\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1643\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1655\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1661\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1673\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1680\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1686\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1692\t\r\nОшибка (активно)\tE0020\tидентификатор \"Tensor\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\op_kernel.h\t1698\t\r\nОшибка (активно)\tE0059\tнедопустимый вызов функции в константном выражении\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\registration\\registration.h\t40\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\resource_base.h\t51\t\r\nОшибка (активно)\tE0077\tэто объявление не содержит класс хранения или спецификатор типа\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_shape.h\t100\t\r\nОшибка (активно)\tE0135\tпространство имен \"tensorflow::gtl\" не содержит члена \"InlinedVector\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_shape.h\t100\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_shape.h\t100\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_shape.h\t126\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_shape.h\t127\t\r\nОшибка (активно)\tE0077\tэто объявление не содержит класс хранения или спецификатор типа\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_shape.h\t305\t\r\nОшибка (активно)\tE0135\tпространство имен \"tensorflow::gtl\" не содержит члена \"InlinedVector\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_shape.h\t305\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_shape.h\t305\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_shape.h\t324\t\r\nОшибка (активно)\tE0135\tпространство имен \"Eigen\" не содержит члена \"DSizes\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_shape.h\t633\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_shape.h\t633\t\r\nОшибка (активно)\tE0135\tпространство имен \"Eigen\" не содержит члена \"DenseIndex\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t25\t\r\nОшибка (активно)\tE0260\tотсутствует явный тип (требуется \"int\")\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t28\t\r\nОшибка (активно)\tE0135\tпространство имен \"Eigen\" не содержит члена \"TensorMap\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t28\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t28\t\r\nОшибка (активно)\tE0260\tотсутствует явный тип (требуется \"int\")\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t31\t\r\nОшибка (активно)\tE0135\tпространство имен \"Eigen\" не содержит члена \"TensorMap\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t31\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t31\t\r\nОшибка (активно)\tE0260\tотсутствует явный тип (требуется \"int\")\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t36\t\r\nОшибка (активно)\tE0135\tпространство имен \"Eigen\" не содержит члена \"TensorMap\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t36\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t36\t\r\nОшибка (активно)\tE0260\tотсутствует явный тип (требуется \"int\")\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t38\t\r\nОшибка (активно)\tE0135\tпространство имен \"Eigen\" не содержит члена \"TensorMap\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t38\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t38\t\r\nОшибка (активно)\tE0260\tотсутствует явный тип (требуется \"int\")\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t42\t\r\nОшибка (активно)\tE0135\tпространство имен \"Eigen\" не содержит члена \"TensorMap\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t42\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t42\t\r\nОшибка (активно)\tE0260\tотсутствует явный тип (требуется \"int\")\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t47\t\r\nОшибка (активно)\tE0135\tпространство имен \"Eigen\" не содержит члена \"TensorMap\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t47\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t47\t\r\nОшибка (активно)\tE0260\tотсутствует явный тип (требуется \"int\")\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t51\t\r\nОшибка (активно)\tE0135\tпространство имен \"Eigen\" не содержит члена \"TensorMap\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t51\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t51\t\r\nОшибка (активно)\tE0260\tотсутствует явный тип (требуется \"int\")\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t57\t\r\nОшибка (активно)\tE0135\tпространство имен \"Eigen\" не содержит члена \"TensorMap\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t57\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t57\t\r\nОшибка (активно)\tE0260\tотсутствует явный тип (требуется \"int\")\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t60\t\r\nОшибка (активно)\tE0135\tпространство имен \"Eigen\" не содержит члена \"TensorMap\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t60\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t60\t\r\nОшибка (активно)\tE0260\tотсутствует явный тип (требуется \"int\")\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t65\t\r\nОшибка (активно)\tE0135\tпространство имен \"Eigen\" не содержит члена \"TensorMap\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t65\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t65\t\r\nОшибка (активно)\tE0260\tотсутствует явный тип (требуется \"int\")\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t68\t\r\nОшибка (активно)\tE0135\tпространство имен \"Eigen\" не содержит члена \"TensorMap\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t68\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t68\t\r\nОшибка (активно)\tE0260\tотсутствует явный тип (требуется \"int\")\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t71\t\r\nОшибка (активно)\tE0135\tпространство имен \"Eigen\" не содержит члена \"TensorMap\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t71\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t71\t\r\nОшибка (активно)\tE0260\tотсутствует явный тип (требуется \"int\")\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t74\t\r\nОшибка (активно)\tE0135\tпространство имен \"Eigen\" не содержит члена \"TensorMap\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t74\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t74\t\r\nОшибка (активно)\tE0260\tотсутствует явный тип (требуется \"int\")\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t79\t\r\nОшибка (активно)\tE0135\tпространство имен \"Eigen\" не содержит члена \"TensorMap\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t79\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t79\t\r\nОшибка (активно)\tE0260\tотсутствует явный тип (требуется \"int\")\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t81\t\r\nОшибка (активно)\tE0135\tпространство имен \"Eigen\" не содержит члена \"TensorMap\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t81\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t81\t\r\nОшибка (активно)\tE0260\tотсутствует явный тип (требуется \"int\")\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t84\t\r\nОшибка (активно)\tE0135\tпространство имен \"Eigen\" не содержит члена \"TensorMap\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t84\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t84\t\r\nОшибка (активно)\tE0260\tотсутствует явный тип (требуется \"int\")\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t86\t\r\nОшибка (активно)\tE0135\tпространство имен \"Eigen\" не содержит члена \"TensorMap\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t86\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t86\t\r\nОшибка (активно)\tE0260\tотсутствует явный тип (требуется \"int\")\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t91\t\r\nОшибка (активно)\tE0135\tпространство имен \"Eigen\" не содержит члена \"TensorMap\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t91\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t91\t\r\nОшибка (активно)\tE0260\tотсутствует явный тип (требуется \"int\")\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t94\t\r\nОшибка (активно)\tE0135\tпространство имен \"Eigen\" не содержит члена \"TensorMap\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t94\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t94\t\r\nОшибка (активно)\tE0260\tотсутствует явный тип (требуется \"int\")\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t99\t\r\nОшибка (активно)\tE0135\tпространство имен \"Eigen\" не содержит члена \"TensorMap\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t99\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t99\t\r\nОшибка (активно)\tE0260\tотсутствует явный тип (требуется \"int\")\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t101\t\r\nОшибка (активно)\tE0135\tпространство имен \"Eigen\" не содержит члена \"TensorMap\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t101\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t101\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t106\t\r\nОшибка (активно)\tE0260\tотсутствует явный тип (требуется \"int\")\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t109\t\r\nОшибка (активно)\tE0018\tтребуется круглая скобка \")\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t109\t\r\nОшибка (активно)\tE0260\tотсутствует явный тип (требуется \"int\")\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t117\t\r\nОшибка (активно)\tE0018\tтребуется круглая скобка \")\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t117\t\r\nОшибка (активно)\tE0135\tпространство имен \"Eigen\" не содержит члена \"DSizes\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t132\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t132\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t184\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\tensor_types.h\t190\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\type_index.h\t91\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\framework\\type_index.h\t93\t\r\nОшибка (активно)\tE0020\tидентификатор \"NodeDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph.h\t104\t\r\nОшибка (активно)\tE0020\tидентификатор \"OpDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph.h\t105\t\r\nОшибка (активно)\tE0020\tидентификатор \"NodeDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph.h\t107\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph.h\t111\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataTypeVector\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph.h\t112\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph.h\t115\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataTypeVector\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph.h\t116\t\r\nОшибка (активно)\tE0020\tидентификатор \"AttrSlice\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph.h\t146\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph.h\t149\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph.h\t149\t\r\nОшибка (активно)\tE0020\tидентификатор \"NodeProperties\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph.h\t253\t\r\nОшибка (активно)\tE0260\tотсутствует явный тип (требуется \"int\")\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph.h\t279\t\r\nОшибка (активно)\tE0018\tтребуется круглая скобка \")\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph.h\t279\t\r\nОшибка (активно)\tE0020\tидентификатор \"AttrValue\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph.h\t304\t\r\nОшибка (активно)\tE0020\tидентификатор \"NodeProperties\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph.h\t343\t\r\nОшибка (активно)\tE0020\tидентификатор \"NodeProperties\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph.h\t358\t\r\nОшибка (активно)\tE0020\tидентификатор \"NodeDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph.h\t562\t\r\nОшибка (активно)\tE0864\tStatusOr не является шаблоном\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph.h\t565\t\r\nОшибка (активно)\tE0020\tидентификатор \"NodeDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph.h\t565\t\r\nОшибка (активно)\tE0020\tидентификатор \"NodeDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph.h\t619\t\r\nОшибка (активно)\tE0020\tидентификатор \"FunctionDefLibrary\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph.h\t630\t\r\nОшибка (активно)\tE0020\tидентификатор \"FunctionDefLibrary\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph.h\t631\t\r\nОшибка (активно)\tE0020\tидентификатор \"FunctionDefLibrary\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph.h\t637\t\r\nОшибка (активно)\tE0020\tидентификатор \"FunctionDefLibrary\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph.h\t639\t\r\nОшибка (активно)\tE0020\tидентификатор \"FunctionDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph.h\t646\t\r\nОшибка (активно)\tE0020\tидентификатор \"GradientDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph.h\t652\t\r\nОшибка (активно)\tE0077\tэто объявление не содержит класс хранения или спецификатор типа\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph.h\t802\t\r\nОшибка (активно)\tE0135\tпространство имен \"absl\" не содержит члена \"optional\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph.h\t802\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph.h\t802\t\r\nОшибка (активно)\tE0020\tидентификатор \"FullTypeDef\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph.h\t833\t\r\nОшибка (активно)\tE0020\tидентификатор \"NodeProperties\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph.h\t849\t\r\nОшибка (активно)\tE0077\tэто объявление не содержит класс хранения или спецификатор типа\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph.h\t912\t\r\nОшибка (активно)\tE0135\tпространство имен \"std\" не содержит члена \"map\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph.h\t912\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph.h\t912\t\r\nОшибка (активно)\tE0260\tотсутствует явный тип (требуется \"int\")\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph.h\t916\t\r\nОшибка (активно)\tE0135\tпространство имен \"absl\" не содержит члена \"optional\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph.h\t916\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph.h\t916\t\r\nОшибка (активно)\tE0135\tпространство имен \"absl\" не содержит члена \"flat_hash_map\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph_debug_info_builder.h\t133\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph_debug_info_builder.h\t133\t\r\nОшибка (активно)\tE0020\tидентификатор \"GraphDebugInfo\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph_debug_info_builder.h\t137\t\r\nОшибка (активно)\tE0135\tпространство имен \"absl\" не содержит члена \"StatusOr\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph_debug_info_builder.h\t138\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph_debug_info_builder.h\t138\t\r\nОшибка (активно)\tE0020\tидентификатор \"GraphDebugInfo\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph_debug_info_builder.h\t143\t\r\nОшибка (активно)\tE0020\tидентификатор \"NameRangeMap\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph_node_util.h\t54\t\r\nОшибка (активно)\tE0020\tидентификатор \"NameRangeMap\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\graph_node_util.h\t54\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\node_builder.h\t59\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\node_builder.h\t72\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\node_builder.h\t80\t\r\nОшибка (активно)\tE0864\tStatusOr не является шаблоном\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\node_builder.h\t130\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\node_builder.h\t137\t\r\nОшибка (активно)\tE0020\tидентификатор \"DataType\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\graph\\node_builder.h\t152\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\lib\\gtl\\array_slice.h\t28\t\r\nОшибка (активно)\tE0040\tтребуется идентификатор\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\lib\\gtl\\array_slice.h\t28\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\lib\\gtl\\array_slice.h\t28\t\r\nОшибка (активно)\tE0135\tпространство имен \"tsl::gtl\" не содержит члена \"InlinedVector\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\lib\\gtl\\inlined_vector.h\t28\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\platform\\errors.h\t37\t\r\nОшибка (активно)\tE0135\tпространство имен \"tsl\" не содержит члена \"StatusOr\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\core\\platform\\statusor.h\t23\t\r\nОшибка (активно)\tE0864\tNumTraits не является шаблоном\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\framework\\fixedpoint_types.h\t36\t\r\nОшибка (активно)\tE0864\tNumTraits не является шаблоном\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\framework\\fixedpoint_types.h\t38\t\r\nОшибка (активно)\tE0864\tNumTraits не является шаблоном\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\framework\\fixedpoint_types.h\t40\t\r\nОшибка (активно)\tE0864\tNumTraits не является шаблоном\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\framework\\fixedpoint_types.h\t42\t\r\nОшибка (активно)\tE0864\tNumTraits не является шаблоном\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\framework\\fixedpoint_types.h\t44\t\r\nОшибка (активно)\tE0864\tscalar_product_traits не является шаблоном\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\framework\\fixedpoint_types.h\t48\t\r\nОшибка (активно)\tE0020\tидентификатор \"EIGEN_STRONG_INLINE\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\framework\\fixedpoint_types.h\t115\t\r\nОшибка (активно)\tE0020\tидентификатор \"EIGEN_STRONG_INLINE\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\framework\\fixedpoint_types.h\t118\t\r\nОшибка (активно)\tE0020\tидентификатор \"EIGEN_STRONG_INLINE\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\framework\\fixedpoint_types.h\t122\t\r\nОшибка (активно)\tE0020\tидентификатор \"EIGEN_STRONG_INLINE\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\framework\\fixedpoint_types.h\t125\t\r\nОшибка (активно)\tE0020\tидентификатор \"EIGEN_STRONG_INLINE\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\framework\\fixedpoint_types.h\t130\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\framework\\fixedpoint_types.h\t130\t\r\nОшибка (активно)\tE0757\tпеременная \"Eigen::QInt32\" не является именем типа\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\framework\\numeric_types.h\t34\t\r\nОшибка (активно)\tE0864\tNumTraits не является шаблоном\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\framework\\numeric_types.h\t52\t\r\nОшибка (активно)\tE0864\thash не является шаблоном\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\lib\\gtl\\flatset.h\t39\t\r\nОшибка (активно)\tE0135\tпространство имен \"tsl::internal\" не содержит члена \"FlatRep\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\lib\\gtl\\flatset.h\t255\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\lib\\gtl\\flatset.h\t255\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\lib\\gtl\\inlined_vector.h\t28\t\r\nОшибка (активно)\tE0135\tпространство имен \"Eigen\" не содержит члена \"bfloat16\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\bfloat16.h\t24\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\errors.h\t40\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\errors.h\t41\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\errors.h\t42\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\errors.h\t43\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\errors.h\t44\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\errors.h\t45\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\errors.h\t46\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\errors.h\t47\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\errors.h\t48\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\errors.h\t49\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\errors.h\t50\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\errors.h\t51\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\errors.h\t52\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\errors.h\t53\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\errors.h\t54\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\errors.h\t55\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\errors.h\t56\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\errors.h\t57\t\r\nОшибка (активно)\tE0135\tпространство имен \"absl\" не содержит члена \"Status\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\errors.h\t149\t\r\nОшибка (активно)\tE0135\tпространство имен \"absl\" не содержит члена \"StatusCode\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\errors.h\t150\t\r\nОшибка (активно)\tE0135\tпространство имен \"absl\" не содержит члена \"Status\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\errors.h\t275\t\r\nОшибка (активно)\tE0135\tпространство имен \"absl\" не содержит члена \"Status\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\errors.h\t283\t\r\nОшибка (активно)\tE0135\tпространство имен \"absl\" не содержит члена \"Status\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\errors.h\t290\t\r\nОшибка (активно)\tE0135\tпространство имен \"absl\" не содержит члена \"Status\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\errors.h\t296\t\r\nОшибка (активно)\tE0135\tпространство имен \"absl\" не содержит члена \"Status\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\errors.h\t350\t\r\nОшибка (активно)\tE0135\tпространство имен \"absl\" не содержит члена \"Status\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\errors.h\t358\t\r\nОшибка (активно)\tE0135\tпространство имен \"absl\" не содержит члена \"Status\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\errors.h\t365\t\r\nОшибка (активно)\tE0135\tпространство имен \"absl\" не содержит члена \"Status\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\errors.h\t371\t\r\nОшибка (активно)\tE0135\tпространство имен \"absl\" не содержит члена \"string_view\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\errors.h\t584\t\r\nОшибка (активно)\tE0135\tпространство имен \"absl\" не содержит члена \"string_view\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\errors.h\t596\t\r\nОшибка (активно)\tE0135\tпространство имен \"absl\" не содержит члена \"string_view\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\errors.h\t601\t\r\nОшибка (активно)\tE0135\tпространство имен \"absl\" не содержит члена \"string_view\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\errors.h\t609\t\r\nОшибка (активно)\tE0135\tпространство имен \"absl\" не содержит члена \"string_view\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\errors.h\t614\t\r\nОшибка (активно)\tE0135\tпространство имен \"tsl::error\" не содержит члена \"OK\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\errors.h\t641\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\float8.h\t22\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\float8.h\t23\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\float8.h\t24\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\float8.h\t27\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\float8.h\t28\t\r\nОшибка (активно)\tE0840\tиспользование списка аргументов шаблона в объявлении основного шаблона не допускается\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\hash.h\t73\t\r\nОшибка (активно)\tE0840\tиспользование списка аргументов шаблона в объявлении основного шаблона не допускается\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\hash.h\t87\t\r\nОшибка (активно)\tE0864\thash не является шаблоном\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\hash.h\t96\t\r\nОшибка (активно)\tE0020\tидентификатор \"string\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\hash.h\t96\t\r\nОшибка (активно)\tE0864\thash не является шаблоном\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\hash.h\t103\t\r\nОшибка (активно)\tE0020\tидентификатор \"tstring\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\hash.h\t103\t\r\nОшибка (активно)\tE0864\thash не является шаблоном\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\hash.h\t110\t\r\nОшибка (активно)\tE0020\tидентификатор \"StringPiece\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\hash.h\t110\t\r\nОшибка (активно)\tE0135\tпространство имен \"tsl\" не содержит члена \"hash\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\hash.h\t115\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\hash.h\t115\t\r\nОшибка (активно)\tE0840\tиспользование списка аргументов шаблона в объявлении основного шаблона не допускается\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\hash.h\t118\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\hash.h\t124\t\r\nОшибка (активно)\tE0020\tидентификатор \"Condition\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\mutex.h\t102\t\r\nОшибка (активно)\tE0020\tидентификатор \"Condition\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\mutex.h\t108\t\r\nОшибка (активно)\tE0020\tидентификатор \"uint64\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\mutex.h\t108\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\mutex.h\t111\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\mutex.h\t113\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\mutex.h\t114\t\r\nОшибка (активно)\tE0135\tпространство имен \"std\" не содержит члена \"cv_status\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\mutex.h\t239\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\mutex.h\t240\t\r\nОшибка (активно)\tE0018\tтребуется круглая скобка \")\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\mutex.h\t240\t\r\nОшибка (активно)\tE0020\tидентификатор \"ConditionResult\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\mutex.h\t245\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\mutex.h\t248\t\r\nОшибка (активно)\tE0020\tидентификатор \"ConditionResult\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\mutex.h\t256\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\mutex.h\t311\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\refcount.h\t57\t\r\nОшибка (активно)\tE1670\tквалификатор типа не разрешен на функции не элементам\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\refcount.h\t66\t\r\nОшибка (активно)\tE0239\tнедопустимый спецификатор вне объявления класса\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\refcount.h\t71\t\r\nОшибка (активно)\tE1670\tквалификатор типа не разрешен на функции не элементам\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\refcount.h\t71\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\refcount.h\t73\t\r\nОшибка (активно)\tE0260\tотсутствует явный тип (требуется \"int\")\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\refcount.h\t76\t\r\nОшибка (активно)\tE0020\tидентификатор \"RefCounted\" не определен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\refcount.h\t76\t\r\nОшибка (активно)\tE0341\tфункция \"operator=\" должна быть функцией-членом\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\refcount.h\t77\t\r\nОшибка (активно)\tE0757\tфункцию \"RefCounted\" не является именем типа\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\refcount.h\t77\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\refcount.h\t78\t\r\nОшибка (активно)\tE0077\tэто объявление не содержит класс хранения или спецификатор типа\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\refcount.h\t90\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\refcount.h\t90\t\r\nОшибка (активно)\tE0262\tне является именем класса или структуры\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\refcount.h\t144\t\r\nОшибка (активно)\tE1455\tобъявленная с использованием ключевого слова override функция-член не переопределят член базового класса\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\refcount.h\t152\t\r\nОшибка (активно)\tE0262\tне является именем класса или структуры\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\refcount.h\t155\t\r\nОшибка (активно)\tE0077\tэто объявление не содержит класс хранения или спецификатор типа\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\refcount.h\t160\t\r\nОшибка (активно)\tE0135\tпространство имен \"std\" не содержит члена \"map\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\refcount.h\t160\t\r\nОшибка (активно)\tE0065\tтребуется точка с запятой \";\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\refcount.h\t160\t\r\nОшибка (активно)\tE0070\tнедопустимый неполный тип\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\refcount.h\t217\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\refcount.h\t297\t\r\nОшибка (активно)\tE0169\tтребуется объявление\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\refcount.h\t297\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\status.h\t57\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\status.h\t60\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\status.h\t63\t\r\nОшибка (активно)\tE0283\tиспользование полного имени не допускается\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\status.h\t72\t\r\nОшибка (активно)\tE0898\tоператору, не являющемуся членом, требуется параметр с класса перечисляемого типа\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\status.h\t73\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\status.h\t73\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\status.h\t74\t\r\nОшибка (активно)\tE0898\tоператору, не являющемуся членом, требуется параметр с класса перечисляемого типа\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\status.h\t78\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\status.h\t78\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\status.h\t79\t\r\nОшибка (активно)\tE0898\tоператору, не являющемуся членом, требуется параметр с класса перечисляемого типа\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\status.h\t85\t\r\nОшибка (активно)\tE0135\tпространство имен \"absl\" не содержит члена \"StatusCode\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\status.h\t85\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\status.h\t86\t\r\nОшибка (активно)\tE0898\tоператору, не являющемуся членом, требуется параметр с класса перечисляемого типа\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\status.h\t90\t\r\nОшибка (активно)\tE0135\tпространство имен \"absl\" не содержит члена \"StatusCode\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\status.h\t90\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\status.h\t91\t\r\nОшибка (активно)\tE0135\tпространство имен \"absl\" не содержит члена \"Status\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\status.h\t104\t\r\nОшибка (активно)\tE0135\tпространство имен \"absl\" не содержит члена \"Status\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\status.h\t104\t\r\nОшибка (активно)\tE0135\tпространство имен \"absl\" не содержит члена \"Status\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\status.h\t105\t\r\nОшибка (активно)\tE0135\tпространство имен \"absl\" не содержит члена \"Status\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\status.h\t105\t\r\nОшибка (активно)\tE0135\tпространство имен \"absl\" не содержит члена \"StatusOr\"\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\statusor.h\t87\t\r\nОшибка (активно)\tE0276\tимя, за которым следует выражение \"::\", должно определять класс или пространство имен\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\stringpiece.h\t33\t\r\nОшибка (активно)\tE0077\tэто объявление не содержит класс хранения или спецификатор типа\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\tstring.h\t379\t\r\nОшибка (активно)\tE1670\tквалификатор типа не разрешен на функции не элементам\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\tstring.h\t379\t\r\nПредупреждение\tC6386\tПереполнение буфера при записи в \"new_ptr\".\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\ctstring_internal.h\t274\t\r\nПредупреждение\tC6387\t\"new_ptr\" может быть \"0\".\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\ctstring_internal.h\t274\t\r\nПредупреждение\tC6011\tРазыменование пустого указателя \"str->u.large.ptr\". \tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\ctstring_internal.h\t280\t\r\nПредупреждение\tC6386\tПереполнение буфера при записи в \"str->u.large.ptr\".\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\ctstring_internal.h\t280\t\r\nПредупреждение\tC6308\trealloc может возвратить пустой указатель: присвоение пустого указателя переменной \"str->u.large.ptr\", которая передается в качестве аргумента функции realloc, приведет к утечке исходного блока памяти.\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\ctstring_internal.h\t331\t\r\nПредупреждение\tC6387\t\"new_ptr\" может быть \"0\".\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\ctstring_internal.h\t335\t\r\nПредупреждение\tC6011\tРазыменование пустого указателя \"str->u.large.ptr\". Самое раннее расположение, где это могло произойти, см. в строке 335\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\tsl\\platform\\ctstring_internal.h\t339\t\r\nОшибка\tC1083\tНе удается открыть файл включение: absl/status/status.h: No such file or directory,\tai\tC:\\Users\\User\\source\\repos\\ai\\include\\tensorflow\\cc\\framework\\ops.h\t24\t\r\n",
"@emailbsuv,\r\nIts unlikely for TF 2.7 version to receive any bug fixes except when we have security patches. There is a high possibility that this was fixed with later TF versions. Perhaps you can use the latest tf versions for your case. \r\n\r\nThe prebuilt binaries for windows are of win_amd64.whl type and seem not supporting for mingw_x86_64 architecture.\r\n\r\nYou have an option for Build from source using MSYS shell. Please refer to the documentation here for [same](https://www.tensorflow.org/install/source_windows#build_using_the_msys_shell).\r\n\r\nThank you!",
"[tilakrayal](https://github.com/tilakrayal),\r\nOK, thank you. So I will use the python from my DLL to write complete applications for windows and linux. Thank you. You can close the ticket.\r\n\r\nTensorflow is not meant to be used in C++ although it is written in C++. My releases of my software will grow by 200 megabytes due to the need to invest python.",
"@emailbsuv,\r\nGlad the issue was resolved. As mentioned above, moving this issue to the 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/61430\">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/61430\">No</a>\n"
] | 2023-07-31T09:26:26 | 2023-08-01T10:33:09 | 2023-08-01T10:33:07 | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
source
### TensorFlow version
2.7.0
### Custom code
Yes
### OS platform and distribution
Windows 11
### Mobile device
_No response_
### Python version
_No response_
### Bazel version
_No response_
### GCC/compiler version
8.1.0
### CUDA/cuDNN version
_No response_
### GPU model and memory
_No response_
### Current behavior?
Cant write complete application
### Standalone code to reproduce the issue
```shell
#include <stdio.h>
#include <tensorflow/cc/client/client_session.h>
#include <tensorflow/cc/ops/standard_ops.h>
#include <tensorflow/core/framework/tensor.h>
int main() {
// Инициализация TensorFlow
tensorflow::Scope root = tensorflow::Scope::NewRootScope();
tensorflow::ClientSession session(root);
// Входные данные (5 предыдущих OHLC свечей)
std::vector<float> input_data = { /* Ваши значения OHLC свечей */ };
tensorflow::Tensor input_tensor(tensorflow::DT_FLOAT, tensorflow::TensorShape({ 1, 5 }));
auto input_tensor_mapped = input_tensor.tensor<float, 2>();
for (int i = 0; i < 5; ++i) {
input_tensor_mapped(0, i) = input_data[i];
}
// Загружаем модель или определяем свою модель для прогнозирования
// tensorflow::GraphDef graph_def;
// tensorflow::ReadBinaryProto(tensorflow::Env::Default(), "path/to/model.pb", &graph_def);
// tensorflow::SessionOptions session_options;
// tensorflow::ClientSession session(root, session_options);
// session.Create(graph_def);
// Выполняем прогноз на основе входных данных
tensorflow::Tensor output_tensor;
tensorflow::Status run_status = session.Run({ { "input_tensor_name", input_tensor } },
{ "output_tensor_name" }, {}, &output_tensor);
if (!run_status.ok()) {
std::cerr << "Ошибка выполнения: " << run_status.error_message() << std::endl;
return 1;
}
// Обрабатываем результат прогноза
auto output_tensor_mapped = output_tensor.tensor<float, 2>();
// Выводим результаты прогноза OHLC свечи будущей
return 0;
}
```
### Relevant log output
```shell
Серьезность Код Описание Проект Файл Строка Состояние подавления
Ошибка (активно) E1696 не удается открыть источник файл "third_party/eigen3/unsupported/Eigen/CXX11/ThreadPool" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\platform\threadpool_interface.h 19
Ошибка (активно) E1696 не удается открыть источник файл "absl/status/status.h" ai C:\Users\User\source\repos\ai\include\tensorflow\cc\framework\ops.h 24
Ошибка (активно) E1696 не удается открыть источник файл "absl/strings/str_cat.h" ai C:\Users\User\source\repos\ai\include\tensorflow\cc\framework\ops.h 25
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/core/framework/tensor.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\cc\framework\ops.h 27
Ошибка (активно) E1696 не удается открыть источник файл "absl/strings/str_cat.h" ai C:\Users\User\source\repos\ai\include\tensorflow\cc\framework\scope.h 25
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/cc/ops/array_ops.h" ai C:\Users\User\source\repos\ai\include\tensorflow\cc\ops\standard_ops.h 19
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/cc/ops/candidate_sampling_ops.h" ai C:\Users\User\source\repos\ai\include\tensorflow\cc\ops\standard_ops.h 20
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/cc/ops/control_flow_ops.h" ai C:\Users\User\source\repos\ai\include\tensorflow\cc\ops\standard_ops.h 22
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/cc/ops/data_flow_ops.h" ai C:\Users\User\source\repos\ai\include\tensorflow\cc\ops\standard_ops.h 23
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/cc/ops/image_ops.h" ai C:\Users\User\source\repos\ai\include\tensorflow\cc\ops\standard_ops.h 24
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/cc/ops/io_ops.h" ai C:\Users\User\source\repos\ai\include\tensorflow\cc\ops\standard_ops.h 25
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/cc/ops/linalg_ops.h" ai C:\Users\User\source\repos\ai\include\tensorflow\cc\ops\standard_ops.h 26
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/cc/ops/logging_ops.h" ai C:\Users\User\source\repos\ai\include\tensorflow\cc\ops\standard_ops.h 27
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/cc/ops/lookup_ops.h" ai C:\Users\User\source\repos\ai\include\tensorflow\cc\ops\standard_ops.h 28
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/cc/ops/math_ops.h" ai C:\Users\User\source\repos\ai\include\tensorflow\cc\ops\standard_ops.h 29
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/cc/ops/nn_ops.h" ai C:\Users\User\source\repos\ai\include\tensorflow\cc\ops\standard_ops.h 30
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/cc/ops/no_op.h" ai C:\Users\User\source\repos\ai\include\tensorflow\cc\ops\standard_ops.h 31
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/cc/ops/parsing_ops.h" ai C:\Users\User\source\repos\ai\include\tensorflow\cc\ops\standard_ops.h 32
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/cc/ops/random_ops.h" ai C:\Users\User\source\repos\ai\include\tensorflow\cc\ops\standard_ops.h 33
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/cc/ops/sparse_ops.h" ai C:\Users\User\source\repos\ai\include\tensorflow\cc\ops\standard_ops.h 34
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/cc/ops/state_ops.h" ai C:\Users\User\source\repos\ai\include\tensorflow\cc\ops\standard_ops.h 35
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/cc/ops/string_ops.h" ai C:\Users\User\source\repos\ai\include\tensorflow\cc\ops\standard_ops.h 36
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/cc/ops/training_ops.h" ai C:\Users\User\source\repos\ai\include\tensorflow\cc\ops\standard_ops.h 37
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/cc/ops/user_ops.h" ai C:\Users\User\source\repos\ai\include\tensorflow\cc\ops\standard_ops.h 38
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/core/framework/graph.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\common_runtime\graph_constructor.h 19
Ошибка (активно) E1696 не удается открыть источник файл "absl/strings/string_view.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\allocator.h 24
Ошибка (активно) E1696 не удается открыть источник файл "absl/types/optional.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\allocator.h 25
Ошибка (активно) E1696 не удается открыть источник файл "absl/base/macros.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\device_base.h 23
Ошибка (активно) E1696 не удается открыть источник файл "absl/strings/string_view.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\device_base.h 24
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/core/framework/device_attributes.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\device_base.h 25
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/core/framework/full_type.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\full_type_inference_util.h 23
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/core/framework/full_type.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\full_type_util.h 22
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/core/framework/node_def.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\full_type_util.h 23
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/core/framework/op_def.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\full_type_util.h 25
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/core/framework/graph_debug_info.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\function.h 25
Ошибка (активно) E1696 не удается открыть источник файл "absl/container/flat_hash_map.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\function.h 30
Ошибка (активно) E1696 не удается открыть источник файл "absl/types/optional.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\function.h 31
Ошибка (активно) E1696 не удается открыть источник файл "absl/types/variant.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\function.h 32
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/core/framework/attr_value.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\function.h 33
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/core/framework/function.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\function.h 36
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/core/framework/optimized_function_graph.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\function.h 40
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/core/protobuf/config.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\function.h 51
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/tsl/protobuf/error_codes.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\function.h 52
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/core/protobuf/remote_tensor_handle.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\function.h 54
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/core/framework/node_def.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\node_def_builder.h 23
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/core/framework/op_def.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\node_def_builder.h 26
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/core/framework/node_def.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\node_def_util.h 24
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/core/framework/op_def.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\node_def_util.h 25
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/core/framework/types.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\node_def_util.h 29
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/core/framework/node_def.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\node_properties.h 19
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/core/framework/op_def.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\node_properties.h 20
Ошибка (активно) E1696 не удается открыть источник файл "absl/container/flat_hash_map.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\op.h 25
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/core/framework/full_type.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\op.h 26
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/core/framework/full_type.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\op_def_builder.h 26
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/core/framework/op_def.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\op_def_builder.h 27
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/core/framework/api_def.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\op_def_util.h 24
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/core/framework/op_def.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\op_def_util.h 25
Ошибка (активно) E1696 не удается открыть источник файл "absl/time/time.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\op_kernel.h 24
Ошибка (активно) E1696 не удается открыть источник файл "absl/types/optional.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\op_kernel.h 25
Ошибка (активно) E1696 не удается открыть источник файл "absl/types/span.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\op_kernel.h 26
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/core/framework/graph.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\op_kernel.h 31
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/core/framework/kernel_def.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\op_kernel.h 32
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/core/framework/node_def.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\op_kernel.h 34
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/core/framework/tensor_shape.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\op_kernel.h 44
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/core/framework/types.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\op_kernel.h 47
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/core/protobuf/config.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\op_kernel.h 59
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/core/framework/registration/options.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\registration\registration.h 38
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/core/framework/types.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\resource_handle.h 24
Ошибка (активно) E1696 не удается открыть источник файл "third_party/eigen3/unsupported/Eigen/CXX11/Tensor" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\tensor.h 25
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/core/framework/types.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\tensor.h 30
Ошибка (активно) E1696 не удается открыть источник файл "third_party/eigen3/unsupported/Eigen/CXX11/Tensor" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\tensor_shape.h 21
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/core/framework/types.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\tensor_shape.h 22
Ошибка (активно) E1696 не удается открыть источник файл "third_party/eigen3/unsupported/Eigen/CXX11/Tensor" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\tensor_types.h 19
Ошибка (активно) E1696 не удается открыть источник файл "third_party/eigen3/unsupported/Eigen/CXX11/Tensor" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\types.h 23
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/core/framework/full_type.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\types.h 25
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/core/framework/types.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\framework\types.h 28
Ошибка (активно) E1696 не удается открыть источник файл "absl/types/optional.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\graph\graph.h 45
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/core/framework/full_type.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\graph\graph.h 46
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/core/framework/node_def.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\graph\graph.h 48
Ошибка (активно) E1696 не удается открыть источник файл "absl/container/flat_hash_map.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\graph\graph_debug_info_builder.h 24
Ошибка (активно) E1696 не удается открыть источник файл "absl/status/status.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\graph\graph_debug_info_builder.h 25
Ошибка (активно) E1696 не удается открыть источник файл "absl/status/statusor.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\graph\graph_debug_info_builder.h 26
Ошибка (активно) E1696 не удается открыть источник файл "absl/strings/string_view.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\graph\graph_debug_info_builder.h 27
Ошибка (активно) E1696 не удается открыть источник файл "absl/types/span.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\graph\graph_debug_info_builder.h 28
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/core/framework/graph_debug_info.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\graph\graph_debug_info_builder.h 29
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/core/framework/op_def.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\graph\node_builder.h 22
Ошибка (активно) E1696 не удается открыть источник файл "absl/types/span.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\lib\gtl\array_slice.h 19
Ошибка (активно) E1696 не удается открыть источник файл "absl/base/attributes.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\platform\errors.h 23
Ошибка (активно) E1696 не удается открыть источник файл "absl/strings/str_join.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\platform\errors.h 24
Ошибка (активно) E1696 не удается открыть источник файл "absl/types/optional.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\platform\threadpool.h 22
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/core/protobuf/config.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\public\session_options.h 22
Ошибка (активно) E1696 не удается открыть источник файл "absl/strings/match.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\util\managed_stack_trace.h 26
Ошибка (активно) E1696 не удается открыть источник файл "absl/strings/str_cat.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\util\managed_stack_trace.h 27
Ошибка (активно) E1696 не удается открыть источник файл "absl/types/optional.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\util\managed_stack_trace.h 28
Ошибка (активно) E1696 не удается открыть источник файл "absl/strings/string_view.h" ai C:\Users\User\source\repos\ai\include\tensorflow\core\util\tensor_format.h 23
Ошибка (активно) E1696 не удается открыть источник файл "absl/strings/string_view.h" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\framework\allocator.h 25
Ошибка (активно) E1696 не удается открыть источник файл "absl/types/optional.h" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\framework\allocator.h 26
Ошибка (активно) E1696 не удается открыть источник файл "absl/strings/string_view.h" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\framework\device_type.h 22
Ошибка (активно) E1696 не удается открыть источник файл "Eigen/Core" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\framework\fixedpoint_types.h 21
Ошибка (активно) E1696 не удается открыть источник файл "absl/container/inlined_vector.h" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\lib\gtl\inlined_vector.h 19
Ошибка (активно) E1696 не удается открыть источник файл "third_party/eigen3/Eigen/Core" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\platform\bfloat16.h 20
Ошибка (активно) E1696 не удается открыть источник файл "absl/strings/cord.h" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\platform\default\cord.h 22
Ошибка (активно) E1696 не удается открыть источник файл "absl/base/log_severity.h" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\platform\default\logging.h 35
Ошибка (активно) E1696 не удается открыть источник файл "absl/strings/string_view.h" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\platform\default\logging.h 36
Ошибка (активно) E1696 не удается открыть источник файл "absl/status/statusor.h" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\platform\default\statusor.h 18
Ошибка (активно) E1696 не удается открыть источник файл "absl/functional/any_invocable.h" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\platform\env.h 27
Ошибка (активно) E1696 не удается открыть источник файл "absl/base/attributes.h" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\platform\errors.h 26
Ошибка (активно) E1696 не удается открыть источник файл "absl/status/status.h" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\platform\errors.h 27
Ошибка (активно) E1696 не удается открыть источник файл "absl/strings/cord.h" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\platform\errors.h 28
Ошибка (активно) E1696 не удается открыть источник файл "absl/strings/str_join.h" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\platform\errors.h 29
Ошибка (активно) E1696 не удается открыть источник файл "include/float8.h" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\platform\float8.h 19
Ошибка (активно) E1696 не удается открыть источник файл "google/protobuf/descriptor.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\platform\protobuf.h 30
Ошибка (активно) E1696 не удается открыть источник файл "google/protobuf/arena.h" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\platform\protobuf.h 31
Ошибка (активно) E1696 не удается открыть источник файл "google/protobuf/descriptor.h" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\platform\protobuf.h 32
Ошибка (активно) E1696 не удается открыть источник файл "google/protobuf/dynamic_message.h" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\platform\protobuf.h 33
Ошибка (активно) E1696 не удается открыть источник файл "google/protobuf/io/coded_stream.h" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\platform\protobuf.h 34
Ошибка (активно) E1696 не удается открыть источник файл "google/protobuf/io/tokenizer.h" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\platform\protobuf.h 35
Ошибка (активно) E1696 не удается открыть источник файл "google/protobuf/io/zero_copy_stream.h" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\platform\protobuf.h 36
Ошибка (активно) E1696 не удается открыть источник файл "google/protobuf/io/zero_copy_stream_impl_lite.h" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\platform\protobuf.h 37
Ошибка (активно) E1696 не удается открыть источник файл "google/protobuf/map.h" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\platform\protobuf.h 38
Ошибка (активно) E1696 не удается открыть источник файл "google/protobuf/message.h" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\platform\protobuf.h 39
Ошибка (активно) E1696 не удается открыть источник файл "google/protobuf/repeated_field.h" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\platform\protobuf.h 40
Ошибка (активно) E1696 не удается открыть источник файл "google/protobuf/text_format.h" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\platform\protobuf.h 41
Ошибка (активно) E1696 не удается открыть источник файл "google/protobuf/util/field_comparator.h" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\platform\protobuf.h 42
Ошибка (активно) E1696 не удается открыть источник файл "google/protobuf/util/json_util.h" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\platform\protobuf.h 43
Ошибка (активно) E1696 не удается открыть источник файл "google/protobuf/util/message_differencer.h" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\platform\protobuf.h 44
Ошибка (активно) E1696 не удается открыть источник файл "google/protobuf/util/type_resolver_util.h" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\platform\protobuf.h 45
Ошибка (активно) E1696 не удается открыть источник файл "absl/base/attributes.h" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\platform\status.h 28
Ошибка (активно) E1696 не удается открыть источник файл "absl/functional/function_ref.h" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\platform\status.h 29
Ошибка (активно) E1696 не удается открыть источник файл "absl/status/status.h" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\platform\status.h 30
Ошибка (активно) E1696 не удается открыть источник файл "absl/strings/cord.h" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\platform\status.h 31
Ошибка (активно) E1696 не удается открыть источник файл "absl/strings/string_view.h" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\platform\status.h 32
Ошибка (активно) E1696 не удается открыть источник файл "absl/types/optional.h" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\platform\status.h 33
Ошибка (активно) E1696 не удается открыть источник файл "tensorflow/tsl/protobuf/error_codes.pb.h" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\platform\status.h 39
Ошибка (активно) E1696 не удается открыть источник файл "absl/base/attributes.h" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\platform\statusor.h 71
Ошибка (активно) E1696 не удается открыть источник файл "absl/status/statusor.h" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\platform\statusor.h 72
Ошибка (активно) E1696 не удается открыть источник файл "absl/strings/string_view.h" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\platform\stringpiece.h 29
Ошибка (активно) E1696 не удается открыть источник файл "absl/strings/str_join.h" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\platform\str_util.h 23
Ошибка (активно) E1696 не удается открыть источник файл "absl/strings/str_split.h" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\platform\str_util.h 24
Ошибка (активно) E1696 не удается открыть источник файл "absl/types/optional.h" ai C:\Users\User\source\repos\ai\include\tensorflow\tsl\platform\threadpool.h 22
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61430/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61430/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61429 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61429/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61429/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61429/events | https://github.com/tensorflow/tensorflow/issues/61429 | 1,828,763,339 | I_kwDOArmXAs5tALbL | 61,429 | Keras docs source code links point to 404 | {
"login": "grofte",
"id": 7976840,
"node_id": "MDQ6VXNlcjc5NzY4NDA=",
"avatar_url": "https://avatars.githubusercontent.com/u/7976840?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/grofte",
"html_url": "https://github.com/grofte",
"followers_url": "https://api.github.com/users/grofte/followers",
"following_url": "https://api.github.com/users/grofte/following{/other_user}",
"gists_url": "https://api.github.com/users/grofte/gists{/gist_id}",
"starred_url": "https://api.github.com/users/grofte/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/grofte/subscriptions",
"organizations_url": "https://api.github.com/users/grofte/orgs",
"repos_url": "https://api.github.com/users/grofte/repos",
"events_url": "https://api.github.com/users/grofte/events{/privacy}",
"received_events_url": "https://api.github.com/users/grofte/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": 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"
}
] | 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 | [
"Hi @grofte ,\r\n\r\nThis is already brought to the Docs team notice and they are working on fixing it.\r\n\r\nHowever if you are looking for source code of https://github.com/keras-team/keras/tree/v2.13.1/keras/src/engine/training.py#L70-L3991 then remove `src/` from the URL address and it works fine.This is just a temporary workaround. The problem exists in TF2.13 due to some internal movements.\r\n\r\nIf you want to access older versions you can still access without any problem. For example please look for TF2.12v API docs [here](https://www.tensorflow.org/versions/r2.12/api_docs/python/tf).\r\n",
"Okay, I didn't find the `docs-bug` label when I was searching before creating this issue. \r\n\r\nW.r.t. the older API documentation I am aware that it still exists. The links from vers. 2.10 and down work fine so I could open them and edit the address bar. But that doesn't change that both the 2.11 and 2.12 links point to https://www.tensorflow.org/api_docs/python/tf \r\nThe release note links are fine though. I don't know why those two are wrong.",
"@grofte ,\r\n\r\nI am not sure I am getting your problem wrt 2.12 avd 2.11 versions. I can see the links are working fine for these versions.\r\n\r\nhttps://www.tensorflow.org/versions/r2.12/api_docs/python/tf\r\n\r\nhttps://www.tensorflow.org/versions/r2.11/api_docs/python/tf",
"\r\n\r\n\r\nOn the versions page https://www.tensorflow.org/versions",
"Hi @grofte ,\r\n\r\nPlease check this.\r\n\r\n<img width=\"1456\" alt=\"Screenshot 2023-08-01 at 10 19 36 AM\" src=\"https://github.com/tensorflow/tensorflow/assets/116063290/5cb513b0-4d1d-44d1-b2b3-10dc07cc4c0e\">\r\n",
"It's still the same. The link right next to where it says \"release notes\" is wrong for r2.12 and r2.11",
"Hi @grofte ,\r\n\r\nI have checked all the 3 nos of marked release notes (2.13, 2.12 and 2.11 respectively) in the below snapshot and its working fine and pointing to Release notes of respective version.\r\n\r\n\r\n<img width=\"1456\" alt=\"Screenshot 2023-08-01 at 10 19 36 AM\" src=\"https://github.com/tensorflow/tensorflow/assets/116063290/fb12ad64-5a59-4450-855a-21c77c62b6e7\">\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/61429\">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/61429\">No</a>\n",
"I give up.",
"I noticed that the release note links of 2.14v and 2.13v both are pointing to 2.12v release notes.Submitting an internal fix for this.",
"@grofte ,\r\n\r\nThe fix has been merged and now I can see correct links for each version release notes. Could you please verify and close the issue now?\r\n\r\nThank you!",
"If I click r2.13, r2.12, or r2.11 they still lead to the 2.14 API documents.\r\n\r\nIf I click r2.11 it leads to \r\n\r\nhttps://www.tensorflow.org/api_docs/python/tf\r\n\r\nbut it should lead to\r\n\r\nhttps://www.tensorflow.org/versions/r2.11/api_docs/python/tf ",
"Hi @grofte ,\r\n\r\nAre you referring to the below link marked ?\r\n\r\n<img width=\"1331\" alt=\"Screenshot 2023-10-18 at 8 13 37 PM\" src=\"https://github.com/tensorflow/tensorflow/assets/116063290/e2022620-4f4f-4fe6-878e-cfaf10ff0c23\">\r\n\r\n\r\n\r\n It is redirecting to Tf2.13.v link attached below.\r\n\r\nhttps://www.tensorflow.org/versions/r2.13/api_docs/python/tf\r\n\r\nPlease confirm.\r\n",
"\r\n\r\nThese three point to current version of docs (which is wrong). The ones not underlined point to the relevant version of the docs. I expect that once version 2.15 is released the same problem will happen for 2.14, i.e. that it will not point to the docs for version 2.14 but instead still point to current docs.",
"Hi @grofte ,\r\n\r\nThe issue being addressed in #62389. I have submitted a fix for this today. Will update you once it merged. Thanks!",
"@grofte,\r\nThere was an internal issue raised for tracking the same issue and it got resolved now. Could you please try to access any Keras in the Tensorflow.org page, now it is able to re-direct to correct source code. Please check and confirm if it is working in your case.\r\nhttps://www.tensorflow.org/api_docs/python/tf/keras/Model\r\nhttps://github.com/keras-team/keras/blob/v3.3.3/keras/src/models/model.py#L32-L548\r\n\r\nThank you!\r\n\r\n"
] | 2023-07-31T09:19:13 | 2024-06-12T10:59:48 | null | NONE | null | null | null | Example:
if I go here https://www.tensorflow.org/api_docs/python/tf/keras/Model
and click source code I get to a 404 here https://github.com/keras-team/keras/tree/v2.13.1/keras/src/engine/training.py#L70-L3991
And it's the same no matter what version of the API docs I click from.
Speaking of, if you go to https://www.tensorflow.org/versions then the 2.12 and 2.11 links don't point to those versions of the API docs. They go to the current versions. Unless you use the links in the left side bar - those are still okay. Except that there's no link to the current version - which is 2.13. | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61429/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61429/timeline | null | reopened | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61428 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61428/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61428/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61428/events | https://github.com/tensorflow/tensorflow/pull/61428 | 1,828,714,398 | PR_kwDOArmXAs5WxhpA | 61,428 | Fix unable to find lit module for xla unit tests | {
"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": 390482148,
"node_id": "MDU6TGFiZWwzOTA0ODIxNDg=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/awaiting%20review",
"name": "awaiting review",
"color": "bc3869",
"default": false,
"description": "Pull request awaiting review"
},
{
"id": 987666414,
"node_id": "MDU6TGFiZWw5ODc2NjY0MTQ=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/ready%20to%20pull",
"name": "ready to pull",
"color": "2cd643",
"default": false,
"description": "PR ready for merge process"
},
{
"id": 1133285679,
"node_id": "MDU6TGFiZWwxMTMzMjg1Njc5",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:xla",
"name": "comp:xla",
"color": "0052cc",
"default": false,
"description": "XLA"
},
{
"id": 1169364259,
"node_id": "MDU6TGFiZWwxMTY5MzY0MjU5",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:XS",
"name": "size:XS",
"color": "adafea",
"default": false,
"description": "CL Change Size: Extra Small"
}
] | closed | false | {
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
}
] | null | [] | 2023-07-31T08:55:42 | 2023-08-01T08:13:19 | 2023-07-31T23:46:37 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61428",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61428",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61428.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61428.patch",
"merged_at": "2023-07-31T23:46:37"
} | Need to get the lit module from PyPi for Python 3.11 to prevent ModuleNotFoundError | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61428/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61428/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61427 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61427/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61427/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61427/events | https://github.com/tensorflow/tensorflow/issues/61427 | 1,828,340,786 | I_kwDOArmXAs5s-kQy | 61,427 | Since one week with a few different issues and two platforms I can't import Keras | {
"login": "sarahshehri",
"id": 46406878,
"node_id": "MDQ6VXNlcjQ2NDA2ODc4",
"avatar_url": "https://avatars.githubusercontent.com/u/46406878?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sarahshehri",
"html_url": "https://github.com/sarahshehri",
"followers_url": "https://api.github.com/users/sarahshehri/followers",
"following_url": "https://api.github.com/users/sarahshehri/following{/other_user}",
"gists_url": "https://api.github.com/users/sarahshehri/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sarahshehri/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sarahshehri/subscriptions",
"organizations_url": "https://api.github.com/users/sarahshehri/orgs",
"repos_url": "https://api.github.com/users/sarahshehri/repos",
"events_url": "https://api.github.com/users/sarahshehri/events{/privacy}",
"received_events_url": "https://api.github.com/users/sarahshehri/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"
}
] | 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 | [
"@sarahshehri Could you please make sure to follow the steps [here](https://keras.io/about/)?\r\nTry to use the following;\r\n```\r\nfrom tensorflow import keras\r\n```\r\nIn order to expedite the trouble-shooting process, please provide a code snippet to reproduce the issue reported here. Thank you!",
"[PROJECT-courseTWO.md](https://github.com/tensorflow/tensorflow/files/1\r\n<img width=\"1123\" alt=\"Screenshot 1445-01-13 at 9 13 11 PM\" src=\"https://github.com/tensorflow/tensorflow/assets/46406878/6d847a0f-7970-419b-8acf-6a6f8d82a498\">\r\n2218033/PROJECT-courseTWO.md)\r\n",
"<img width=\"1440\" alt=\"Screenshot 1445-01-13 at 9 15 45 PM\" src=\"https://github.com/tensorflow/tensorflow/assets/46406878/011db8db-37f0-4b4b-8a78-6603ef532ef5\">\r\n<img width=\"1148\" alt=\"Screenshot 1445-01-13 at 9 15 52 PM\" src=\"https://github.co\r\n<img width=\"1119\" alt=\"Screenshot 1445-01-13 at 9 14 00 PM\" src=\"https://github.com/tensorflow/tensorflow/assets/46406878/5633f492-0905-4886-8dbb-dbbe6bd82ca1\">\r\nm/tensorflow/tensorflow/assets/46406878/de498264-cced-4829-812e-85239be1aa73\">\r\n",
"<img width=\"1148\" alt=\"Screenshot 1445-01-13 at 9 15 52 PM\" src=\"https://github.com/tensorflow/tensorflow/assets/46406878/3f9154ca-c4e0-486b-aaa7-e412dc1b9913\">\r\n",
"> @sarahshehri Could you please make sure to follow the steps [here](https://keras.io/about/)? Try to use the following;\r\n> \r\n> ```\r\n> from tensorflow import keras\r\n> ```\r\n> \r\n> In order to expedite the trouble-shooting process, please provide a code snippet to reproduce the issue reported here. Thank you!\r\n\r\nI worked on but without any positive changes! And I attached the python notebook file can take skinnier on it! And I'm waiting your help ",
"@sarahshehri Thank you for your response!\r\nCould you please let me know what are the platforms you're using?\r\nIf you are using jupyter notebook, we recommend using conda as it will automatically install all the necessary dependencies. create a new cell in your Jupyter notebook and run the command below;\r\n```\r\npip install tensorflow\r\n```\r\nIt will install the latest TF version. Please make sure you have installed it.\r\nRemember to create a new environment specifically for [TensorFlow](https://www.tensorflow.org/) to avoid conflicts with other [Python](https://www.python.org/) packages.\r\n\r\nThank you!\r\n",
"> @sarahshehri Thank you for your response! Could you please let me know what are the platforms you're using? If you are using jupyter notebook, we recommend using conda as it will automatically install all the necessary dependencies. create a new cell in your Jupyter notebook and run the command below;\r\n> \r\n> ```\r\n> pip install tensorflow\r\n> ```\r\n> \r\n> It will install the latest TF version. Please make sure you have installed it. Remember to create a new environment specifically for [TensorFlow](https://www.tensorflow.org/) to avoid conflicts with other [Python](https://www.python.org/) packages.\r\n> \r\n> Thank you!\r\n\r\nThaaaaaaaaank u!!!! finally is resolving i installed the conda on Anaconda platform with using the Jupyter. Thank u again ",
"@sarahshehri Thank you for the confirmation. Glad it worked fine for you. Could you please close this issue as it is resolved?\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/61427\">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/61427\">No</a>\n"
] | 2023-07-31T03:39:21 | 2023-08-02T06:48:05 | 2023-08-02T06:48:03 | NONE | null | null | null | ### Issue type
Build/Install
### Have you reproduced the bug with TensorFlow Nightly?
No
### Source
source
### TensorFlow version
SystemError: initialization of _pywrap_checkpoint_reader raised unreported exception
### Custom code
No
### OS platform and distribution
Mac13.4
### Mobile device
_No response_
### Python version
3.10.9
### Bazel version
_No response_
### GCC/compiler version
_No response_
### CUDA/cuDNN version
_No response_
### GPU model and memory
_No response_
### Current behavior?
I face the error "SystemError: initialization of _pywrap_checkpoint_reader raised unreported exception" when I import keras to build DL model! I worked on make sure that the TensorFlow library is installed also I update the TensorFlow library to the latest version.
I need I help to resolve this issue because I think I trying a lot of recommendations!
Thanks
### Standalone code to reproduce the issue
```shell
Update the TensorFlow library to the latest version.
```
### Relevant log output
_No response_ | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61427/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/61427/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61426 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61426/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61426/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61426/events | https://github.com/tensorflow/tensorflow/issues/61426 | 1,827,609,682 | I_kwDOArmXAs5s7xxS | 61,426 | tflite-model-maker installation issue | {
"login": "Amayuru1999",
"id": 116435706,
"node_id": "U_kgDOBvCq-g",
"avatar_url": "https://avatars.githubusercontent.com/u/116435706?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Amayuru1999",
"html_url": "https://github.com/Amayuru1999",
"followers_url": "https://api.github.com/users/Amayuru1999/followers",
"following_url": "https://api.github.com/users/Amayuru1999/following{/other_user}",
"gists_url": "https://api.github.com/users/Amayuru1999/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Amayuru1999/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Amayuru1999/subscriptions",
"organizations_url": "https://api.github.com/users/Amayuru1999/orgs",
"repos_url": "https://api.github.com/users/Amayuru1999/repos",
"events_url": "https://api.github.com/users/Amayuru1999/events{/privacy}",
"received_events_url": "https://api.github.com/users/Amayuru1999/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"
},
{
"id": 5664422260,
"node_id": "LA_kwDOArmXAs8AAAABUaA5dA",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TFLiteModelMaker",
"name": "TFLiteModelMaker",
"color": "257569",
"default": false,
"description": "TFLite Model Maker related issues"
}
] | 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 @Amayuru1999 \r\n\r\nThere is a known issue of tflite model maker installation if you are using Python >=3.10. Please use Python 3.9 or [Mediapipe Model Maker](https://developers.google.com/mediapipe/solutions/model_maker) as a workaround.\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/61426\">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/61426\">No</a>\n",
"!pip install git+https://github.com/tensorflow/examples.git\r\n"
] | 2023-07-29T19:13:43 | 2023-10-23T13:42:38 | 2023-08-17T01:45:45 | NONE | null | null | null | ### Issue type
Build/Install
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
source
### TensorFlow version
2.12.0
### Custom code
Yes
### OS platform and distribution
Windows 11
### Mobile device
_No response_
### Python version
_No response_
### Bazel version
_No response_
### GCC/compiler version
_No response_
### CUDA/cuDNN version
_No response_
### GPU model and memory
_No response_
### Current behavior?
For Image Classification
### Standalone code to reproduce the issue
```shell
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
```
### Relevant log output
_No response_ | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61426/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61426/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61425 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61425/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61425/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61425/events | https://github.com/tensorflow/tensorflow/issues/61425 | 1,827,584,024 | I_kwDOArmXAs5s7rgY | 61,425 | JAVA - org.tensorflow.TensorFlowException: Can't parse /<modelPath>/<somePathToFolder>/saved_model.pb as binary proto - JDK 17 | {
"login": "17patelumang",
"id": 6100731,
"node_id": "MDQ6VXNlcjYxMDA3MzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/6100731?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/17patelumang",
"html_url": "https://github.com/17patelumang",
"followers_url": "https://api.github.com/users/17patelumang/followers",
"following_url": "https://api.github.com/users/17patelumang/following{/other_user}",
"gists_url": "https://api.github.com/users/17patelumang/gists{/gist_id}",
"starred_url": "https://api.github.com/users/17patelumang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/17patelumang/subscriptions",
"organizations_url": "https://api.github.com/users/17patelumang/orgs",
"repos_url": "https://api.github.com/users/17patelumang/repos",
"events_url": "https://api.github.com/users/17patelumang/events{/privacy}",
"received_events_url": "https://api.github.com/users/17patelumang/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": "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 | [
"@17patelumang,\r\nWe see that you are using tf version 1.0, 1.x is not actively supported, please update to 2.x and let us know if you are facing the same issue. Also could you please confirm whether you are trying to install tensorflow using java from this official doc and follow the instructions mentioned here.\r\nhttps://www.tensorflow.org/jvm/install\r\nhttps://www.tensorflow.org/install/lang_java_legacy\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/61425\">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/61425\">No</a>\n",
"This is resolved, issue was .gitattribute file. It was replacing CRLF to LF thus corrupting the variables.data-00000-of-00001. Thanks for the help. "
] | 2023-07-29T18:23:20 | 2023-08-28T19:01:55 | 2023-08-16T01:46:30 | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
source
### TensorFlow version
1.15.0
### Custom code
Yes
### OS platform and distribution
RHEL 8 version, 8.7.5
### 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?
`/<modelPath>/<somePathToFolder>/`
Has following files:
1. assets/vocab.txt
2. saved_model.pb
3. variables/variables.data-00000-of-00001
4. variables/variables.index
I am using java binding code to run the inference. Libraries I am using are
```
<groupId>org.tensorflow</groupId>
<artifactId>tensorflow</artifactId>
<artifactId>1.15.0</artifactId>
<groupId>org.tensorflow</groupId>
<artifactId>libtensorflow</artifactId>
<artifactId>1.15.0</artifactId>
<groupId>org.tensorflow</groupId>
<artifactId>proto</artifactId>
<artifactId>1.15.0</artifactId>
<groupId>org.tensorflow</groupId>
<artifactId>libtensorflow_jni</artifactId>
<artifactId>1.15.0</artifactId>
```
TensorFlow version - 1.15.0
JDK - Oracle Open Jdk Version 17.0.5
OS - RHEL 8 version, 8.7.5
**Describe the current behavior**
```
org.tensorflow.TensorFlowException: Can't parse </modelPath>/<somePathToFolder>/saved_model.pb as binary proto
at app//org.tensorflow.SavedModelBundle.load(Native Method)
at app//org.tensorflow.SavedModelBundle.access$000(SavedModelBundle.java:27)
at app//org.tensorflow.SavedModelBundle$Loader.load(SavedModelBundle.java:32)
at app//org.tensorflow.SavedModelBundle.load(SavedModelBundle.java:95)
at app//com.main.java.main.tensorflow.TestClass.TFPredictor(TestClass.java:19)
```
**Describe the expected behavior**
In JDK 11, the code runs while in JDK 17 its throws error. The model file is not corrupted & same model path file is able to run successfully in JDK 11
### Standalone code to reproduce the issue
```shell
Code:
import com.google.common.io.Resources;
import org.junit.Test;
import org.tensorflow.SavedModelBundle;
import org.tensorflow.Session;
import java.io.IOException;
import java.net.URISyntaxException;
import java.nio.file.Paths;
public class TestClass {
@Test
public void TFPredictor() throws IOException, URISyntaxException {
SavedModelBundle b = SavedModelBundle.load("/<modelPath>/<somePathToFolder>", "serve");
Session sess = b.session();
}
}
``` | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61425/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61425/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61424 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61424/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61424/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61424/events | https://github.com/tensorflow/tensorflow/pull/61424 | 1,826,947,994 | PR_kwDOArmXAs5WrtDU | 61,424 | Support for arbitrary tensor sizes in `tfl.strided_slice` lowering | {
"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": 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 | [
"@jpienaar @eric-k256 Just pinging on this PR. Thanks!",
"Hi @jpienaar Can you please review this PR ? Thank you!",
"Hi @rsuderman 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 @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!"
] | 2023-07-28T18:58:23 | 2024-06-07T16:10:40 | null | NONE | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61424",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61424",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61424.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61424.patch",
"merged_at": null
} | The existing lowering strategy for `tfl.stided_slice` does not account for the possibility that the input tensor size may not be an exact multiple of the stride in a particular dimension. This patch addresses this situation by inserting padding to the original tensor with an additional `tosa.pad` op in order to make all sizes exact multiples of the strides.
For example:
```
%0 = "tfl.pseudo_const"() {value = dense<[0, 0, 1]> : tensor<3xi32>} : () -> tensor<3xi32>
%1 = "tfl.pseudo_const"() {value = dense<[1, 1000, 4]> : tensor<3xi32>} : () -> tensor<3xi32>
%2 = "tfl.pseudo_const"() {value = dense<[1, 1, 4]> : tensor<3xi32>} : () -> tensor<3xi32>
%result = "tfl.strided_slice"(%arg0, %0, %1, %2) {begin_mask = 0 : i32, ellipsis_mask = 0 : i32, end_mask = 0 : i32, new_axis_mask = 0 : i32, shrink_axis_mask = 0 : i32, offset = false} : (tensor<1x1000x4xf32>, tensor<3xi32>, tensor<3xi32>, tensor<3xi32>) -> tensor<1x1000x1xf32>
```
This code was previously producing an error in the `tosa-legalize-tfl` pass. Now it is successfully converted to the following TOSA code:
```
%0 = "tosa.const"() <{value = dense<[[0, 0], [0, 0], [0, 1]]> : tensor<3x2xi64>}> : () -> tensor<3x2xi64>
%1 = "tosa.const"() <{value = dense<0.000000e+00> : tensor<f32>}> : () -> tensor<f32>
%2 = "tosa.slice"(%arg0) <{size = array<i64: 1, 1000, 3>, start = array<i64: 0, 0, 1>}> : (tensor<1x1000x4xf32>) -> tensor<1x1000x3xf32>
%3 = "tosa.pad"(%2, %0, %1) : (tensor<1x1000x3xf32>, tensor<3x2xi64>, tensor<f32>) -> tensor<1x1000x4xf32>
%4 = "tosa.reshape"(%3) <{new_shape = array<i64: 1, 1000, 1, 4>}> : (tensor<1x1000x4xf32>) -> tensor<1x1000x1x4xf32>
%5 = "tosa.slice"(%4) <{size = array<i64: 1, 1000, 1, 1>, start = array<i64: 0, 0, 0, 0>}> : (tensor<1x1000x1x4xf32>) -> tensor<1x1000x1x1xf32>
%result = "tosa.reshape"(%5) <{new_shape = array<i64: 1, 1000, 1>}> : (tensor<1x1000x1x1xf32>) -> tensor<1x1000x1xf32>
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61424/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61424/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61423 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61423/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61423/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61423/events | https://github.com/tensorflow/tensorflow/issues/61423 | 1,826,889,022 | I_kwDOArmXAs5s5B0- | 61,423 | Failed assertion in tf.linalg.sqrtm (and possibly other functions) crashes entire program instead of raising Exception | {
"login": "petered",
"id": 1148799,
"node_id": "MDQ6VXNlcjExNDg3OTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/1148799?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/petered",
"html_url": "https://github.com/petered",
"followers_url": "https://api.github.com/users/petered/followers",
"following_url": "https://api.github.com/users/petered/following{/other_user}",
"gists_url": "https://api.github.com/users/petered/gists{/gist_id}",
"starred_url": "https://api.github.com/users/petered/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/petered/subscriptions",
"organizations_url": "https://api.github.com/users/petered/orgs",
"repos_url": "https://api.github.com/users/petered/repos",
"events_url": "https://api.github.com/users/petered/events{/privacy}",
"received_events_url": "https://api.github.com/users/petered/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 386191887,
"node_id": "MDU6TGFiZWwzODYxOTE4ODc=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response",
"name": "stat:awaiting response",
"color": "f4b400",
"default": false,
"description": "Status - Awaiting response from author"
},
{
"id": 473172988,
"node_id": "MDU6TGFiZWw0NzMxNzI5ODg=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug",
"name": "type:bug",
"color": "159b2e",
"default": false,
"description": "Bug"
},
{
"id": 474725938,
"node_id": "MDU6TGFiZWw0NzQ3MjU5Mzg=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stale",
"name": "stale",
"color": "d4c5f9",
"default": false,
"description": "This label marks the issue/pr stale - to be closed automatically if no activity"
},
{
"id": 1205765054,
"node_id": "MDU6TGFiZWwxMjA1NzY1MDU0",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/subtype:macOS",
"name": "subtype:macOS",
"color": "b619ea",
"default": false,
"description": "macOS Build/Installation issues"
},
{
"id": 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": "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 @petered ,\r\n\r\nI have tested the code with TF2.12 and TF 2.13 and its working fine without any crash in both Linux and MacOS.\r\n\r\nPlease refer to attached colab [gist](https://colab.sandbox.google.com/gist/SuryanarayanaY/86a8a3d0587a037c239bca9e98601688/61423.ipynb) for Linux\r\n\r\nPlease refer to attached logs on MacOS.\r\n\r\n```\r\n(base) suryanarayanay-macbookpro:Downloads suryanarayanay$ python 61423.py\r\nMetal device set to: Apple M1 Pro\r\n\r\nsystemMemory: 16.00 GB\r\nmaxCacheSize: 5.33 GB\r\n\r\n2023-07-31 10:44:48.799377: I tensorflow/core/common_runtime/pluggable_device/pluggable_device_factory.cc:303] Could not identify NUMA node of platform GPU ID 0, defaulting to 0. Your kernel may not have been built with NUMA support.\r\n2023-07-31 10:44:48.799554: I tensorflow/core/common_runtime/pluggable_device/pluggable_device_factory.cc:269] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 0 MB memory) -> physical PluggableDevice (device: 0, name: METAL, pci bus id: <undefined>)\r\nCalculated root\r\nCaught exception: {{function_node __wrapped__MatrixInverse_device_/job:localhost/replica:0/task:0/device:CPU:0}} Input is not invertible. [Op:MatrixInverse] name: \r\n2.13.0\r\n(base) suryanarayanay-macbookpro:Downloads suryanarayanay$ cat python 61423.py\r\ncat: python: No such file or directory\r\n# -*- coding: utf-8 -*-\r\n\"\"\"61423.ipynb\r\n\r\nAutomatically generated by Colaboratory.\r\n\r\nOriginal file is located at\r\n https://colab.research.google.com/drive/1TEavupf_8DvRPsozzaXe8B2d7Dx4kCx9?resourcekey=0-lU-Xrv3KC0zytE2VrYf0Fw\r\n\"\"\"\r\n\r\nimport tensorflow as tf\r\n\r\ndef demo_assertion_error_crashes_program():\r\n\r\n degenerate_matrix = tf.ones((3, 3), dtype=tf.float64)\r\n try:\r\n tf.linalg.sqrtm(degenerate_matrix)\r\n # tf.linalg.inv(degenerate_matrix) # <- This also fails, but raises an actual exception\r\n print(\"Calculated root\") # This is never run\r\n except Exception as err:\r\n print(\"Caught exception: \", err) # Neither is this\r\n\r\nif __name__ == '__main__':\r\n demo_assertion_error_crashes_program()\r\n\r\ndef demo_assertion_error_crashes_program():\r\n\r\n degenerate_matrix = tf.ones((3, 3), dtype=tf.float64)\r\n try:\r\n # tf.linalg.sqrtm(degenerate_matrix)\r\n tf.linalg.inv(degenerate_matrix) # <- This also fails, but raises an actual exception\r\n print(\"Calculated root\") # This is never run\r\n except Exception as err:\r\n print(\"Caught exception: \", err) # Neither is this\r\n\r\nif __name__ == '__main__':\r\n demo_assertion_error_crashes_program()\r\n\r\nprint(tf.__version__)\r\n```\r\n\r\nCould you please cross check with TF2.13v and let us know. SInce it is resolved in latest versions it's unlikely to cherry pick for older versions(Tf2.9v etc).\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/61423\">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/61423\">No</a>\n"
] | 2023-07-28T18:24:21 | 2023-08-16T01:46:35 | 2023-08-16T01:46:32 | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
binary
### TensorFlow version
2.9.1
### Custom code
No
### OS platform and distribution
Macbook 2020 M1 air, Ventura 13.2
### Mobile device
-
### Python version
3.8.13
### Bazel version
_No response_
### GCC/compiler version
_No response_
### CUDA/cuDNN version
_No response_
### GPU model and memory
_No response_
### Current behavior?
Currently, providing a degenerate matrix to tf.linalg.sqrtm crashes the entire program, producing output:
```
Assertion failed: (T(i,i) >= 0), function matrix_sqrt_quasi_triangular_diagonal, file external/eigen_archive/unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h, line 128.
Process finished with exit code 134 (interrupted by signal 6: SIGABRT)
```
### Standalone code to reproduce the issue
```shell
import tensorflow as tf
def demo_assertion_error_crashes_program():
degenerate_matrix = tf.ones((3, 3), dtype=tf.float64)
try:
tf.linalg.sqrtm(degenerate_matrix)
# tf.linalg.inv(degenerate_matrix) # <- This also fails, but raises an actual exception
print("Calculated root") # This is never run
except Exception as err:
print("Caught exception: ", err) # Neither is this
if __name__ == '__main__':
demo_assertion_error_crashes_program()
```
### Relevant log output
```shell
Assertion failed: (T(i,i) >= 0), function matrix_sqrt_quasi_triangular_diagonal, file external/eigen_archive/unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h, line 128.
Process finished with exit code 134 (interrupted by signal 6: SIGABRT)
```
### Workaround
One option is to add a small regularizing term to make it non-degenerate, but I don't (yet) know how to do this such that it always prevents the crash, and also does not significantly affect results then the matrix-square-root would have worked.
Instead, I now just use the Denmann-Beavers iteration to approximate the matrix square-root
```
def tf_denmann_beavers_sqrtm(matrix: tf.Tensor, n_iter=10):
"""
Approximate the matrix-square-root by Denmann Beavers iteration
https://en.wikipedia.org/wiki/Square_root_of_a_matrix#By_Denman%E2%80%93Beavers_iteration
Convergence is not guaranteed. Use at your own risk!
This is handy for tflite, which does not yet support tf.linalg.sqrtm
https://github.com/tensorflow/tensorflow/issues/60154
Or for regular tensorflow, which crashes your entire program when input matrix is degenerate
https://github.com/tensorflow/tensorflow/issues/61423
"""
ym = matrix
zm = tf.eye(tf.shape(matrix[0])[0], dtype=matrix.dtype)
for i in range(n_iter):
ym_ = 0.5 * (ym + tf.linalg.inv(zm))
zm = 0.5 * (zm + tf.linalg.inv(ym))
ym = ym_
return ym
```
... obviously this is not ideal.
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61423/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61423/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61422 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61422/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61422/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61422/events | https://github.com/tensorflow/tensorflow/issues/61422 | 1,826,386,565 | I_kwDOArmXAs5s3HKF | 61,422 | Unexpected differences in outputs of Conv2D copy with exact subset of weights | {
"login": "christian-steinmeyer",
"id": 7511021,
"node_id": "MDQ6VXNlcjc1MTEwMjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/7511021?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/christian-steinmeyer",
"html_url": "https://github.com/christian-steinmeyer",
"followers_url": "https://api.github.com/users/christian-steinmeyer/followers",
"following_url": "https://api.github.com/users/christian-steinmeyer/following{/other_user}",
"gists_url": "https://api.github.com/users/christian-steinmeyer/gists{/gist_id}",
"starred_url": "https://api.github.com/users/christian-steinmeyer/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/christian-steinmeyer/subscriptions",
"organizations_url": "https://api.github.com/users/christian-steinmeyer/orgs",
"repos_url": "https://api.github.com/users/christian-steinmeyer/repos",
"events_url": "https://api.github.com/users/christian-steinmeyer/events{/privacy}",
"received_events_url": "https://api.github.com/users/christian-steinmeyer/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 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": 1097547147,
"node_id": "MDU6TGFiZWwxMDk3NTQ3MTQ3",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:ops",
"name": "comp:ops",
"color": "0052cc",
"default": false,
"description": "OPs related issues"
},
{
"id": 5508003926,
"node_id": "LA_kwDOArmXAs8AAAABSE14Vg",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13",
"name": "TF 2.13",
"color": "B13ACB",
"default": false,
"description": "For issues related to Tensorflow 2.13"
}
] | open | false | {
"login": "sachinprasadhs",
"id": 73069040,
"node_id": "MDQ6VXNlcjczMDY5MDQw",
"avatar_url": "https://avatars.githubusercontent.com/u/73069040?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sachinprasadhs",
"html_url": "https://github.com/sachinprasadhs",
"followers_url": "https://api.github.com/users/sachinprasadhs/followers",
"following_url": "https://api.github.com/users/sachinprasadhs/following{/other_user}",
"gists_url": "https://api.github.com/users/sachinprasadhs/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sachinprasadhs/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sachinprasadhs/subscriptions",
"organizations_url": "https://api.github.com/users/sachinprasadhs/orgs",
"repos_url": "https://api.github.com/users/sachinprasadhs/repos",
"events_url": "https://api.github.com/users/sachinprasadhs/events{/privacy}",
"received_events_url": "https://api.github.com/users/sachinprasadhs/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "sachinprasadhs",
"id": 73069040,
"node_id": "MDQ6VXNlcjczMDY5MDQw",
"avatar_url": "https://avatars.githubusercontent.com/u/73069040?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sachinprasadhs",
"html_url": "https://github.com/sachinprasadhs",
"followers_url": "https://api.github.com/users/sachinprasadhs/followers",
"following_url": "https://api.github.com/users/sachinprasadhs/following{/other_user}",
"gists_url": "https://api.github.com/users/sachinprasadhs/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sachinprasadhs/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sachinprasadhs/subscriptions",
"organizations_url": "https://api.github.com/users/sachinprasadhs/orgs",
"repos_url": "https://api.github.com/users/sachinprasadhs/repos",
"events_url": "https://api.github.com/users/sachinprasadhs/events{/privacy}",
"received_events_url": "https://api.github.com/users/sachinprasadhs/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"I just found out that the architecture seems to play a role. The above log is the same for two different M2 macbooks, but on a four different intel ones, I get fewer \"surprises\":\r\n```shell\r\nOutputs differ for channel indices [0] @ 2 filters\r\nOutputs differ for channel indices [1] @ 2 filters\r\nOutputs differ for channel indices [0, 1] @ 3 filters\r\nOutputs differ for channel indices [0, 2] @ 3 filters\r\nOutputs differ for channel indices [1, 2] @ 3 filters\r\nOutputs differ for channel indices [0, 1, 2] @ 4 filters\r\nOutputs differ for channel indices [0, 1, 3] @ 4 filters\r\nOutputs differ for channel indices [0, 2, 3] @ 4 filters\r\nOutputs differ for channel indices [1, 2, 3] @ 4 filters\r\nOutputs differ for channel indices [0, 1, 2, 3] @ 5 filters\r\nOutputs differ for channel indices [0, 1, 2, 4] @ 5 filters\r\nOutputs differ for channel indices [0, 1, 3, 4] @ 5 filters\r\nOutputs differ for channel indices [0, 2, 3, 4] @ 5 filters\r\nOutputs differ for channel indices [1, 2, 3, 4] @ 5 filters\r\nOutputs differ for channel indices [0, 1, 2, 3, 4] @ 6 filters\r\nOutputs differ for channel indices [0, 1, 2, 3, 5] @ 6 filters\r\nOutputs differ for channel indices [0, 1, 2, 4, 5] @ 6 filters\r\nOutputs differ for channel indices [0, 1, 3, 4, 5] @ 6 filters\r\nOutputs differ for channel indices [0, 2, 3, 4, 5] @ 6 filters\r\nOutputs differ for channel indices [1, 2, 3, 4, 5] @ 6 filters\r\nOutputs differ for channel indices [0, 1, 2, 3, 4, 5] @ 7 filters\r\nOutputs differ for channel indices [0, 1, 2, 3, 4, 6] @ 7 filters\r\nOutputs differ for channel indices [0, 1, 2, 3, 5, 6] @ 7 filters\r\nOutputs differ for channel indices [0, 1, 2, 4, 5, 6] @ 7 filters\r\nOutputs differ for channel indices [0, 1, 3, 4, 5, 6] @ 7 filters\r\nOutputs differ for channel indices [0, 2, 3, 4, 5, 6] @ 7 filters\r\nOutputs differ for channel indices [1, 2, 3, 4, 5, 6] @ 7 filters\r\nOutputs differ for channel indices [0, 1, 2, 3, 4, 5, 6] @ 8 filters\r\nOutputs differ for channel indices [0, 1, 2, 3, 4, 5, 7] @ 8 filters\r\nOutputs differ for channel indices [0, 1, 2, 3, 4, 6, 7] @ 8 filters\r\nOutputs differ for channel indices [0, 1, 2, 3, 5, 6, 7] @ 8 filters\r\nOutputs differ for channel indices [0, 1, 2, 4, 5, 6, 7] @ 8 filters\r\nOutputs differ for channel indices [0, 1, 3, 4, 5, 6, 7] @ 8 filters\r\nOutputs differ for channel indices [0, 2, 3, 4, 5, 6, 7] @ 8 filters\r\nOutputs differ for channel indices [1, 2, 3, 4, 5, 6, 7] @ 8 filters\r\n```",
"@christian-steinmeyer Thank you for raising this issue!\r\n@SuryanarayanaY I was trying to replicate the issue on colab and faced the same outcome. Please have a look at [this](https://colab.research.google.com/gist/sushreebarsa/4667af5dcb503e270e3cd4774f08f76c/61422.ipynb#scrollTo=ixP1ltPFklZp) gist. \r\nThank you! ",
"Hi, \r\n\r\nThanks for reporting the issues.\r\n\r\nSince the difference is small, it could be due to the floating point precession error,, generally it will be around `1e-7 ` and it can be ignored.",
"True, what I found surprising was, that most of the difference tensor is zeros. There are only small values in \"blocks\" scattered throughout, usually towards the last couple of channels. To me, that looked like it was something else."
] | 2023-07-28T13:02:04 | 2023-08-11T16:59:31 | null | CONTRIBUTOR | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
No
### Source
binary
### TensorFlow version
v2.13.0-rc2-7-g1cb1a030a62 2.13.0
### Custom code
Yes
### OS platform and distribution
MacOS 13.4.1 (c) (22F770820d)
### Mobile device
_No response_
### Python version
3.10.6
### Bazel version
_No response_
### GCC/compiler version
_No response_
### CUDA/cuDNN version
_No response_
### GPU model and memory
_No response_
### Current behavior?
Given a `Conv2D` layer that has some channel's weights completely as zeros (e.g. as a result of structured pruning), when creating a new layer from the previous one with those channels missing, and calling both layers on some input, while the relevant parts of weights are exactly the same, that's not the case for the layers' outputs.
I would expect them to be exactly the same as well, but get differences up to `~1.7e-7`.
Note, I've also observed this behavior for Dense layers.
My best guess is that a different mechanism is used under the hood that produces slightly different results?
### Standalone code to reproduce the issue
```shell
from itertools import combinations
import numpy as np
import tensorflow as tf
def reduce_to_relevant_part(array: np.ndarray, channel_indices: list[int], channel_axis: int = -1):
if channel_indices is not None:
array = np.take(
array,
[i for i in range(array.shape[channel_axis]) if i not in channel_indices],
axis=channel_axis,
)
return array
def get_all_combinations(n: int) -> list[list[int]]:
result = []
for i in range(n):
for subset in combinations(range(n), i):
result.append(list(subset))
return result
def print_summary_statistics(array: np.ndarray):
print("mean: {}, std: {}, max: {}".format(np.mean(array), np.std(array), np.max(array)))
def get_layer(n_filters, kernel_size, input_shape):
layer = tf.keras.layers.Conv2D(
filters=n_filters,
kernel_size=kernel_size,
padding='same',
use_bias=False,
kernel_initializer='he_normal',
strides=kernel_size,
)
layer.build(input_shape)
return layer
def set_channel_weights_to_zero(layer, channel_indices):
weights = layer.get_weights()
weights[0][..., channel_indices] = 0
layer.set_weights(weights)
return layer
def get_copy_of_layer_without_zero_channels(layer, channel_indices):
config = layer.get_config()
config["filters"] -= len(channel_indices)
weights = layer.get_weights()
weights[0] = reduce_to_relevant_part(weights[0], channel_indices)
config["weights"] = weights
new_layer = tf.keras.layers.Conv2D.from_config(config)
return new_layer
def main():
for n_filters in range(2, 9):
kernel_size = (4, 4)
input_shape = (1, 8, 12, 1)
for channel_indices in get_all_combinations(n_filters):
layer = get_layer(n_filters, kernel_size, input_shape)
layer = set_channel_weights_to_zero(layer, channel_indices)
new_layer = get_copy_of_layer_without_zero_channels(layer, channel_indices)
x = tf.random.uniform(input_shape)
output = layer(x).numpy()
output_subset = reduce_to_relevant_part(output, channel_indices)
new_output = new_layer(x).numpy()
weights_subset = reduce_to_relevant_part(layer.get_weights()[0], channel_indices)
new_weights = new_layer.get_weights()[0]
if not np.array_equal(weights_subset, new_weights):
raise ValueError() # never triggered
if not np.array_equal(output_subset, new_output):
print(
"Outputs differ for channel indices {} @ {} filters".format(
channel_indices, n_filters
)
)
if __name__ == '__main__':
main()
Find below the output of the above script. Note that for 3 filters for example, `[2]` and `[0, 1]` do not show up, because in those cases the outputs actually are exactly the same.
```
### Relevant log output
```shell
Outputs differ for channel indices [0] @ 2 filters
Outputs differ for channel indices [1] @ 2 filters
Outputs differ for channel indices [0] @ 3 filters
Outputs differ for channel indices [1] @ 3 filters
Outputs differ for channel indices [0, 2] @ 3 filters
Outputs differ for channel indices [1, 2] @ 3 filters
Outputs differ for channel indices [0] @ 4 filters
Outputs differ for channel indices [1] @ 4 filters
Outputs differ for channel indices [2] @ 4 filters
Outputs differ for channel indices [3] @ 4 filters
Outputs differ for channel indices [0, 1, 2] @ 4 filters
Outputs differ for channel indices [0, 1, 3] @ 4 filters
Outputs differ for channel indices [0, 2, 3] @ 4 filters
Outputs differ for channel indices [1, 2, 3] @ 4 filters
Outputs differ for channel indices [0] @ 5 filters
Outputs differ for channel indices [1] @ 5 filters
Outputs differ for channel indices [2] @ 5 filters
Outputs differ for channel indices [3] @ 5 filters
Outputs differ for channel indices [0, 4] @ 5 filters
Outputs differ for channel indices [1, 4] @ 5 filters
Outputs differ for channel indices [2, 4] @ 5 filters
Outputs differ for channel indices [3, 4] @ 5 filters
Outputs differ for channel indices [0, 1, 2] @ 5 filters
Outputs differ for channel indices [0, 1, 3] @ 5 filters
Outputs differ for channel indices [0, 2, 3] @ 5 filters
Outputs differ for channel indices [1, 2, 3] @ 5 filters
Outputs differ for channel indices [0, 1, 2, 4] @ 5 filters
Outputs differ for channel indices [0, 1, 3, 4] @ 5 filters
Outputs differ for channel indices [0, 2, 3, 4] @ 5 filters
Outputs differ for channel indices [1, 2, 3, 4] @ 5 filters
Outputs differ for channel indices [0] @ 6 filters
Outputs differ for channel indices [1] @ 6 filters
Outputs differ for channel indices [2] @ 6 filters
Outputs differ for channel indices [3] @ 6 filters
Outputs differ for channel indices [4] @ 6 filters
Outputs differ for channel indices [5] @ 6 filters
Outputs differ for channel indices [0, 1, 2] @ 6 filters
Outputs differ for channel indices [0, 1, 3] @ 6 filters
Outputs differ for channel indices [0, 1, 4] @ 6 filters
Outputs differ for channel indices [0, 1, 5] @ 6 filters
Outputs differ for channel indices [0, 2, 3] @ 6 filters
Outputs differ for channel indices [0, 2, 4] @ 6 filters
Outputs differ for channel indices [0, 2, 5] @ 6 filters
Outputs differ for channel indices [0, 3, 4] @ 6 filters
Outputs differ for channel indices [0, 3, 5] @ 6 filters
Outputs differ for channel indices [0, 4, 5] @ 6 filters
Outputs differ for channel indices [1, 2, 3] @ 6 filters
Outputs differ for channel indices [1, 2, 4] @ 6 filters
Outputs differ for channel indices [1, 2, 5] @ 6 filters
Outputs differ for channel indices [1, 3, 4] @ 6 filters
Outputs differ for channel indices [1, 3, 5] @ 6 filters
Outputs differ for channel indices [1, 4, 5] @ 6 filters
Outputs differ for channel indices [2, 3, 4] @ 6 filters
Outputs differ for channel indices [2, 3, 5] @ 6 filters
Outputs differ for channel indices [2, 4, 5] @ 6 filters
Outputs differ for channel indices [3, 4, 5] @ 6 filters
Outputs differ for channel indices [0, 1, 2, 3, 4] @ 6 filters
Outputs differ for channel indices [0, 1, 2, 3, 5] @ 6 filters
Outputs differ for channel indices [0, 1, 2, 4, 5] @ 6 filters
Outputs differ for channel indices [0, 1, 3, 4, 5] @ 6 filters
Outputs differ for channel indices [0, 2, 3, 4, 5] @ 6 filters
Outputs differ for channel indices [1, 2, 3, 4, 5] @ 6 filters
Outputs differ for channel indices [0] @ 7 filters
Outputs differ for channel indices [1] @ 7 filters
Outputs differ for channel indices [2] @ 7 filters
Outputs differ for channel indices [3] @ 7 filters
Outputs differ for channel indices [4] @ 7 filters
Outputs differ for channel indices [5] @ 7 filters
Outputs differ for channel indices [0, 6] @ 7 filters
Outputs differ for channel indices [1, 6] @ 7 filters
Outputs differ for channel indices [2, 6] @ 7 filters
Outputs differ for channel indices [3, 6] @ 7 filters
Outputs differ for channel indices [4, 6] @ 7 filters
Outputs differ for channel indices [5, 6] @ 7 filters
Outputs differ for channel indices [0, 1, 2] @ 7 filters
Outputs differ for channel indices [0, 1, 3] @ 7 filters
Outputs differ for channel indices [0, 1, 4] @ 7 filters
Outputs differ for channel indices [0, 1, 5] @ 7 filters
Outputs differ for channel indices [0, 2, 3] @ 7 filters
Outputs differ for channel indices [0, 2, 4] @ 7 filters
Outputs differ for channel indices [0, 2, 5] @ 7 filters
Outputs differ for channel indices [0, 3, 4] @ 7 filters
Outputs differ for channel indices [0, 3, 5] @ 7 filters
Outputs differ for channel indices [0, 4, 5] @ 7 filters
Outputs differ for channel indices [1, 2, 3] @ 7 filters
Outputs differ for channel indices [1, 2, 4] @ 7 filters
Outputs differ for channel indices [1, 2, 5] @ 7 filters
Outputs differ for channel indices [1, 3, 4] @ 7 filters
Outputs differ for channel indices [1, 3, 5] @ 7 filters
Outputs differ for channel indices [1, 4, 5] @ 7 filters
Outputs differ for channel indices [2, 3, 4] @ 7 filters
Outputs differ for channel indices [2, 3, 5] @ 7 filters
Outputs differ for channel indices [2, 4, 5] @ 7 filters
Outputs differ for channel indices [3, 4, 5] @ 7 filters
Outputs differ for channel indices [0, 1, 2, 6] @ 7 filters
Outputs differ for channel indices [0, 1, 3, 6] @ 7 filters
Outputs differ for channel indices [0, 1, 4, 6] @ 7 filters
Outputs differ for channel indices [0, 1, 5, 6] @ 7 filters
Outputs differ for channel indices [0, 2, 3, 6] @ 7 filters
Outputs differ for channel indices [0, 2, 4, 6] @ 7 filters
Outputs differ for channel indices [0, 2, 5, 6] @ 7 filters
Outputs differ for channel indices [0, 3, 4, 6] @ 7 filters
Outputs differ for channel indices [0, 3, 5, 6] @ 7 filters
Outputs differ for channel indices [0, 4, 5, 6] @ 7 filters
Outputs differ for channel indices [1, 2, 3, 6] @ 7 filters
Outputs differ for channel indices [1, 2, 4, 6] @ 7 filters
Outputs differ for channel indices [1, 2, 5, 6] @ 7 filters
Outputs differ for channel indices [1, 3, 4, 6] @ 7 filters
Outputs differ for channel indices [1, 3, 5, 6] @ 7 filters
Outputs differ for channel indices [1, 4, 5, 6] @ 7 filters
Outputs differ for channel indices [2, 3, 4, 6] @ 7 filters
Outputs differ for channel indices [2, 3, 5, 6] @ 7 filters
Outputs differ for channel indices [2, 4, 5, 6] @ 7 filters
Outputs differ for channel indices [3, 4, 5, 6] @ 7 filters
Outputs differ for channel indices [0, 1, 2, 3, 4] @ 7 filters
Outputs differ for channel indices [0, 1, 2, 3, 5] @ 7 filters
Outputs differ for channel indices [0, 1, 2, 4, 5] @ 7 filters
Outputs differ for channel indices [0, 1, 3, 4, 5] @ 7 filters
Outputs differ for channel indices [0, 2, 3, 4, 5] @ 7 filters
Outputs differ for channel indices [1, 2, 3, 4, 5] @ 7 filters
Outputs differ for channel indices [0, 1, 2, 3, 4, 6] @ 7 filters
Outputs differ for channel indices [0, 1, 2, 3, 5, 6] @ 7 filters
Outputs differ for channel indices [0, 1, 2, 4, 5, 6] @ 7 filters
Outputs differ for channel indices [0, 1, 3, 4, 5, 6] @ 7 filters
Outputs differ for channel indices [0, 2, 3, 4, 5, 6] @ 7 filters
Outputs differ for channel indices [1, 2, 3, 4, 5, 6] @ 7 filters
Outputs differ for channel indices [0] @ 8 filters
Outputs differ for channel indices [1] @ 8 filters
Outputs differ for channel indices [2] @ 8 filters
Outputs differ for channel indices [3] @ 8 filters
Outputs differ for channel indices [4] @ 8 filters
Outputs differ for channel indices [5] @ 8 filters
Outputs differ for channel indices [6] @ 8 filters
Outputs differ for channel indices [7] @ 8 filters
Outputs differ for channel indices [0, 1] @ 8 filters
Outputs differ for channel indices [0, 2] @ 8 filters
Outputs differ for channel indices [0, 3] @ 8 filters
Outputs differ for channel indices [0, 4] @ 8 filters
Outputs differ for channel indices [0, 5] @ 8 filters
Outputs differ for channel indices [0, 6] @ 8 filters
Outputs differ for channel indices [0, 7] @ 8 filters
Outputs differ for channel indices [1, 2] @ 8 filters
Outputs differ for channel indices [1, 3] @ 8 filters
Outputs differ for channel indices [1, 4] @ 8 filters
Outputs differ for channel indices [1, 5] @ 8 filters
Outputs differ for channel indices [1, 6] @ 8 filters
Outputs differ for channel indices [1, 7] @ 8 filters
Outputs differ for channel indices [2, 3] @ 8 filters
Outputs differ for channel indices [2, 4] @ 8 filters
Outputs differ for channel indices [2, 5] @ 8 filters
Outputs differ for channel indices [2, 6] @ 8 filters
Outputs differ for channel indices [2, 7] @ 8 filters
Outputs differ for channel indices [3, 4] @ 8 filters
Outputs differ for channel indices [3, 5] @ 8 filters
Outputs differ for channel indices [3, 6] @ 8 filters
Outputs differ for channel indices [3, 7] @ 8 filters
Outputs differ for channel indices [4, 5] @ 8 filters
Outputs differ for channel indices [4, 6] @ 8 filters
Outputs differ for channel indices [4, 7] @ 8 filters
Outputs differ for channel indices [5, 6] @ 8 filters
Outputs differ for channel indices [5, 7] @ 8 filters
Outputs differ for channel indices [6, 7] @ 8 filters
Outputs differ for channel indices [0, 1, 2] @ 8 filters
Outputs differ for channel indices [0, 1, 3] @ 8 filters
Outputs differ for channel indices [0, 1, 4] @ 8 filters
Outputs differ for channel indices [0, 1, 5] @ 8 filters
Outputs differ for channel indices [0, 1, 6] @ 8 filters
Outputs differ for channel indices [0, 1, 7] @ 8 filters
Outputs differ for channel indices [0, 2, 3] @ 8 filters
Outputs differ for channel indices [0, 2, 4] @ 8 filters
Outputs differ for channel indices [0, 2, 5] @ 8 filters
Outputs differ for channel indices [0, 2, 6] @ 8 filters
Outputs differ for channel indices [0, 2, 7] @ 8 filters
Outputs differ for channel indices [0, 3, 4] @ 8 filters
Outputs differ for channel indices [0, 3, 5] @ 8 filters
Outputs differ for channel indices [0, 3, 6] @ 8 filters
Outputs differ for channel indices [0, 3, 7] @ 8 filters
Outputs differ for channel indices [0, 4, 5] @ 8 filters
Outputs differ for channel indices [0, 4, 6] @ 8 filters
Outputs differ for channel indices [0, 4, 7] @ 8 filters
Outputs differ for channel indices [0, 5, 6] @ 8 filters
Outputs differ for channel indices [0, 5, 7] @ 8 filters
Outputs differ for channel indices [0, 6, 7] @ 8 filters
Outputs differ for channel indices [1, 2, 3] @ 8 filters
Outputs differ for channel indices [1, 2, 4] @ 8 filters
Outputs differ for channel indices [1, 2, 5] @ 8 filters
Outputs differ for channel indices [1, 2, 6] @ 8 filters
Outputs differ for channel indices [1, 2, 7] @ 8 filters
Outputs differ for channel indices [1, 3, 4] @ 8 filters
Outputs differ for channel indices [1, 3, 5] @ 8 filters
Outputs differ for channel indices [1, 3, 6] @ 8 filters
Outputs differ for channel indices [1, 3, 7] @ 8 filters
Outputs differ for channel indices [1, 4, 5] @ 8 filters
Outputs differ for channel indices [1, 4, 6] @ 8 filters
Outputs differ for channel indices [1, 4, 7] @ 8 filters
Outputs differ for channel indices [1, 5, 6] @ 8 filters
Outputs differ for channel indices [1, 5, 7] @ 8 filters
Outputs differ for channel indices [1, 6, 7] @ 8 filters
Outputs differ for channel indices [2, 3, 4] @ 8 filters
Outputs differ for channel indices [2, 3, 5] @ 8 filters
Outputs differ for channel indices [2, 3, 6] @ 8 filters
Outputs differ for channel indices [2, 3, 7] @ 8 filters
Outputs differ for channel indices [2, 4, 5] @ 8 filters
Outputs differ for channel indices [2, 4, 6] @ 8 filters
Outputs differ for channel indices [2, 4, 7] @ 8 filters
Outputs differ for channel indices [2, 5, 6] @ 8 filters
Outputs differ for channel indices [2, 5, 7] @ 8 filters
Outputs differ for channel indices [2, 6, 7] @ 8 filters
Outputs differ for channel indices [3, 4, 5] @ 8 filters
Outputs differ for channel indices [3, 4, 6] @ 8 filters
Outputs differ for channel indices [3, 4, 7] @ 8 filters
Outputs differ for channel indices [3, 5, 6] @ 8 filters
Outputs differ for channel indices [3, 5, 7] @ 8 filters
Outputs differ for channel indices [3, 6, 7] @ 8 filters
Outputs differ for channel indices [4, 5, 6] @ 8 filters
Outputs differ for channel indices [4, 5, 7] @ 8 filters
Outputs differ for channel indices [4, 6, 7] @ 8 filters
Outputs differ for channel indices [5, 6, 7] @ 8 filters
Outputs differ for channel indices [0, 1, 2, 3] @ 8 filters
Outputs differ for channel indices [0, 1, 2, 4] @ 8 filters
Outputs differ for channel indices [0, 1, 2, 5] @ 8 filters
Outputs differ for channel indices [0, 1, 2, 6] @ 8 filters
Outputs differ for channel indices [0, 1, 2, 7] @ 8 filters
Outputs differ for channel indices [0, 1, 3, 4] @ 8 filters
Outputs differ for channel indices [0, 1, 3, 5] @ 8 filters
Outputs differ for channel indices [0, 1, 3, 6] @ 8 filters
Outputs differ for channel indices [0, 1, 3, 7] @ 8 filters
Outputs differ for channel indices [0, 1, 4, 5] @ 8 filters
Outputs differ for channel indices [0, 1, 4, 6] @ 8 filters
Outputs differ for channel indices [0, 1, 4, 7] @ 8 filters
Outputs differ for channel indices [0, 1, 5, 6] @ 8 filters
Outputs differ for channel indices [0, 1, 5, 7] @ 8 filters
Outputs differ for channel indices [0, 1, 6, 7] @ 8 filters
Outputs differ for channel indices [0, 2, 3, 4] @ 8 filters
Outputs differ for channel indices [0, 2, 3, 5] @ 8 filters
Outputs differ for channel indices [0, 2, 3, 6] @ 8 filters
Outputs differ for channel indices [0, 2, 3, 7] @ 8 filters
Outputs differ for channel indices [0, 2, 4, 5] @ 8 filters
Outputs differ for channel indices [0, 2, 4, 6] @ 8 filters
Outputs differ for channel indices [0, 2, 4, 7] @ 8 filters
Outputs differ for channel indices [0, 2, 5, 6] @ 8 filters
Outputs differ for channel indices [0, 2, 5, 7] @ 8 filters
Outputs differ for channel indices [0, 2, 6, 7] @ 8 filters
Outputs differ for channel indices [0, 3, 4, 5] @ 8 filters
Outputs differ for channel indices [0, 3, 4, 6] @ 8 filters
Outputs differ for channel indices [0, 3, 4, 7] @ 8 filters
Outputs differ for channel indices [0, 3, 5, 6] @ 8 filters
Outputs differ for channel indices [0, 3, 5, 7] @ 8 filters
Outputs differ for channel indices [0, 3, 6, 7] @ 8 filters
Outputs differ for channel indices [0, 4, 5, 6] @ 8 filters
Outputs differ for channel indices [0, 4, 5, 7] @ 8 filters
Outputs differ for channel indices [0, 4, 6, 7] @ 8 filters
Outputs differ for channel indices [0, 5, 6, 7] @ 8 filters
Outputs differ for channel indices [1, 2, 3, 4] @ 8 filters
Outputs differ for channel indices [1, 2, 3, 5] @ 8 filters
Outputs differ for channel indices [1, 2, 3, 6] @ 8 filters
Outputs differ for channel indices [1, 2, 3, 7] @ 8 filters
Outputs differ for channel indices [1, 2, 4, 5] @ 8 filters
Outputs differ for channel indices [1, 2, 4, 6] @ 8 filters
Outputs differ for channel indices [1, 2, 4, 7] @ 8 filters
Outputs differ for channel indices [1, 2, 5, 6] @ 8 filters
Outputs differ for channel indices [1, 2, 5, 7] @ 8 filters
Outputs differ for channel indices [1, 2, 6, 7] @ 8 filters
Outputs differ for channel indices [1, 3, 4, 5] @ 8 filters
Outputs differ for channel indices [1, 3, 4, 6] @ 8 filters
Outputs differ for channel indices [1, 3, 4, 7] @ 8 filters
Outputs differ for channel indices [1, 3, 5, 6] @ 8 filters
Outputs differ for channel indices [1, 3, 5, 7] @ 8 filters
Outputs differ for channel indices [1, 3, 6, 7] @ 8 filters
Outputs differ for channel indices [1, 4, 5, 6] @ 8 filters
Outputs differ for channel indices [1, 4, 5, 7] @ 8 filters
Outputs differ for channel indices [1, 4, 6, 7] @ 8 filters
Outputs differ for channel indices [1, 5, 6, 7] @ 8 filters
Outputs differ for channel indices [2, 3, 4, 5] @ 8 filters
Outputs differ for channel indices [2, 3, 4, 6] @ 8 filters
Outputs differ for channel indices [2, 3, 4, 7] @ 8 filters
Outputs differ for channel indices [2, 3, 5, 6] @ 8 filters
Outputs differ for channel indices [2, 3, 5, 7] @ 8 filters
Outputs differ for channel indices [2, 3, 6, 7] @ 8 filters
Outputs differ for channel indices [2, 4, 5, 6] @ 8 filters
Outputs differ for channel indices [2, 4, 5, 7] @ 8 filters
Outputs differ for channel indices [2, 4, 6, 7] @ 8 filters
Outputs differ for channel indices [2, 5, 6, 7] @ 8 filters
Outputs differ for channel indices [3, 4, 5, 6] @ 8 filters
Outputs differ for channel indices [3, 4, 5, 7] @ 8 filters
Outputs differ for channel indices [3, 4, 6, 7] @ 8 filters
Outputs differ for channel indices [3, 5, 6, 7] @ 8 filters
Outputs differ for channel indices [4, 5, 6, 7] @ 8 filters
Outputs differ for channel indices [0, 1, 2, 3, 4] @ 8 filters
Outputs differ for channel indices [0, 1, 2, 3, 5] @ 8 filters
Outputs differ for channel indices [0, 1, 2, 3, 6] @ 8 filters
Outputs differ for channel indices [0, 1, 2, 3, 7] @ 8 filters
Outputs differ for channel indices [0, 1, 2, 4, 5] @ 8 filters
Outputs differ for channel indices [0, 1, 2, 4, 6] @ 8 filters
Outputs differ for channel indices [0, 1, 2, 4, 7] @ 8 filters
Outputs differ for channel indices [0, 1, 2, 5, 6] @ 8 filters
Outputs differ for channel indices [0, 1, 2, 5, 7] @ 8 filters
Outputs differ for channel indices [0, 1, 2, 6, 7] @ 8 filters
Outputs differ for channel indices [0, 1, 3, 4, 5] @ 8 filters
Outputs differ for channel indices [0, 1, 3, 4, 6] @ 8 filters
Outputs differ for channel indices [0, 1, 3, 4, 7] @ 8 filters
Outputs differ for channel indices [0, 1, 3, 5, 6] @ 8 filters
Outputs differ for channel indices [0, 1, 3, 5, 7] @ 8 filters
Outputs differ for channel indices [0, 1, 3, 6, 7] @ 8 filters
Outputs differ for channel indices [0, 1, 4, 5, 6] @ 8 filters
Outputs differ for channel indices [0, 1, 4, 5, 7] @ 8 filters
Outputs differ for channel indices [0, 1, 4, 6, 7] @ 8 filters
Outputs differ for channel indices [0, 1, 5, 6, 7] @ 8 filters
Outputs differ for channel indices [0, 2, 3, 4, 5] @ 8 filters
Outputs differ for channel indices [0, 2, 3, 4, 6] @ 8 filters
Outputs differ for channel indices [0, 2, 3, 4, 7] @ 8 filters
Outputs differ for channel indices [0, 2, 3, 5, 6] @ 8 filters
Outputs differ for channel indices [0, 2, 3, 5, 7] @ 8 filters
Outputs differ for channel indices [0, 2, 3, 6, 7] @ 8 filters
Outputs differ for channel indices [0, 2, 4, 5, 6] @ 8 filters
Outputs differ for channel indices [0, 2, 4, 5, 7] @ 8 filters
Outputs differ for channel indices [0, 2, 4, 6, 7] @ 8 filters
Outputs differ for channel indices [0, 2, 5, 6, 7] @ 8 filters
Outputs differ for channel indices [0, 3, 4, 5, 6] @ 8 filters
Outputs differ for channel indices [0, 3, 4, 5, 7] @ 8 filters
Outputs differ for channel indices [0, 3, 4, 6, 7] @ 8 filters
Outputs differ for channel indices [0, 3, 5, 6, 7] @ 8 filters
Outputs differ for channel indices [0, 4, 5, 6, 7] @ 8 filters
Outputs differ for channel indices [1, 2, 3, 4, 5] @ 8 filters
Outputs differ for channel indices [1, 2, 3, 4, 6] @ 8 filters
Outputs differ for channel indices [1, 2, 3, 4, 7] @ 8 filters
Outputs differ for channel indices [1, 2, 3, 5, 6] @ 8 filters
Outputs differ for channel indices [1, 2, 3, 5, 7] @ 8 filters
Outputs differ for channel indices [1, 2, 3, 6, 7] @ 8 filters
Outputs differ for channel indices [1, 2, 4, 5, 6] @ 8 filters
Outputs differ for channel indices [1, 2, 4, 5, 7] @ 8 filters
Outputs differ for channel indices [1, 2, 4, 6, 7] @ 8 filters
Outputs differ for channel indices [1, 2, 5, 6, 7] @ 8 filters
Outputs differ for channel indices [1, 3, 4, 5, 6] @ 8 filters
Outputs differ for channel indices [1, 3, 4, 5, 7] @ 8 filters
Outputs differ for channel indices [1, 3, 4, 6, 7] @ 8 filters
Outputs differ for channel indices [1, 3, 5, 6, 7] @ 8 filters
Outputs differ for channel indices [1, 4, 5, 6, 7] @ 8 filters
Outputs differ for channel indices [2, 3, 4, 5, 6] @ 8 filters
Outputs differ for channel indices [2, 3, 4, 5, 7] @ 8 filters
Outputs differ for channel indices [2, 3, 4, 6, 7] @ 8 filters
Outputs differ for channel indices [2, 3, 5, 6, 7] @ 8 filters
Outputs differ for channel indices [2, 4, 5, 6, 7] @ 8 filters
Outputs differ for channel indices [3, 4, 5, 6, 7] @ 8 filters
Outputs differ for channel indices [0, 1, 2, 3, 4, 5] @ 8 filters
Outputs differ for channel indices [0, 1, 2, 3, 4, 6] @ 8 filters
Outputs differ for channel indices [0, 1, 2, 3, 4, 7] @ 8 filters
Outputs differ for channel indices [0, 1, 2, 3, 5, 6] @ 8 filters
Outputs differ for channel indices [0, 1, 2, 3, 5, 7] @ 8 filters
Outputs differ for channel indices [0, 1, 2, 3, 6, 7] @ 8 filters
Outputs differ for channel indices [0, 1, 2, 4, 5, 6] @ 8 filters
Outputs differ for channel indices [0, 1, 2, 4, 5, 7] @ 8 filters
Outputs differ for channel indices [0, 1, 2, 4, 6, 7] @ 8 filters
Outputs differ for channel indices [0, 1, 2, 5, 6, 7] @ 8 filters
Outputs differ for channel indices [0, 1, 3, 4, 5, 6] @ 8 filters
Outputs differ for channel indices [0, 1, 3, 4, 5, 7] @ 8 filters
Outputs differ for channel indices [0, 1, 3, 4, 6, 7] @ 8 filters
Outputs differ for channel indices [0, 1, 3, 5, 6, 7] @ 8 filters
Outputs differ for channel indices [0, 1, 4, 5, 6, 7] @ 8 filters
Outputs differ for channel indices [0, 2, 3, 4, 5, 6] @ 8 filters
Outputs differ for channel indices [0, 2, 3, 4, 5, 7] @ 8 filters
Outputs differ for channel indices [0, 2, 3, 4, 6, 7] @ 8 filters
Outputs differ for channel indices [0, 2, 3, 5, 6, 7] @ 8 filters
Outputs differ for channel indices [0, 2, 4, 5, 6, 7] @ 8 filters
Outputs differ for channel indices [0, 3, 4, 5, 6, 7] @ 8 filters
Outputs differ for channel indices [1, 2, 3, 4, 5, 6] @ 8 filters
Outputs differ for channel indices [1, 2, 3, 4, 5, 7] @ 8 filters
Outputs differ for channel indices [1, 2, 3, 4, 6, 7] @ 8 filters
Outputs differ for channel indices [1, 2, 3, 5, 6, 7] @ 8 filters
Outputs differ for channel indices [1, 2, 4, 5, 6, 7] @ 8 filters
Outputs differ for channel indices [1, 3, 4, 5, 6, 7] @ 8 filters
Outputs differ for channel indices [2, 3, 4, 5, 6, 7] @ 8 filters
Outputs differ for channel indices [0, 1, 2, 3, 4, 5, 6] @ 8 filters
Outputs differ for channel indices [0, 1, 2, 3, 4, 5, 7] @ 8 filters
Outputs differ for channel indices [0, 1, 2, 3, 4, 6, 7] @ 8 filters
Outputs differ for channel indices [0, 1, 2, 3, 5, 6, 7] @ 8 filters
Outputs differ for channel indices [0, 1, 2, 4, 5, 6, 7] @ 8 filters
Outputs differ for channel indices [0, 1, 3, 4, 5, 6, 7] @ 8 filters
Outputs differ for channel indices [0, 2, 3, 4, 5, 6, 7] @ 8 filters
Outputs differ for channel indices [1, 2, 3, 4, 5, 6, 7] @ 8 filters
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61422/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61422/timeline | null | null | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61421 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61421/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61421/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61421/events | https://github.com/tensorflow/tensorflow/issues/61421 | 1,825,792,178 | I_kwDOArmXAs5s02Cy | 61,421 | tf.debugging.experimental.enable_dump_debug_info (Debugger V2) error with TPU | {
"login": "ViniciusSuaiden",
"id": 70155765,
"node_id": "MDQ6VXNlcjcwMTU1NzY1",
"avatar_url": "https://avatars.githubusercontent.com/u/70155765?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ViniciusSuaiden",
"html_url": "https://github.com/ViniciusSuaiden",
"followers_url": "https://api.github.com/users/ViniciusSuaiden/followers",
"following_url": "https://api.github.com/users/ViniciusSuaiden/following{/other_user}",
"gists_url": "https://api.github.com/users/ViniciusSuaiden/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ViniciusSuaiden/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ViniciusSuaiden/subscriptions",
"organizations_url": "https://api.github.com/users/ViniciusSuaiden/orgs",
"repos_url": "https://api.github.com/users/ViniciusSuaiden/repos",
"events_url": "https://api.github.com/users/ViniciusSuaiden/events{/privacy}",
"received_events_url": "https://api.github.com/users/ViniciusSuaiden/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": 1097541661,
"node_id": "MDU6TGFiZWwxMDk3NTQxNjYx",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:tpus",
"name": "comp:tpus",
"color": "0052cc",
"default": false,
"description": "tpu, tpuestimator"
},
{
"id": 5206407904,
"node_id": "LA_kwDOArmXAs8AAAABNlN64A",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.12",
"name": "TF 2.12",
"color": "c5def5",
"default": false,
"description": "For issues related to Tensorflow 2.12"
}
] | open | false | {
"login": "sachinprasadhs",
"id": 73069040,
"node_id": "MDQ6VXNlcjczMDY5MDQw",
"avatar_url": "https://avatars.githubusercontent.com/u/73069040?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sachinprasadhs",
"html_url": "https://github.com/sachinprasadhs",
"followers_url": "https://api.github.com/users/sachinprasadhs/followers",
"following_url": "https://api.github.com/users/sachinprasadhs/following{/other_user}",
"gists_url": "https://api.github.com/users/sachinprasadhs/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sachinprasadhs/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sachinprasadhs/subscriptions",
"organizations_url": "https://api.github.com/users/sachinprasadhs/orgs",
"repos_url": "https://api.github.com/users/sachinprasadhs/repos",
"events_url": "https://api.github.com/users/sachinprasadhs/events{/privacy}",
"received_events_url": "https://api.github.com/users/sachinprasadhs/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "sachinprasadhs",
"id": 73069040,
"node_id": "MDQ6VXNlcjczMDY5MDQw",
"avatar_url": "https://avatars.githubusercontent.com/u/73069040?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sachinprasadhs",
"html_url": "https://github.com/sachinprasadhs",
"followers_url": "https://api.github.com/users/sachinprasadhs/followers",
"following_url": "https://api.github.com/users/sachinprasadhs/following{/other_user}",
"gists_url": "https://api.github.com/users/sachinprasadhs/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sachinprasadhs/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sachinprasadhs/subscriptions",
"organizations_url": "https://api.github.com/users/sachinprasadhs/orgs",
"repos_url": "https://api.github.com/users/sachinprasadhs/repos",
"events_url": "https://api.github.com/users/sachinprasadhs/events{/privacy}",
"received_events_url": "https://api.github.com/users/sachinprasadhs/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"Hi @ViniciusSuaiden \r\n\r\nI have replicated the reported issue, please check out the gist [here](https://colab.research.google.com/gist/Varsha-anjanappa/d3e3c1b1d764271e3bf52fea5498b5bb/61421.ipynb). This issue needs to be looked into.\r\n\r\nThank you!!",
"Thanks, @Varsha-anjanappa!\r\n\r\nIt's been a week and no update (I see the assignee is now @sachinprasadhs), and since I've tried to use the Debugger V2 to debug my model for a competition, I kind of have a deadline and this is the only way I found to do that.\r\n\r\nTherefore, I'd like to know if there's something I can do about it... maybe some guidance for a PR? \r\n\r\nThank you in advance!",
"@ViniciusSuaiden , Apologies for the delayed response, concerned team is currently looking into this issue.\r\nWill update you here once any new information is available. Thank you.",
"Thank you, @sachinprasadhs, for the update. I appreciate it. I'll await further information :)"
] | 2023-07-28T06:27:06 | 2023-08-07T19:22:57 | null | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
binary
### TensorFlow version
tf 2.12 (but also 2.14 nightly)
### Custom code
Yes
### OS platform and distribution
Google Colab
### Mobile device
no
### Python version
3.10
### Bazel version
_No response_
### GCC/compiler version
_No response_
### CUDA/cuDNN version
N/A (using TPU)
### GPU model and memory
_No response_
### Current behavior?
I'm trying to use the `tf.debugging.experimental.enable_dump_debug_info(...)` function with TPU.
I've tested my code without the TPU strategy bit, and it works, I can use the Debugger V2 fine.
I've also tested the code without the debugger bit and it trains fine as well.
But together it gives me this error:
```
Traceback (most recent call last):
File "/content/tbscript.py", line 47, in <module>
model = train()
File "/content/tbscript.py", line 40, in train
model.fit(x=x_train,
File "/usr/local/lib/python3.10/dist-packages/keras/src/utils/traceback_utils.py", line 70, in error_handler
raise e.with_traceback(filtered_tb) from None
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/debug/lib/dumping_callback.py", line 579, in <listcomp>
output_tensor_device_ids = [writer.RegisterDeviceAndGetId(output.device)
ValueError: Cannot assign a device for operation IteratorGetNextAsOptional: Could not satisfy explicit device specification '' because the node {{colocation_node IteratorGetNextAsOptional}} was colocated with a group of nodes that required incompatible device '/job:worker/replica:0/task:0/device:TPU:0'. All available devices [/job:worker/replica:0/task:0/device:CPU:0, /job:worker/replica:0/task:0/device:TPU:0, /job:worker/replica:0/task:0/device:TPU:1, /job:worker/replica:0/task:0/device:TPU:2, /job:worker/replica:0/task:0/device:TPU:3, /job:worker/replica:0/task:0/device:TPU:4, /job:worker/replica:0/task:0/device:TPU:5, /job:worker/replica:0/task:0/device:TPU:6, /job:worker/replica:0/task:0/device:TPU:7, /job:worker/replica:0/task:0/device:TPU_SYSTEM:0, /job:worker/replica:0/task:0/device:XLA_CPU:0, /job:localhost/replica:0/task:0/device:CPU:0, /job:localhost/replica:0/task:0/device:COMPOSITE:0].
Colocation Debug Info:
Colocation group had the following types and supported devices:
Root Member(assigned_device_name_index_=2 requested_device_name_='/job:worker/replica:0/task:0/device:TPU:0' assigned_device_name_='/job:worker/replica:0/task:0/device:TPU:0' resource_device_name_='/job:worker/replica:0/task:0/device:TPU:0' supported_device_types_=[CPU] possible_devices_=[]
OptionalGetValue: CPU TPU XLA_CPU
DebugNumericSummaryV2: CPU
IteratorGetNext: CPU TPU XLA_CPU
Identity: CPU TPU TPU_SYSTEM XLA_CPU COMPOSITE
Switch: CPU TPU TPU_SYSTEM XLA_CPU COMPOSITE
IteratorGetNextAsOptional: CPU TPU XLA_CPU
DebugIdentityV2: CPU TPU TPU_SYSTEM XLA_CPU COMPOSITE
OptionalHasValue: CPU TPU XLA_CPU
_Arg: CPU TPU TPU_SYSTEM XLA_CPU COMPOSITE
Colocation members, user-requested devices, and framework assigned devices, if any:
iterator_1 (_Arg) framework assigned device=/job:worker/replica:0/task:0/device:TPU:0
IteratorGetNextAsOptional (IteratorGetNextAsOptional)
OptionalHasValue (OptionalHasValue)
cond/IteratorGetNextAsOptional/_5 (Switch)
cond/iterator_1/_13 (Switch)
Func/cond/then/_0/input/_39 (Identity)
Func/cond/then/_0/input/_47 (Identity)
cond/then/_0/cond/OptionalHasValue (OptionalHasValue)
Func/cond/else/_1/input/_73 (Identity)
Func/cond/else/_1/input/_81 (Identity)
cond/else/_1/cond/IteratorGetNext (IteratorGetNext)
cond/else/_1/cond/IteratorGetNext/DebugNumericSummaryV2 (DebugNumericSummaryV2)
cond/else/_1/cond/IteratorGetNext/DebugIdentityV2_1511 (DebugIdentityV2)
cond/then/_0/cond/cond/Func/cond/then/_0/input/_39/_111 (Switch)
Func/cond/then/_0/cond/cond/then/_106/input/_179 (Identity)
cond/then/_0/cond/cond/then/_106/cond/cond/OptionalGetValue (OptionalGetValue) /job:worker/replica:0/task:0/device:TPU:0
cond/then/_0/cond/cond/then/_106/cond/cond/OptionalGetValue/DebugNumericSummaryV2 (DebugNumericSummaryV2) /job:worker/replica:0/task:0/device:TPU:0
cond/then/_0/cond/cond/then/_106/cond/cond/OptionalGetValue/DebugIdentityV2_1369 (DebugIdentityV2) /job:worker/replica:0/task:0/device:TPU:0
Func/cond/then/_0/cond/cond/else/_107/input/_184 (Identity)
[[{{node IteratorGetNex ... [truncated]
Exception ignored in atexit callback: <function async_wait at 0x7ecd97fc5d80>
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/eager/context.py", line 2796, in async_wait
context().sync_executors()
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/eager/context.py", line 742, in sync_executors
pywrap_tfe.TFE_ContextSyncExecutors(self._context_handle)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Cannot assign a device for operation IteratorGetNextAsOptional: Could not satisfy explicit device specification '' because the node {{colocation_node IteratorGetNextAsOptional}} was colocated with a group of nodes that required incompatible device '/job:worker/replica:0/task:0/device:TPU:0'. All available devices [/job:worker/replica:0/task:0/device:CPU:0, /job:worker/replica:0/task:0/device:TPU:0, /job:worker/replica:0/task:0/device:TPU:1, /job:worker/replica:0/task:0/device:TPU:2, /job:worker/replica:0/task:0/device:TPU:3, /job:worker/replica:0/task:0/device:TPU:4, /job:worker/replica:0/task:0/device:TPU:5, /job:worker/replica:0/task:0/device:TPU:6, /job:worker/replica:0/task:0/device:TPU:7, /job:worker/replica:0/task:0/device:TPU_SYSTEM:0, /job:worker/replica:0/task:0/device:XLA_CPU:0, /job:localhost/replica:0/task:0/device:CPU:0, /job:localhost/replica:0/task:0/device:COMPOSITE:0].
Colocation Debug Info:
Colocation group had the following types and supported devices:
Root Member(assigned_device_name_index_=2 requested_device_name_='/job:worker/replica:0/task:0/device:TPU:0' assigned_device_name_='/job:worker/replica:0/task:0/device:TPU:0' resource_device_name_='/job:worker/replica:0/task:0/device:TPU:0' supported_device_types_=[CPU] possible_devices_=[]
OptionalGetValue: CPU TPU XLA_CPU
DebugNumericSummaryV2: CPU
IteratorGetNext: CPU TPU XLA_CPU
Identity: CPU TPU TPU_SYSTEM XLA_CPU COMPOSITE
Switch: CPU TPU TPU_SYSTEM XLA_CPU COMPOSITE
IteratorGetNextAsOptional: CPU TPU XLA_CPU
DebugIdentityV2: CPU TPU TPU_SYSTEM XLA_CPU COMPOSITE
OptionalHasValue: CPU TPU XLA_CPU
_Arg: CPU TPU TPU_SYSTEM XLA_CPU COMPOSITE
Colocation members, user-requested devices, and framework assigned devices, if any:
iterator_1 (_Arg) framework assigned device=/job:worker/replica:0/task:0/device:TPU:0
IteratorGetNextAsOptional (IteratorGetNextAsOptional)
OptionalHasValue (OptionalHasValue)
cond/IteratorGetNextAsOptional/_5 (Switch)
cond/iterator_1/_13 (Switch)
Func/cond/then/_0/input/_39 (Identity)
Func/cond/then/_0/input/_47 (Identity)
cond/then/_0/cond/OptionalHasValue (OptionalHasValue)
Func/cond/else/_1/input/_73 (Identity)
Func/cond/else/_1/input/_81 (Identity)
cond/else/_1/cond/IteratorGetNext (IteratorGetNext)
cond/else/_1/cond/IteratorGetNext/DebugNumericSummaryV2 (DebugNumericSummaryV2)
cond/else/_1/cond/IteratorGetNext/DebugIdentityV2_1511 (DebugIdentityV2)
cond/then/_0/cond/cond/Func/cond/then/_0/input/_39/_111 (Switch)
Func/cond/then/_0/cond/cond/then/_106/input/_179 (Identity)
cond/then/_0/cond/cond/then/_106/cond/cond/OptionalGetValue (OptionalGetValue) /job:worker/replica:0/task:0/device:TPU:0
cond/then/_0/cond/cond/then/_106/cond/cond/OptionalGetValue/DebugNumericSummaryV2 (DebugNumericSummaryV2) /job:worker/replica:0/task:0/device:TPU:0
cond/then/_0/cond/cond/then/_106/cond/cond/OptionalGetValue/DebugIdentityV2_1369 (DebugIdentityV2) /job:worker/replica:0/task:0/device:TPU:0
Func/cond/then/_0/cond/cond/else/_107/input/_184 (Identity)
[[{{node IteratorGetNex ... [truncated]
2023-07-28 06:05:18.174660: W ./tensorflow/core/distributed_runtime/eager/destroy_tensor_handle_node.h:59] Ignoring an error encountered when deleting remote tensors handles: INVALID_ARGUMENT: Unable to find the relevant tensor remote_handle: Op ID: 900, Output num: 0
Additional GRPC error information from remote target /job:worker/replica:0/task:0 while calling /tensorflow.eager.EagerService/Enqueue:
:{"created":"@1690524318.171303502","description":"Error received from peer ipv4:10.15.76.74:8470","file":"external/com_github_grpc_grpc/src/core/lib/surface/call.cc","file_line":1056,"grpc_message":"Unable to find the relevant tensor remote_handle: Op ID: 900, Output num: 0","grpc_status":3} [type.googleapis.com/tensorflow.core.platform.ErrorSourceProto='\x08\x05']
```
yeah very long.
oh and I've tried `tf.config.set_soft_device_placement(True)` but no result
### Standalone code to reproduce the issue
```shell
Here's a reproducible test case for getting the error:
https://colab.research.google.com/drive/169agwcqy3-M8hQnSAx5EAr64ya2bSMl3?usp=sharing
but you're not supposed to run it on colab, as I've noticed the `tf.debugging.experimental.enable_dump_debug_info` function generally doesn't work with it. So I put it in a .py script and run it with !python3. Without the TPU part it works fine.
```
### Relevant log output
_No response_ | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61421/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61421/timeline | null | null | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61420 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61420/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61420/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61420/events | https://github.com/tensorflow/tensorflow/issues/61420 | 1,825,657,743 | I_kwDOArmXAs5s0VOP | 61,420 | Support for asynchronous execution in TensorFlow DLPack interface | {
"login": "lwlsaysnuaa",
"id": 29362872,
"node_id": "MDQ6VXNlcjI5MzYyODcy",
"avatar_url": "https://avatars.githubusercontent.com/u/29362872?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lwlsaysnuaa",
"html_url": "https://github.com/lwlsaysnuaa",
"followers_url": "https://api.github.com/users/lwlsaysnuaa/followers",
"following_url": "https://api.github.com/users/lwlsaysnuaa/following{/other_user}",
"gists_url": "https://api.github.com/users/lwlsaysnuaa/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lwlsaysnuaa/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lwlsaysnuaa/subscriptions",
"organizations_url": "https://api.github.com/users/lwlsaysnuaa/orgs",
"repos_url": "https://api.github.com/users/lwlsaysnuaa/repos",
"events_url": "https://api.github.com/users/lwlsaysnuaa/events{/privacy}",
"received_events_url": "https://api.github.com/users/lwlsaysnuaa/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 404586594,
"node_id": "MDU6TGFiZWw0MDQ1ODY1OTQ=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20tensorflower",
"name": "stat:awaiting tensorflower",
"color": "f4b400",
"default": false,
"description": "Status - Awaiting response from tensorflower"
},
{
"id": 473173272,
"node_id": "MDU6TGFiZWw0NzMxNzMyNzI=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:feature",
"name": "type:feature",
"color": "159b2e",
"default": false,
"description": "Feature requests"
},
{
"id": 1097545817,
"node_id": "MDU6TGFiZWwxMDk3NTQ1ODE3",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:apis",
"name": "comp:apis",
"color": "0052cc",
"default": false,
"description": "Highlevel API related issues"
}
] | open | false | {
"login": "sachinprasadhs",
"id": 73069040,
"node_id": "MDQ6VXNlcjczMDY5MDQw",
"avatar_url": "https://avatars.githubusercontent.com/u/73069040?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sachinprasadhs",
"html_url": "https://github.com/sachinprasadhs",
"followers_url": "https://api.github.com/users/sachinprasadhs/followers",
"following_url": "https://api.github.com/users/sachinprasadhs/following{/other_user}",
"gists_url": "https://api.github.com/users/sachinprasadhs/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sachinprasadhs/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sachinprasadhs/subscriptions",
"organizations_url": "https://api.github.com/users/sachinprasadhs/orgs",
"repos_url": "https://api.github.com/users/sachinprasadhs/repos",
"events_url": "https://api.github.com/users/sachinprasadhs/events{/privacy}",
"received_events_url": "https://api.github.com/users/sachinprasadhs/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "sachinprasadhs",
"id": 73069040,
"node_id": "MDQ6VXNlcjczMDY5MDQw",
"avatar_url": "https://avatars.githubusercontent.com/u/73069040?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sachinprasadhs",
"html_url": "https://github.com/sachinprasadhs",
"followers_url": "https://api.github.com/users/sachinprasadhs/followers",
"following_url": "https://api.github.com/users/sachinprasadhs/following{/other_user}",
"gists_url": "https://api.github.com/users/sachinprasadhs/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sachinprasadhs/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sachinprasadhs/subscriptions",
"organizations_url": "https://api.github.com/users/sachinprasadhs/orgs",
"repos_url": "https://api.github.com/users/sachinprasadhs/repos",
"events_url": "https://api.github.com/users/sachinprasadhs/events{/privacy}",
"received_events_url": "https://api.github.com/users/sachinprasadhs/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"I am new to OpenSource .Can u please assign me this issue\r\n",
"@lwlsaysnuaa,\r\nCould you please elaborate about your Feature. Also, please specify the Use Cases for this feature, it helps to analyse the issue/feature in an effective way. Thank you!",
"@tilakrayal,\r\n### Use Case — dlpack_execute.py\r\ntensorflow version: 2.9.0\r\n```python\r\nimport tensorflow as tf\r\nimport tensorflow.experimental.dlpack as tfdlpack\r\n\r\n# Define a pre-processing network that runs on the TensorFlow framework and\r\n# consists of 3 matmuls in series.\r\ndef pre_process_network(input_tensor):\r\n w1 = tf.Variable(tf.random.normal([10000, 10000]))\r\n w2 = tf.Variable(tf.random.normal([10000, 10000]))\r\n w3 = tf.Variable(tf.random.normal([10000, 10000]))\r\n x = tf.matmul(input_tensor, w1)\r\n x = tf.matmul(x, w2)\r\n x = tf.matmul(x, w3)\r\n return x\r\n\r\n# Define an intermediate processing network that will actually run on another\r\n# inference framework. For the sake of demonstration, we use the TensorFlow\r\n# framework to simulate the execution of other inference engines. The input\r\n# and output of the model are both dlpack tensors, and the content is 3 matmuls\r\n# in series.\r\ndef mid_process_network_sync(input_tensor):\r\n w1 = tf.Variable(tf.random.normal([10000, 100]))\r\n w2 = tf.Variable(tf.random.normal([100, 100]))\r\n w3 = tf.Variable(tf.random.normal([100, 10000]))\r\n input_tensor = tfdlpack.from_dlpack(input_tensor)\r\n x = tf.matmul(input_tensor, w1)\r\n x = tf.matmul(x, w2)\r\n x = tf.matmul(x, w3)\r\n x = tfdlpack.to_dlpack(x)\r\n return x\r\n\r\n# Define an intermediate processing network that runs on the TensorFlow\r\n# framework and consists of 3 matmuls in series.\r\ndef mid_process_network_async(input_tensor):\r\n w1 = tf.Variable(tf.random.normal([10000, 100]))\r\n w2 = tf.Variable(tf.random.normal([100, 100]))\r\n w3 = tf.Variable(tf.random.normal([100, 10000]))\r\n x = tf.matmul(input_tensor, w1)\r\n x = tf.matmul(x, w2)\r\n x = tf.matmul(x, w3)\r\n return x\r\n\r\n# Define a post-processing network that runs on the TensorFlow framework and\r\n# consists of 3 matmuls in series.\r\ndef post_process_network(input_tensor):\r\n w1 = tf.Variable(tf.random.normal([10000, 10000]))\r\n w2 = tf.Variable(tf.random.normal([10000, 10000]))\r\n w3 = tf.Variable(tf.random.normal([10000, 10000]))\r\n x = tf.matmul(input_tensor, w1)\r\n x = tf.matmul(x, w2)\r\n x = tf.matmul(x, w3)\r\n return x\r\n\r\n# Main function: create input tensor and call pre-processing network to get\r\n# output pre_output, call mid-process network (other inference engine) with\r\n# pre_output passed to mid-process networkvia tfdlpack.to_dlpack to get output\r\n# mid_output, call post-process network with output mid_output passed via\r\n# tfdlpack.from_dlpack. This process is repeated 10 times through a loop,\r\n# print the final result.\r\ndef main():\r\n # Optimal performance: all three networks run asynchronously on the\r\n # TensorFlow framework.\r\n input_tensor = tf.ones([1, 10000])\r\n for i in range(10):\r\n pre_output = pre_process_network(input_tensor)\r\n mid_output = mid_process_network_async(pre_output)\r\n post_output = post_process_network(mid_output)\r\n input_tensor = post_output\r\n print(post_output)\r\n\r\n # Poor performance: intermediate network runs on other inference engine\r\n # but there is synchronization due to dlpack before and after.\r\n input_tensor = tf.ones([1, 10000])\r\n for i in range(10):\r\n pre_output = pre_process_network(input_tensor)\r\n mid_output = tfdlpack.from_dlpack(\r\n mid_process_network_sync(tfdlpack.to_dlpack(pre_output)))\r\n post_output = post_process_network(mid_output)\r\n input_tensor = post_output\r\n print(post_output)\r\n\r\nif __name__ == '__main__':\r\n main()\r\n```\r\n\r\nBy running the following command, we can obtain the Nsight Systems file. Opening the file, we can see the result shown in the figure below. It can be seen that the dlpack_execute.py is mainly divided into two execution stages. In the first stage, the pre-, mid-, and post-networks are all executed asynchronously on the TensorFlow framework, and the gap time between kernels is almost zero. In the second stage, the mid-network uses DLPack to convert inputs and outputs, and the intermediate execution is on another inference engine. Since DLPack is executed synchronously, it introduces many synchronization operations, resulting in gap time between kernels, leading to a decrease in hardware utilization and an increase in end-to-end execution time. If DLPack supports asynchronous operations, this part of the execution logic would be similar to the first stage, using asynchronous methods throughout, which could improve hardware utilization.\r\n\r\n`nsys profile -w true -t cuda,nvtx,cudnn,cublas -f true -x true -o dlpack_execute python dlpack_execute.py`\r\n\r\n\r\n",
"I would like to work on this issue can you please assign me this issue?\r\n",
"@amishhaa , We don't assign any external contributors to the issue.\r\nBut, you're always welcome to contribute on any issue.\r\nFeel free to create a PR and link this issue. Thanks!"
] | 2023-07-28T03:54:50 | 2023-08-07T18:46:28 | null | NONE | null | null | null | I would like to inquire about the possibility of adding asynchronous execution support to the TensorFlow DLPack interface.
Currently, the `tensorflow.experimental.dlpack.to_dlpack` and `tensorflow.experimental.dlpack.from_dlpack` functions are synchronous operations, which can introduce synchronization overhead when working across frameworks.
If the TensorFlow DLPack interface supported asynchronous execution, it could help reduce the synchronization overhead and improve the overall execution efficiency when working with multiple frameworks. This would be a valuable addition to the TensorFlow ecosystem.
Thank you for your hard work and dedication to improving TensorFlow. I look forward to hearing your thoughts on this matter.
### Standalone code to reproduce the issue
```python
import tensorflow as tf
import tensorflow.experimental.dlpack as tfdlpack
# Pre-frame processing asynchronous
...
# Handle synchronization across frameworks
output = model(**({'input': tfdlpack.to_dlpack(input)}))
# Framework post-processing asynchronous
...
```
### Relevant log output
_No response_ | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61420/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61420/timeline | null | null | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61419 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61419/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61419/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61419/events | https://github.com/tensorflow/tensorflow/issues/61419 | 1,825,586,627 | I_kwDOArmXAs5s0D3D | 61,419 | Tflite: C++ API format to add NNAPI delegate | {
"login": "suyash-narain",
"id": 78979784,
"node_id": "MDQ6VXNlcjc4OTc5Nzg0",
"avatar_url": "https://avatars.githubusercontent.com/u/78979784?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/suyash-narain",
"html_url": "https://github.com/suyash-narain",
"followers_url": "https://api.github.com/users/suyash-narain/followers",
"following_url": "https://api.github.com/users/suyash-narain/following{/other_user}",
"gists_url": "https://api.github.com/users/suyash-narain/gists{/gist_id}",
"starred_url": "https://api.github.com/users/suyash-narain/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/suyash-narain/subscriptions",
"organizations_url": "https://api.github.com/users/suyash-narain/orgs",
"repos_url": "https://api.github.com/users/suyash-narain/repos",
"events_url": "https://api.github.com/users/suyash-narain/events{/privacy}",
"received_events_url": "https://api.github.com/users/suyash-narain/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": 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": 2671354709,
"node_id": "MDU6TGFiZWwyNjcxMzU0NzA5",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TFLiteNNAPIDelegate",
"name": "TFLiteNNAPIDelegate",
"color": "65916E",
"default": false,
"description": "For issues related to TFLite NNAPI Delegate"
},
{
"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": "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 @suyash-narain \r\n\r\nThe NNAPI delegate is available with the TensorFlow Lite Interpreter in Java and Kotlin. \r\n\r\nFor Android C APIs, please refer to [Android Native Developer Kit documentation](https://developer.android.com/ndk/guides/neuralnetworks).\r\n\r\nCan you check [NAAPI support library](https://github.com/tensorflow/tensorflow/tree/master/tensorflow/lite/nnapi/sl#nnapi-support-library) and let us know if it helps?\r\n\r\nThanks.",
"Hi @pjpratik \r\nI do not understand. You say NNAPI delegate is available in Java and Kotlin, but i have been able to use the external NNAPI delegate created with python API too. \r\ni have a nnapi_delegate.so file and i can load it to python script and execute. \r\ndoesn't C++ have anything similar?\r\n\r\nMy C++ script already has these two headers:\r\n\r\n#include \"tensorflow/lite/tools/delegates/delegate_provider.h\"\r\n#include \"tensorflow/lite/delegates/nnapi/nnapi_delegate.h\"\r\n\r\nAnd the label_image.cc makes use of NNAPI but i can't understand how or where is the NNAPI object is being created which is calling the delegate library .so file to execute. Some assistance here would be nice.\r\n\r\nthanks\r\n\r\n",
"also, @pjpratik @pkgoogle if i have a delegate shared library file .so (say for NNAPI or any custom delegate), is there any way I can use that shared library when calling this delegate?\r\ni know i can use this for hexagon tflite delegate, but does NNAPI or custom delegate tflite C++ api have it too?",
"Hi @suyash-narain,\r\n\r\nI was able to compile the minimal C++ example with your code modified like this:\r\n\r\n```C++\r\n/* Copyright 2018 The TensorFlow Authors. All Rights Reserved.\r\n\r\nLicensed under the Apache License, Version 2.0 (the \"License\");\r\nyou may not use this file except in compliance with the License.\r\nYou may obtain a copy of the License at\r\n\r\n http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nUnless required by applicable law or agreed to in writing, software\r\ndistributed under the License is distributed on an \"AS IS\" BASIS,\r\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\nSee the License for the specific language governing permissions and\r\nlimitations under the License.\r\n==============================================================================*/\r\n#include <cstdio>\r\n\r\n#include \"tensorflow/lite/interpreter.h\"\r\n#include \"tensorflow/lite/kernels/register.h\"\r\n#include \"tensorflow/lite/model.h\"\r\n#include \"tensorflow/lite/optional_debug_tools.h\"\r\n#include \"tensorflow/lite/delegates/nnapi/nnapi_delegate.h\"\r\n\r\n// This is an example that is minimal to read a model\r\n// from disk and perform inference. There is no data being loaded\r\n// that is up to you to add as a user.\r\n//\r\n// NOTE: Do not add any dependencies to this that cannot be built with\r\n// the minimal makefile. This example must remain trivial to build with\r\n// the minimal build tool.\r\n//\r\n// Usage: minimal <tflite model>\r\n\r\n#define TFLITE_MINIMAL_CHECK(x) \\\r\n if (!(x)) { \\\r\n fprintf(stderr, \"Error at %s:%d\\n\", __FILE__, __LINE__); \\\r\n exit(1); \\\r\n }\r\n\r\nint main(int argc, char* argv[]) {\r\n if (argc != 2) {\r\n fprintf(stderr, \"minimal <tflite model>\\n\");\r\n return 1;\r\n }\r\n const char* filename = argv[1];\r\n\r\n // Load model\r\n std::unique_ptr<tflite::FlatBufferModel> model =\r\n tflite::FlatBufferModel::BuildFromFile(filename);\r\n TFLITE_MINIMAL_CHECK(model != nullptr);\r\n\r\n // Build the interpreter with the InterpreterBuilder.\r\n // Note: all Interpreters should be built with the InterpreterBuilder,\r\n // which allocates memory for the Interpreter and does various set up\r\n // tasks so that the Interpreter can read the provided model.\r\n tflite::ops::builtin::BuiltinOpResolver resolver;\r\n tflite::InterpreterBuilder builder(*model, resolver);\r\n std::unique_ptr<tflite::Interpreter> interpreter;\r\n builder(&interpreter);\r\n TFLITE_MINIMAL_CHECK(interpreter != nullptr);\r\n\r\n std::map<std::string, tflite::Interpreter::TfLiteDelegatePtr> delegates;\r\n auto delegate = tflite::Interpreter::TfLiteDelegatePtr(tflite::NnApiDelegate(), [](TfLiteDelegate*) {});\r\n delegates.emplace(\"NNAPI\", std::move(delegate));\r\n for (const auto& delegate : delegates) {\r\n interpreter->ModifyGraphWithDelegate(delegate.second.get());\r\n }\r\n\r\n // Allocate tensor buffers.\r\n TFLITE_MINIMAL_CHECK(interpreter->AllocateTensors() == kTfLiteOk);\r\n printf(\"=== Pre-invoke Interpreter State ===\\n\");\r\n tflite::PrintInterpreterState(interpreter.get());\r\n\r\n // Fill input buffers\r\n // TODO(user): Insert code to fill input tensors.\r\n // Note: The buffer of the input tensor with index `i` of type T can\r\n // be accessed with `T* input = interpreter->typed_input_tensor<T>(i);`\r\n\r\n // Run inference\r\n TFLITE_MINIMAL_CHECK(interpreter->Invoke() == kTfLiteOk);\r\n printf(\"\\n\\n=== Post-invoke Interpreter State ===\\n\");\r\n tflite::PrintInterpreterState(interpreter.get());\r\n\r\n // Read output buffers\r\n // TODO(user): Insert getting data out code.\r\n // Note: The buffer of the output tensor with index `i` of type T can\r\n // be accessed with `T* output = interpreter->typed_output_tensor<T>(i);`\r\n\r\n return 0;\r\n}\r\n```\r\n\r\nThis tells me you probably have a compilation issue rather than anything else... Do you have the header in the right place? Are you using cmake/bazel to compile? Can you check how your build system if any looks for include headers?",
"I am trying to compile it for an aarch64 linux system, using g++\r\nI have all the libraries i need already installed in place and have all the right headers too, in my /usr/include\r\n\r\ncompilation command on target:\r\n\r\n'g++ image_classification.cpp -o image_classification -lnnapi-support -lneuralnetworks -l/usr/lib/nnapi_delegate.so -ltensorflowlite -lopencv_objdetect -lopencv_features2d -lopencv_imgproc -lopencv_highgui -lopencv_core -lopencv_imgcodecs'\r\n\r\nCan you please tell me your compilation command? I already have tf compiled and installed so building tf again doesn't make sense. \r\n\r\nI have a .so file which is used for NNAPI delegate. How do i include that .so file here? the library is nnapi_delegate.so\r\nin python, i can simply provide it to 'experimental_delegates' argument. Anyway i can link it in C++ too?\r\n\r\nthanks\r\n",
"Hi @suyash-narain, I used the minimal example and cmake: https://github.com/tensorflow/tensorflow/tree/master/tensorflow/lite/examples/minimal, so cmake constructs the compiler commands for me. In general it is recommended that you use/learn a build system (cmake/bazel would be good choices) as that will automate some of these things for you. However to answer your question more directly, you need the -I flag to point to the Include source directory, and -L to link your .so file, there are probably multiple ways to accomplish this with environment variables and other g++ settings.\r\n\r\nPlease review these links for examples:\r\nhttps://stackoverflow.com/questions/12654013/how-to-make-g-search-for-header-files-in-a-specific-directory\r\nhttps://stackoverflow.com/questions/27208932/link-so-file-to-cpp-file-via-g-compiling",
"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/61419\">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/61419\">No</a>\n"
] | 2023-07-28T02:32:12 | 2023-08-16T01:46:38 | 2023-08-16T01:46:34 | NONE | null | null | null |
### System information
- **Have I written custom code (as opposed to using a stock example script
provided in TensorFlow)**: No
- **OS Platform and Distribution (e.g., Linux Ubuntu 16.04)**: Ubuntu 20.04
- **TensorFlow installed from (source or binary)**: binary
- **TensorFlow version (use command below)**: 2.10
- **Python version**: 3.10
### Describe the problem
I want to know what is the python API equivalent of adding a tflite delegate to execute the model.
In python, we can directly add the argument 'experimental_delegates' to tflite.Interpreter and provide the path to the delegate .so file.
If i want to add NNAPI or GPU delegate when using C++ API, what is the command for that? I couldn't find effective documentation to enable a delegate when using C++.
ModifyGraphWithDelegate is used, but how do i define a delegate up here? I want to make use of NNAPI delegate and i have the .so file for the same as well. Below is the code snippet am using to enable NNAPI delegate
```
std::map<std::string, tflite::Interpreter::TfLiteDelegatePtr> delegates;
auto delegate = tflite::Interpreter::TfLiteDelegatePtr(tflite::NnApiDelegate(), [](TfLiteDelegate*) {});
delegates.emplace("NNAPI", std::move(delegate));
for (const auto& delegate : delegates) {
interpreter->ModifyGraphWithDelegate(delegate.second.get());
}
```
but when i compile the code i get the error:
> undefined reference to tflite::NnApiDelegate()'
How can i enable NNAPI delegate with C++?
thanks
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61419/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61419/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61418 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61418/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61418/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61418/events | https://github.com/tensorflow/tensorflow/pull/61418 | 1,825,545,662 | PR_kwDOArmXAs5Wm9u3 | 61,418 | Target Monterey (12.0) as the minimum compatible os for arm64 wheels | {
"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
} | [
{
"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-07-28T01:40:39 | 2023-07-28T20:53:25 | 2023-07-28T19:11:29 | MEMBER | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61418",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61418",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61418.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61418.patch",
"merged_at": "2023-07-28T19:11:29"
} | The tf-nightly-macos wheels are currently being tagged with "11_0" so this PR changes the CI to target Monterey (12.0) to be the minimum compatible OS to be consistent with how we released the Apple Silicon wheels for TF 2.13.
Also, removed redundant configs.
cc: @kulinseth @cjflan | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61418/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61418/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61417 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61417/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61417/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61417/events | https://github.com/tensorflow/tensorflow/pull/61417 | 1,825,130,801 | PR_kwDOArmXAs5Wlh1e | 61,417 | Fix comments in .bazelrc | {
"login": "DrMarcII",
"id": 4109465,
"node_id": "MDQ6VXNlcjQxMDk0NjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/4109465?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DrMarcII",
"html_url": "https://github.com/DrMarcII",
"followers_url": "https://api.github.com/users/DrMarcII/followers",
"following_url": "https://api.github.com/users/DrMarcII/following{/other_user}",
"gists_url": "https://api.github.com/users/DrMarcII/gists{/gist_id}",
"starred_url": "https://api.github.com/users/DrMarcII/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DrMarcII/subscriptions",
"organizations_url": "https://api.github.com/users/DrMarcII/orgs",
"repos_url": "https://api.github.com/users/DrMarcII/repos",
"events_url": "https://api.github.com/users/DrMarcII/events{/privacy}",
"received_events_url": "https://api.github.com/users/DrMarcII/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 987666414,
"node_id": "MDU6TGFiZWw5ODc2NjY0MTQ=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/ready%20to%20pull",
"name": "ready to pull",
"color": "2cd643",
"default": false,
"description": "PR ready for merge process"
},
{
"id": 1169364259,
"node_id": "MDU6TGFiZWwxMTY5MzY0MjU5",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:XS",
"name": "size:XS",
"color": "adafea",
"default": false,
"description": "CL Change Size: Extra Small"
}
] | closed | false | {
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
}
] | null | [] | 2023-07-27T20:06:55 | 2023-07-28T14:52:36 | 2023-07-27T22:09:35 | MEMBER | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61417",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61417",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61417.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61417.patch",
"merged_at": "2023-07-27T22:09:35"
} | Change // to # | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61417/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61417/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61416 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61416/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61416/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61416/events | https://github.com/tensorflow/tensorflow/pull/61416 | 1,824,813,481 | PR_kwDOArmXAs5Wkbu2 | 61,416 | Update the task library version in the examples | {
"login": "pjpratik",
"id": 118897289,
"node_id": "U_kgDOBxY6iQ",
"avatar_url": "https://avatars.githubusercontent.com/u/118897289?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pjpratik",
"html_url": "https://github.com/pjpratik",
"followers_url": "https://api.github.com/users/pjpratik/followers",
"following_url": "https://api.github.com/users/pjpratik/following{/other_user}",
"gists_url": "https://api.github.com/users/pjpratik/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pjpratik/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pjpratik/subscriptions",
"organizations_url": "https://api.github.com/users/pjpratik/orgs",
"repos_url": "https://api.github.com/users/pjpratik/repos",
"events_url": "https://api.github.com/users/pjpratik/events{/privacy}",
"received_events_url": "https://api.github.com/users/pjpratik/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 390482148,
"node_id": "MDU6TGFiZWwzOTA0ODIxNDg=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/awaiting%20review",
"name": "awaiting review",
"color": "bc3869",
"default": false,
"description": "Pull request awaiting review"
},
{
"id": 750616506,
"node_id": "MDU6TGFiZWw3NTA2MTY1MDY=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:lite",
"name": "comp:lite",
"color": "0052cc",
"default": false,
"description": "TF Lite related issues"
},
{
"id": 987666414,
"node_id": "MDU6TGFiZWw5ODc2NjY0MTQ=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/ready%20to%20pull",
"name": "ready to pull",
"color": "2cd643",
"default": false,
"description": "PR ready for merge process"
},
{
"id": 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-07-27T17:03:28 | 2023-07-31T05:49:43 | 2023-07-31T05:49:43 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61416",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61416",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61416.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61416.patch",
"merged_at": "2023-07-31T05:49:43"
} | The task library versions used in the examples are outdated. Updated them to the latest versions to be compatible.
Thanks. | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61416/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61416/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61415 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61415/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61415/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61415/events | https://github.com/tensorflow/tensorflow/pull/61415 | 1,824,727,283 | PR_kwDOArmXAs5WkJMB | 61,415 | Increase gemm rewrite tests tolerance | {
"login": "wenscarl",
"id": 25590028,
"node_id": "MDQ6VXNlcjI1NTkwMDI4",
"avatar_url": "https://avatars.githubusercontent.com/u/25590028?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wenscarl",
"html_url": "https://github.com/wenscarl",
"followers_url": "https://api.github.com/users/wenscarl/followers",
"following_url": "https://api.github.com/users/wenscarl/following{/other_user}",
"gists_url": "https://api.github.com/users/wenscarl/gists{/gist_id}",
"starred_url": "https://api.github.com/users/wenscarl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wenscarl/subscriptions",
"organizations_url": "https://api.github.com/users/wenscarl/orgs",
"repos_url": "https://api.github.com/users/wenscarl/repos",
"events_url": "https://api.github.com/users/wenscarl/events{/privacy}",
"received_events_url": "https://api.github.com/users/wenscarl/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 987666414,
"node_id": "MDU6TGFiZWw5ODc2NjY0MTQ=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/ready%20to%20pull",
"name": "ready to pull",
"color": "2cd643",
"default": false,
"description": "PR ready for merge process"
},
{
"id": 1133285679,
"node_id": "MDU6TGFiZWwxMTMzMjg1Njc5",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:xla",
"name": "comp:xla",
"color": "0052cc",
"default": false,
"description": "XLA"
},
{
"id": 1169364259,
"node_id": "MDU6TGFiZWwxMTY5MzY0MjU5",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:XS",
"name": "size:XS",
"color": "adafea",
"default": false,
"description": "CL Change Size: Extra Small"
}
] | closed | false | {
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
}
] | null | [] | 2023-07-27T16:16:41 | 2023-07-28T07:11:14 | 2023-07-28T07:11:13 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61415",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61415",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61415.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61415.patch",
"merged_at": "2023-07-28T07:11:13"
} | Bump up the relative tolerance for the following 4 tests to get pass on Hopper.
BatchRowTransposeFoldCheck,
BatchFromMinorDimTransposeIsNotFolded,
BatchedInstrLayoutTransposed,
BatchedInstrLayoutBatchNotInMinorDim
Fixes #60319 . | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61415/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61415/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61414 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61414/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61414/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61414/events | https://github.com/tensorflow/tensorflow/pull/61414 | 1,824,687,449 | PR_kwDOArmXAs5WkAZZ | 61,414 | [Linaro:ARM_CI] Retry flaky tests on AARCH64 as temp measure | {
"login": "elfringham",
"id": 10442001,
"node_id": "MDQ6VXNlcjEwNDQyMDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/10442001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/elfringham",
"html_url": "https://github.com/elfringham",
"followers_url": "https://api.github.com/users/elfringham/followers",
"following_url": "https://api.github.com/users/elfringham/following{/other_user}",
"gists_url": "https://api.github.com/users/elfringham/gists{/gist_id}",
"starred_url": "https://api.github.com/users/elfringham/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/elfringham/subscriptions",
"organizations_url": "https://api.github.com/users/elfringham/orgs",
"repos_url": "https://api.github.com/users/elfringham/repos",
"events_url": "https://api.github.com/users/elfringham/events{/privacy}",
"received_events_url": "https://api.github.com/users/elfringham/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 987666414,
"node_id": "MDU6TGFiZWw5ODc2NjY0MTQ=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/ready%20to%20pull",
"name": "ready to pull",
"color": "2cd643",
"default": false,
"description": "PR ready for merge process"
},
{
"id": 1169364259,
"node_id": "MDU6TGFiZWwxMTY5MzY0MjU5",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:XS",
"name": "size:XS",
"color": "adafea",
"default": false,
"description": "CL Change Size: Extra Small"
}
] | closed | false | {
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "nitins17",
"id": 29348997,
"node_id": "MDQ6VXNlcjI5MzQ4OTk3",
"avatar_url": "https://avatars.githubusercontent.com/u/29348997?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nitins17",
"html_url": "https://github.com/nitins17",
"followers_url": "https://api.github.com/users/nitins17/followers",
"following_url": "https://api.github.com/users/nitins17/following{/other_user}",
"gists_url": "https://api.github.com/users/nitins17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nitins17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nitins17/subscriptions",
"organizations_url": "https://api.github.com/users/nitins17/orgs",
"repos_url": "https://api.github.com/users/nitins17/repos",
"events_url": "https://api.github.com/users/nitins17/events{/privacy}",
"received_events_url": "https://api.github.com/users/nitins17/received_events",
"type": "User",
"site_admin": false
},
{
"login": "penpornk",
"id": 38085909,
"node_id": "MDQ6VXNlcjM4MDg1OTA5",
"avatar_url": "https://avatars.githubusercontent.com/u/38085909?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/penpornk",
"html_url": "https://github.com/penpornk",
"followers_url": "https://api.github.com/users/penpornk/followers",
"following_url": "https://api.github.com/users/penpornk/following{/other_user}",
"gists_url": "https://api.github.com/users/penpornk/gists{/gist_id}",
"starred_url": "https://api.github.com/users/penpornk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/penpornk/subscriptions",
"organizations_url": "https://api.github.com/users/penpornk/orgs",
"repos_url": "https://api.github.com/users/penpornk/repos",
"events_url": "https://api.github.com/users/penpornk/events{/privacy}",
"received_events_url": "https://api.github.com/users/penpornk/received_events",
"type": "User",
"site_admin": false
},
{
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
}
] | null | [] | 2023-07-27T15:58:19 | 2023-07-28T08:43:08 | 2023-07-28T04:10:51 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61414",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61414",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61414.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61414.patch",
"merged_at": "2023-07-28T04:10:51"
} | Until these flaky tests are resolved in x86 builds have them retry in AARCH64 builds. | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61414/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61414/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61413 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61413/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61413/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61413/events | https://github.com/tensorflow/tensorflow/pull/61413 | 1,824,662,034 | PR_kwDOArmXAs5Wj6vh | 61,413 | [Linaro:ARM_CI] Stop using python venv for building and 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": 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": "nitins17",
"id": 29348997,
"node_id": "MDQ6VXNlcjI5MzQ4OTk3",
"avatar_url": "https://avatars.githubusercontent.com/u/29348997?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nitins17",
"html_url": "https://github.com/nitins17",
"followers_url": "https://api.github.com/users/nitins17/followers",
"following_url": "https://api.github.com/users/nitins17/following{/other_user}",
"gists_url": "https://api.github.com/users/nitins17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nitins17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nitins17/subscriptions",
"organizations_url": "https://api.github.com/users/nitins17/orgs",
"repos_url": "https://api.github.com/users/nitins17/repos",
"events_url": "https://api.github.com/users/nitins17/events{/privacy}",
"received_events_url": "https://api.github.com/users/nitins17/received_events",
"type": "User",
"site_admin": false
},
{
"login": "penpornk",
"id": 38085909,
"node_id": "MDQ6VXNlcjM4MDg1OTA5",
"avatar_url": "https://avatars.githubusercontent.com/u/38085909?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/penpornk",
"html_url": "https://github.com/penpornk",
"followers_url": "https://api.github.com/users/penpornk/followers",
"following_url": "https://api.github.com/users/penpornk/following{/other_user}",
"gists_url": "https://api.github.com/users/penpornk/gists{/gist_id}",
"starred_url": "https://api.github.com/users/penpornk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/penpornk/subscriptions",
"organizations_url": "https://api.github.com/users/penpornk/orgs",
"repos_url": "https://api.github.com/users/penpornk/repos",
"events_url": "https://api.github.com/users/penpornk/events{/privacy}",
"received_events_url": "https://api.github.com/users/penpornk/received_events",
"type": "User",
"site_admin": false
},
{
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
}
] | null | [] | 2023-07-27T15:47:46 | 2023-07-28T08:43:02 | 2023-07-28T07:00:38 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61413",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61413",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61413.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61413.patch",
"merged_at": "2023-07-28T07:00:38"
} | The use of hermetic python should make this venv unnecessary. | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61413/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61413/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61412 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61412/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61412/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61412/events | https://github.com/tensorflow/tensorflow/pull/61412 | 1,824,191,867 | PR_kwDOArmXAs5WiVYL | 61,412 | [FTLite] Fix pthreadpool CMake integration | {
"login": "daniel-lang",
"id": 6500514,
"node_id": "MDQ6VXNlcjY1MDA1MTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/6500514?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/daniel-lang",
"html_url": "https://github.com/daniel-lang",
"followers_url": "https://api.github.com/users/daniel-lang/followers",
"following_url": "https://api.github.com/users/daniel-lang/following{/other_user}",
"gists_url": "https://api.github.com/users/daniel-lang/gists{/gist_id}",
"starred_url": "https://api.github.com/users/daniel-lang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/daniel-lang/subscriptions",
"organizations_url": "https://api.github.com/users/daniel-lang/orgs",
"repos_url": "https://api.github.com/users/daniel-lang/repos",
"events_url": "https://api.github.com/users/daniel-lang/events{/privacy}",
"received_events_url": "https://api.github.com/users/daniel-lang/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 390482148,
"node_id": "MDU6TGFiZWwzOTA0ODIxNDg=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/awaiting%20review",
"name": "awaiting review",
"color": "bc3869",
"default": false,
"description": "Pull request awaiting review"
},
{
"id": 750616506,
"node_id": "MDU6TGFiZWw3NTA2MTY1MDY=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:lite",
"name": "comp:lite",
"color": "0052cc",
"default": false,
"description": "TF Lite related issues"
},
{
"id": 987666414,
"node_id": "MDU6TGFiZWw5ODc2NjY0MTQ=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/ready%20to%20pull",
"name": "ready to pull",
"color": "2cd643",
"default": false,
"description": "PR ready for merge process"
},
{
"id": 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-07-27T11:40:21 | 2023-07-28T04:33:47 | 2023-07-28T04:21:27 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61412",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61412",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61412.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61412.patch",
"merged_at": "2023-07-28T04:21:27"
} | With the changes introduced in 9c3e858 it is no longer possible to use a prebuilt version of pthreadpool. The only options are download it or specify a folder where it was downloaded.
Add SYSTEM_PTHREADPOOL as a new option that triggers find_library() and fails if the library can't be found. | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61412/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61412/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61411 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61411/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61411/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61411/events | https://github.com/tensorflow/tensorflow/pull/61411 | 1,824,167,646 | PR_kwDOArmXAs5WiQKZ | 61,411 | Fixed the code on adam.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": 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": 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": 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 | [
"Is there a justification for the change? Don't take random suggestions into account if there is no source for the claim",
"@mihaimaruseac, by checking the original [Adam paper](https://doi.org/10.48550/arXiv.1412.6980), in the last line of the while loop it's indeed `+ epsilon`.",
"Can you write a test to prove the correctness of the update?",
"Hi @tilakrayal Can you please check @mihaimaruseac's comments and keep us posted ? Thank you!",
"This PR is stale because it has been open for 14 days with no activity. It will be closed if no further activity occurs. Thank you.",
"As this issue is related to Keras, the Keras repository code which was suggesting has the correct formula. So moving this PR to closed status.\r\nhttps://github.com/keras-team/keras/blob/cdffff886626e5a05bc5d54b8a4634f1e5db06cf/keras/optimizers/legacy/adam.py#L468"
] | 2023-07-27T11:23:48 | 2023-08-18T13:47:04 | 2023-08-17T09:59:46 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61411",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61411",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61411.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61411.patch",
"merged_at": null
} | As requested in the issue #https://github.com/tensorflow/tensorflow/issues/61407, modifying
```
var.assign_sub(
(m * alpha) / (math_ops.sqrt(v) - coefficients['epsilon']))
```
to
```
var.assign_sub(
(m * alpha) / (math_ops.sqrt(v) + coefficients['epsilon']))
``` | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61411/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61411/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61410 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61410/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61410/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61410/events | https://github.com/tensorflow/tensorflow/issues/61410 | 1,824,086,485 | I_kwDOArmXAs5suVnV | 61,410 | TfLite ResizeInputTensor does not resize Transposed Convolution or Resize operation output tensors | {
"login": "jackprescott",
"id": 66384765,
"node_id": "MDQ6VXNlcjY2Mzg0NzY1",
"avatar_url": "https://avatars.githubusercontent.com/u/66384765?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jackprescott",
"html_url": "https://github.com/jackprescott",
"followers_url": "https://api.github.com/users/jackprescott/followers",
"following_url": "https://api.github.com/users/jackprescott/following{/other_user}",
"gists_url": "https://api.github.com/users/jackprescott/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jackprescott/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jackprescott/subscriptions",
"organizations_url": "https://api.github.com/users/jackprescott/orgs",
"repos_url": "https://api.github.com/users/jackprescott/repos",
"events_url": "https://api.github.com/users/jackprescott/events{/privacy}",
"received_events_url": "https://api.github.com/users/jackprescott/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": 1097543484,
"node_id": "MDU6TGFiZWwxMDk3NTQzNDg0",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:runtime",
"name": "comp:runtime",
"color": "0052cc",
"default": false,
"description": "c++ runtime, performance issues (cpu)"
},
{
"id": 5206407904,
"node_id": "LA_kwDOArmXAs8AAAABNlN64A",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.12",
"name": "TF 2.12",
"color": "c5def5",
"default": false,
"description": "For issues related to Tensorflow 2.12"
}
] | open | false | {
"login": "miaout17",
"id": 22063,
"node_id": "MDQ6VXNlcjIyMDYz",
"avatar_url": "https://avatars.githubusercontent.com/u/22063?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/miaout17",
"html_url": "https://github.com/miaout17",
"followers_url": "https://api.github.com/users/miaout17/followers",
"following_url": "https://api.github.com/users/miaout17/following{/other_user}",
"gists_url": "https://api.github.com/users/miaout17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/miaout17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/miaout17/subscriptions",
"organizations_url": "https://api.github.com/users/miaout17/orgs",
"repos_url": "https://api.github.com/users/miaout17/repos",
"events_url": "https://api.github.com/users/miaout17/events{/privacy}",
"received_events_url": "https://api.github.com/users/miaout17/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "miaout17",
"id": 22063,
"node_id": "MDQ6VXNlcjIyMDYz",
"avatar_url": "https://avatars.githubusercontent.com/u/22063?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/miaout17",
"html_url": "https://github.com/miaout17",
"followers_url": "https://api.github.com/users/miaout17/followers",
"following_url": "https://api.github.com/users/miaout17/following{/other_user}",
"gists_url": "https://api.github.com/users/miaout17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/miaout17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/miaout17/subscriptions",
"organizations_url": "https://api.github.com/users/miaout17/orgs",
"repos_url": "https://api.github.com/users/miaout17/repos",
"events_url": "https://api.github.com/users/miaout17/events{/privacy}",
"received_events_url": "https://api.github.com/users/miaout17/received_events",
"type": "User",
"site_admin": false
},
{
"login": "pkgoogle",
"id": 132095473,
"node_id": "U_kgDOB9-d8Q",
"avatar_url": "https://avatars.githubusercontent.com/u/132095473?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pkgoogle",
"html_url": "https://github.com/pkgoogle",
"followers_url": "https://api.github.com/users/pkgoogle/followers",
"following_url": "https://api.github.com/users/pkgoogle/following{/other_user}",
"gists_url": "https://api.github.com/users/pkgoogle/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pkgoogle/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pkgoogle/subscriptions",
"organizations_url": "https://api.github.com/users/pkgoogle/orgs",
"repos_url": "https://api.github.com/users/pkgoogle/repos",
"events_url": "https://api.github.com/users/pkgoogle/events{/privacy}",
"received_events_url": "https://api.github.com/users/pkgoogle/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"So I was actually able to run the model, (though its hard to say what a correct output would be as it seems this issue makes the \"true input\" ambiguous i.e. which part of the input tensor is it actually reading) [gist](https://colab.sandbox.google.com/gist/pkgoogle/3fbb268ca0a3dd7aa011600fc8d26951/61410.ipynb)\r\n\r\nBut it is true that the change in tensor shape does not appear to be propagated towards the output. I am unsure if this is supported. As such I will also label this as a feature request. @miaout17 can you please take a look? Thanks."
] | 2023-07-27T10:30:43 | 2023-07-31T19:16:07 | null | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
No
### Source
source
### TensorFlow version
2.12
### Custom code
Yes
### OS platform and distribution
macOS 13.2.1
### 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?
When a tflite model has a TRANSPOSE_CONV layer or a RESIZE_... layer, the shapes of the output tensors of those layers are not reshaped when Interpreter.allocate_tensors is called after Interpreter.resize_tensor_input() is called in the Python API, or when TfLiteInterpreterAllocateTensors() is called after TfLiteInterpreterResizeInputTensor() is called in the C API. Thus, the tensor allocation calls fail if there is a fusion layer after the TRANSPOSE_CONV or RESIZE... layers in the network that has two differently shaped inputs because of the failure to reshape those layers' outputs. Or, if there is no such fusion layer, the tensor allocation may succeed but the output shape of the model will not be appropriately resized.
### Standalone code to reproduce the issue
```shell
import tensorflow as tf
ly = tf.keras.layers
input8 = tf.keras.Input(shape=(8, 8, 1))
y = ly.Conv2D(filters=1, kernel_size=[3, 3], kernel_initializer=tf.keras.initializers.Constant(1), name="conv_1")(input8)
y = ly.Conv2D(filters=1, kernel_size=[5, 5], kernel_initializer=tf.keras.initializers.Constant(1), name="conv_2")(y)
upsample_output = ly.UpSampling2D(size=(2,2))(y)
upsample_model = tf.keras.Model(inputs=input8, outputs=upsample_output)
x = ly.Conv2D(filters=1, kernel_size=[3, 3], kernel_initializer=tf.keras.initializers.Constant(1), name="conv_1")(input8)
x = ly.Conv2D(filters=1, kernel_size=[5, 5], kernel_initializer=tf.keras.initializers.Constant(1), name="conv_2")(x)
transpose_output = ly.Conv2DTranspose(filters=1, kernel_size=[2, 2], kernel_initializer=tf.keras.initializers.Constant(1), strides=[2,2], name="conv_transpose_1")(x)
transpose_model = tf.keras.Model(inputs=input8, outputs=transpose_output)
converter = tf.lite.TFLiteConverter.from_keras_model(upsample_model)
upsample_tflite_model = converter.convert()
with open('upsample_model.tflite', 'wb') as handle:
handle.write(upsample_tflite_model)
converter = tf.lite.TFLiteConverter.from_keras_model(transpose_model)
transpose_tflite_model = converter.convert()
with open('transpose_model.tflite', 'wb') as handle:
handle.write(transpose_tflite_model)
upsample_interpreter = tf.lite.Interpreter(model_path='models/upsample_model.tflite')
transpose_interpreter = tf.lite.Interpreter(model_path='models/transpose_model.tflite')
print("BEFORE INPUT RESIZING (expect input shape (1, 8, 8, 1) and output shape (1, 4, 4, 1)")
print()
print(upsample_interpreter.get_input_details())
print(upsample_interpreter.get_output_details())
print()
print()
print(transpose_interpreter.get_input_details())
print(transpose_interpreter.get_output_details())
print()
print()
upsample_interpreter.resize_tensor_input(0, (1, 16, 16, 1))
transpose_interpreter.resize_tensor_input(0, (1, 16, 16, 1))
upsample_interpreter.allocate_tensors()
transpose_interpreter.allocate_tensors()
print("AFTER INPUT RESIZING (expect input shape (1, 16, 16, 1) and output shape (1, 8, 8, 1)")
print()
print(upsample_interpreter.get_input_details())
print(upsample_interpreter.get_output_details())
print()
print()
print(transpose_interpreter.get_input_details())
print(transpose_interpreter.get_output_details())
```
### Relevant log output
```shell
BEFORE INPUT RESIZING (expect input shape (1, 8, 8, 1) and output shape (1, 4, 4, 1)
[{'name': 'serving_default_input_19:0', 'index': 0, 'shape': array([1, 8, 8, 1], dtype=int32), 'shape_signature': array([-1, 8, 8, 1], dtype=int32), 'dtype': <class 'numpy.float32'>, 'quantization': (0.0, 0), 'quantization_parameters': {'scales': array([], dtype=float32), 'zero_points': array([], dtype=int32), 'quantized_dimension': 0}, 'sparsity_parameters': {}}]
[{'name': 'StatefulPartitionedCall:0', 'index': 7, 'shape': array([1, 4, 4, 1], dtype=int32), 'shape_signature': array([-1, 4, 4, 1], dtype=int32), 'dtype': <class 'numpy.float32'>, 'quantization': (0.0, 0), 'quantization_parameters': {'scales': array([], dtype=float32), 'zero_points': array([], dtype=int32), 'quantized_dimension': 0}, 'sparsity_parameters': {}}]
[{'name': 'serving_default_input_19:0', 'index': 0, 'shape': array([1, 8, 8, 1], dtype=int32), 'shape_signature': array([-1, 8, 8, 1], dtype=int32), 'dtype': <class 'numpy.float32'>, 'quantization': (0.0, 0), 'quantization_parameters': {'scales': array([], dtype=float32), 'zero_points': array([], dtype=int32), 'quantized_dimension': 0}, 'sparsity_parameters': {}}]
[{'name': 'StatefulPartitionedCall:0', 'index': 14, 'shape': array([1, 4, 4, 1], dtype=int32), 'shape_signature': array([-1, 4, 4, 1], dtype=int32), 'dtype': <class 'numpy.float32'>, 'quantization': (0.0, 0), 'quantization_parameters': {'scales': array([], dtype=float32), 'zero_points': array([], dtype=int32), 'quantized_dimension': 0}, 'sparsity_parameters': {}}]
AFTER INPUT RESIZING (expect input shape (1, 16, 16, 1) and output shape (1, 8, 8, 1)
[{'name': 'serving_default_input_19:0', 'index': 0, 'shape': array([ 1, 16, 16, 1], dtype=int32), 'shape_signature': array([-1, 8, 8, 1], dtype=int32), 'dtype': <class 'numpy.float32'>, 'quantization': (0.0, 0), 'quantization_parameters': {'scales': array([], dtype=float32), 'zero_points': array([], dtype=int32), 'quantized_dimension': 0}, 'sparsity_parameters': {}}]
[{'name': 'StatefulPartitionedCall:0', 'index': 7, 'shape': array([1, 4, 4, 1], dtype=int32), 'shape_signature': array([-1, 4, 4, 1], dtype=int32), 'dtype': <class 'numpy.float32'>, 'quantization': (0.0, 0), 'quantization_parameters': {'scales': array([], dtype=float32), 'zero_points': array([], dtype=int32), 'quantized_dimension': 0}, 'sparsity_parameters': {}}]
[{'name': 'serving_default_input_19:0', 'index': 0, 'shape': array([ 1, 16, 16, 1], dtype=int32), 'shape_signature': array([-1, 8, 8, 1], dtype=int32), 'dtype': <class 'numpy.float32'>, 'quantization': (0.0, 0), 'quantization_parameters': {'scales': array([], dtype=float32), 'zero_points': array([], dtype=int32), 'quantized_dimension': 0}, 'sparsity_parameters': {}}]
[{'name': 'StatefulPartitionedCall:0', 'index': 14, 'shape': array([1, 4, 4, 1], dtype=int32), 'shape_signature': array([-1, 4, 4, 1], dtype=int32), 'dtype': <class 'numpy.float32'>, 'quantization': (0.0, 0), 'quantization_parameters': {'scales': array([], dtype=float32), 'zero_points': array([], dtype=int32), 'quantized_dimension': 0}, 'sparsity_parameters': {}}]
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61410/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61410/timeline | null | null | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61409 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61409/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61409/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61409/events | https://github.com/tensorflow/tensorflow/pull/61409 | 1,824,025,373 | PR_kwDOArmXAs5WhxBW | 61,409 | [TFLite] Fix gemmlowp CMake integration | {
"login": "daniel-lang",
"id": 6500514,
"node_id": "MDQ6VXNlcjY1MDA1MTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/6500514?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/daniel-lang",
"html_url": "https://github.com/daniel-lang",
"followers_url": "https://api.github.com/users/daniel-lang/followers",
"following_url": "https://api.github.com/users/daniel-lang/following{/other_user}",
"gists_url": "https://api.github.com/users/daniel-lang/gists{/gist_id}",
"starred_url": "https://api.github.com/users/daniel-lang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/daniel-lang/subscriptions",
"organizations_url": "https://api.github.com/users/daniel-lang/orgs",
"repos_url": "https://api.github.com/users/daniel-lang/repos",
"events_url": "https://api.github.com/users/daniel-lang/events{/privacy}",
"received_events_url": "https://api.github.com/users/daniel-lang/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 390482148,
"node_id": "MDU6TGFiZWwzOTA0ODIxNDg=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/awaiting%20review",
"name": "awaiting review",
"color": "bc3869",
"default": false,
"description": "Pull request awaiting review"
},
{
"id": 750616506,
"node_id": "MDU6TGFiZWw3NTA2MTY1MDY=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:lite",
"name": "comp:lite",
"color": "0052cc",
"default": false,
"description": "TF Lite related issues"
},
{
"id": 987666414,
"node_id": "MDU6TGFiZWw5ODc2NjY0MTQ=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/ready%20to%20pull",
"name": "ready to pull",
"color": "2cd643",
"default": false,
"description": "PR ready for merge process"
},
{
"id": 1169365494,
"node_id": "MDU6TGFiZWwxMTY5MzY1NDk0",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:M",
"name": "size:M",
"color": "adafea",
"default": false,
"description": "CL Change Size: Medium"
}
] | closed | false | {
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
}
] | null | [] | 2023-07-27T09:54:05 | 2023-08-03T11:53:36 | 2023-07-31T17:02:27 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61409",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61409",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61409.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61409.patch",
"merged_at": "2023-07-31T17:02:27"
} | GIT_TAG in gemmlowp.cmake wasn't is sync with
tensorflow/third_party/gemmlowp/workspace.bzl, an older version was used.
The new version of gemmlowp has a CMake file in contrib, so use that instead.
gemmlowp's CMake file defines gemmlowp::gemmlowp for the header only library.
All of this makes it possible to switch between gemmlowp being supplied by the system or by tensorflow. | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61409/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61409/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61408 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61408/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61408/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61408/events | https://github.com/tensorflow/tensorflow/issues/61408 | 1,823,732,453 | I_kwDOArmXAs5ss_Ll | 61,408 | Issue | {
"login": "singhtrial11",
"id": 138761217,
"node_id": "U_kgDOCEVUAQ",
"avatar_url": "https://avatars.githubusercontent.com/u/138761217?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/singhtrial11",
"html_url": "https://github.com/singhtrial11",
"followers_url": "https://api.github.com/users/singhtrial11/followers",
"following_url": "https://api.github.com/users/singhtrial11/following{/other_user}",
"gists_url": "https://api.github.com/users/singhtrial11/gists{/gist_id}",
"starred_url": "https://api.github.com/users/singhtrial11/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/singhtrial11/subscriptions",
"organizations_url": "https://api.github.com/users/singhtrial11/orgs",
"repos_url": "https://api.github.com/users/singhtrial11/repos",
"events_url": "https://api.github.com/users/singhtrial11/events{/privacy}",
"received_events_url": "https://api.github.com/users/singhtrial11/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 473172988,
"node_id": "MDU6TGFiZWw0NzMxNzI5ODg=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug",
"name": "type:bug",
"color": "159b2e",
"default": false,
"description": "Bug"
}
] | closed | false | {
"login": "Varsha-anjanappa",
"id": 137163810,
"node_id": "U_kgDOCCz0Ig",
"avatar_url": "https://avatars.githubusercontent.com/u/137163810?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Varsha-anjanappa",
"html_url": "https://github.com/Varsha-anjanappa",
"followers_url": "https://api.github.com/users/Varsha-anjanappa/followers",
"following_url": "https://api.github.com/users/Varsha-anjanappa/following{/other_user}",
"gists_url": "https://api.github.com/users/Varsha-anjanappa/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Varsha-anjanappa/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Varsha-anjanappa/subscriptions",
"organizations_url": "https://api.github.com/users/Varsha-anjanappa/orgs",
"repos_url": "https://api.github.com/users/Varsha-anjanappa/repos",
"events_url": "https://api.github.com/users/Varsha-anjanappa/events{/privacy}",
"received_events_url": "https://api.github.com/users/Varsha-anjanappa/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "Varsha-anjanappa",
"id": 137163810,
"node_id": "U_kgDOCCz0Ig",
"avatar_url": "https://avatars.githubusercontent.com/u/137163810?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Varsha-anjanappa",
"html_url": "https://github.com/Varsha-anjanappa",
"followers_url": "https://api.github.com/users/Varsha-anjanappa/followers",
"following_url": "https://api.github.com/users/Varsha-anjanappa/following{/other_user}",
"gists_url": "https://api.github.com/users/Varsha-anjanappa/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Varsha-anjanappa/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Varsha-anjanappa/subscriptions",
"organizations_url": "https://api.github.com/users/Varsha-anjanappa/orgs",
"repos_url": "https://api.github.com/users/Varsha-anjanappa/repos",
"events_url": "https://api.github.com/users/Varsha-anjanappa/events{/privacy}",
"received_events_url": "https://api.github.com/users/Varsha-anjanappa/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"Hi @singhtrial11,\r\n\r\nPlease don't spam.\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/61408\">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/61408\">No</a>\n"
] | 2023-07-27T06:51:08 | 2023-07-27T08:29:28 | 2023-07-27T08:29:26 | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
source
### TensorFlow version
tf 2.9
### Custom code
Yes
### OS platform and distribution
linux ubuntu
### 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?
xyz
### Standalone code to reproduce the issue
```shell
xyz
```
### Relevant log output
```shell
jkjnk
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61408/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61408/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61407 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61407/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61407/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61407/events | https://github.com/tensorflow/tensorflow/issues/61407 | 1,823,691,027 | I_kwDOArmXAs5ss1ET | 61,407 | The issue of updating a formula. | {
"login": "liuanan",
"id": 3928043,
"node_id": "MDQ6VXNlcjM5MjgwNDM=",
"avatar_url": "https://avatars.githubusercontent.com/u/3928043?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/liuanan",
"html_url": "https://github.com/liuanan",
"followers_url": "https://api.github.com/users/liuanan/followers",
"following_url": "https://api.github.com/users/liuanan/following{/other_user}",
"gists_url": "https://api.github.com/users/liuanan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/liuanan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/liuanan/subscriptions",
"organizations_url": "https://api.github.com/users/liuanan/orgs",
"repos_url": "https://api.github.com/users/liuanan/repos",
"events_url": "https://api.github.com/users/liuanan/events{/privacy}",
"received_events_url": "https://api.github.com/users/liuanan/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 284443156,
"node_id": "MDU6TGFiZWwyODQ0NDMxNTY=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:docs-bug",
"name": "type:docs-bug",
"color": "159b2e",
"default": false,
"description": "Document issues"
},
{
"id": 386191887,
"node_id": "MDU6TGFiZWwzODYxOTE4ODc=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response",
"name": "stat:awaiting response",
"color": "f4b400",
"default": false,
"description": "Status - Awaiting response from author"
},
{
"id": 474725938,
"node_id": "MDU6TGFiZWw0NzQ3MjU5Mzg=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stale",
"name": "stale",
"color": "d4c5f9",
"default": false,
"description": "This label marks the issue/pr stale - to be closed automatically if no activity"
},
{
"id": 1097546578,
"node_id": "MDU6TGFiZWwxMDk3NTQ2NTc4",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:keras",
"name": "comp:keras",
"color": "0052cc",
"default": false,
"description": "Keras related issues"
}
] | 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 | [
"@liuanan,\r\nThe PR raised for the mentioned issue has been assigned for reviewing and once it is merged this issue will move to closed status. Thank you!",
"@liuanan,\r\nAs this issue is related to Keras, the Keras repository code which you were suggested has the correct formula. Could you please take a look at this Adam file.\r\nhttps://github.com/keras-team/keras/blob/cdffff886626e5a05bc5d54b8a4634f1e5db06cf/keras/optimizers/legacy/adam.py#L468\r\n\r\n```\r\n m.assign_add((grad - m) * (1 - coefficients[\"beta_1_t\"]))\r\n v.assign_add((tf.square(grad) - v) * (1 - coefficients[\"beta_2_t\"]))\r\n if self.amsgrad:\r\n vhat = self.get_slot(var, \"vhat\")\r\n vhat.assign(tf.maximum(vhat, v))\r\n v = vhat\r\n var.assign_sub((m * alpha) / (tf.sqrt(v) + coefficients[\"epsilon\"]))\r\n```",
"In this case, there's nothing TF needs to do",
"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/61407\">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/61407\">No</a>\n"
] | 2023-07-27T06:17:32 | 2023-08-31T01:47:38 | 2023-08-31T01:47:35 | NONE | null | null | null | https://github.com/tensorflow/tensorflow/blame/d5422e3857a3bcab5063fdd01600d4c15393c887/tensorflow/python/keras/optimizer_v2/adam.py#L443
var.assign_sub(
(m * alpha) / (math_ops.sqrt(v) - coefficients['epsilon']))
should be:
var.assign_sub(
(m * alpha) / (math_ops.sqrt(v) + coefficients['epsilon'])) | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61407/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61407/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61406 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61406/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61406/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61406/events | https://github.com/tensorflow/tensorflow/pull/61406 | 1,823,643,585 | PR_kwDOArmXAs5Wgelp | 61,406 | Update tensorflow2 code | {
"login": "yasirulhadi",
"id": 29412002,
"node_id": "MDQ6VXNlcjI5NDEyMDAy",
"avatar_url": "https://avatars.githubusercontent.com/u/29412002?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yasirulhadi",
"html_url": "https://github.com/yasirulhadi",
"followers_url": "https://api.github.com/users/yasirulhadi/followers",
"following_url": "https://api.github.com/users/yasirulhadi/following{/other_user}",
"gists_url": "https://api.github.com/users/yasirulhadi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yasirulhadi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yasirulhadi/subscriptions",
"organizations_url": "https://api.github.com/users/yasirulhadi/orgs",
"repos_url": "https://api.github.com/users/yasirulhadi/repos",
"events_url": "https://api.github.com/users/yasirulhadi/events{/privacy}",
"received_events_url": "https://api.github.com/users/yasirulhadi/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1169364458,
"node_id": "MDU6TGFiZWwxMTY5MzY0NDU4",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:S",
"name": "size:S",
"color": "adafea",
"default": false,
"description": "CL Change Size: Small"
}
] | closed | false | {
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).\n\nView this [failed invocation](https://github.com/tensorflow/tensorflow/pull/61406/checks?check_run_id=15384363955) 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 @pkanwar23 Can you please review this PR ? Thank you!"
] | 2023-07-27T05:31:02 | 2023-08-24T14:59:44 | 2023-08-24T14:59:41 | NONE | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61406",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61406",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61406.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61406.patch",
"merged_at": null
} | In this version, we use tf.compat.v1.enable_v2_behavior() and tf.compat.v1.disable_v2_behavior() instead of directly using _pywrap_tf2. Additionally, the function is_tf2_behavior_enabled() now uses tf.executing_eagerly() instead of _pywrap_tf2.is_enabled(), which is the recommended way to check if TensorFlow 2.0 behavior is enabled. | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61406/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61406/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61405 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61405/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61405/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61405/events | https://github.com/tensorflow/tensorflow/pull/61405 | 1,823,514,705 | PR_kwDOArmXAs5WgDSL | 61,405 | Update requirements.in | {
"login": "halseycamilla",
"id": 111537937,
"node_id": "U_kgDOBqXvEQ",
"avatar_url": "https://avatars.githubusercontent.com/u/111537937?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/halseycamilla",
"html_url": "https://github.com/halseycamilla",
"followers_url": "https://api.github.com/users/halseycamilla/followers",
"following_url": "https://api.github.com/users/halseycamilla/following{/other_user}",
"gists_url": "https://api.github.com/users/halseycamilla/gists{/gist_id}",
"starred_url": "https://api.github.com/users/halseycamilla/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/halseycamilla/subscriptions",
"organizations_url": "https://api.github.com/users/halseycamilla/orgs",
"repos_url": "https://api.github.com/users/halseycamilla/repos",
"events_url": "https://api.github.com/users/halseycamilla/events{/privacy}",
"received_events_url": "https://api.github.com/users/halseycamilla/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 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 @halseycamilla This PR is duplicate of [#61404](https://github.com/tensorflow/tensorflow/pull/61404/files). Hence closing this PR. Thank you!"
] | 2023-07-27T02:45:10 | 2023-07-27T14:19:13 | 2023-07-27T14:19:12 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61405",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61405",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61405.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61405.patch",
"merged_at": null
} | null | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61405/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61405/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61404 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61404/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61404/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61404/events | https://github.com/tensorflow/tensorflow/pull/61404 | 1,823,402,028 | PR_kwDOArmXAs5WfrPp | 61,404 | Update requirements.in | {
"login": "halseycamilla",
"id": 111537937,
"node_id": "U_kgDOBqXvEQ",
"avatar_url": "https://avatars.githubusercontent.com/u/111537937?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/halseycamilla",
"html_url": "https://github.com/halseycamilla",
"followers_url": "https://api.github.com/users/halseycamilla/followers",
"following_url": "https://api.github.com/users/halseycamilla/following{/other_user}",
"gists_url": "https://api.github.com/users/halseycamilla/gists{/gist_id}",
"starred_url": "https://api.github.com/users/halseycamilla/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/halseycamilla/subscriptions",
"organizations_url": "https://api.github.com/users/halseycamilla/orgs",
"repos_url": "https://api.github.com/users/halseycamilla/repos",
"events_url": "https://api.github.com/users/halseycamilla/events{/privacy}",
"received_events_url": "https://api.github.com/users/halseycamilla/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 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 | [
"Hi @mihaimaruseac Can you please review this PR ? Thank you!"
] | 2023-07-27T00:31:59 | 2023-08-28T06:11:07 | 2023-08-28T06:11:07 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61404",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61404",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61404.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61404.patch",
"merged_at": "2023-08-28T06:11:07"
} | Just testing for now | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61404/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61404/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61403 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61403/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61403/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61403/events | https://github.com/tensorflow/tensorflow/issues/61403 | 1,823,242,133 | I_kwDOArmXAs5srHeV | 61,403 | model.fit() occur "Cudnn graph failed to build: UNKNOWN: CUDNN_STATUS_BAD_PARAM" | {
"login": "ipmnhmyang",
"id": 26296693,
"node_id": "MDQ6VXNlcjI2Mjk2Njkz",
"avatar_url": "https://avatars.githubusercontent.com/u/26296693?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ipmnhmyang",
"html_url": "https://github.com/ipmnhmyang",
"followers_url": "https://api.github.com/users/ipmnhmyang/followers",
"following_url": "https://api.github.com/users/ipmnhmyang/following{/other_user}",
"gists_url": "https://api.github.com/users/ipmnhmyang/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ipmnhmyang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ipmnhmyang/subscriptions",
"organizations_url": "https://api.github.com/users/ipmnhmyang/orgs",
"repos_url": "https://api.github.com/users/ipmnhmyang/repos",
"events_url": "https://api.github.com/users/ipmnhmyang/events{/privacy}",
"received_events_url": "https://api.github.com/users/ipmnhmyang/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": 1097547538,
"node_id": "MDU6TGFiZWwxMDk3NTQ3NTM4",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:gpu",
"name": "comp:gpu",
"color": "0052cc",
"default": false,
"description": "GPU related issues"
},
{
"id": 5508003926,
"node_id": "LA_kwDOArmXAs8AAAABSE14Vg",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13",
"name": "TF 2.13",
"color": "B13ACB",
"default": false,
"description": "For issues related to Tensorflow 2.13"
}
] | 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 @ipmnhmyang ,\r\n\r\nNormally this type of error happens due to cuDNN/CUDA mismatch and also wrt TF version. But from your inputs you are confirming that only tested configurations. We need to check your environment details.Please confirm below.\r\n\r\n1. Are you using pre built binaries provided by tensorflow or used build from source ?\r\n2. If using pre built binaries ensure it is installed by pip only not conda\r\n3. If used build from source please confirm whether it was built with respective CUDA and cuDNN.\r\n\r\nPlease confirm whether you have followed all the instructions as per official documentation mentioned for [pip](https://www.tensorflow.org/install/pip) or build from [source](https://www.tensorflow.org/install/source#ubuntu).\r\n\r\nProvided code snippet has dependency with image directory. Please provide a reproducible code snippet with an accessible dataset.\r\n\r\nThanks!\r\n\r\n",
"Please also have a look of similar issue at #41060 for any pointers there. Thanks!",
"@SuryanarayanaY Hi, thank you for reply.\r\n\r\nI've confirmed configuration and tested one more time.\r\nAfter configureation following https://www.tensorflow.org/install/pip, it is working properly.\r\n\r\nThanks a lot.",
"Problem solved.",
"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/61403\">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/61403\">No</a>\n",
"@ipmnhmyang ,\r\n\r\nFor more clarity for us and community, could you please confirm both RTX 3090 Ti & RTX 4090 are able to detectable using CUDA-11.8 and cuDNN-8.6 for TF2.13 version which is tested configuration.\r\n\r\nThanks!"
] | 2023-07-26T21:56:14 | 2023-08-01T05:07:28 | 2023-07-27T23:56:17 | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
source
### TensorFlow version
2.11, 2.12, 2.13
### Custom code
Yes
### OS platform and distribution
Linux Ubuntu 22.04
### Mobile device
_No response_
### Python version
3.10
### Bazel version
_No response_
### GCC/compiler version
_No response_
### CUDA/cuDNN version
11.8 / 8.6 & 11.8 / 8.9.2
### GPU model and memory
RTX 3090 Ti & RTX 4090
### Current behavior?
This is first time experience to have such error message.
When I try
"model.fit()"
server stops with error message below
Tried cuDNN version 8.6 (as [tensorflow.org](https://www.tensorflow.org/install/pip) ) and 8.9.2 (lateset for CUDA 11.8)
Both have problem.
How can I solve the issue?
Thanks!
### Standalone code to reproduce the issue
```shell
gpu_id = "2" # 0 or 1
import os
os.environ["CUDA_VISIBLE_DEVICES"] = gpu_id
import tensorflow as tf
import tensorflow.keras as keras
import tensorflow.keras.layers as layers
import tensorflow.keras.models as models
size_y = 256
size_x = 256
#--- load dataset
dic_path = './seg_dataset/train/dic'
msk_path = './seg_dataset/train/msk'
seed = 1004 # random number in your mind
dic_datagen = keras.preprocessing.image.ImageDataGenerator(
rescale=1./255,
validation_split=0.2
)
msk_datagen = keras.preprocessing.image.ImageDataGenerator(
rescale=1./255,
validation_split=0.2
)
dic_train = \
dic_datagen.flow_from_directory(
dic_path,
target_size=(size_y, size_x),
class_mode=None,
seed=seed,
subset='training'
)
msk_train = \
msk_datagen.flow_from_directory(
msk_path,
target_size=(size_y, size_x),
class_mode=None,
color_mode='grayscale',
seed=seed,
subset='training'
)
dic_valid = \
dic_datagen.flow_from_directory(
dic_path,
target_size=(size_y, size_x),
class_mode=None,
seed=seed,
subset='validation'
)
msk_valid = \
msk_datagen.flow_from_directory(
msk_path,
target_size=(size_y, size_x),
class_mode=None,
color_mode='grayscale',
seed=seed,
subset='validation'
)
train_ds = zip(dic_train, msk_train)
valid_ds = zip(dic_valid, msk_valid)
f = [16, 32, 64, 128, 256]
kernel_size=(3,3)
padding='same'
strides=1
# number of filters at each level
inputs = layers.Input((size_y, size_x, 1))
p0 = inputs
# downblock 1
x = layers.Conv2D(16, kernel_size, padding=padding, strides=strides, activation="relu")(p0)
c1 = layers.Conv2D(16, kernel_size, padding=padding, strides=strides, activation="relu")(x)
x = layers.MaxPool2D((2, 2), (2, 2))(c1)
# downblock 2
x = layers.Conv2D(32, kernel_size, padding=padding, strides=strides, activation="relu")(x)
c2 = layers.Conv2D(32, kernel_size, padding=padding, strides=strides, activation="relu")(x)
x = layers.MaxPool2D((2, 2), (2, 2))(c2)
# downblock 3
x = layers.Conv2D(64, kernel_size, padding=padding, strides=strides, activation="relu")(x)
c3 = layers.Conv2D(64, kernel_size, padding=padding, strides=strides, activation="relu")(x)
x = layers.MaxPool2D((2, 2), (2, 2))(c3)
# downblock 4
x = layers.Conv2D(128, kernel_size, padding=padding, strides=strides, activation="relu")(x)
c4 = layers.Conv2D(128, kernel_size, padding=padding, strides=strides, activation="relu")(x)
x = layers.MaxPool2D((2, 2), (2, 2))(c4)
# bottle neck
x = layers.Conv2D(256, kernel_size, padding=padding, strides=strides, activation="relu")(x)
x = layers.Conv2D(256, kernel_size, padding=padding, strides=strides, activation="relu")(x)
# up block 1
x = layers.UpSampling2D((2, 2))(x)
concat = layers.Concatenate()([x, c4])
x = layers.Conv2D(128, kernel_size, padding=padding, strides=strides, activation="relu")(concat)
x = layers.Conv2D(128, kernel_size, padding=padding, strides=strides, activation="relu")(x)
# up block 1
x = layers.UpSampling2D((2, 2))(x)
concat = layers.Concatenate()([x, c3])
x = layers.Conv2D(64, kernel_size, padding=padding, strides=strides, activation="relu")(concat)
x = layers.Conv2D(64, kernel_size, padding=padding, strides=strides, activation="relu")(x)
# up block 1
x = layers.UpSampling2D((2, 2))(x)
concat = layers.Concatenate()([x, c2])
x = layers.Conv2D(32, kernel_size, padding=padding, strides=strides, activation="relu")(concat)
x = layers.Conv2D(32, kernel_size, padding=padding, strides=strides, activation="relu")(x)
# up block 1
x = layers.UpSampling2D((2, 2))(x)
concat = layers.Concatenate()([x, c1])
x = layers.Conv2D(16, kernel_size, padding=padding, strides=strides, activation="relu")(concat)
x = layers.Conv2D(16, kernel_size, padding=padding, strides=strides, activation="relu")(x)
# last convolution 1x1
outputs = layers.Conv2D(1, (1, 1), padding="same", activation="sigmoid")(x)
model = models.Model(inputs, outputs)
model.compile(optimizer='adam', loss='binary_crossentropy', metrics=['accuracy'])
path_checkpoint = './seg_checkpoint'
os.makedirs(path_checkpoint,exist_ok=True)
model_checkpointer = keras.callbacks.ModelCheckpoint(
filepath = path_checkpoint,
save_weights_only=True,
monitor='val_loss',
mode='min',
save_best_only=True,
verbose = 1
)
#--- additional
callbacks = [
model_checkpointer,
keras.callbacks.EarlyStopping(
patience=50*3,
monitor='val_loss',
mode='min',
verbose=1
),
]
#--- train start
EPOCH = 10
history = model.fit(
train_ds,
validation_data=valid_ds,
validation_steps=15,
# Total number of steps (batches of samples)
# to draw before stopping when performing validation at the end of every epoch.
batch_size=16,
steps_per_epoch=50,
epochs=EPOCH,
callbacks=callbacks
)
```
### Relevant log output
```shell
2023-07-26 14:46:27.667380: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:8942] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
2023-07-26 14:46:27.667411: 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-07-26 14:46:27.667426: 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-07-26 14:46:27.671343: 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-07-26 14:46:28.183018: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
WARNING:tensorflow:From /home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/tensorflow/python/ops/distributions/distribution.py:259: ReparameterizationType.__init__ (from tensorflow.python.ops.distributions.distribution) is deprecated and will be removed after 2019-01-01.
Instructions for updating:
The TensorFlow Distributions library has moved to TensorFlow Probability (https://github.com/tensorflow/probability). You should update all references to use `tfp.distributions` instead of `tf.distributions`.
WARNING:tensorflow:From /home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/tensorflow/python/ops/distributions/bernoulli.py:165: RegisterKL.__init__ (from tensorflow.python.ops.distributions.kullback_leibler) is deprecated and will be removed after 2019-01-01.
Instructions for updating:
The TensorFlow Distributions library has moved to TensorFlow Probability (https://github.com/tensorflow/probability). You should update all references to use `tfp.distributions` instead of `tf.distributions`.
2023-07-26 14:46:28.727203: 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-07-26 14:46:28.741660: 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-07-26 14:46:28.741864: 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-07-26 14:46:28.807551: 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-07-26 14:46:28.807748: 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-07-26 14:46:28.807913: 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-07-26 14:46:28.808057: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1884] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 22168 MB memory: -> device: 0, name: NVIDIA GeForce RTX 3090 Ti, pci bus id: 0000:41:00.0, compute capability: 8.6
2023-07-26 14:46:28.809796: I tensorflow/core/common_runtime/direct_session.cc:380] Device mapping:
/job:localhost/replica:0/task:0/device:GPU:0 -> device: 0, name: NVIDIA GeForce RTX 3090 Ti, pci bus id: 0000:41:00.0, compute capability: 8.6
Found 40000 images belonging to 1 classes.
Found 40000 images belonging to 1 classes.
Found 10000 images belonging to 1 classes.
Found 10000 images belonging to 1 classes.
2023-07-26 14:46:30.293048: 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-07-26 14:46:30.293252: 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-07-26 14:46:30.293411: 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-07-26 14:46:30.293658: 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-07-26 14:46:30.293824: 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-07-26 14:46:30.293974: 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-07-26 14:46:30.294158: 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-07-26 14:46:30.294315: 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-07-26 14:46:30.294450: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1884] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 22168 MB memory: -> device: 0, name: NVIDIA GeForce RTX 3090 Ti, pci bus id: 0000:41:00.0, compute capability: 8.6
Epoch 1/10
2023-07-26 14:46:31.666051: I tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:440] Loaded cuDNN version 8600
2023-07-26 14:46:31.674917: W tensorflow/core/framework/op_kernel.cc:1839] OP_REQUIRES failed at conv_ops_fused_impl.h:625 : INTERNAL: Cudnn graph failed to build: UNKNOWN: CUDNN_STATUS_BAD_PARAM
in tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc(4340): 'conv_op' CUDNN_BACKEND_OPERATION: cudnnFinalize Failed
Traceback (most recent call last):
File "/home/bootcamp/train_unet.py", line 161, in <module>
history = model.fit(
File "/home/bootcamp/miniconda3/envs/tf/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/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/tensorflow/python/eager/execute.py", line 53, in quick_execute
tensors = pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name, op_name,
tensorflow.python.framework.errors_impl.InternalError: Graph execution error:
Detected at node model/conv2d/Relu defined at (most recent call last):
File "/home/bootcamp/train_unet.py", line 161, in <module>
history = model.fit(
File "/home/bootcamp/train_unet.py", line 161, in <module>
history = model.fit(
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/train_unet.py", line 161, in <module>
history = model.fit(
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1783, in fit
tmp_logs = self.train_function(iterator)
File "/home/bootcamp/train_unet.py", line 161, in <module>
history = model.fit(
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1783, in fit
tmp_logs = self.train_function(iterator)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1377, in train_function
return step_function(self, iterator)
File "/home/bootcamp/train_unet.py", line 161, in <module>
history = model.fit(
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1783, in fit
tmp_logs = self.train_function(iterator)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1377, in train_function
return step_function(self, iterator)
File "/home/bootcamp/miniconda3/envs/tf/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 "/home/bootcamp/train_unet.py", line 161, in <module>
history = model.fit(
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1783, in fit
tmp_logs = self.train_function(iterator)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1377, in train_function
return step_function(self, iterator)
File "/home/bootcamp/miniconda3/envs/tf/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 "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1349, in run_step
outputs = model.train_step(data)
File "/home/bootcamp/train_unet.py", line 161, in <module>
history = model.fit(
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1783, in fit
tmp_logs = self.train_function(iterator)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1377, in train_function
return step_function(self, iterator)
File "/home/bootcamp/miniconda3/envs/tf/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 "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1349, in run_step
outputs = model.train_step(data)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1126, in train_step
y_pred = self(x, training=True)
File "/home/bootcamp/train_unet.py", line 161, in <module>
history = model.fit(
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1783, in fit
tmp_logs = self.train_function(iterator)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1377, in train_function
return step_function(self, iterator)
File "/home/bootcamp/miniconda3/envs/tf/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 "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1349, in run_step
outputs = model.train_step(data)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1126, in train_step
y_pred = self(x, training=True)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/train_unet.py", line 161, in <module>
history = model.fit(
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1783, in fit
tmp_logs = self.train_function(iterator)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1377, in train_function
return step_function(self, iterator)
File "/home/bootcamp/miniconda3/envs/tf/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 "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1349, in run_step
outputs = model.train_step(data)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1126, in train_step
y_pred = self(x, training=True)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 589, in __call__
return super().__call__(*args, **kwargs)
File "/home/bootcamp/train_unet.py", line 161, in <module>
history = model.fit(
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1783, in fit
tmp_logs = self.train_function(iterator)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1377, in train_function
return step_function(self, iterator)
File "/home/bootcamp/miniconda3/envs/tf/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 "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1349, in run_step
outputs = model.train_step(data)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1126, in train_step
y_pred = self(x, training=True)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 589, in __call__
return super().__call__(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/train_unet.py", line 161, in <module>
history = model.fit(
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1783, in fit
tmp_logs = self.train_function(iterator)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1377, in train_function
return step_function(self, iterator)
File "/home/bootcamp/miniconda3/envs/tf/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 "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1349, in run_step
outputs = model.train_step(data)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1126, in train_step
y_pred = self(x, training=True)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 589, in __call__
return super().__call__(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/base_layer.py", line 1149, in __call__
outputs = call_fn(inputs, *args, **kwargs)
File "/home/bootcamp/train_unet.py", line 161, in <module>
history = model.fit(
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1783, in fit
tmp_logs = self.train_function(iterator)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1377, in train_function
return step_function(self, iterator)
File "/home/bootcamp/miniconda3/envs/tf/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 "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1349, in run_step
outputs = model.train_step(data)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1126, in train_step
y_pred = self(x, training=True)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 589, in __call__
return super().__call__(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/base_layer.py", line 1149, in __call__
outputs = call_fn(inputs, *args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 96, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/train_unet.py", line 161, in <module>
history = model.fit(
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1783, in fit
tmp_logs = self.train_function(iterator)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1377, in train_function
return step_function(self, iterator)
File "/home/bootcamp/miniconda3/envs/tf/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 "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1349, in run_step
outputs = model.train_step(data)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1126, in train_step
y_pred = self(x, training=True)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 589, in __call__
return super().__call__(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/base_layer.py", line 1149, in __call__
outputs = call_fn(inputs, *args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 96, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/functional.py", line 515, in call
return self._run_internal_graph(inputs, training=training, mask=mask)
File "/home/bootcamp/train_unet.py", line 161, in <module>
history = model.fit(
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1783, in fit
tmp_logs = self.train_function(iterator)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1377, in train_function
return step_function(self, iterator)
File "/home/bootcamp/miniconda3/envs/tf/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 "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1349, in run_step
outputs = model.train_step(data)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1126, in train_step
y_pred = self(x, training=True)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 589, in __call__
return super().__call__(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/base_layer.py", line 1149, in __call__
outputs = call_fn(inputs, *args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 96, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/functional.py", line 515, in call
return self._run_internal_graph(inputs, training=training, mask=mask)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/functional.py", line 672, in _run_internal_graph
outputs = node.layer(*args, **kwargs)
File "/home/bootcamp/train_unet.py", line 161, in <module>
history = model.fit(
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1783, in fit
tmp_logs = self.train_function(iterator)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1377, in train_function
return step_function(self, iterator)
File "/home/bootcamp/miniconda3/envs/tf/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 "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1349, in run_step
outputs = model.train_step(data)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1126, in train_step
y_pred = self(x, training=True)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 589, in __call__
return super().__call__(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/base_layer.py", line 1149, in __call__
outputs = call_fn(inputs, *args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 96, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/functional.py", line 515, in call
return self._run_internal_graph(inputs, training=training, mask=mask)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/functional.py", line 672, in _run_internal_graph
outputs = node.layer(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/train_unet.py", line 161, in <module>
history = model.fit(
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1783, in fit
tmp_logs = self.train_function(iterator)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1377, in train_function
return step_function(self, iterator)
File "/home/bootcamp/miniconda3/envs/tf/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 "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1349, in run_step
outputs = model.train_step(data)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1126, in train_step
y_pred = self(x, training=True)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 589, in __call__
return super().__call__(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/base_layer.py", line 1149, in __call__
outputs = call_fn(inputs, *args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 96, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/functional.py", line 515, in call
return self._run_internal_graph(inputs, training=training, mask=mask)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/functional.py", line 672, in _run_internal_graph
outputs = node.layer(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/base_layer.py", line 1149, in __call__
outputs = call_fn(inputs, *args, **kwargs)
File "/home/bootcamp/train_unet.py", line 161, in <module>
history = model.fit(
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1783, in fit
tmp_logs = self.train_function(iterator)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1377, in train_function
return step_function(self, iterator)
File "/home/bootcamp/miniconda3/envs/tf/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 "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1349, in run_step
outputs = model.train_step(data)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1126, in train_step
y_pred = self(x, training=True)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 589, in __call__
return super().__call__(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/base_layer.py", line 1149, in __call__
outputs = call_fn(inputs, *args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 96, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/functional.py", line 515, in call
return self._run_internal_graph(inputs, training=training, mask=mask)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/functional.py", line 672, in _run_internal_graph
outputs = node.layer(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/base_layer.py", line 1149, in __call__
outputs = call_fn(inputs, *args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 96, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/train_unet.py", line 161, in <module>
history = model.fit(
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1783, in fit
tmp_logs = self.train_function(iterator)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1377, in train_function
return step_function(self, iterator)
File "/home/bootcamp/miniconda3/envs/tf/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 "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1349, in run_step
outputs = model.train_step(data)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1126, in train_step
y_pred = self(x, training=True)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 589, in __call__
return super().__call__(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/base_layer.py", line 1149, in __call__
outputs = call_fn(inputs, *args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 96, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/functional.py", line 515, in call
return self._run_internal_graph(inputs, training=training, mask=mask)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/functional.py", line 672, in _run_internal_graph
outputs = node.layer(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/base_layer.py", line 1149, in __call__
outputs = call_fn(inputs, *args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 96, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/layers/convolutional/base_conv.py", line 321, in call
return self.activation(outputs)
File "/home/bootcamp/train_unet.py", line 161, in <module>
history = model.fit(
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1783, in fit
tmp_logs = self.train_function(iterator)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1377, in train_function
return step_function(self, iterator)
File "/home/bootcamp/miniconda3/envs/tf/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 "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1349, in run_step
outputs = model.train_step(data)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1126, in train_step
y_pred = self(x, training=True)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 589, in __call__
return super().__call__(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/base_layer.py", line 1149, in __call__
outputs = call_fn(inputs, *args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 96, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/functional.py", line 515, in call
return self._run_internal_graph(inputs, training=training, mask=mask)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/functional.py", line 672, in _run_internal_graph
outputs = node.layer(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/base_layer.py", line 1149, in __call__
outputs = call_fn(inputs, *args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 96, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/layers/convolutional/base_conv.py", line 321, in call
return self.activation(outputs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/activations.py", line 306, in relu
return backend.relu(
File "/home/bootcamp/train_unet.py", line 161, in <module>
history = model.fit(
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1783, in fit
tmp_logs = self.train_function(iterator)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1377, in train_function
return step_function(self, iterator)
File "/home/bootcamp/miniconda3/envs/tf/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 "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1349, in run_step
outputs = model.train_step(data)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 1126, in train_step
y_pred = self(x, training=True)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/training.py", line 589, in __call__
return super().__call__(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/base_layer.py", line 1149, in __call__
outputs = call_fn(inputs, *args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 96, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/functional.py", line 515, in call
return self._run_internal_graph(inputs, training=training, mask=mask)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/functional.py", line 672, in _run_internal_graph
outputs = node.layer(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 65, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/engine/base_layer.py", line 1149, in __call__
outputs = call_fn(inputs, *args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 96, in error_handler
return fn(*args, **kwargs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/layers/convolutional/base_conv.py", line 321, in call
return self.activation(outputs)
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/activations.py", line 306, in relu
return backend.relu(
File "/home/bootcamp/miniconda3/envs/tf/lib/python3.10/site-packages/keras/src/backend.py", line 5397, in relu
x = tf.nn.relu(x)
Cudnn graph failed to build: UNKNOWN: CUDNN_STATUS_BAD_PARAM
in tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc(4340): 'conv_op' CUDNN_BACKEND_OPERATION: cudnnFinalize Failed
[[{{node model/conv2d/Relu}}]] [Op:__inference_train_function_4359]
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61403/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61403/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61402 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61402/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61402/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61402/events | https://github.com/tensorflow/tensorflow/pull/61402 | 1,822,971,494 | PR_kwDOArmXAs5WeNfy | 61,402 | Update README.md | {
"login": "hammaadrizwan",
"id": 65250595,
"node_id": "MDQ6VXNlcjY1MjUwNTk1",
"avatar_url": "https://avatars.githubusercontent.com/u/65250595?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hammaadrizwan",
"html_url": "https://github.com/hammaadrizwan",
"followers_url": "https://api.github.com/users/hammaadrizwan/followers",
"following_url": "https://api.github.com/users/hammaadrizwan/following{/other_user}",
"gists_url": "https://api.github.com/users/hammaadrizwan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hammaadrizwan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hammaadrizwan/subscriptions",
"organizations_url": "https://api.github.com/users/hammaadrizwan/orgs",
"repos_url": "https://api.github.com/users/hammaadrizwan/repos",
"events_url": "https://api.github.com/users/hammaadrizwan/events{/privacy}",
"received_events_url": "https://api.github.com/users/hammaadrizwan/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/61402/checks?check_run_id=15372093016) of the CLA check for more information.\n\nFor the most up to date status, view the checks section at the bottom of the pull request.",
"Please don't use \"add file\"/\"update file\"/\"fix file\"/etc. commit messages. These are hard to reason about when looking at the history of the file/repository. Instead, please write explanatory git commit messages.\r\n\r\nThe commit message is also the title of the PR if the PR has only one commit. It is thus twice important to have commit messages that are relevant, as PRs would be easier to understand and easier to analyze in search results.\r\n\r\nFor how to write good quality git commit messages, please consult https://cbea.ms/git-commit/ "
] | 2023-07-26T18:48:45 | 2023-07-27T13:41:22 | 2023-07-27T13:41:22 | NONE | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61402",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61402",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61402.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61402.patch",
"merged_at": null
} | Corrected typos in README
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61402/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61402/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61401 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61401/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61401/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61401/events | https://github.com/tensorflow/tensorflow/issues/61401 | 1,822,926,249 | I_kwDOArmXAs5sp6Wp | 61,401 | `tensorflow-cpu` 2.13.0 missing Mac ARM wheels | {
"login": "johnthagen",
"id": 10340167,
"node_id": "MDQ6VXNlcjEwMzQwMTY3",
"avatar_url": "https://avatars.githubusercontent.com/u/10340167?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/johnthagen",
"html_url": "https://github.com/johnthagen",
"followers_url": "https://api.github.com/users/johnthagen/followers",
"following_url": "https://api.github.com/users/johnthagen/following{/other_user}",
"gists_url": "https://api.github.com/users/johnthagen/gists{/gist_id}",
"starred_url": "https://api.github.com/users/johnthagen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/johnthagen/subscriptions",
"organizations_url": "https://api.github.com/users/johnthagen/orgs",
"repos_url": "https://api.github.com/users/johnthagen/repos",
"events_url": "https://api.github.com/users/johnthagen/events{/privacy}",
"received_events_url": "https://api.github.com/users/johnthagen/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": 1205765054,
"node_id": "MDU6TGFiZWwxMjA1NzY1MDU0",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/subtype:macOS",
"name": "subtype:macOS",
"color": "b619ea",
"default": false,
"description": "macOS Build/Installation issues"
},
{
"id": 5508003926,
"node_id": "LA_kwDOArmXAs8AAAABSE14Vg",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13",
"name": "TF 2.13",
"color": "B13ACB",
"default": false,
"description": "For issues related to Tensorflow 2.13"
}
] | closed | false | {
"login": "Varsha-anjanappa",
"id": 137163810,
"node_id": "U_kgDOCCz0Ig",
"avatar_url": "https://avatars.githubusercontent.com/u/137163810?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Varsha-anjanappa",
"html_url": "https://github.com/Varsha-anjanappa",
"followers_url": "https://api.github.com/users/Varsha-anjanappa/followers",
"following_url": "https://api.github.com/users/Varsha-anjanappa/following{/other_user}",
"gists_url": "https://api.github.com/users/Varsha-anjanappa/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Varsha-anjanappa/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Varsha-anjanappa/subscriptions",
"organizations_url": "https://api.github.com/users/Varsha-anjanappa/orgs",
"repos_url": "https://api.github.com/users/Varsha-anjanappa/repos",
"events_url": "https://api.github.com/users/Varsha-anjanappa/events{/privacy}",
"received_events_url": "https://api.github.com/users/Varsha-anjanappa/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "Varsha-anjanappa",
"id": 137163810,
"node_id": "U_kgDOCCz0Ig",
"avatar_url": "https://avatars.githubusercontent.com/u/137163810?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Varsha-anjanappa",
"html_url": "https://github.com/Varsha-anjanappa",
"followers_url": "https://api.github.com/users/Varsha-anjanappa/followers",
"following_url": "https://api.github.com/users/Varsha-anjanappa/following{/other_user}",
"gists_url": "https://api.github.com/users/Varsha-anjanappa/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Varsha-anjanappa/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Varsha-anjanappa/subscriptions",
"organizations_url": "https://api.github.com/users/Varsha-anjanappa/orgs",
"repos_url": "https://api.github.com/users/Varsha-anjanappa/repos",
"events_url": "https://api.github.com/users/Varsha-anjanappa/events{/privacy}",
"received_events_url": "https://api.github.com/users/Varsha-anjanappa/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"Hi @johnthagen \r\n\r\nFor MAC m1 m2 which is having arm architecture, it automatically downloads ARM 64 wheels that can use cpu/gpu by default when tensorflow is installed. \r\n\r\nFor MACOS with intel chips tensorflow-cpu is available in the documentation.\r\n\r\nPlease refer the documentation on installing tensorflow [here](https://www.tensorflow.org/install/pip#macos) \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.",
"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/61401\">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/61401\">No</a>\n",
"non-cpu tensorflow for mac arm requires ml-dtypes 0.2.0, but JAX can use ml-dtypes-0.3.2, which then conflict. Hence it would be beneficial to be able to install tensorflow-cpu, since the tensorflow mac arm GPU/metal support is simply broken and unusable anyway."
] | 2023-07-26T18:13:21 | 2024-01-18T03:18:00 | 2023-08-05T12:45:44 | NONE | null | null | null | ### Issue type
Build/Install
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
binary
### TensorFlow version
2.13.0
### Custom code
No
### OS platform and distribution
macOS 13 ARM
### 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?
[`tensorflow` 2.13.0 added Mac ARM wheels](https://pypi.org/project/tensorflow/2.13.0/#files).
This allows Mac developers to use the standard `tensorflow` package rather than the `tensorflow-macos` package.
But in situations when CPU-only processing is needed, `tensorflow-cpu` is ideal (saving on network and disk usage). The problem is that `tensorflow-cpu` does not have Mac ARM wheels, so it cannot be used on that platform. This is important for teams with different architecture machines that want to share a common lock file produced by something like Poetry or `pip-tools`.
- https://pypi.org/project/tensorflow-cpu/2.13.0/#files
### Standalone code to reproduce the issue
```shell
python -m pip install tensorflow-cpu==2.13.0
```
### Relevant log output
```shell
ERROR: Could not find a version that satisfies the requirement tensorflow-cpu==2.13.0 (from versions: none)
ERROR: No matching distribution found for tensorflow-cpu==2.13.0
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61401/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61401/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61400 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61400/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61400/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61400/events | https://github.com/tensorflow/tensorflow/pull/61400 | 1,822,692,796 | PR_kwDOArmXAs5WdRRg | 61,400 | [NVIDIA TF] Avoid nullptr as row offsets to cusparseCreateCsr when rows != 0 | {
"login": "nluehr",
"id": 1873655,
"node_id": "MDQ6VXNlcjE4NzM2NTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/1873655?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nluehr",
"html_url": "https://github.com/nluehr",
"followers_url": "https://api.github.com/users/nluehr/followers",
"following_url": "https://api.github.com/users/nluehr/following{/other_user}",
"gists_url": "https://api.github.com/users/nluehr/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nluehr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nluehr/subscriptions",
"organizations_url": "https://api.github.com/users/nluehr/orgs",
"repos_url": "https://api.github.com/users/nluehr/repos",
"events_url": "https://api.github.com/users/nluehr/events{/privacy}",
"received_events_url": "https://api.github.com/users/nluehr/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"
},
{
"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 | [
"@cantonios, can you take a look?"
] | 2023-07-26T15:38:45 | 2023-07-28T18:27:22 | 2023-07-28T18:27:21 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61400",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61400",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61400.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61400.patch",
"merged_at": "2023-07-28T18:27:21"
} | As of CUDA 12.2 additional input validation allows NULL for the row offsets pointer only when rows=0. | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61400/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61400/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61399 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61399/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61399/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61399/events | https://github.com/tensorflow/tensorflow/pull/61399 | 1,822,415,498 | PR_kwDOArmXAs5WcVeI | 61,399 | [TFLite] Fix FlatBuffers package name in installed CMake files | {
"login": "daniel-lang",
"id": 6500514,
"node_id": "MDQ6VXNlcjY1MDA1MTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/6500514?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/daniel-lang",
"html_url": "https://github.com/daniel-lang",
"followers_url": "https://api.github.com/users/daniel-lang/followers",
"following_url": "https://api.github.com/users/daniel-lang/following{/other_user}",
"gists_url": "https://api.github.com/users/daniel-lang/gists{/gist_id}",
"starred_url": "https://api.github.com/users/daniel-lang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/daniel-lang/subscriptions",
"organizations_url": "https://api.github.com/users/daniel-lang/orgs",
"repos_url": "https://api.github.com/users/daniel-lang/repos",
"events_url": "https://api.github.com/users/daniel-lang/events{/privacy}",
"received_events_url": "https://api.github.com/users/daniel-lang/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 390482148,
"node_id": "MDU6TGFiZWwzOTA0ODIxNDg=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/awaiting%20review",
"name": "awaiting review",
"color": "bc3869",
"default": false,
"description": "Pull request awaiting review"
},
{
"id": 750616506,
"node_id": "MDU6TGFiZWw3NTA2MTY1MDY=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:lite",
"name": "comp:lite",
"color": "0052cc",
"default": false,
"description": "TF Lite related issues"
},
{
"id": 987666414,
"node_id": "MDU6TGFiZWw5ODc2NjY0MTQ=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/ready%20to%20pull",
"name": "ready to pull",
"color": "2cd643",
"default": false,
"description": "PR ready for merge process"
},
{
"id": 1169364259,
"node_id": "MDU6TGFiZWwxMTY5MzY0MjU5",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:XS",
"name": "size:XS",
"color": "adafea",
"default": false,
"description": "CL Change Size: Extra Small"
}
] | closed | false | {
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"@gbaned Is the approval of @NancyAngels enough to move it forward internally?",
"> @gbaned Is the approval of @NancyAngels enough to move it forward internally?\r\n\r\nHi @daniel-lang It required Googler approval, I have requested @qukhan to review. Thank you!"
] | 2023-07-26T13:24:26 | 2023-08-01T06:13:45 | 2023-07-31T17:35:31 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61399",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61399",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61399.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61399.patch",
"merged_at": "2023-07-31T17:35:31"
} | Similiar to #58677, the capitalization of FlatBuffers needs to match. Otherwise using TFLite via find_package() will fail to find FlatBuffers. | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61399/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61399/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61398 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61398/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61398/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61398/events | https://github.com/tensorflow/tensorflow/issues/61398 | 1,822,228,837 | I_kwDOArmXAs5snQFl | 61,398 | Failed building from source using clang compiler. Error: libtensorflow_framework.so.2 is a dangling symbolic link | {
"login": "vineel96",
"id": 16516666,
"node_id": "MDQ6VXNlcjE2NTE2NjY2",
"avatar_url": "https://avatars.githubusercontent.com/u/16516666?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vineel96",
"html_url": "https://github.com/vineel96",
"followers_url": "https://api.github.com/users/vineel96/followers",
"following_url": "https://api.github.com/users/vineel96/following{/other_user}",
"gists_url": "https://api.github.com/users/vineel96/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vineel96/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vineel96/subscriptions",
"organizations_url": "https://api.github.com/users/vineel96/orgs",
"repos_url": "https://api.github.com/users/vineel96/repos",
"events_url": "https://api.github.com/users/vineel96/events{/privacy}",
"received_events_url": "https://api.github.com/users/vineel96/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": 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": 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 | [
"Hi @vineel96 ,\r\n\r\nCould you please confirm your `./configure` setup. I am getting a different error though in both r2.13 and master.\r\n\r\n```\r\n(bazel) suryanarayanay@surya-ubuntu20:~/tensorflow$ ./configure \r\nbash: /home/suryanarayanay/miniconda3/lib/libtinfo.so.6: no version information available (required by bash)\r\nYou have bazel 6.1.0 installed.\r\nPlease specify the location of python. [Default is /home/suryanarayanay/miniconda3/envs/bazel/bin/python3]: \r\n\r\n\r\nFound possible Python library paths:\r\n /home/suryanarayanay/miniconda3/envs/bazel/lib/python3.9/site-packages\r\nPlease input the desired Python library path to use. Default is [/home/suryanarayanay/miniconda3/envs/bazel/lib/python3.9/site-packages]\r\n\r\nDo you wish to build TensorFlow with ROCm support? [y/N]: \r\nNo ROCm support will be enabled for TensorFlow.\r\n\r\nDo you wish to build TensorFlow with CUDA support? [y/N]: \r\nNo CUDA support will be enabled for TensorFlow.\r\n\r\nDo you want to use Clang to build TensorFlow? [Y/n]: \r\nClang will be used to compile TensorFlow.\r\n\r\nPlease specify the path to clang executable. [Default is /usr/lib/llvm-16/bin/clang]: \r\n\r\n\r\nWARNING: current clang installation is not a release version.\r\n\r\nTraceback (most recent call last):\r\n File \"/home/suryanarayanay/tensorflow/./configure.py\", line 1466, in <module>\r\n main()\r\n File \"/home/suryanarayanay/tensorflow/./configure.py\", line 1417, in main\r\n disable_clang16_offsetof_extension(clang_version)\r\n File \"/home/suryanarayanay/tensorflow/./configure.py\", line 886, in disable_clang16_offsetof_extension\r\n if int(clang_version.split('.')[0]) == 16:\r\nAttributeError: 'NoneType' object has no attribute 'split'\r\n(bazel) suryanarayanay@surya-ubuntu20:~/tensorflow$ git checkout r2.13\r\nUpdating files: 100% (6178/6178), done.\r\nSwitched to branch 'r2.13'\r\nYour branch is up to date with 'origin/r2.13'.\r\n(bazel) suryanarayanay@surya-ubuntu20:~/tensorflow$ ./configure\r\nbash: /home/suryanarayanay/miniconda3/lib/libtinfo.so.6: no version information available (required by bash)\r\nYou have bazel 5.3.0 installed.\r\nPlease specify the location of python. [Default is /home/suryanarayanay/miniconda3/envs/bazel/bin/python3]: \r\n\r\n\r\nFound possible Python library paths:\r\n /home/suryanarayanay/miniconda3/envs/bazel/lib/python3.9/site-packages\r\nPlease input the desired Python library path to use. Default is [/home/suryanarayanay/miniconda3/envs/bazel/lib/python3.9/site-packages]\r\n\r\nDo you wish to build TensorFlow with ROCm support? [y/N]: \r\nNo ROCm support will be enabled for TensorFlow.\r\n\r\nDo you wish to build TensorFlow with CUDA support? [y/N]: \r\nNo CUDA support will be enabled for TensorFlow.\r\n\r\nDo you wish to download a fresh release of clang? (Experimental) [y/N]: y\r\nClang will be downloaded and used to compile tensorflow.\r\n\r\nPlease specify optimization flags to use during compilation when bazel option \"--config=opt\" is specified [Default is -Wno-sign-compare]: \r\n\r\n\r\nWould you like to interactively configure ./WORKSPACE for Android builds? [y/N]: \r\nNot configuring the WORKSPACE for Android builds.\r\n\r\nPreconfigured Bazel build configs. You can use any of the below by adding \"--config=<>\" to your build command. See .bazelrc for more details.\r\n --config=mkl # Build with MKL support.\r\n --config=mkl_aarch64 # Build with oneDNN and Compute Library for the Arm Architecture (ACL).\r\n --config=monolithic # Config for mostly static monolithic build.\r\n --config=numa # Build with NUMA support.\r\n --config=dynamic_kernels # (Experimental) Build kernels into separate shared objects.\r\n --config=v1 # Build with TensorFlow 1 API instead of TF 2 API.\r\nPreconfigured Bazel build configs to DISABLE default on features:\r\n --config=nogcp # Disable GCP support.\r\n --config=nonccl # Disable NVIDIA NCCL support.\r\nConfiguration finished\r\n(bazel) suryanarayanay@surya-ubuntu20:~/tensorflow$ bazel build --config=mkl --config=dbg --verbose_failures -c opt --copt=-march=native --spawn_strategy=sandboxed --sandbox_debug //tensorflow/tools/pip_package:build_pip_package\r\nERROR: Config value 'download_clang' is not defined in any .rc file\r\n(bazel) suryanarayanay@surya-ubuntu20:~/tensorflow$ \r\n```\r\n\r\n",
"This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.",
"This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further.",
"Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61398\">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/61398\">No</a>\n"
] | 2023-07-26T11:38:48 | 2023-08-16T01:46:41 | 2023-08-16T01:46:37 | NONE | null | null | null | ### System information
- **Have I written custom code (as opposed to using a stock example script
provided in TensorFlow)**: No
- **OS Platform and Distribution (e.g., Linux Ubuntu 16.04)**: Linux Ubuntu 20.04.6 LTS. Building on Intel x86 CPU
- **Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue
happens on a mobile device**:
- **TensorFlow installed from (source or binary)**: Source
- **TensorFlow version (use command below)**: 2.13
- **Python version**: 3.10.11
- **Bazel version (if compiling from source)**: 5.3.0
- **Clang/Compiler version (if compiling from source)**: Clang 16.0.6
- **CUDA/cuDNN version**: None (Building on Intel x86 CPU)
- **GPU model and memory**: None (Building on Intel x86 CPU)
- **Exact command to reproduce**:
bazel build --config=mkl --config=dbg --verbose_failures -c opt --copt=-march=native --spawn_strategy=sandboxed --sandbox_debug //tensorflow/tools/pip_package:build_pip_package
### Describe the problem
Error while building Tensorflow 2.13 from source with clang 16.0.6 and bazel 5.3.0. I am using the versions that were tested compatible from this link: https://www.tensorflow.org/install/source#tested_build_configurations.
Errors:
ERROR: /home/ubuntu/builds/tensorflow/tensorflow/BUILD:1134:21: declared output 'tensorflow/libtensorflow_framework.so.2' is a dangling symbolic link
ERROR: /home/ubuntu/builds/tensorflow/tensorflow/BUILD:1134:21: Executing genrule //tensorflow:libtensorflow_framework.so.2_sym [for host] failed: not all outputs were created or valid
### Source code / logs
Output from above command mentioned:
Starting local Bazel server and connecting to it...
INFO: Options provided by the client:
Inherited 'common' options: --isatty=1 --terminal_columns=121
INFO: Reading rc options for 'build' from /home/ubuntu/builds/tensorflow/.bazelrc:
Inherited 'common' options: --experimental_repo_remote_exec
INFO: Reading rc options for 'build' from /home/ubuntu/builds/tensorflow/.bazelrc:
'build' options: --define framework_shared_object=true --define tsl_protobuf_header_only=true --define=use_fast_cpp_protos=true --define=allow_oversize_protos=true --spawn_strategy=standalone -c opt --announce_rc --define=grpc_no_ares=true --noincompatible_remove_legacy_whole_archive --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 /home/ubuntu/builds/tensorflow/.tf_configure.bazelrc:
'build' options: --action_env PYTHON_BIN_PATH=/home/ubuntu/anaconda3/envs/tf_build/bin/python --action_env PYTHON_LIB_PATH=/home/ubuntu/anaconda3/envs/tf_build/lib/python3.10/site-packages --python_path=/home/ubuntu/anaconda3/envs/tf_build/bin/python
INFO: Reading rc options for 'build' from /home/ubuntu/builds/tensorflow/.bazelrc:
'build' options: --deleted_packages=tensorflow/compiler/mlir/tfrt,tensorflow/compiler/mlir/tfrt/benchmarks,tensorflow/compiler/mlir/tfrt/jit/python_binding,tensorflow/compiler/mlir/tfrt/jit/transforms,tensorflow/compiler/mlir/tfrt/python_tests,tensorflow/compiler/mlir/tfrt/tests,tensorflow/compiler/mlir/tfrt/tests/ir,tensorflow/compiler/mlir/tfrt/tests/analysis,tensorflow/compiler/mlir/tfrt/tests/jit,tensorflow/compiler/mlir/tfrt/tests/lhlo_to_tfrt,tensorflow/compiler/mlir/tfrt/tests/lhlo_to_jitrt,tensorflow/compiler/mlir/tfrt/tests/tf_to_corert,tensorflow/compiler/mlir/tfrt/tests/tf_to_tfrt_data,tensorflow/compiler/mlir/tfrt/tests/saved_model,tensorflow/compiler/mlir/tfrt/transforms/lhlo_gpu_to_tfrt_gpu,tensorflow/core/runtime_fallback,tensorflow/core/runtime_fallback/conversion,tensorflow/core/runtime_fallback/kernel,tensorflow/core/runtime_fallback/opdefs,tensorflow/core/runtime_fallback/runtime,tensorflow/core/runtime_fallback/util,tensorflow/core/tfrt/eager,tensorflow/core/tfrt/eager/backends/cpu,tensorflow/core/tfrt/eager/backends/gpu,tensorflow/core/tfrt/eager/core_runtime,tensorflow/core/tfrt/eager/cpp_tests/core_runtime,tensorflow/core/tfrt/gpu,tensorflow/core/tfrt/run_handler_thread_pool,tensorflow/core/tfrt/runtime,tensorflow/core/tfrt/saved_model,tensorflow/core/tfrt/graph_executor,tensorflow/core/tfrt/saved_model/tests,tensorflow/core/tfrt/tpu,tensorflow/core/tfrt/utils,tensorflow/core/tfrt/utils/debug
INFO: Found applicable config definition build:short_logs in file /home/ubuntu/builds/tensorflow/.bazelrc: --output_filter=DONT_MATCH_ANYTHING
INFO: Found applicable config definition build:v2 in file /home/ubuntu/builds/tensorflow/.bazelrc: --define=tf_api_version=2 --action_env=TF2_BEHAVIOR=1
INFO: Found applicable config definition build:mkl in file /home/ubuntu/builds/tensorflow/.bazelrc: --define=build_with_mkl=true --define=enable_mkl=true --define=tensorflow_mkldnn_contraction_kernel=0 --define=build_with_openmp=true -c opt
INFO: Found applicable config definition build:dbg in file /home/ubuntu/builds/tensorflow/.bazelrc: -c dbg --per_file_copt=+.*,-tensorflow.*@-g0 --per_file_copt=+tensorflow/core/kernels.*@-g0 --cxxopt -DTF_LITE_DISABLE_X86_NEON --copt -DDEBUG_BUILD
INFO: Found applicable config definition build:linux in file /home/ubuntu/builds/tensorflow/.bazelrc: --define=build_with_onednn_v3=true --host_copt=-w --copt=-Wno-all --copt=-Wno-extra --copt=-Wno-deprecated --copt=-Wno-deprecated-declarations --copt=-Wno-ignored-attributes --copt=-Wno-array-bounds --copt=-Wunused-result --copt=-Werror=unused-result --copt=-Wswitch --copt=-Werror=switch --copt=-Wno-error=unused-but-set-variable --define=PREFIX=/usr --define=LIBDIR=$(PREFIX)/lib --define=INCLUDEDIR=$(PREFIX)/include --define=PROTOBUF_INCLUDE_PATH=$(PREFIX)/include --cxxopt=-std=c++17 --host_cxxopt=-std=c++17 --config=dynamic_kernels --experimental_guard_against_concurrent_changes
INFO: Found applicable config definition build:dynamic_kernels in file /home/ubuntu/builds/tensorflow/.bazelrc: --define=dynamic_loaded_kernels=true --copt=-DAUTOLOAD_DYNAMIC_KERNELS
INFO: Analyzed target //tensorflow/tools/pip_package:build_pip_package (614 packages loaded, 38324 targets configured).
INFO: Found 1 target...
ERROR: /home/ubuntu/builds/tensorflow/tensorflow/BUILD:1134:21: declared output 'tensorflow/libtensorflow_framework.so.2' is a dangling symbolic link
ERROR: /home/ubuntu/builds/tensorflow/tensorflow/BUILD:1134:21: Executing genrule //tensorflow:libtensorflow_framework.so.2_sym [for host] failed: not all outputs were created or valid
1690366816.573675378: src/main/tools/linux-sandbox.cc:152: calling pipe(2)...
1690366816.573706039: src/main/tools/linux-sandbox.cc:171: calling clone(2)...
1690366816.573936717: src/main/tools/linux-sandbox.cc:180: linux-sandbox-pid1 has PID 52399
1690366816.573986443: src/main/tools/linux-sandbox-pid1.cc:650: Pid1Main started
1690366816.574047951: src/main/tools/linux-sandbox.cc:197: done manipulating pipes
1690366816.574187327: src/main/tools/linux-sandbox-pid1.cc:269: working dir: /home/ubuntu/.cache/bazel/_bazel_ubuntu/e773aae8e1619280c7c65ec2bcc4c4c5/sandbox/linux-sandbox/2934/execroot/org_tensorflow
1690366816.574204103: src/main/tools/linux-sandbox-pid1.cc:301: writable: /home/ubuntu/.cache/bazel/_bazel_ubuntu/e773aae8e1619280c7c65ec2bcc4c4c5/sandbox/linux-sandbox/2934/execroot/org_tensorflow
1690366816.574210697: src/main/tools/linux-sandbox-pid1.cc:301: writable: /tmp
1690366816.574216986: src/main/tools/linux-sandbox-pid1.cc:301: writable: /dev/shm
1690366816.574277494: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /
1690366816.574284725: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /dev
1690366816.574289479: src/main/tools/linux-sandbox-pid1.cc:371: remount rw: /dev/shm
1690366816.574294383: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /dev/pts
1690366816.574298736: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /dev/hugepages
1690366816.574303348: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /dev/mqueue
1690366816.574307631: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /sys
1690366816.574312050: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /sys/kernel/security
1690366816.574318166: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /sys/fs/cgroup
1690366816.574323186: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /sys/fs/cgroup/unified
1690366816.574328198: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /sys/fs/cgroup/systemd
1690366816.574333290: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /sys/fs/cgroup/hugetlb
1690366816.574337803: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /sys/fs/cgroup/freezer
1690366816.574342520: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /sys/fs/cgroup/misc
1690366816.574370614: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /sys/fs/cgroup/cpu,cpuacct
1690366816.574376364: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /sys/fs/cgroup/perf_event
1690366816.574380879: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /sys/fs/cgroup/blkio
1690366816.574385348: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /sys/fs/cgroup/devices
1690366816.574389735: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /sys/fs/cgroup/memory
1690366816.574394055: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /sys/fs/cgroup/cpuset
1690366816.574398740: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /sys/fs/cgroup/net_cls,net_prio
1690366816.574403141: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /sys/fs/cgroup/pids
1690366816.574407626: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /sys/fs/cgroup/rdma
1690366816.574412563: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /sys/fs/pstore
1690366816.574417748: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /sys/fs/bpf
1690366816.574422147: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /sys/kernel/debug
1690366816.574427574: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /sys/kernel/tracing
1690366816.574453517: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /sys/fs/fuse/connections
1690366816.574459675: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /sys/kernel/config
1690366816.574464740: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /proc
1690366816.574469467: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /proc/sys/fs/binfmt_misc
1690366816.574478344: src/main/tools/linux-sandbox-pid1.cc:391: remount(nullptr, /proc/sys/fs/binfmt_misc, nullptr, 2101281, nullptr) failure (Operation not permitted) ignored
1690366816.574487890: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /proc/sys/fs/binfmt_misc
1690366816.574499308: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /run
1690366816.574503860: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /run/lock
1690366816.574508265: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /run/snapd/ns
1690366816.574513396: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /run/user/1000
1690366816.574518358: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /snap/amazon-ssm-agent/6563
1690366816.574523566: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /boot/efi
1690366816.574528274: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /snap/amazon-ssm-agent/7497
1690366816.574547267: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /snap/snapd/19361
1690366816.574553038: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /snap/core18/2785
1690366816.574557467: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /snap/core20/1950
1690366816.574562111: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /snap/snapd/19457
1690366816.574566323: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /snap/core18/2751
1690366816.574570473: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /snap/core20/1974
1690366816.574574374: src/main/tools/linux-sandbox-pid1.cc:371: remount ro: /snap/lxd/24061
1690366816.574579365: src/main/tools/linux-sandbox-pid1.cc:371: remount rw: /home/ubuntu/.cache/bazel/_bazel_ubuntu/e773aae8e1619280c7c65ec2bcc4c4c5/sandbox/linux-sandbox/2934/execroot/org_tensorflow
1690366816.574585138: src/main/tools/linux-sandbox-pid1.cc:371: remount rw: /home/ubuntu/.cache/bazel/_bazel_ubuntu/e773aae8e1619280c7c65ec2bcc4c4c5/sandbox/linux-sandbox/2934/execroot/org_tensorflow
1690366816.574589762: src/main/tools/linux-sandbox-pid1.cc:371: remount rw: /tmp
1690366816.574594138: src/main/tools/linux-sandbox-pid1.cc:371: remount rw: /dev/shm
1690366816.574636966: src/main/tools/linux-sandbox-pid1.cc:460: calling fork...
1690366816.574760311: src/main/tools/linux-sandbox-pid1.cc:490: child started with PID 2
1690366816.583691390: src/main/tools/linux-sandbox-pid1.cc:507: wait returned pid=2, status=0x00
1690366816.583704145: src/main/tools/linux-sandbox-pid1.cc:525: child exited normally with code 0
1690366816.583952036: src/main/tools/linux-sandbox.cc:233: child exited normally with code 0
Target //tensorflow/tools/pip_package:build_pip_package failed to build
INFO: Elapsed time: 849.711s, Critical Path: 79.72s
INFO: 4142 processes: 1215 internal, 2927 linux-sandbox.
FAILED: Build did NOT complete successfully | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61398/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61398/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61397 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61397/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61397/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61397/events | https://github.com/tensorflow/tensorflow/pull/61397 | 1,822,046,342 | PR_kwDOArmXAs5WbFVU | 61,397 | ColumnReduceKernel: type casting fix and improvement | {
"login": "johnnkp",
"id": 22496821,
"node_id": "MDQ6VXNlcjIyNDk2ODIx",
"avatar_url": "https://avatars.githubusercontent.com/u/22496821?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/johnnkp",
"html_url": "https://github.com/johnnkp",
"followers_url": "https://api.github.com/users/johnnkp/followers",
"following_url": "https://api.github.com/users/johnnkp/following{/other_user}",
"gists_url": "https://api.github.com/users/johnnkp/gists{/gist_id}",
"starred_url": "https://api.github.com/users/johnnkp/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/johnnkp/subscriptions",
"organizations_url": "https://api.github.com/users/johnnkp/orgs",
"repos_url": "https://api.github.com/users/johnnkp/repos",
"events_url": "https://api.github.com/users/johnnkp/events{/privacy}",
"received_events_url": "https://api.github.com/users/johnnkp/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 390482148,
"node_id": "MDU6TGFiZWwzOTA0ODIxNDg=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/awaiting%20review",
"name": "awaiting review",
"color": "bc3869",
"default": false,
"description": "Pull request awaiting review"
},
{
"id": 987666414,
"node_id": "MDU6TGFiZWw5ODc2NjY0MTQ=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/ready%20to%20pull",
"name": "ready to pull",
"color": "2cd643",
"default": false,
"description": "PR ready for merge process"
},
{
"id": 1169364458,
"node_id": "MDU6TGFiZWwxMTY5MzY0NDU4",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:S",
"name": "size:S",
"color": "adafea",
"default": false,
"description": "CL Change Size: Small"
},
{
"id": 1478826728,
"node_id": "MDU6TGFiZWwxNDc4ODI2NzI4",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:core",
"name": "comp:core",
"color": "024391",
"default": false,
"description": "issues related to core part of tensorflow"
}
] | closed | false | {
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"@sagunb I have addressed the review comments in my commits. Could you help to review them?",
"Here are the internal errors, @johnnkp can you please verify ? Thank you!\r\n\r\nTraceback (most recent call last):\r\n File \"/py/absl/testing/parameterized.py\", line 321, in bound_param_test\r\n return test_method(self, *testcase_params)\r\n File \"/py/absl/testing/flagsaver.py\", line 288, in _flagsaver_wrapper\r\n return func(*args, **kwargs)\r\n File \"/tensorflow/python/tpu/google/sparse_core/tpu_embedding_v3_test.py\", line 610, in test_single_feature_single_table_lookup_with_csr_input_with_minibatching\r\n result = test_fn()\r\n File \"/tensorflow/python/util/traceback_utils.py\", line 141, in error_handler\r\n return fn(*args, **kwargs)\r\n File \"/tensorflow/python/eager/polymorphic_function/polymorphic_function.py\", line 831, in __call__\r\n result = self._call(*args, **kwds)\r\n File \"/tensorflow/python/eager/polymorphic_function/polymorphic_function.py\", line 904, in _call\r\n return tracing_compilation.call_function(\r\n File \"/tensorflow/python/eager/polymorphic_function/tracing_compilation.py\", line 139, in call_function\r\n return function._call_flat( # pylint: disable=protected-access\r\n File \"/tensorflow/python/eager/polymorphic_function/concrete_function.py\", line 1264, in _call_flat\r\n return self._inference_function.flat_call(args)\r\n File \"/tensorflow/python/eager/polymorphic_function/atomic_function.py\", line 217, in flat_call\r\n flat_outputs = self(*args)\r\n File \"/tensorflow/python/eager/polymorphic_function/atomic_function.py\", line 252, in __call__\r\n outputs = self._bound_context.call_function(\r\n File \"/tensorflow/python/eager/context.py\", line 1479, in call_function\r\n outputs = execute.execute(\r\n File \"/tensorflow/python/eager/execute.py\", line 60, in quick_execute\r\n tensors = pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name, op_name,\r\ngoogle3.third_party.tensorflow.python.framework.errors_impl.InternalError: Graph execution error:\r\n\r\nProgram or fatal error occurred; computation may be invalid: INTERNAL: Accelerator device halted prematurely, perhaps due to an on-device check-failure. Node 0 halted unexpectedly at tag:pc TensorCoreSequencer:1:0x9c (from TensorCoreSequencer:1:0x1cc): no debugging message found for this tag:pc. HLO: custom-call.1.cloned.call-done; HLO computation: main.13\r\n=== Source Location Trace: ===\r\nlearning/brain/tpu/runtime/hal/internal/tpu_program_termination_validation.cc:113\r\n [Op:__inference_test_fn_114479]",
"TPU errors may be related to old master branch commits. I don't have TPU. Once I finished compilation of 2.14, I will tell you the results.",
"@gbaned I am not able to finish compilation because of other errors. Can you run the internal test again?"
] | 2023-07-26T10:04:10 | 2023-08-06T20:57:27 | 2023-08-06T20:57:27 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61397",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61397",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61397.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61397.patch",
"merged_at": "2023-08-06T20:57:27"
} | This is a draft PR to fix https://github.com/tensorflow/tensorflow/issues/61357. Fixing a casting error and flatc MSVC link error. | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61397/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61397/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61396 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61396/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61396/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61396/events | https://github.com/tensorflow/tensorflow/issues/61396 | 1,822,039,513 | I_kwDOArmXAs5smh3Z | 61,396 | How to use the estimator interface to achieve cross-node training without using the strategy of tf itself | {
"login": "yeoways",
"id": 69454138,
"node_id": "MDQ6VXNlcjY5NDU0MTM4",
"avatar_url": "https://avatars.githubusercontent.com/u/69454138?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yeoways",
"html_url": "https://github.com/yeoways",
"followers_url": "https://api.github.com/users/yeoways/followers",
"following_url": "https://api.github.com/users/yeoways/following{/other_user}",
"gists_url": "https://api.github.com/users/yeoways/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yeoways/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yeoways/subscriptions",
"organizations_url": "https://api.github.com/users/yeoways/orgs",
"repos_url": "https://api.github.com/users/yeoways/repos",
"events_url": "https://api.github.com/users/yeoways/events{/privacy}",
"received_events_url": "https://api.github.com/users/yeoways/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 386191887,
"node_id": "MDU6TGFiZWwzODYxOTE4ODc=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response",
"name": "stat:awaiting response",
"color": "f4b400",
"default": false,
"description": "Status - Awaiting response from author"
},
{
"id": 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": 2012480497,
"node_id": "MDU6TGFiZWwyMDEyNDgwNDk3",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:docs-feature",
"name": "type:docs-feature",
"color": "159b2e",
"default": false,
"description": "Doc issues for new feature, or clarifications about functionality"
},
{
"id": 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": "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 | [
"@yeoways tf.estimator.RunConfig is a deprecated function of Estimator and it will be removed in future versions. Please have a look at [this](https://www.tensorflow.org/api_docs/python/tf/estimator/RunConfig) doc. \r\nCould you migrate from the deprecated apis to latest as it would not raise the bug. 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."
] | 2023-07-26T10:00:49 | 2023-08-12T01:45:44 | 2023-08-12T01:45:44 | NONE | null | null | null | ### Issue type
Documentation Feature Request
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
binary
### TensorFlow version
tf2.7
### Custom code
Yes
### OS platform and distribution
Linux Ubuntu 16.04
### Mobile device
_No response_
### Python version
python3.10
### Bazel version
5.1.1
### GCC/compiler version
9.4
### CUDA/cuDNN version
_No response_
### GPU model and memory
Tesla P100 12GB
### Current behavior?

Cross-node training can be achieved in this way in tf1. If I want to use the estimator interface for training, can I put server.target in a certain config (similar to tf.estimator.RunConfig)
### Standalone code to reproduce the issue
```shell
cluster_spec = tf.train.ClusterSpec({
'chief': ['172.20.21.189:1234'],
'worker': ['172.20.21.197:1234'],
})
simple_resolver = tf.distribute.cluster_resolver.SimpleClusterResolver(cluster_spec, task_type="chief",task_id=0)
is_per_host = tf.estimator.tpu.InputPipelineConfig.PER_HOST_V2
run_config = tf.estimator.tpu.RunConfig(
cluster=simple_resolver,
master=FLAGS.master,
model_dir=FLAGS.output_dir,
save_checkpoints_steps=FLAGS.save_checkpoints_steps,
tpu_config=tf.estimator.tpu.TPUConfig(
iterations_per_loop=FLAGS.iterations_per_loop,
num_shards=FLAGS.num_tpu_cores,
per_host_input_for_training=is_per_host))
I do this configuration in the estimator interface, but he doesn't seem to be training across nodes (multiple servers),It seems to only recognize local devices.
```
### Relevant log output
_No response_ | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61396/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61396/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61395 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61395/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61395/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61395/events | https://github.com/tensorflow/tensorflow/issues/61395 | 1,821,877,803 | I_kwDOArmXAs5sl6Yr | 61,395 | int8 tflite model allocate_tensors() silently stop python process. | {
"login": "bluesy7585",
"id": 26734213,
"node_id": "MDQ6VXNlcjI2NzM0MjEz",
"avatar_url": "https://avatars.githubusercontent.com/u/26734213?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bluesy7585",
"html_url": "https://github.com/bluesy7585",
"followers_url": "https://api.github.com/users/bluesy7585/followers",
"following_url": "https://api.github.com/users/bluesy7585/following{/other_user}",
"gists_url": "https://api.github.com/users/bluesy7585/gists{/gist_id}",
"starred_url": "https://api.github.com/users/bluesy7585/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bluesy7585/subscriptions",
"organizations_url": "https://api.github.com/users/bluesy7585/orgs",
"repos_url": "https://api.github.com/users/bluesy7585/repos",
"events_url": "https://api.github.com/users/bluesy7585/events{/privacy}",
"received_events_url": "https://api.github.com/users/bluesy7585/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 386191887,
"node_id": "MDU6TGFiZWwzODYxOTE4ODc=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response",
"name": "stat:awaiting response",
"color": "f4b400",
"default": false,
"description": "Status - Awaiting response from author"
},
{
"id": 473172988,
"node_id": "MDU6TGFiZWw0NzMxNzI5ODg=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug",
"name": "type:bug",
"color": "159b2e",
"default": false,
"description": "Bug"
},
{
"id": 750616506,
"node_id": "MDU6TGFiZWw3NTA2MTY1MDY=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:lite",
"name": "comp:lite",
"color": "0052cc",
"default": false,
"description": "TF Lite related issues"
},
{
"id": 1097543484,
"node_id": "MDU6TGFiZWwxMDk3NTQzNDg0",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:runtime",
"name": "comp:runtime",
"color": "0052cc",
"default": false,
"description": "c++ runtime, performance issues (cpu)"
},
{
"id": 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 | [
"I found a workaround for this issue. \r\ninstead of converting from tf to tflite, convert from keras to tflite works for me. (onnx > keras > tflite)\r\nonnx to keras conversion is done by onnx2keras package (pip install)\r\nkeras to tflite using the same code above (only replace with tf.lite.TFLiteConverter.from_keras_model)",
"Hi @bluesy7585 \r\n\r\nThanks for the workaround. \r\n\r\nI see the onnx-TF library has not been updated recently and the conversion to TF might be causing the issue.\r\n\r\nFeel free to close the issue since it is resolved.\r\n\r\nThanks.\r\n",
"Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61395\">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/61395\">No</a>\n"
] | 2023-07-26T08:43:02 | 2023-07-29T15:10:55 | 2023-07-29T15:10:52 | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
binary
### TensorFlow version
2.8.1, 2.13.0, '2.14.0-dev20230706'
### Custom code
Yes
### OS platform and distribution
Windows 11, Windows 10 WSL with 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 have converted a Resnet18 model from onnx to tflite. (onnx > tf > tflite)
onnx to tf conversion is done by this [repo](https://github.com/onnx/onnx-tensorflow)
tflite is converted to int8 precision using post-training integer quantization [link](https://www.tensorflow.org/lite/performance/post_training_integer_quant)
Netron can display the converted int8 model correctly.
onnx model & tflite model [link](https://drive.google.com/file/d/1XvxGt5GGFCO7h2FW69hgdYZ9noh5Svd4/view?usp=sharing)
tflite int8 model [link](https://drive.google.com/file/d/1bLjoawNnhQTy-DMsBGUEtF6mW3GLVN2F/view?usp=sharing)
but when I try to do inference. calling the method allocate_tensors() stop the python process without showing any error/warning.
if the tflite model is converted with fp32, this issue doesn't happen.
I have no idea how do to fix this issue or is there any workaround?
thanks
### Standalone code to reproduce the issue
```shell
## tf to tflite conversion
import tensorflow as tf
import numpy as np
saved_model_dir = 'resnet18'
tflite_model_path = saved_model_dir + '.tflite'
converter = tf.lite.TFLiteConverter.from_saved_model(saved_model_dir)
converter.optimizations = [tf.lite.Optimize.DEFAULT]
def representative_dataset_gen():
for _ in range(100):
data = np.random.rand(1, 3, 224, 224)
yield [data.astype(np.float32)]
converter.representative_dataset = representative_dataset_gen
converter.target_spec.supported_ops = [tf.lite.OpsSet.TFLITE_BUILTINS_INT8]
converter.inference_input_type = tf.int8
converter.inference_output_type = tf.int8
tflite_model = converter.convert()
# Save the model
with open(tflite_model_path, 'wb') as f:
f.write(tflite_model)
## inference time
import tensorflow as tf
interpreter = tf.lite.Interpreter(model_path="resnet18.tflite")
print('before')
interpreter.allocate_tensors()
print('after') # this line not displayed
```
### Relevant log output
```shell
# inference time output (tf 2.14.0-dev20230706)
WARNING:tensorflow:From C:\Users\AI\miniconda3\envs\tf\lib\site-packages\tensorflow\python\ops\distributions\distribution.py:259: ReparameterizationType.__init__ (from tensorflow.python.ops.distributions.distribution) is deprecated and will be removed after 2019-01-01.
Instructions for updating:
The TensorFlow Distributions library has moved to TensorFlow Probability (https://github.com/tensorflow/probability). You should update all references to use `tfp.distributions` instead of `tf.distributions`.
WARNING:tensorflow:From C:\Users\AI\miniconda3\envs\tf\lib\site-packages\tensorflow\python\ops\distributions\bernoulli.py:165: RegisterKL.__init__ (from tensorflow.python.ops.distributions.kullback_leibler) is deprecated and will be removed after 2019-01-01.
Instructions for updating:
The TensorFlow Distributions library has moved to TensorFlow Probability (https://github.com/tensorflow/probability). You should update all references to use `tfp.distributions` instead of `tf.distributions`.
before
INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
```
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61395/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61395/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61394 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61394/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61394/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61394/events | https://github.com/tensorflow/tensorflow/issues/61394 | 1,821,716,280 | I_kwDOArmXAs5slS84 | 61,394 | Cannot subclass dataset_ops.DatasetV2 | {
"login": "AyushExel",
"id": 15766192,
"node_id": "MDQ6VXNlcjE1NzY2MTky",
"avatar_url": "https://avatars.githubusercontent.com/u/15766192?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AyushExel",
"html_url": "https://github.com/AyushExel",
"followers_url": "https://api.github.com/users/AyushExel/followers",
"following_url": "https://api.github.com/users/AyushExel/following{/other_user}",
"gists_url": "https://api.github.com/users/AyushExel/gists{/gist_id}",
"starred_url": "https://api.github.com/users/AyushExel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AyushExel/subscriptions",
"organizations_url": "https://api.github.com/users/AyushExel/orgs",
"repos_url": "https://api.github.com/users/AyushExel/repos",
"events_url": "https://api.github.com/users/AyushExel/events{/privacy}",
"received_events_url": "https://api.github.com/users/AyushExel/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": 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": 474725938,
"node_id": "MDU6TGFiZWw0NzQ3MjU5Mzg=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stale",
"name": "stale",
"color": "d4c5f9",
"default": false,
"description": "This label marks the issue/pr stale - to be closed automatically if no activity"
},
{
"id": 1097547147,
"node_id": "MDU6TGFiZWwxMDk3NTQ3MTQ3",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:ops",
"name": "comp:ops",
"color": "0052cc",
"default": false,
"description": "OPs related issues"
},
{
"id": 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"
}
] | 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 | [
"@AyushExel,\r\nA Variant Tensor can be a Tensor of any data type. \r\n\r\n```\r\na = 1\r\nb = 2.0\r\nc = (1, 2)\r\nd = {\"a\": (2, 2), \"b\": 3}\r\ne = tf.data.Dataset.from_element(10)\r\n```\r\n\r\nCould you please find the explanation about **Variant Tensor** or **DT_Variant** in the following doc.\r\n\r\nhttps://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/framework/variant.h#L54\r\n\r\n```\r\n// This is an implementation of a type-erased container that can store an\r\n// object of any type. The implementation is very similar to std::any, but has\r\n// restrictions on the types of objects that can be stored, and eschews some of\r\n// the fancier constructors available for std::any. An object of\r\n// tensorflow::Variant is intended to be used as the value that will be stored\r\n// in a tensorflow::Tensor object when its type is DT_VARIANT.\r\n//\r\n// tensorflow::Variant can store an object of a class that satisfies the\r\n// following constraints:\r\n//\r\n```\r\n",
"@tilakrayal well so subclassing should work on initializing it the way I do in the example right? But that doesn't work. Then how can I subclass Datasetv2",
"Hi,\r\n\r\nPlease find the below implementation of subclassing `dataset_ops.DatasetV2`.\r\nhttps://github.com/tensorflow/tensorflow/blob/872f84d3e25377b47abef273121e351ddb5131ff/tensorflow/python/data/ops/choose_from_datasets_op.py#L32\r\n\r\nhttps://github.com/tensorflow/tensorflow/blob/872f84d3e25377b47abef273121e351ddb5131ff/tensorflow/python/data/ops/zip_op.py#L27",
"This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.",
"This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further."
] | 2023-07-26T06:59:17 | 2023-08-16T01:46:39 | 2023-08-16T01:46:39 | NONE | null | null | null | ### Issue type
Support
### Have you reproduced the bug with TensorFlow Nightly?
No
### Source
binary
### TensorFlow version
2.x
### Custom code
Yes
### OS platform and distribution
Mac OS 13.0
### 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?
Hi, I'm from LanceDB team and we're trying to build native support for tf.data. See WIP PR here https://github.com/lancedb/lance/pull/1087 .
Ideally, we'd like to simply subclass `tf.dataset_ops.DatasetV2` so that all the metadata needed to recreate the dataset can be pushed down to our file format that enabled parallelism elegantly.
So, it'd be something like this
```
class LanceTfDataset(dataset_ops.DatasetV2)
def __init__(self):
...
variant_tensor = tf.Tensor(self, (), dtype=tf.Variant)
super().__init__(variant_tensor)
```
The above code complains that can not create LanceTfDataset to tf.Tensor/variant.
Issue - what exactly is variant_tensor and how do we go about creating one? I read through the docs but couldn't find anything concrete. There was a mention that variant_tensor is a special tensor that tell about the type of the dataset and that it's equivalent to tf.Variant, but the above code doesn't work.
Having a version of tf.dataset that we can use to capture extra metadata would allow us to improve the interface as well:
so instead of lance.tf.data.from_dataset(uri, columns, filter, batch_size) we can just have from_lance(uri).filter(..).batch_size(...).shuffle().
So what's the way to go about subclassing tf Dataset?
### Standalone code to reproduce the issue
```shell
class LanceTfDataset(dataset_ops.DatasetV2)
def __init__(self):
...
variant_tensor = tf.Tensor(self, (), dtype=tf.Variant)
super().__init__(variant_tensor)
```
### Relevant log output
_No response_ | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61394/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61394/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61393 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61393/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61393/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61393/events | https://github.com/tensorflow/tensorflow/issues/61393 | 1,821,654,965 | I_kwDOArmXAs5slD-1 | 61,393 | Issues running Transformer model example with estimator api | {
"login": "ali-raza-tariq",
"id": 16830516,
"node_id": "MDQ6VXNlcjE2ODMwNTE2",
"avatar_url": "https://avatars.githubusercontent.com/u/16830516?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ali-raza-tariq",
"html_url": "https://github.com/ali-raza-tariq",
"followers_url": "https://api.github.com/users/ali-raza-tariq/followers",
"following_url": "https://api.github.com/users/ali-raza-tariq/following{/other_user}",
"gists_url": "https://api.github.com/users/ali-raza-tariq/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ali-raza-tariq/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ali-raza-tariq/subscriptions",
"organizations_url": "https://api.github.com/users/ali-raza-tariq/orgs",
"repos_url": "https://api.github.com/users/ali-raza-tariq/repos",
"events_url": "https://api.github.com/users/ali-raza-tariq/events{/privacy}",
"received_events_url": "https://api.github.com/users/ali-raza-tariq/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": 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": 1105108936,
"node_id": "MDU6TGFiZWwxMTA1MTA4OTM2",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:model",
"name": "comp:model",
"color": "0052cc",
"default": false,
"description": "Model related issues"
}
] | closed | false | {
"login": "SuryanarayanaY",
"id": 116063290,
"node_id": "U_kgDOBur8Og",
"avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SuryanarayanaY",
"html_url": "https://github.com/SuryanarayanaY",
"followers_url": "https://api.github.com/users/SuryanarayanaY/followers",
"following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}",
"gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions",
"organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs",
"repos_url": "https://api.github.com/users/SuryanarayanaY/repos",
"events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}",
"received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "SuryanarayanaY",
"id": 116063290,
"node_id": "U_kgDOBur8Og",
"avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SuryanarayanaY",
"html_url": "https://github.com/SuryanarayanaY",
"followers_url": "https://api.github.com/users/SuryanarayanaY/followers",
"following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}",
"gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions",
"organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs",
"repos_url": "https://api.github.com/users/SuryanarayanaY/repos",
"events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}",
"received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"Hi @ali-raza-tariq ,\r\n\r\nI am sorry to say that estimator API was not supported now and it will not work with TF2.x style code. Please refer to attached note below for same from the [source](https://www.tensorflow.org/guide/estimator).`\r\n\r\n> Warning: Estimators are not recommended for new code. Estimators run [v1.Session](https://www.tensorflow.org/api_docs/python/tf/compat/v1/Session)-style code which is more difficult to write correctly, and can behave unexpectedly, especially when combined with TF 2 code. Estimators do fall under our [compatibility guarantees](https://tensorflow.org/guide/versions), but will receive no fixes other than security vulnerabilities. See the [migration guide](https://tensorflow.org/guide/migrate) for details.\r\n\r\nHowever if you are passing non-python objects (like layers etc) you need to implement class method `from_config` to make them serializable. You may refer more details and a simple demo on how to implement `from_config` [here](https://www.tensorflow.org/guide/keras/serialization_and_saving#custom_objects). Since you are using layers in PatchEncoder class you must implement `from_config` class method.It may be of some help but still as the warning note suggested above it may or may not work with estimator API.\r\n\r\nThanks !\r\n\r\n\r\n\r\n`",
"@SuryanarayanaY thanks for responding quickly! I understand there might be some limitation to what we can achieve with Estimator using TF2.x code, unfortunately I am in a situation where I need to evaluate various models and other models were using Estimator Api (so to ensure fair enough comparison - its ideal to use the same training api). I will try my best to get it working unless i know for sure that it cannot be done this way. Anyway - thanks to your response i was able to correctly implement the serialization and move past the above error. But even though i am not having issue saving/loading the model - it complains about missing variable values from the saved checkpoints.\r\n\r\nthis is how i am training the model:\r\n```\r\nmodel_est = keras.estimator.model_to_estimator(keras_model=model, model_dir='.', config=run_config)\r\ntrain_spec = tf.estimator.TrainSpec(input_fn=train_input_fn, max_steps=100) \r\neval_spec = tf.estimator.EvalSpec(input_fn=eval_input_fn, throttle_secs=10)\r\ntf.estimator.train_and_evaluate(model_est, train_spec, eval_spec)\r\n``` \r\nand this is the error message i keep getting:\r\n```\r\nTraceback (most recent call last):\r\n File \"train.py\", line 266, in <module>\r\n history = run_experiment(vit_classifier)\r\n File \"train.py\", line 245, in run_experiment\r\n tf.estimator.train_and_evaluate(model_est, train_spec, eval_spec)\r\n File \"/home/nearchus/.local/lib/python3.8/site-packages/tensorflow/python/util/deprecation.py\", line 371, in new_func\r\n return func(*args, **kwargs)\r\n File \"/home/nearchus/.local/lib/python3.8/site-packages/tensorflow_estimator/python/estimator/training.py\", line 503, in train_and_evaluate\r\n return executor.run()\r\n File \"/home/nearchus/.local/lib/python3.8/site-packages/tensorflow_estimator/python/estimator/training.py\", line 644, in run\r\n return self.run_local()\r\n File \"/home/nearchus/.local/lib/python3.8/site-packages/tensorflow_estimator/python/estimator/training.py\", line 741, in run_local\r\n self._estimator.train(\r\n File \"/home/nearchus/.local/lib/python3.8/site-packages/tensorflow_estimator/python/estimator/estimator.py\", line 360, in train\r\n loss = self._train_model(input_fn, hooks, saving_listeners)\r\n File \"/home/nearchus/.local/lib/python3.8/site-packages/tensorflow_estimator/python/estimator/estimator.py\", line 1186, in _train_model\r\n return self._train_model_distributed(input_fn, hooks, saving_listeners)\r\n File \"/home/nearchus/.local/lib/python3.8/site-packages/tensorflow_estimator/python/estimator/estimator.py\", line 1247, in _train_model_distributed\r\n return self._actual_train_model_distributed(\r\n File \"/home/nearchus/.local/lib/python3.8/site-packages/tensorflow_estimator/python/estimator/estimator.py\", line 1360, in _actual_train_model_distributed\r\n return self._train_with_estimator_spec(estimator_spec, worker_hooks,\r\n File \"/home/nearchus/.local/lib/python3.8/site-packages/tensorflow_estimator/python/estimator/estimator.py\", line 1405, in _train_with_estimator_spec\r\n tf.compat.v1.train.warm_start(*self._warm_start_settings)\r\n File \"/home/nearchus/.local/lib/python3.8/site-packages/tensorflow/python/training/warm_starting_util.py\", line 467, in warm_start\r\n var_name_to_prev_var_name = _get_object_checkpoint_renames(\r\n File \"/home/nearchus/.local/lib/python3.8/site-packages/tensorflow/python/training/warm_starting_util.py\", line 397, in _get_object_checkpoint_renames\r\n raise ValueError(\r\nValueError: Attempting to warm-start from an object-based checkpoint, but found that the checkpoint did not contain values for all variables. The following variables were missing: {'kernel', 'bias', 'embeddings'}\r\n```\r\n\r\n\r\n",
"Hi @ali-raza-tariq ,\r\n\r\nWe are not supporting estimator API now. You may find similar issue from SO [here](https://stackoverflow.com/questions/63793180/tensorflow-checkpoint-variables-not-saved) for reference.\r\n\r\nPlease post the issue in Stack Overflow for support related issues where Community can also may be helpful.\r\n\r\nThank you!",
"I understand ... thank you for the help!",
"Are you satisfied with the resolution of your issue?\n<a href=\"https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61393\">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/61393\">No</a>\n"
] | 2023-07-26T06:13:33 | 2023-08-01T20:38:19 | 2023-08-01T20:38:16 | NONE | null | null | null | Hello everyone! I am trying to run an Image classification training example with Vision Transformer from keras examples (https://keras.io/examples/vision/image_classification_with_vision_transformer/). Everything ran perfectly when I ran it as it is but I started facing issues when i switched training from `model.fit()` to `tf.estimator.train_and_evaluate()` (ofcourse I made the appropriate changes to first convert model to estimator). From what I understand ... the problem lies with saving and reloading the model which is done by the estimator api. The model has custom classes:
```
class Patches(layers.Layer):
def __init__(self, patch_size, **kwargs):
super().__init__(**kwargs)
self.patch_size = patch_size
def call(self, images):
batch_size = tf.shape(images)[0]
patches = tf.image.extract_patches(
images=images,
sizes=[1, self.patch_size, self.patch_size, 1],
strides=[1, self.patch_size, self.patch_size, 1],
rates=[1, 1, 1, 1],
padding="VALID",
)
patch_dims = patches.shape[-1]
patches = tf.reshape(patches, [batch_size, -1, patch_dims])
return patches
## personal addition
def get_config(self):
base_config = super().get_config()
base_config.update({
'patch_size': self.patch_size,
})
return base_config
class PatchEncoder(layers.Layer):
def __init__(self, num_patches, projection_dim, **kwargs):
super().__init__(**kwargs)
self.num_patches = num_patches
self.projection = layers.Dense(units=projection_dim)
self.position_embedding = layers.Embedding(
input_dim=num_patches, output_dim=projection_dim
)
def call(self, patch):
positions = tf.range(start=0, limit=self.num_patches, delta=1)
encoded = self.projection(patch) + self.position_embedding(positions)
return encoded
## personal addition
def get_config(self):
base_config = super().get_config()
base_config.update({
'num_patches': self.num_patches,
'projection': self.projection,
'position_embedding': self.position_embedding
})
return base_config
```
From looking at some related issues, I found how we need to provide a `get_config()` method to save and reload the model with custom classes so I made small personal modifications but now its sort of giving me a different issue I am unable to understand.
Error Log:
```
warnings.warn(
x_train shape: (50000, 32, 32, 3) - y_train shape: (50000, 1)
x_test shape: (10000, 32, 32, 3) - y_test shape: (10000, 1)
WARNING:tensorflow:From train.py:225: RunConfig.__init__ (from tensorflow_estimator.python.estimator.run_config) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.keras instead.
/home/nearchus/.local/lib/python3.8/site-packages/keras/src/backend.py:452: UserWarning: `tf.keras.backend.set_learning_phase` is deprecated and will be removed after 2020-10-11. To update it, simply pass a True/False value to the `training` argument of the `__call__` method of your layer or model.
warnings.warn(
Traceback (most recent call last):
File "train.py", line 257, in <module>
history = run_experiment(vit_classifier)
File "train.py", line 231, in run_experiment
model_est = keras.estimator.model_to_estimator(keras_model=model, model_dir='.', config=run_config)
File "/home/nearchus/.local/lib/python3.8/site-packages/keras/src/estimator/__init__.py", line 376, in model_to_estimator_v2
return keras_lib.model_to_estimator(
File "/home/nearchus/.local/lib/python3.8/site-packages/tensorflow_estimator/python/estimator/keras_lib.py", line 725, in model_to_estimator
warm_start_path = _save_first_checkpoint(keras_model, custom_objects,
File "/home/nearchus/.local/lib/python3.8/site-packages/tensorflow_estimator/python/estimator/keras_lib.py", line 457, in _save_first_checkpoint
model = _clone_and_build_model(ModeKeys.TRAIN, keras_model,
File "/home/nearchus/.local/lib/python3.8/site-packages/tensorflow_estimator/python/estimator/keras_lib.py", line 230, in _clone_and_build_model
clone = tf.compat.v2.keras.__internal__.models.clone_and_build_model(
File "/home/nearchus/.local/lib/python3.8/site-packages/keras/src/models/cloning.py", line 806, in clone_and_build_model
clone = clone_model(model, input_tensors=input_tensors)
File "/home/nearchus/.local/lib/python3.8/site-packages/keras/src/models/cloning.py", line 539, in clone_model
return _clone_functional_model(
File "/home/nearchus/.local/lib/python3.8/site-packages/keras/src/models/cloning.py", line 222, in _clone_functional_model
model_configs, created_layers = _clone_layers_and_model_config(
File "/home/nearchus/.local/lib/python3.8/site-packages/keras/src/models/cloning.py", line 298, in _clone_layers_and_model_config
config = functional.get_network_config(
File "/home/nearchus/.local/lib/python3.8/site-packages/keras/src/engine/functional.py", line 1590, in get_network_config
layer_config = serialize_layer_fn(layer)
File "/home/nearchus/.local/lib/python3.8/site-packages/keras/src/models/cloning.py", line 295, in _copy_layer
created_layers[layer.name] = layer_fn(layer)
File "/home/nearchus/.local/lib/python3.8/site-packages/keras/src/models/cloning.py", line 52, in _clone_layer
return layer.__class__.from_config(layer.get_config())
File "train.py", line 108, in from_config
return cls(**config)
TypeError: __init__() missing 1 required positional argument: 'projection_dim'
```
I thought it might be because of `PatchEncoder` class constructor has custom objects as argument - so i tried to do serialization/deserialization but to no vail. In any case, I would highly appreciate if someone can guide me as to where I am going wrong in this!
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61393/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61393/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61392 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61392/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61392/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61392/events | https://github.com/tensorflow/tensorflow/pull/61392 | 1,821,362,018 | PR_kwDOArmXAs5WY1f- | 61,392 | [tosa] Align with the custom assembly format change. | {
"login": "tatwaichong",
"id": 78814694,
"node_id": "MDQ6VXNlcjc4ODE0Njk0",
"avatar_url": "https://avatars.githubusercontent.com/u/78814694?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tatwaichong",
"html_url": "https://github.com/tatwaichong",
"followers_url": "https://api.github.com/users/tatwaichong/followers",
"following_url": "https://api.github.com/users/tatwaichong/following{/other_user}",
"gists_url": "https://api.github.com/users/tatwaichong/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tatwaichong/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tatwaichong/subscriptions",
"organizations_url": "https://api.github.com/users/tatwaichong/orgs",
"repos_url": "https://api.github.com/users/tatwaichong/repos",
"events_url": "https://api.github.com/users/tatwaichong/events{/privacy}",
"received_events_url": "https://api.github.com/users/tatwaichong/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1173072136,
"node_id": "MDU6TGFiZWwxMTczMDcyMTM2",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:XL",
"name": "size:XL",
"color": "adafea",
"default": false,
"description": "CL Change Size:Extra Large"
}
] | closed | false | {
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"Kindly remind that https://reviews.llvm.org/D155231 has been merged, free feel to adopt this PR to match.",
"@tatwaichong Thank you for the patch! This week, I'm on a Google-internal rotation that bumps LLVM versions, and this will help big time. I'll land this change internally, and it'll bubble up to tensorflow/tensorflow soon.",
"Thanks your help. I've just rebased this PR and resolved the conflicts.",
"Close this PR as the change has been merged in a LLVM integration."
] | 2023-07-26T00:25:10 | 2023-08-24T00:04:01 | 2023-08-24T00:03:17 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61392",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61392",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61392.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61392.patch",
"merged_at": null
} | Synchronize to the change in mlir.
link to the PR https://reviews.llvm.org/D155231. | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61392/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61392/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61391 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61391/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61391/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61391/events | https://github.com/tensorflow/tensorflow/pull/61391 | 1,821,343,396 | PR_kwDOArmXAs5WYx3d | 61,391 | [oneDNN] Making hash map allocation a unique_ptr | {
"login": "jojivk73",
"id": 14943401,
"node_id": "MDQ6VXNlcjE0OTQzNDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/14943401?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jojivk73",
"html_url": "https://github.com/jojivk73",
"followers_url": "https://api.github.com/users/jojivk73/followers",
"following_url": "https://api.github.com/users/jojivk73/following{/other_user}",
"gists_url": "https://api.github.com/users/jojivk73/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jojivk73/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jojivk73/subscriptions",
"organizations_url": "https://api.github.com/users/jojivk73/orgs",
"repos_url": "https://api.github.com/users/jojivk73/repos",
"events_url": "https://api.github.com/users/jojivk73/events{/privacy}",
"received_events_url": "https://api.github.com/users/jojivk73/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": 1169364259,
"node_id": "MDU6TGFiZWwxMTY5MzY0MjU5",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/size:XS",
"name": "size:XS",
"color": "adafea",
"default": false,
"description": "CL Change Size: Extra Small"
}
] | closed | false | {
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
}
] | null | [] | 2023-07-25T23:59:26 | 2023-07-27T13:53:01 | 2023-07-27T13:53:01 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61391",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61391",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61391.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61391.patch",
"merged_at": "2023-07-27T13:53:01"
} | This change allocates hash map for kernel registry as a unique pointer. It avoids a possible memory leak. Fixes [60506](https://github.com/tensorflow/tensorflow/issues/60506) | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61391/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61391/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61390 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61390/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61390/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61390/events | https://github.com/tensorflow/tensorflow/issues/61390 | 1,821,011,132 | I_kwDOArmXAs5simy8 | 61,390 | Output mismatch between direct pass and looped pass through Dense layer | {
"login": "gergely-soti",
"id": 15652732,
"node_id": "MDQ6VXNlcjE1NjUyNzMy",
"avatar_url": "https://avatars.githubusercontent.com/u/15652732?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gergely-soti",
"html_url": "https://github.com/gergely-soti",
"followers_url": "https://api.github.com/users/gergely-soti/followers",
"following_url": "https://api.github.com/users/gergely-soti/following{/other_user}",
"gists_url": "https://api.github.com/users/gergely-soti/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gergely-soti/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gergely-soti/subscriptions",
"organizations_url": "https://api.github.com/users/gergely-soti/orgs",
"repos_url": "https://api.github.com/users/gergely-soti/repos",
"events_url": "https://api.github.com/users/gergely-soti/events{/privacy}",
"received_events_url": "https://api.github.com/users/gergely-soti/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": 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": "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 | [
"@gergely-soti I have tried to replicate the issue and faced [this](https://colab.research.google.com/gist/sushreebarsa/743b11062cfcd70da181a08c7163fb4d/61390.ipynb) different result as output. Could you please take a look and confirm the result as the issue reported ?\r\nThank you!",
"@sushreebarsa Thank you for checking the issue. I tried the provided Colab link, and initially, the problem was resolved. However, when I doubled the second dimension of the input tensor to (2, 16384, 42, 379), the problem reappeared.\r\n\r\nFYI: I used an RTX A6000 in my initial post",
"Hi @gergely-soti ,\r\n\r\nThe difference in outputs are related to precision errors on GPU. [tf.equal()](https://www.tensorflow.org/api_docs/python/tf/math/equal) is very specific to precision and there is no tolerance in it. Where as in [tf.debugging.assert_near()](https://www.tensorflow.org/api_docs/python/tf/debugging/assert_near) we have tolerance parameters` rtol()` and `mtol()` which made difference.\r\n\r\nSuppose if i pass `tf.debugging.assert_near(y1, y2,rtol=1.1920929e-05, atol=1.1920929e-05)` then there is no assertion error in Colab.Where as `tf.debugging.assert_near(y1, y2,rtol=1.1920929e-06, atol=1.1920929e-06)` raises `InvalidArgumentError`. Please refer to attached [gist](https://colab.sandbox.google.com/gist/SuryanarayanaY/ce33b6d8b16597b455f6c4878a13f7d4/61394_gpu.ipynb).\r\n\r\nEach GPU will have its own precision values and hence the outputs seems different but only to certain precision.\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 @SuryanarayanaY,\r\nI appreciate the clarification regarding the precision-related issues. While I understand that precision discrepancies can occur across different GPUs, I find it a bit surprising that the results differ even when the computations are performed on the same machine. Nevertheless, I understand the nature of these variations and will take them into account. Thank you for your assistance and explanation."
] | 2023-07-25T19:38:25 | 2023-08-10T09:55:42 | null | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
No
### Source
binary
### TensorFlow version
2.11.0
### Custom code
No
### 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
12.0
### GPU model and memory
_No response_
### Current behavior?
When passing a large 3D tensor hrough a Dense layer using two different methods, the outputs are not always equal. Specifically, when the input tensor is relatively small, e.g., (2, 128, 42, 128), the outputs are equal, but when the input tensor is larger, e.g., (2, 8192, 42, 379), the outputs differ.
The tf.debugging.assert_near(y1, y2) statement does not trigger any assertion errors.
### Standalone code to reproduce the issue
```shell
import tensorflow as tf
# create a random tensor
x = tf.random.uniform(shape=(2, 8192, 42, 379))
# create a dense layer
layer = tf.keras.layers.Dense(128)
# pass the input through the layer to get output
y1 = layer(x)
# pass the input using a for loop over the 3d dimension
y2 = tf.stack([layer(x[:, :, i, :]) for i in range(x.shape[2])], axis=2)
# check if the outputs are the same
print(tf.reduce_all(tf.equal(y1, y2)))
tf.debugging.assert_near(y1, y2)
```
### Relevant log output
_No response_ | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61390/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61390/timeline | null | null | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61389 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61389/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61389/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61389/events | https://github.com/tensorflow/tensorflow/pull/61389 | 1,820,996,050 | PR_kwDOArmXAs5WXmIX | 61,389 | Add TF_PYTHON_VERSION env var to set Python version in macOS arm64 CI | {
"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
} | [
{
"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-07-25T19:27:30 | 2023-07-25T23:15:04 | 2023-07-25T23:14:55 | MEMBER | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61389",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61389",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61389.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61389.patch",
"merged_at": "2023-07-25T23:14:55"
} | Now that [hermetic Python is enabled for TensorFlow](https://github.com/tensorflow/tensorflow/commit/e85860e8382a460a0dd8547a536e5eaaf9096a9f), we need to add the `TF_PYTHON_VERSION` to be able to set the Python version. This will also fix the currently [failing Python 3.9 and 3.11 macOS arm64 CI builds](https://tensorflow-ci.macstadium.com/job/tensorflow-as-build-nightly/).
cc: @cjflan @kulinseth | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61389/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61389/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61388 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61388/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61388/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61388/events | https://github.com/tensorflow/tensorflow/pull/61388 | 1,820,895,810 | PR_kwDOArmXAs5WXQHq | 61,388 | Bump certifi from 2023.5.7 to 2023.7.22 | {
"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": 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"
}
] | 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 certifi is up-to-date now, so this is no longer needed."
] | 2023-07-25T18:22:53 | 2023-07-25T19:46:06 | 2023-07-25T19:45:54 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61388",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61388",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61388.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61388.patch",
"merged_at": null
} | Bumps [certifi](https://github.com/certifi/python-certifi) from 2023.5.7 to 2023.7.22.
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/certifi/python-certifi/commit/8fb96ed81f71e7097ed11bc4d9b19afd7ea5c909"><code>8fb96ed</code></a> 2023.07.22</li>
<li><a href="https://github.com/certifi/python-certifi/commit/afe77220e0eaa722593fc5d294213ff5275d1b40"><code>afe7722</code></a> Bump actions/setup-python from 4.6.1 to 4.7.0 (<a href="https://redirect.github.com/certifi/python-certifi/issues/230">#230</a>)</li>
<li><a href="https://github.com/certifi/python-certifi/commit/2038739ad56abec7aaddfa90ad2ce6b3ed7f5c7b"><code>2038739</code></a> Bump dessant/lock-threads from 3.0.0 to 4.0.1 (<a href="https://redirect.github.com/certifi/python-certifi/issues/229">#229</a>)</li>
<li><a href="https://github.com/certifi/python-certifi/commit/44df761f4c09d19f32b3cc09208a739043a5e25b"><code>44df761</code></a> Hash pin Actions and enable dependabot (<a href="https://redirect.github.com/certifi/python-certifi/issues/228">#228</a>)</li>
<li>See full diff in <a href="https://github.com/certifi/python-certifi/compare/2023.05.07...2023.07.22">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 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/61388/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61388/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61387 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61387/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61387/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61387/events | https://github.com/tensorflow/tensorflow/pull/61387 | 1,820,696,905 | PR_kwDOArmXAs5WWlR5 | 61,387 | Limit the version of wrapt to be used to prevent unit test failures | {
"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": 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-07-25T16:24:46 | 2023-08-22T14:08:37 | 2023-07-25T18:58:05 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61387",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61387",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61387.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61387.patch",
"merged_at": "2023-07-25T18:58:05"
} | A change in the behaviour of wrapt ends up in a unit test failure for TensorFlow.
This can be removed once mitigation in TensorFlow is in place. https://github.com/tensorflow/tensorflow/issues/60687 and
https://github.com/GrahamDumpleton/wrapt/issues/231 This is an alternative and less intrusive fix to
https://github.com/tensorflow/tensorflow/pull/60688 which was inadvertently reverted by a mis-merge in another commit.
Also add pylint disable line for pre-existing pylint issue. | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61387/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61387/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61385 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61385/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61385/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61385/events | https://github.com/tensorflow/tensorflow/pull/61385 | 1,820,625,136 | PR_kwDOArmXAs5WWVlj | 61,385 | curl upgrade to 8.1.2 | {
"login": "justkw",
"id": 32109466,
"node_id": "MDQ6VXNlcjMyMTA5NDY2",
"avatar_url": "https://avatars.githubusercontent.com/u/32109466?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/justkw",
"html_url": "https://github.com/justkw",
"followers_url": "https://api.github.com/users/justkw/followers",
"following_url": "https://api.github.com/users/justkw/following{/other_user}",
"gists_url": "https://api.github.com/users/justkw/gists{/gist_id}",
"starred_url": "https://api.github.com/users/justkw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/justkw/subscriptions",
"organizations_url": "https://api.github.com/users/justkw/orgs",
"repos_url": "https://api.github.com/users/justkw/repos",
"events_url": "https://api.github.com/users/justkw/events{/privacy}",
"received_events_url": "https://api.github.com/users/justkw/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 | [] | 2023-07-25T15:43:13 | 2023-07-27T16:44:19 | 2023-07-27T16:44:18 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61385",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61385",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61385.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61385.patch",
"merged_at": "2023-07-27T16:44:18"
} | upgrade curl from 8.0.1 to 8.1.2 which has a few vulnerability fixes | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61385/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61385/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61384 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61384/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61384/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61384/events | https://github.com/tensorflow/tensorflow/pull/61384 | 1,820,495,609 | PR_kwDOArmXAs5WV5MK | 61,384 | [Linaro:ARM_CI] Reduce number of jobs run in parallel for 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": "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": "nitins17",
"id": 29348997,
"node_id": "MDQ6VXNlcjI5MzQ4OTk3",
"avatar_url": "https://avatars.githubusercontent.com/u/29348997?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nitins17",
"html_url": "https://github.com/nitins17",
"followers_url": "https://api.github.com/users/nitins17/followers",
"following_url": "https://api.github.com/users/nitins17/following{/other_user}",
"gists_url": "https://api.github.com/users/nitins17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nitins17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nitins17/subscriptions",
"organizations_url": "https://api.github.com/users/nitins17/orgs",
"repos_url": "https://api.github.com/users/nitins17/repos",
"events_url": "https://api.github.com/users/nitins17/events{/privacy}",
"received_events_url": "https://api.github.com/users/nitins17/received_events",
"type": "User",
"site_admin": false
},
{
"login": "penpornk",
"id": 38085909,
"node_id": "MDQ6VXNlcjM4MDg1OTA5",
"avatar_url": "https://avatars.githubusercontent.com/u/38085909?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/penpornk",
"html_url": "https://github.com/penpornk",
"followers_url": "https://api.github.com/users/penpornk/followers",
"following_url": "https://api.github.com/users/penpornk/following{/other_user}",
"gists_url": "https://api.github.com/users/penpornk/gists{/gist_id}",
"starred_url": "https://api.github.com/users/penpornk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/penpornk/subscriptions",
"organizations_url": "https://api.github.com/users/penpornk/orgs",
"repos_url": "https://api.github.com/users/penpornk/repos",
"events_url": "https://api.github.com/users/penpornk/events{/privacy}",
"received_events_url": "https://api.github.com/users/penpornk/received_events",
"type": "User",
"site_admin": false
},
{
"login": "gbaned",
"id": 48215717,
"node_id": "MDQ6VXNlcjQ4MjE1NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48215717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbaned",
"html_url": "https://github.com/gbaned",
"followers_url": "https://api.github.com/users/gbaned/followers",
"following_url": "https://api.github.com/users/gbaned/following{/other_user}",
"gists_url": "https://api.github.com/users/gbaned/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gbaned/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gbaned/subscriptions",
"organizations_url": "https://api.github.com/users/gbaned/orgs",
"repos_url": "https://api.github.com/users/gbaned/repos",
"events_url": "https://api.github.com/users/gbaned/events{/privacy}",
"received_events_url": "https://api.github.com/users/gbaned/received_events",
"type": "User",
"site_admin": false
}
] | null | [] | 2023-07-25T14:39:25 | 2023-08-22T14:08:37 | 2023-07-27T05:24:14 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61384",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61384",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61384.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61384.patch",
"merged_at": "2023-07-27T05:24:14"
} | Reduce the number of jobs run in parallel to limit the tendency to swap which results in long execution times. | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61384/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61384/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61383 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61383/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61383/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61383/events | https://github.com/tensorflow/tensorflow/pull/61383 | 1,820,449,194 | PR_kwDOArmXAs5WVvM- | 61,383 | [Linaro:ARM_CI] Switch to building with clang by default | {
"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": 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": "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": "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 | [
"@nSircombe @cfRod @MichaelHudgins ",
"Quick CI check:\r\n[Py+CPP Ubuntu GPU](https://source.cloud.google.com/results/invocations/c917391d-87e8-4b09-a8ad-2b4f8db522c4/log) failure is unrelated. (1 test timed out.)\r\n```\r\n//tensorflow/python/kernel_tests/linalg:cholesky_op_test_gpu TIMEOUT in 1 out of 5 in 462.4s\r\n```\r\n\r\n[ROCm](http://ml-ci.amd.com:21096/blue/organizations/jenkins/tensorflow%2Fgithub-prs-upstream-master%2FAMD-ROCm-Community-CI-Build/detail/PR-61383/1/pipeline/) failure is also unrelated. I've seen this error on other PRs as well.\r\n```\r\nERROR: /workspace/tensorflow/compiler/xla/service/gpu/BUILD:853:11: in deps attribute of cc_library rule //tensorflow/compiler/xla/service/gpu:gpu_executable: Label '//tensorflow/tsl/platform:random' is duplicated\r\n\r\nERROR: /workspace/tensorflow/compiler/xla/service/gpu/BUILD:853:11: Analysis of target '//tensorflow/compiler/xla/service/gpu:gpu_executable' failed\r\n```\r\n\r\n[Arm CI](https://github.com/tensorflow/tensorflow/actions/runs/5658018891) is still queued. We may want to wait until the CI is done and passing. \r\n\r\n[MacOS CPU](https://fusion2.corp.google.com/ci/kokoro/prod:tensorflow%2Frel%2Fmacos%2Fgithub_presubmit%2Fcpu_py39/activity/9793f0e5-2064-436b-a19a-b98cd447521e/log) is still running.",
"This PR is to check if it has any effect on the testing time for ARM_CI. If it does not have a significant positive effect then @cfRod is requesting that it be delayed until after the 2.14 branch cut, so that it will be picked up for 2.15.",
"[MacOS CPU](https://source.cloud.google.com/results/invocations/9793f0e5-2064-436b-a19a-b98cd447521e/targets) test passed.\r\n\r\nSome of the **Arm CI** jobs for this PR were killed (no workers took them within a day). But there is one that [got to run and passed](https://github.com/tensorflow/tensorflow/actions/runs/5657952172/job/15328184097). So I think it's safe to merge.\r\n\r\n@elfringham @cfRod What do you think of the testing time? Should we delay merging this until after TF 2.14 branch cut, or should this be in TF 2.14? \r\n",
"@penpornk There was no improvement in the testing time, also there are 5 unit tests that fail when built with clang, you can see them added in the skip list in this PR. So as there are known issues and it did not make the testing any quicker then I think it should be delayed until after the 2.14 branch cut.",
"@elfringham Got it. Thank you for the quick reply!",
"@penpornk @MichaelHudgins I just did a rebase and I think this should be OK to merge now please."
] | 2023-07-25T14:16:47 | 2023-08-09T08:08:09 | 2023-08-08T19:49:00 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61383",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61383",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61383.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61383.patch",
"merged_at": "2023-08-08T19:49:00"
} | Switch the default compiler used in AARCH64 CI runs to be clang and add some exclusions for tests that fail when built with clang. | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61383/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61383/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61382 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61382/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61382/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61382/events | https://github.com/tensorflow/tensorflow/issues/61382 | 1,820,361,575 | I_kwDOArmXAs5sgINn | 61,382 | `tensorflow-macos` 2.13.0 missing x86 wheels | {
"login": "johnthagen",
"id": 10340167,
"node_id": "MDQ6VXNlcjEwMzQwMTY3",
"avatar_url": "https://avatars.githubusercontent.com/u/10340167?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/johnthagen",
"html_url": "https://github.com/johnthagen",
"followers_url": "https://api.github.com/users/johnthagen/followers",
"following_url": "https://api.github.com/users/johnthagen/following{/other_user}",
"gists_url": "https://api.github.com/users/johnthagen/gists{/gist_id}",
"starred_url": "https://api.github.com/users/johnthagen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/johnthagen/subscriptions",
"organizations_url": "https://api.github.com/users/johnthagen/orgs",
"repos_url": "https://api.github.com/users/johnthagen/repos",
"events_url": "https://api.github.com/users/johnthagen/events{/privacy}",
"received_events_url": "https://api.github.com/users/johnthagen/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": 5508003926,
"node_id": "LA_kwDOArmXAs8AAAABSE14Vg",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13",
"name": "TF 2.13",
"color": "B13ACB",
"default": false,
"description": "For issues related to Tensorflow 2.13"
}
] | closed | false | {
"login": "sachinprasadhs",
"id": 73069040,
"node_id": "MDQ6VXNlcjczMDY5MDQw",
"avatar_url": "https://avatars.githubusercontent.com/u/73069040?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sachinprasadhs",
"html_url": "https://github.com/sachinprasadhs",
"followers_url": "https://api.github.com/users/sachinprasadhs/followers",
"following_url": "https://api.github.com/users/sachinprasadhs/following{/other_user}",
"gists_url": "https://api.github.com/users/sachinprasadhs/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sachinprasadhs/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sachinprasadhs/subscriptions",
"organizations_url": "https://api.github.com/users/sachinprasadhs/orgs",
"repos_url": "https://api.github.com/users/sachinprasadhs/repos",
"events_url": "https://api.github.com/users/sachinprasadhs/events{/privacy}",
"received_events_url": "https://api.github.com/users/sachinprasadhs/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "sachinprasadhs",
"id": 73069040,
"node_id": "MDQ6VXNlcjczMDY5MDQw",
"avatar_url": "https://avatars.githubusercontent.com/u/73069040?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sachinprasadhs",
"html_url": "https://github.com/sachinprasadhs",
"followers_url": "https://api.github.com/users/sachinprasadhs/followers",
"following_url": "https://api.github.com/users/sachinprasadhs/following{/other_user}",
"gists_url": "https://api.github.com/users/sachinprasadhs/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sachinprasadhs/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sachinprasadhs/subscriptions",
"organizations_url": "https://api.github.com/users/sachinprasadhs/orgs",
"repos_url": "https://api.github.com/users/sachinprasadhs/repos",
"events_url": "https://api.github.com/users/sachinprasadhs/events{/privacy}",
"received_events_url": "https://api.github.com/users/sachinprasadhs/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"Hi, \r\n\r\nThanks for reporting the issue.\r\n\r\nWe don't officially support the `tensorflow-macos` releases.\r\n\r\nYou can try installing the tensorflow for macOS using `pip install tensorflow` and it installs tensorflow-macos package as well.\r\nYou can refer to the download files for MacOS here https://pypi.org/project/tensorflow/#files",
"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/61382\">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/61382\">No</a>\n"
] | 2023-07-25T13:36:19 | 2023-08-07T18:15:55 | 2023-08-07T18:15:53 | NONE | null | null | null | ### Issue type
Build/Install
### Have you reproduced the bug with TensorFlow Nightly?
No
### Source
binary
### TensorFlow version
2.13.0
### Custom code
No
### OS platform and distribution
macOS 13 x86
### Mobile device
N/A
### 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?
`tensorflow-macos` 2.13.0 release is [missing x86 wheels for macOS](https://pypi.org/project/tensorflow-macos/2.13.0/#files). This means that using tools like [Poetry](https://python-poetry.org/) or [`pip-tools`](https://github.com/jazzband/pip-tools) to lock versions, it's not possible to use 2.13.0 because if it's locked to that version, it will fail to install on x86 Macs.
[x86 wheels were provided for 2.12.0](https://pypi.org/project/tensorflow-macos/2.12.0/#files).
### Standalone code to reproduce the issue
From an x86 macOS machine:
```shell
python -m pip install tensorflow-macos==2.13.0
```
### Relevant log output
```shell
ERROR: Could not find a version that satisfies the requirement tensorflow-macos==2.13.0 (from versions: 2.9.0, 2.9.1, 2.9.2, 2.10.0, 2.11.0, 2.12.0)
ERROR: No matching distribution found for tensorflow-macos==2.13.0
``` | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61382/reactions",
"total_count": 3,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61382/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61381 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61381/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61381/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61381/events | https://github.com/tensorflow/tensorflow/pull/61381 | 1,820,322,947 | PR_kwDOArmXAs5WVTld | 61,381 | [TFLite] Fix Android build with CMake | {
"login": "GoldFeniks",
"id": 14744013,
"node_id": "MDQ6VXNlcjE0NzQ0MDEz",
"avatar_url": "https://avatars.githubusercontent.com/u/14744013?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/GoldFeniks",
"html_url": "https://github.com/GoldFeniks",
"followers_url": "https://api.github.com/users/GoldFeniks/followers",
"following_url": "https://api.github.com/users/GoldFeniks/following{/other_user}",
"gists_url": "https://api.github.com/users/GoldFeniks/gists{/gist_id}",
"starred_url": "https://api.github.com/users/GoldFeniks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/GoldFeniks/subscriptions",
"organizations_url": "https://api.github.com/users/GoldFeniks/orgs",
"repos_url": "https://api.github.com/users/GoldFeniks/repos",
"events_url": "https://api.github.com/users/GoldFeniks/events{/privacy}",
"received_events_url": "https://api.github.com/users/GoldFeniks/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 390482148,
"node_id": "MDU6TGFiZWwzOTA0ODIxNDg=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/awaiting%20review",
"name": "awaiting review",
"color": "bc3869",
"default": false,
"description": "Pull request awaiting review"
},
{
"id": 750616506,
"node_id": "MDU6TGFiZWw3NTA2MTY1MDY=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/comp:lite",
"name": "comp:lite",
"color": "0052cc",
"default": false,
"description": "TF Lite related issues"
},
{
"id": 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 | [
"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/61381/checks?check_run_id=15326040817) 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 @alankelly Can you please review this PR ? Thank you!",
"Hi @alankelly Can you please review this PR ? Thank you!",
"Hi @alankelly Can you please review this PR ? Thank you!",
"Hi @alankelly Can you please review this PR ? Thank you!",
"Hi @alankelly Can you please review this PR ? Thank you!",
"Do we have any update on this?",
"@gbaned I no longer work on TFLite. Please assign to someone else.",
"Hi @yishuangP Can you please review this PR? Thank you!",
"Hi @yishuangP Can you please review this PR? Thank you!"
] | 2023-07-25T13:16:26 | 2024-06-07T16:10:16 | null | NONE | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61381",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61381",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61381.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61381.patch",
"merged_at": null
} | This PR addresses the following [issue](https://github.com/tensorflow/tensorflow/issues/61312).
Changes summary
* Sources in `core/async/interop/c`, `delegates/utils`, `async` are added to build
* libandroid is added to dependencies | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61381/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61381/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61380 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61380/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61380/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61380/events | https://github.com/tensorflow/tensorflow/pull/61380 | 1,820,122,342 | PR_kwDOArmXAs5WUnsE | 61,380 | Add additional xla parser fuzzer | {
"login": "DavidKorczynski",
"id": 657617,
"node_id": "MDQ6VXNlcjY1NzYxNw==",
"avatar_url": "https://avatars.githubusercontent.com/u/657617?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DavidKorczynski",
"html_url": "https://github.com/DavidKorczynski",
"followers_url": "https://api.github.com/users/DavidKorczynski/followers",
"following_url": "https://api.github.com/users/DavidKorczynski/following{/other_user}",
"gists_url": "https://api.github.com/users/DavidKorczynski/gists{/gist_id}",
"starred_url": "https://api.github.com/users/DavidKorczynski/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DavidKorczynski/subscriptions",
"organizations_url": "https://api.github.com/users/DavidKorczynski/orgs",
"repos_url": "https://api.github.com/users/DavidKorczynski/repos",
"events_url": "https://api.github.com/users/DavidKorczynski/events{/privacy}",
"received_events_url": "https://api.github.com/users/DavidKorczynski/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 390482148,
"node_id": "MDU6TGFiZWwzOTA0ODIxNDg=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/awaiting%20review",
"name": "awaiting review",
"color": "bc3869",
"default": false,
"description": "Pull request awaiting review"
},
{
"id": 987666414,
"node_id": "MDU6TGFiZWw5ODc2NjY0MTQ=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/ready%20to%20pull",
"name": "ready to pull",
"color": "2cd643",
"default": false,
"description": "PR ready for merge process"
},
{
"id": 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 | [
"CC @fcoUnda ",
"> I think you need to add \"/tensorflow/compiler/xla/service:hlo_parser\" to the BUILD target\r\n\r\nIt's working for me as is -- are you unable to build? The CI failures look to be unrelated to this change",
"I need to add it internally for it to work, but I can do it."
] | 2023-07-25T11:27:14 | 2023-08-16T18:38:20 | 2023-08-16T18:38:20 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/pulls/61380",
"html_url": "https://github.com/tensorflow/tensorflow/pull/61380",
"diff_url": "https://github.com/tensorflow/tensorflow/pull/61380.diff",
"patch_url": "https://github.com/tensorflow/tensorflow/pull/61380.patch",
"merged_at": "2023-08-16T18:38:20"
} | null | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61380/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61380/timeline | null | null | true |
https://api.github.com/repos/tensorflow/tensorflow/issues/61379 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61379/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61379/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61379/events | https://github.com/tensorflow/tensorflow/issues/61379 | 1,820,042,514 | I_kwDOArmXAs5se6US | 61,379 | PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target | {
"login": "Nithin061",
"id": 36626389,
"node_id": "MDQ6VXNlcjM2NjI2Mzg5",
"avatar_url": "https://avatars.githubusercontent.com/u/36626389?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Nithin061",
"html_url": "https://github.com/Nithin061",
"followers_url": "https://api.github.com/users/Nithin061/followers",
"following_url": "https://api.github.com/users/Nithin061/following{/other_user}",
"gists_url": "https://api.github.com/users/Nithin061/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Nithin061/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Nithin061/subscriptions",
"organizations_url": "https://api.github.com/users/Nithin061/orgs",
"repos_url": "https://api.github.com/users/Nithin061/repos",
"events_url": "https://api.github.com/users/Nithin061/events{/privacy}",
"received_events_url": "https://api.github.com/users/Nithin061/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": 1222092379,
"node_id": "MDU6TGFiZWwxMjIyMDkyMzc5",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/subtype:bazel",
"name": "subtype:bazel",
"color": "b619ea",
"default": false,
"description": "Bazel related Build_Installation 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 | [
"hi @SuryanarayanaY,\r\n\r\nCan youplease help m to resovle the issue"
] | 2023-07-25T10:34:34 | 2023-08-07T17:39:02 | null | NONE | null | null | null | ### Issue type
Build/Install
### Have you reproduced the bug with TensorFlow Nightly?
No
### Source
source
### TensorFlow version
v2.13.0
### Custom code
Yes
### OS platform and distribution
Linux
### Mobile device
_No response_
### Python version
3.8
### Bazel version
5.3.0
### GCC/compiler version
9.4.0
### CUDA/cuDNN version
_No response_
### GPU model and memory
_No response_
### Current behavior?
```
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/pilotfiber.dl.sourceforge.net/project/giflib/giflib-5.2.1.tar.gz failed: class javax.net.ssl.SSLHandshakeException PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
WARNING: Download from https://pilotfiber.dl.sourceforge.net/project/giflib/giflib-5.2.1.tar.gz failed: class javax.net.ssl.SSLHandshakeException PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
ERROR: An error occurred during the fetch of repository 'gif':
Traceback (most recent call last):
File "/home/hvn1kor/mnt/ws/tensorflow/third_party/repo.bzl", line 73, column 33, in _tf_http_archive_impl
ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error downloading [https://storage.googleapis.com/mirror.tensorflow.org/pilotfiber.dl.sourceforge.net/project/giflib/giflib-5.2.1.tar.gz, https://pilotfiber.dl.sourceforge.net/project/giflib/giflib-5.2.1.tar.gz] to /home/hvn1kor/.cache/bazel/_bazel_hvn1kor/91c0f0c6277b7e83e39dca13c8fc40a9/external/gif/temp6645244175742553415/giflib-5.2.1.tar.gz: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
ERROR: /home/hvn1kor/mnt/ws/tensorflow/WORKSPACE:15:14: fetching _tf_http_archive rule //external:gif: Traceback (most recent call last): File "/home/hvn1kor/mnt/ws/tensorflow/third_party/repo.bzl", line 73, column 33, in _tf_http_archive_impl
ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error downloading [https://storage.googleapis.com/mirror.tensorflow.org/pilotfiber.dl.sourceforge.net/project/giflib/giflib-5.2.1.tar.gz, https://pilotfiber.dl.sourceforge.net/project/giflib/giflib-5.2.1.tar.gz] to /home/hvn1kor/.cache/bazel/_bazel_hvn1kor/91c0f0c6277b7e83e39dca13c8fc40a9/external/gif/temp6645244175742553415/giflib-5.2.1.tar.gz: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
ERROR: /home/hvn1kor/mnt/ws/tensorflow/tensorflow/tools/pip_package/BUILD:205:10: //tensorflow/tools/pip_package:licenses depends on @gif//:COPYING in repository @gif which failed to fetch. no such package '@gif//': java.io.IOException: Error downloading [https://storage.googleapis.com/mirror.tensorflow.org/pilotfiber.dl.sourceforge.net/project/giflib/giflib-5.2.1.tar.gz, https://pilotfiber.dl.sourceforge.net/project/giflib/giflib-5.2.1.tar.gz] to /home/hvn1kor/.cache/bazel/_bazel_hvn1kor/91c0f0c6277b7e83e39dca13c8fc40a9/external/gif/temp6645244175742553415/giflib-5.2.1.tar.gz: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
ERROR: Analysis of target '//tensorflow/tools/pip_package:build_pip_package' failed; build aborted:
INFO: Elapsed time: 35.731s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (1 packages loaded, 4 targets configured)
```
### Standalone code to reproduce the issue
```shell
bazel build //tensorflow/tools/pip_package:build_pip_package
```
### Relevant log output
_No response_ | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61379/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61379/timeline | null | null | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61378 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61378/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61378/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61378/events | https://github.com/tensorflow/tensorflow/issues/61378 | 1,820,018,652 | I_kwDOArmXAs5se0fc | 61,378 | Cannot type "I Accept" to extract from hexagon_nn_skel | {
"login": "yx-chan131",
"id": 68681893,
"node_id": "MDQ6VXNlcjY4NjgxODkz",
"avatar_url": "https://avatars.githubusercontent.com/u/68681893?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yx-chan131",
"html_url": "https://github.com/yx-chan131",
"followers_url": "https://api.github.com/users/yx-chan131/followers",
"following_url": "https://api.github.com/users/yx-chan131/following{/other_user}",
"gists_url": "https://api.github.com/users/yx-chan131/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yx-chan131/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yx-chan131/subscriptions",
"organizations_url": "https://api.github.com/users/yx-chan131/orgs",
"repos_url": "https://api.github.com/users/yx-chan131/repos",
"events_url": "https://api.github.com/users/yx-chan131/events{/privacy}",
"received_events_url": "https://api.github.com/users/yx-chan131/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 386191887,
"node_id": "MDU6TGFiZWwzODYxOTE4ODc=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response",
"name": "stat:awaiting response",
"color": "f4b400",
"default": false,
"description": "Status - Awaiting response from author"
},
{
"id": 474725938,
"node_id": "MDU6TGFiZWw0NzQ3MjU5Mzg=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stale",
"name": "stale",
"color": "d4c5f9",
"default": false,
"description": "This label marks the issue/pr stale - to be closed automatically if no activity"
},
{
"id": 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 | [
"@yx-chan131 \r\nIn order to expedite the trouble-shooting process here, could you please fill the issue [template](https://github.com/tensorflow/tensorflow/issues/new/choose),\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.",
"Did you find a solution for this?",
"If you are running it directly in adb, don't do that. Run directly on desktop (my case a Mac).\r\n```bash\r\nchmod +x tflite_hexagon_nn_skel_v1.20.0.1.run\r\n./tflite_hexagon_nn_skel_v1.20.0.1.run\r\n```"
] | 2023-07-25T10:22:46 | 2023-08-21T09:39:20 | 2023-08-09T01:51:55 | NONE | null | null | null | Workflow:
1. download hexagon_nn_skel.run from [this link](https://storage.cloud.google.com/download.tensorflow.org/tflite/hexagon_nn_skel_v1.20.0.1.run)
2. adb push to /data/local/tmp
3. run cmd: chmod +x tflite_hexagon_nn_skel_v1.20.0.1.run
4. run cmd: .\tflite_hexagon_nn_skel_v1.20.0.1.run
5. **Extraction aborted**:

Problem:
After the program shows "**_Type "I ACCEPT" if you agree to the terms of the license:_**", it didn't give me time to type "I ACCEPT", and hence extraction aborted.
| {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61378/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61378/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61377 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61377/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61377/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61377/events | https://github.com/tensorflow/tensorflow/issues/61377 | 1,819,961,845 | I_kwDOArmXAs5semn1 | 61,377 | `configure`: Error in detecting CUDA toolkit path | {
"login": "sorousherafat",
"id": 71870584,
"node_id": "MDQ6VXNlcjcxODcwNTg0",
"avatar_url": "https://avatars.githubusercontent.com/u/71870584?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sorousherafat",
"html_url": "https://github.com/sorousherafat",
"followers_url": "https://api.github.com/users/sorousherafat/followers",
"following_url": "https://api.github.com/users/sorousherafat/following{/other_user}",
"gists_url": "https://api.github.com/users/sorousherafat/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sorousherafat/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sorousherafat/subscriptions",
"organizations_url": "https://api.github.com/users/sorousherafat/orgs",
"repos_url": "https://api.github.com/users/sorousherafat/repos",
"events_url": "https://api.github.com/users/sorousherafat/events{/privacy}",
"received_events_url": "https://api.github.com/users/sorousherafat/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 404586594,
"node_id": "MDU6TGFiZWw0MDQ1ODY1OTQ=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20tensorflower",
"name": "stat:awaiting tensorflower",
"color": "f4b400",
"default": false,
"description": "Status - Awaiting response from tensorflower"
},
{
"id": 473173351,
"node_id": "MDU6TGFiZWw0NzMxNzMzNTE=",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/type:build/install",
"name": "type:build/install",
"color": "159b2e",
"default": false,
"description": "Build and install issues"
},
{
"id": 1205615612,
"node_id": "MDU6TGFiZWwxMjA1NjE1NjEy",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/subtype:%20ubuntu/linux",
"name": "subtype: ubuntu/linux",
"color": "b619ea",
"default": false,
"description": "Ubuntu/Linux Build/Installation Issues"
}
] | open | false | {
"login": "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 @sorousherafat ,\r\n\r\nCould you please confirm the steps you followed to install cuda toolkit ?\r\n\r\nThank you!",
"Hello,\n\nIt was just a simple\n\n```bash\nsudo apt install nvidia-cuda-toolkit\n```\n\nThanks in advance.",
"@DEKHTIARJonathan , Could you please take a look into this, this seems to be related with CUDA toolkit path. Thanks!",
"Confirmed on Debian 12.\r\n\r\n> Tensorflow 2.15\r\nDebian 12\r\nPython 3.11\r\nBazel 4.2.3\r\nGCC 12.2\r\nCuda 11.8\r\nCuDNN 8.5\r\n\r\nIt looks like a similar [issue](https://github.com/tensorflow/tensorflow/pull/21499) was fixed six years ago, so maybe this is a regression."
] | 2023-07-25T09:56:31 | 2024-02-14T21:36:30 | null | NONE | null | null | null | ### Issue type
Build/Install
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
source
### TensorFlow version
3b205a3
### Custom code
Yes
### OS platform and distribution
Linux Ubuntu 23.04
### Python version
3.11
### Bazel version
4.2.3
### GCC/compiler version
12.2.0
### CUDA/cuDNN version
11.8
### GPU model and memory
GTX 1050 Ti - 4 GB
### Current behavior?
I am trying to using `configure` script before building Tensorflow from source.
When I am trying to configure CUDA support using default list of base paths to look for CUDA libraries and headers, I get the following error:
```out
Inconsistent CUDA toolkit path: /usr vs /usr/lib
```
I have included the path of each tool in the next section.
I have tried different combinations for list of base paths and even changed `third_party/gpus/find_cuda_config.py` file to add default subdirectory paths but still get this error.
### Standalone code to reproduce the issue
Here's where everything is installed:
```bash
$ locate cuda.h
```
returns:
```out
/usr/include/cuda.h
```
and
```bash
$ which nvcc
```
returns:
```out
/usr/bin/nvcc
```
and
```bash
$ locate libcudart.so.11
```
returns:
```out
/usr/lib/x86_64-linux-gnu/libcudart.so.11.0
/usr/lib/x86_64-linux-gnu/libcudart.so.11.8.89
```
and
```bash
$ locate -r libdevice*.10.bc
```
returns:
```out
/usr/lib/nvidia-cuda-toolkit/libdevice/libdevice.10.bc
```
### Relevant log output
_No response_ | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61377/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61377/timeline | null | null | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61376 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61376/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61376/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61376/events | https://github.com/tensorflow/tensorflow/issues/61376 | 1,819,789,470 | I_kwDOArmXAs5sd8ie | 61,376 | OneDNN logs are not printing while building TF with --config=mkl_aarch64 | {
"login": "deepeshfujitsu",
"id": 135832797,
"node_id": "U_kgDOCBik3Q",
"avatar_url": "https://avatars.githubusercontent.com/u/135832797?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/deepeshfujitsu",
"html_url": "https://github.com/deepeshfujitsu",
"followers_url": "https://api.github.com/users/deepeshfujitsu/followers",
"following_url": "https://api.github.com/users/deepeshfujitsu/following{/other_user}",
"gists_url": "https://api.github.com/users/deepeshfujitsu/gists{/gist_id}",
"starred_url": "https://api.github.com/users/deepeshfujitsu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/deepeshfujitsu/subscriptions",
"organizations_url": "https://api.github.com/users/deepeshfujitsu/orgs",
"repos_url": "https://api.github.com/users/deepeshfujitsu/repos",
"events_url": "https://api.github.com/users/deepeshfujitsu/events{/privacy}",
"received_events_url": "https://api.github.com/users/deepeshfujitsu/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": 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": 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 | [
"@tilakrayal I see the same issue when I tried compiling latest TFv2.13 from source on Graviton(ARM) with the latest CLANG 16 compiler and with --config=mkl_aarch64. The compilation goes through, but when we run some TF application, we are not able to see any OneDNN logs even with **export ONEDNN_VERBOSE=1** set.",
"we are getting onednn_logs after setting two flags:\r\n\r\nexport ONEDNN_VERBOSE=1\r\n\r\nexport TF_ENABLE_ONEDNN_OPTS=1",
"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/61376\">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/61376\">No</a>\n"
] | 2023-07-25T08:13:21 | 2023-07-26T03:55:18 | 2023-07-26T03:55:16 | NONE | null | null | null | ### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
source
### TensorFlow version
2.13.0
### Custom code
Yes
### OS platform and distribution
Ubuntu 22.04.2 LTS
### Mobile device
_No response_
### Python version
3.10.6
### Bazel version
6.3
### GCC/compiler version
11.3.0
### CUDA/cuDNN version
_No response_
### GPU model and memory
_No response_
### Current behavior?
I am expecting OneDNN logs should print while running deep learning model such as resnet50, if we export ONEDNN_VERBOSE=1
### Standalone code to reproduce the issue
```shell
To reproduce same, we have to build TF on Arm CPU, and use following command to build:
bazel build --config=mkl_aarch64 //tensorflow/tools/pip_package:build_pip_package
```
### Relevant log output
_No response_ | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61376/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/61376/timeline | null | completed | false |
https://api.github.com/repos/tensorflow/tensorflow/issues/61375 | https://api.github.com/repos/tensorflow/tensorflow | https://api.github.com/repos/tensorflow/tensorflow/issues/61375/labels{/name} | https://api.github.com/repos/tensorflow/tensorflow/issues/61375/comments | https://api.github.com/repos/tensorflow/tensorflow/issues/61375/events | https://github.com/tensorflow/tensorflow/issues/61375 | 1,819,562,880 | I_kwDOArmXAs5sdFOA | 61,375 | tf.keras.callbacks.SidecarEvaluatorModelExport doc page looks broken. | {
"login": "DameNianch",
"id": 40750603,
"node_id": "MDQ6VXNlcjQwNzUwNjAz",
"avatar_url": "https://avatars.githubusercontent.com/u/40750603?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DameNianch",
"html_url": "https://github.com/DameNianch",
"followers_url": "https://api.github.com/users/DameNianch/followers",
"following_url": "https://api.github.com/users/DameNianch/following{/other_user}",
"gists_url": "https://api.github.com/users/DameNianch/gists{/gist_id}",
"starred_url": "https://api.github.com/users/DameNianch/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DameNianch/subscriptions",
"organizations_url": "https://api.github.com/users/DameNianch/orgs",
"repos_url": "https://api.github.com/users/DameNianch/repos",
"events_url": "https://api.github.com/users/DameNianch/events{/privacy}",
"received_events_url": "https://api.github.com/users/DameNianch/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": 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": 5508003926,
"node_id": "LA_kwDOArmXAs8AAAABSE14Vg",
"url": "https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.13",
"name": "TF 2.13",
"color": "B13ACB",
"default": false,
"description": "For issues related to Tensorflow 2.13"
}
] | open | false | {
"login": "SuryanarayanaY",
"id": 116063290,
"node_id": "U_kgDOBur8Og",
"avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SuryanarayanaY",
"html_url": "https://github.com/SuryanarayanaY",
"followers_url": "https://api.github.com/users/SuryanarayanaY/followers",
"following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}",
"gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions",
"organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs",
"repos_url": "https://api.github.com/users/SuryanarayanaY/repos",
"events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}",
"received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "SuryanarayanaY",
"id": 116063290,
"node_id": "U_kgDOBur8Og",
"avatar_url": "https://avatars.githubusercontent.com/u/116063290?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SuryanarayanaY",
"html_url": "https://github.com/SuryanarayanaY",
"followers_url": "https://api.github.com/users/SuryanarayanaY/followers",
"following_url": "https://api.github.com/users/SuryanarayanaY/following{/other_user}",
"gists_url": "https://api.github.com/users/SuryanarayanaY/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SuryanarayanaY/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SuryanarayanaY/subscriptions",
"organizations_url": "https://api.github.com/users/SuryanarayanaY/orgs",
"repos_url": "https://api.github.com/users/SuryanarayanaY/repos",
"events_url": "https://api.github.com/users/SuryanarayanaY/events{/privacy}",
"received_events_url": "https://api.github.com/users/SuryanarayanaY/received_events",
"type": "User",
"site_admin": false
}
] | null | [
"Hi @DameNianch ,\r\n\r\nThanks for reporting. I can see raw HTML page as below. Needs to be fixed. I Will bring this to notice of our Doc team.\r\n\r\n<img width=\"1508\" alt=\"Screenshot 2023-07-26 at 11 11 25 AM\" src=\"https://github.com/tensorflow/tensorflow/assets/116063290/6cb2e61c-f360-4219-a235-a74185cc19ca\">\r\n"
] | 2023-07-25T05:08:46 | 2023-09-25T15:12:04 | null | NONE | null | null | null | ### Issue type
Documentation Bug
### Have you reproduced the bug with TensorFlow Nightly?
No
### Source
source
### TensorFlow version
2.13.0
### 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?
The raw html tag is displayed and the display is collapsed when you access this link. https://www.tensorflow.org/api_docs/python/tf/keras/callbacks/SidecarEvaluatorModelExport
### Standalone code to reproduce the issue
```shell
Please access from your browser.If it is not reproduced, I will share my detailed environment.
```
### Relevant log output
_No response_ | {
"url": "https://api.github.com/repos/tensorflow/tensorflow/issues/61375/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/tensorflow/tensorflow/issues/61375/timeline | null | null | false |
Subsets and Splits