You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Updated Bazel install step and made sure we don't have to update this part of the docs with future Bazel updates.
- Updated TF config flags for cc build on ARM.
- fixed some rst issue with links (we should use md really)
@@ -47,7 +47,7 @@ Clone 🐸STT source code (TensorFlow will come as a submdule):
47
47
Bazel: Download & Install
48
48
^^^^^^^^^^^^^^^^^^^^^^^^^
49
49
50
-
First, install Bazel 3.1.0 following the `Bazel installation documentation <https://docs.bazel.build/versions/3.1.0/install.html>`_.
50
+
First, install `Bazelisk <https://docs.bazel.build/versions/main/install-bazelisk.html>`_ or the correct version of `Bazel <https://docs.bazel.build/versions/main/install.html>`_ manually (look inside `STT/tensorflow/.bazelversion <https://github.com/coqui-ai/tensorflow/blob/f8242ebc005f6195b67d58349724e608d4fe45da/.bazelversion>`_). Follow the `Bazelisk installation documentation <https://docs.bazel.build/versions/main/install-bazelisk.html>`_.
51
51
52
52
TensorFlow: Configure with Bazel
53
53
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -158,7 +158,7 @@ To build the ``coqui_stt_ctcdecoder`` package, you'll need the general requireme
158
158
Building CTC Decoder for training on unsupported platforms
We only support building CTC Decoder on x86-64 architectures. However, we offer some hints on building the CTC decoder on other architectures, and you might find some help in our `GitHub Discussions <https://github.com/coqui-ai/STT/discussions>`.
161
+
We only support building CTC Decoder on x86-64 architectures. However, we offer some hints on building the CTC decoder on other architectures, and you might find some help in our `GitHub Discussions <https://github.com/coqui-ai/STT/discussions>`_.
162
162
163
163
Feedback on improving this section or usage on other architectures is welcome.
164
164
@@ -188,8 +188,10 @@ RPi3 ARMv7 and LePotato ARM64
188
188
189
189
We support cross-compilation from Linux hosts. The following ``--config`` flags can be specified when building with bazel:
190
190
191
-
* ``--config=rpi3_opt`` for Raspbian / ARMv7
192
-
* ``--config=rpi3-armv8_opt`` for ARMBian / ARM64
191
+
* ``--config=elinux_armhf`` for Raspbian / ARMv7
192
+
* ``--config=elinux_aarch64`` for ARMBian / ARM64
193
+
194
+
Checkout `Tensorflow's guide on cross-compilation for ARM with Bbazel<https://www.tensorflow.org/lite/guide/build_arm#cross-compilation_for_arm_with_bazel>`_
193
195
194
196
So your command line for ``RPi3`` and ``ARMv7`` should look like:
0 commit comments