Skip to content

[ci] Add Dockerfile for bazel-nvidia and use it in Kokoro - #2546

Merged
antiagainst merged 11 commits into
iree-org:mainfrom
antiagainst:bazel-gpu
Jul 27, 2020
Merged

antiagainst merged 11 commits into
iree-org:mainfrom
antiagainst:bazel-gpu

Conversation

@antiagainst

Copy link
Copy Markdown
Member

Similar to cmake-nvidia, this allows us to run Vulkan tests on the
Bazel side, which includes TensorFlow integration tests.

Similar to cmake-nvidia, this allows us to run Vulkan tests.
@googlebot

Copy link
Copy Markdown

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

@googlebot

Copy link
Copy Markdown

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

@GMNGeoffrey GMNGeoffrey left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll set up a new job to run this

@GMNGeoffrey GMNGeoffrey left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These should be x86-turing, not x86/turing :-)

@GMNGeoffrey GMNGeoffrey added bazel infrastructure Relating to build systems, CI, or testing hal/vulkan Runtime Vulkan GPU HAL backend labels Jul 24, 2020
@antiagainst
antiagainst requested a review from GMNGeoffrey July 24, 2020 19:48
@GMNGeoffrey

Copy link
Copy Markdown
Member

integrations failure is my fault. Something is upset about the disk image

@GMNGeoffrey

Copy link
Copy Markdown
Member

Ok now we have a test failure:

//integrations/tensorflow/e2e:e2e_tests_sliding_window_test__tf__iree_vulkan FAILED in 6.9s

[vk_mem_alloc.h : 16934] RAW: vmaDestroyBuffer
[vk_mem_alloc.h : 11934] RAW: Freed from MemoryTypeIndex=9
*** Received signal 11 ***
*** BEGIN MANGLED STACK TRACE ***
/usr/local/lib/python3.6/dist-packages/tensorflow/python/../libtensorflow_framework.so.2(+0x10c561d)[0x7fd759ea861d]
/lib/x86_64-linux-gnu/libc.so.6(+0x3efd0)[0x7fd7bb634fd0]
/lib/x86_64-linux-gnu/libpthread.so.0(pthread_mutex_lock+0x0)[0x7fd7bb3e0fa0]
/usr/lib/x86_64-linux-gnu/libEGL_mesa.so.0(+0xaca5)[0x7fd658313ca5]
/usr/lib/x86_64-linux-gnu/libEGL.so.1(eglReleaseThread+0x8b)[0x7fd6f01c56fb]
/usr/lib/x86_64-linux-gnu/libGLX_nvidia.so.0(+0x9cdb7)[0x7fd750120db7]
*** END MANGLED STACK TRACE ***

*** Begin stack trace ***
tensorflow::CurrentStackTrace()

pthread_mutex_lock

eglReleaseThread

@antiagainst

Copy link
Copy Markdown
Member Author

Gah. Something might regressed in the meantime.. But hey, the bots are doing their job! I'll disable the failing test for now to land.

@antiagainst

Copy link
Copy Markdown
Member Author

Filed #2659 to track and disabled the test for now.

