commit | f7f930d48bb04d2c1563e1466f412b56d89c3715 | [log] [tgz] |
---|---|---|
author | Scott Todd <scott.todd0@gmail.com> | Wed Jul 10 17:59:03 2024 -0700 |
committer | GitHub <noreply@github.com> | Wed Jul 10 17:59:03 2024 -0700 |
tree | 949d43e81181338eba6134fc497007561524b8b2 | |
parent | 548be86fc42c1891b317eaeb30c4151fbe2c990f [diff] |
Deflake LoopTest.WaitOneBlocking by increasing timeout. (#17857) This test case has failed a few times on macos_x86, and possibly on other platforms too. I suspect the OS isn't scheduling the test threads soon enough - there's only a 150 millisecond window between the event set on a worker thread and `iree_loop_wait_one`'s timeout on the main thread: ``` main thread worker thread ----------- ------------- test start spin up thread ------> wait 50ms wait 200ms ... ... <------ set event timeout if event not set ``` Sample logs: * https://github.com/iree-org/iree/actions/runs/9214985535/job/25352380335#step:10:1578 * https://github.com/iree-org/iree/actions/runs/9882364677/job/27295096340?pr=17856#step:9:43 ``` [ RUN ] LoopTest.WaitOneBlocking iree/runtime/src/iree/base/loop_test.h:612: Failure Value of: status Expected: error code OK Actual: 0x4, whose error code is DEADLINE_EXCEEDED: DEADLINE_EXCEEDED [ FAILED ] LoopTest.WaitOneBlocking (200 ms) ``` We could also use an infinite timeout.
IREE (Intermediate Representation Execution Environment, pronounced as “eerie”) is an MLIR-based end-to-end compiler and runtime that lowers Machine Learning (ML) models to a unified IR that scales up to meet the needs of the datacenter and down to satisfy the constraints and special considerations of mobile and edge deployments.
See our website for project details, user guides, and instructions on building from source.
IREE is still in its early phase. We have settled down on the overarching infrastructure and are actively improving various software components as well as project logistics. It is still quite far from ready for everyday use and is made available without any support at the moment. With that said, we welcome any kind of feedback on any communication channels!
See our website for more information.
Community meeting recordings: IREE YouTube channel
IREE is licensed under the terms of the Apache 2.0 License with LLVM Exceptions. See LICENSE for more information.