Skip to content

Make our CI faster #1655

Closed
Closed
@gabrieldemarmiesse

Description

@gabrieldemarmiesse

Currently our CI take ~30 min to run. After some analysis, here is the critical path and the big steps:

  • Building the wheel on linux: 25m
    • pull the docker image: 3m
    • install TF and dependencies: 2m
    • build CPU and GPU ops: 8m (building CPU ops only takes 2m in another build, so we can assume 6m for building the GPU ops)
    • Run all tests: 6m, I should re-enable pytest-xdist here.
    • Rebuild all ops for the wheel: 5m (because the bazel cache was cleaned before)
  • Test the release wheel on Windows: 4m10s
  • Upload to pypi, but not really: 25s.

I'll work toward making this faster, help and ideas are welcome too of course.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions