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
4. Set the environment variable `TF_PYTHON_VERSION`.
34
34
35
35
```shell
36
-
export TF_PYTHON_VERSION=3.12# Corresponding to the Python version above, please.
36
+
export TF_PYTHON_VERSION=3.13# Corresponding to the Python version above, please.
37
37
```
38
38
39
39
5. Configure the build.
@@ -42,7 +42,7 @@ Please use `Xcode 15.3` and `Apple clang version 15.0.0 (clang-1500.3.9.4)` or l
42
42
./configure # Please use all default options.
43
43
```
44
44
45
-
6. Build `tensorflow` (which takes approximately `70` minutes on the author's M1 MacBook Pro `16`GB).
45
+
6. Build `tensorflow` (which takes approximately `55` minutes on the author's M4 Mac mini `32`GB).
46
46
47
47
```shell
48
48
bazel build //tensorflow/tools/pip_package:wheel
@@ -51,6 +51,7 @@ Please use `Xcode 15.3` and `Apple clang version 15.0.0 (clang-1500.3.9.4)` or l
51
51
7. Install the `whl` file.
52
52
53
53
```shell
54
+
mv ./bazel-bin/tensorflow/tools/pip_package/wheel_house/*.whl ./bazel-bin/tensorflow/tools/pip_package/wheel_house/tensorflow-2.20.0-cp313-cp313-macosx_12_0_arm64.whl # Corresponding to the tensorflow and Python version above, please.
0 commit comments