~/talk

Tensorflow with Bazel — Lessons Learned

Talkat BazelCon 2017 · 2017-11-06..11-07· [machine-learning]
links:none on file
slides:none on file

TensorFlow uses Bazel at scale and documents concrete fixes: dependency downloads from 20+ external repos cause flaky builds so the team adds a Bazel downloader with mirrors and retries to reach >99% reliability; CUDA support uses fake repos with symlinks to user-installed system packages; custom Skylark rules build Swig and protoc locally; a configure script writes bazelrc files to hide dozens of knobs; dynamic shared libraries require workarounds; distributed builds cut local build time from ~40–50 minutes to ~5–10 minutes.

AI-written summary · about

  1. 0:00TensorFlow and Bazel intro
  2. 1:05Pre-open-source Bazel at Google
  3. 3:54Challenges after open-sourcing
  4. 5:20Managing Bazel dependencies
  5. 7:30Reliable dependency downloader
  6. 8:14Missing build files handling
  7. 9:20CUDA system packages limits
  8. 11:06Building Swig and Protobuf
  9. 13:17Multi-platform build configs
  10. 15:50Dynamic linking challenges
  11. 18:47Packaging TensorFlow
  12. 20:33Open Bazel adoption problems
  13. 21:41Distributed builds impact
  14. 22:45Summary and lessons
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.