Skip to content

The Inference Python Benchmarks Dataflow job is flaky #38782

Activity

  1. added this to the 2.75.0 Release milestone on Jun 8, 2026
  2. github-actions commented on Jun 13, 2026

    @github-actions
    ContributorAuthor

    Reopening since the workflow is still flaky

  3. shunping commented on Jun 30, 2026

    @shunping
    Collaborator

    I think the root cause of the resolution too deep failure is due to dependency conflict introduced by #37639.

    Particularly, the following dep is added to setup.py:

    'google-cloud-dataflow-client>=0.13.0,<0.14.0',

    While tensorflow-transform-1.4(https://github.com/tensorflow/transform/blob/r1.14.0/setup.py#L48), tensorflow-metadata-1.14(https://github.com/tensorflow/metadata/blob/r1.14.0/setup.py#L130), tfx-bsl-1.14(https://github.com/tensorflow/tfx-bsl/blob/r1.14.0/setup.py#L174) together has protobuf requirement as protobuf>=3.20.3,<4.21,
    google-cloud-dataflow-client 0.13.0 depends on protobuf<8.0.0 and >=4.25.8. This leads to an unsatisfied requirement for the latest new Beam version (2.75+).

    As a result, pip has difficulty to resolve the dependencies (causing resolution too deep error); uv is able to resolve it, but it has to downgrade Beam version to 2.74 to get rid of the newly introduced google-cloud-dataflow-client requirement.

  4. shunping commented on Jun 30, 2026

    @shunping
    Collaborator

    It is most likely that the resolution too deep failure from #38780 has the same root cause of this. I see there is a PR to fix that, but maybe we can simplify that to only upgrading tensorflow-transform, tensorflow-metadata and tfx_bsl version like #39163? @aIbrahiim

    I am experimenting this idea at #39164.

  5. aIbrahiim commented on Jun 30, 2026

    @aIbrahiim
    Contributor

    It is most likely that the resolution too deep failure from #38780 has the same root cause of this. I see there is a PR to fix that, but maybe we can simplify that to only upgrading tensorflow-transform, tensorflow-metadata and tfx_bsl version like #39163? @aIbrahiim

    I am experimenting this idea at #39164.

    Agree it’s the same root cause as old TFT stack conflicting with apache beam gcp and #39163’s minimal bump of tensorflow-transform / tensorflow-metadata / tfx-bsl to 1.21.x is a cleaner fix than full pinning + constraints if CI confirms it resolves ResolutionTooDeep and I also hit a second failure after driver install (worker staging with pyarrow 10 / TF 2.16 wheels), which 1.21 may address via newer pyarrow wheels

  6. aIbrahiim commented on Jun 30, 2026

    @aIbrahiim
    Contributor

    I looked at last run https://github.com/apache/beam/actions/runs/28416310321/job/84199856147 and the Generate Vocab job is failing with error is that the GCS path for MLTransform artifacts is always the same and attributes.json is already there from a previous run also the job uses gs://temp-storage-for-perf-tests/loadtests/mltransform_vocab_artifacts every time because it don’t pass --artifact_location. MLTransform refuses to overwrite that folder so we fix it like One Hot Encoding by adding a unique path per run like --artifact_location=gs://temp-storage-for-perf-tests/mltransform/vocab_artifacts_${NOW_UTC} in the workflow step @shunping

  7. shunping commented on Jun 30, 2026

    @shunping
    Collaborator

    Thanks for checking @aIbrahiim. Let me add that and rerun the test.

  8. github-actions commented on Jul 22, 2026

    @github-actions
    ContributorAuthor

    Reopening since the workflow is still flaky

  9. damccorm commented on Aug 6, 2026

    @damccorm
    Contributor

    We should fix this, but it is not a release blocker, it is likely a test issue

  10. removed this from the 2.76.0 Release milestone on Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions