You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Minimum changes to make CI workflows work again (#814)
* Update ubuntu version used for runner
Ubuntu 16.04 is no longer supported by GitHub. Updated the runner to
use Ubuntu 20.04.
* Disable memory leak tests for now
The current failures in the Cirq compatibility CI workflow are limited
to the Address Sanitizer (ASAN) tests in `scripts/msan_test.sh`. They
started happening only when we updated the version of Linux used by
the workflow from Ubuntu 16.04 to 20.04, because GitHub no longer
offers the Ubuntu 16 runners.
After spending a ridiculous amount of time testing various
combinations of TensorFlow, TensorFlow Quantum, and compiler
toolchains on a more recent Linux, my conclusion is that the ASAN
failures stem from differences in the toolchains used to produce the
copy of TensorFlow 2.15.0 we get from PyPI, and the current toolchain
used to compile TFQ on GitHub. This conclusion comes from the fact if
I build a local copy of TensorFlow, and then build TFQ against that,
using Clang for everything, the ASAN failures go away.
Given that we can't build TensorFlow as part of this workflow (it
takes 2 hours to build using 24-cores on a fast machine), it's not
clear what can be done to stop the ASAN failures.
I'm temporarily commenting out the leak tests in this workflow so that
we can proceed on doing other updates and releasing a new version of
TFQ. However, this needs to be revisited at some point.
0 commit comments