add tensorflow as the KERAS_BACKEND for qkerasV3 tests#1499
Conversation
|
Sounds like a bug from upstream in qkeras v3 to me. In keras v3, if |
|
However, we need a workaround till it is fixed. It seems better to explicitly set it vs to lock the version to an older version of qkeras3. |
|
I would do version lock in this case |
|
I don't have a strong preference either way. Let's see what others say. I don't see a particular downside in setting the KERAS_BACKEND explicitly. |
|
I can set the backend default to tensorflow in qkerasv3. |
|
I fixed the default backend to tensorflow in qkerasv3. |
|
So I think this PR is no longer necessary. The latest version of QKeras3 no longer fails in this case. It is kind of odd, though, that currently pquant tests use the template_keras3_backend in the CI while keras3 tests do not. Feel free to close, though. |
Description
This should fix the qkeras3 pytests issues introduced with qkeras_v3==1.2
Type of change
QKeras v3 1.2 needs to have the
KERAS_BACKENDenvironment variable set, so this sets it in the CI.Tests
This is a CI fix so it will only be visible in the CI. Compare with the qkeras3 pytest in #1497.
Checklist
pre-commiton the files I edited or added.