Comment thread integrations/tensorflow/e2e/BUILD Resolved
@antiagainst
antiagainst requested a review from GMNGeoffrey July 25, 2020 00:29
@antiagainst
antiagainst merged commit ffc7080 into iree-org:main Jul 27, 2020
@antiagainst
antiagainst deleted the bazel-gpu branch July 27, 2020 16:39
This was referenced Jul 28, 2020
copybara-service Bot pushed a commit that referenced this pull request Jul 28, 2020
* c404740 Merge pull request #2677 from antiagainst/google-to-main
* 300ea5e Report error message for type mismatch (#2666)
* 0a9b126 Upload integrations bazel invocation to result store (#2658)
* e84db55 Revert "Add GitHub action to create PRs merging google -> main" (#2676)
* 360e2f0 Add a VM to EmitC conversion and CModule Target (#2536)
* 7283cee Avoid running docker builds as root (#2663)
* ffc7080 [ci] Add Dockerfile for bazel-nvidia and use it in Kokoro (#2546)
* f536871 Enable iota.test on vulkan-spirv and llvm-ir backends. (#2670)
* 326a995 Update third_party/sdl2 submodule to latest. (#2657)
* 6326322 Include python headers even if nested. (#2669)
* 06ed2db Add matmul tile and vectorize lowering stratgy to LinalgToLLVM passes (#2608)
* a1914e7 Add a ZLIB find_package call for INSTALLED llvm builds.
* d7412e9 Merge remote-tracking branch 'origin/main' into bazel-gpu
* d687de8 Fix format
* 96e224c [ci] Add Dockerfile and Kokoro configuration for Bazel and SwiftShader (#2646)
* 6e5ddbc Test entry function conversion to LLVMIR (#2641)
* 314afa5 Disable sliding window
* 36f8551 Merge google -> main #2656
* 8baacad Disable SDL sensor support on Windows. (#2655)
* 2b91d9a Run integrations build as root (#2654)
* b784bf2 Delete unnecessary 'continuous' Kokoro configs (#2649)
* 84f52e1 Fixes dead getting started link. (#2652)
* 50d15b4 Shuffle file again
* a33973e [ci] Add docker and kokoro configuration for SwiftShader (#2628)
* 71dbd91 Move file to proper place
* c9cd5f0 Add build.sh and update build_and_update_gcr.py
* 1172972 Update to the new structure
* ac7d661 Merge remote-tracking branch 'origin/main' into bazel-gpu
* 1425737 Fix flatcc target name and binary path (#2599)
* 8c18b8c Refactoring bytecode_module to use flatcc instead of flatbuffers C++. This imp..
* 3762c13 Linking in the flatcc bytecode_module_def files. This ensures they are correct..
* eb53de3 Building bytecode_module_def with flatcc.
* a47b4bd Fix docker names in comments
* c8bc5aa Merge remote-tracking branch 'origin/main' into bazel-gpu
* 6622499 [ci] Add Dockerfile for bazel-nvidia and use it in Kokoro

COPYBARA_INTEGRATE_REVIEW=#2691 from antiagainst:merge-main c404740
PiperOrigin-RevId: 323662370
GMNGeoffrey added a commit that referenced this pull request Jul 28, 2020
* c404740 Merge pull request #2677 from antiagainst/google-to-main
* 300ea5e Report error message for type mismatch (#2666)
* 0a9b126 Upload integrations bazel invocation to result store (#2658)
* e84db55 Revert "Add GitHub action to create PRs merging google -> main" (#2676)
* 360e2f0 Add a VM to EmitC conversion and CModule Target (#2536)
* 7283cee Avoid running docker builds as root (#2663)
* ffc7080 [ci] Add Dockerfile for bazel-nvidia and use it in Kokoro (#2546)
* f536871 Enable iota.test on vulkan-spirv and llvm-ir backends. (#2670)
* 326a995 Update third_party/sdl2 submodule to latest. (#2657)
* 6326322 Include python headers even if nested. (#2669)
* 06ed2db Add matmul tile and vectorize lowering stratgy to LinalgToLLVM passes (#2608)
* a1914e7 Add a ZLIB find_package call for INSTALLED llvm builds.
* d7412e9 Merge remote-tracking branch 'origin/main' into bazel-gpu
* d687de8 Fix format
* 96e224c [ci] Add Dockerfile and Kokoro configuration for Bazel and SwiftShader (#2646)
* 6e5ddbc Test entry function conversion to LLVMIR (#2641)
* 314afa5 Disable sliding window
* 36f8551 Merge google -> main #2656
* 8baacad Disable SDL sensor support on Windows. (#2655)
* 2b91d9a Run integrations build as root (#2654)
* b784bf2 Delete unnecessary 'continuous' Kokoro configs (#2649)
* 84f52e1 Fixes dead getting started link. (#2652)
* 50d15b4 Shuffle file again
* a33973e [ci] Add docker and kokoro configuration for SwiftShader (#2628)
* 71dbd91 Move file to proper place
* c9cd5f0 Add build.sh and update build_and_update_gcr.py
* 1172972 Update to the new structure
* ac7d661 Merge remote-tracking branch 'origin/main' into bazel-gpu
* 1425737 Fix flatcc target name and binary path (#2599)
* 8c18b8c Refactoring bytecode_module to use flatcc instead of flatbuffers C++. This imp..
* 3762c13 Linking in the flatcc bytecode_module_def files. This ensures they are correct..
* eb53de3 Building bytecode_module_def with flatcc.
* a47b4bd Fix docker names in comments
* c8bc5aa Merge remote-tracking branch 'origin/main' into bazel-gpu
* 6622499 [ci] Add Dockerfile for bazel-nvidia and use it in Kokoro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hal/vulkan Runtime Vulkan GPU HAL backend infrastructure Relating to build systems, CI, or testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants