Open Flamefire opened 4 years ago
I struggled doing offline bazel builds recently. Never got it to work, since there doesn't seem to be any (convenient) way to download all the tarballs that you'd need to provide in --distdir
. I put in a feature request, at Bazel https://github.com/bazelbuild/bazel/issues/13493 Let's hope something happens there... :)
https://docs.bazel.build/versions/master/external.html#offline-builds shows that Bazel can be made to not download anything by passing
--nofetch
Using
--distdir
one can download all files manually before just like the git submodules for PyTorchThere is also Gentoo which packages TF and its dependencies. E.g. https://gitweb.gentoo.org/repo/gentoo.git/tree/sci-libs/tensorflow/tensorflow-2.2.0.ebuild https://gitweb.gentoo.org/repo/gentoo.git/tree/net-libs/grpc/grpc-1.28.1-r1.ebuild
Looks like they use that too: