Skip to content

Fix flaky gradient tests #586

Open
Open
@MichaelBroughton

Description

@MichaelBroughton

Lately in a lot of our CI runs we have been running into issues with the gradients_test -> bazel test //tensorflow_quantum/python/differentiators/gradient_test running for a very long time and sometimes flaking. We should fix this to ideally cut down the runtime and make it more reliable. Perhaps move away from fuzz testing against cirq and instead test against each gate we support individually followed by minimal fuzz testing ?

@jaeyoo, @zaqqwerty

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/ciConcerns continuous integration workflows and infrastructurearea/performanceConcerns TFQ performancearea/testsConcerns tests and testing of the TFQ codebasekind/feature-requestNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions