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
Copy file name to clipboardExpand all lines: tutorials/text/text.md
+13-13
Original file line number
Diff line number
Diff line change
@@ -6,54 +6,54 @@ Please use `Xcode 14.3` and `Apple clang version 14.0.3 (clang-1403.0.22.14.1)`.
6
6
7
7
## Prerequisites
8
8
9
-
It is assumed here that you have the necessary Unix-Like knowledge, [`brew`](https://brew.sh) and [`conda`](https://github.com/conda-forge/miniforge) have been installed in your terminal, and the installation and use methods of `brew` and `conda` will not be repeated here; most importantly, this tutorial is completely based on Apple Silicon build, so make sure your Mac is Apple Silicon.
9
+
It is assumed here that you have the necessary Unix-Like knowledge, [`brew`](https://brew.sh) and [`conda`](https://github.com/conda-forge/miniforge) have been installed in your terminal, and the installation and use methods of `brew` and `conda` will not be repeated here; most importantly, this tutorial is completely based on Apple silicon build, so make sure your Mac is Apple silicon.
10
10
11
11
## Step by Step
12
12
13
13
1. Create a new Env and install the dependencies provided by Apple.
14
14
15
15
```shell
16
-
conda create -n tensorflow-macos python=3.11 # Python 3.8, 3.9 and 3.10 are also supported.
16
+
conda create -n tensorflow-macos python=3.11 # Python 3.9 and 3.10 are also supported.
17
17
conda activate tensorflow-macos
18
18
````
19
19
20
20
2. Install the `tensorflow` and `tensorflow-metal` plugins.
21
21
22
22
```shell
23
-
pip install tensorflow==2.13.0 # Starting from tensorflow 2.13, official support for Apple silicon is available.
* Usually, the `bazel` installed by `brew` will be the latest version. The latest version often does not match the version required by `text`, which may cause many unexpected problems, so we install it by specifying the version manually.
0 commit comments