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: docs/install_maxtext.md
+20-1Lines changed: 20 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,8 @@ This is the easiest way to get started with the latest stable version.
31
31
```bash
32
32
# 1. Install uv, a fast Python package installer
33
33
pip install uv
34
+
# Alternatively, if pip install fails:
35
+
# curl -LsSf https://astral.sh/uv/install.sh | sh
34
36
35
37
# 2. Create virtual environment
36
38
uv venv --python 3.12 --seed maxtext_venv
@@ -79,6 +81,8 @@ cd maxtext
79
81
80
82
# 2. Create virtual environment
81
83
pip install uv
84
+
# Alternatively, if pip install fails:
85
+
# curl -LsSf https://astral.sh/uv/install.sh | sh
82
86
uv venv --python 3.12 --seed maxtext_venv
83
87
source maxtext_venv/bin/activate
84
88
@@ -128,7 +132,22 @@ The following sections provide detailed instructions for each step.
128
132
129
133
## Step 1: Install seed-env
130
134
131
-
First, you need to install the `seed-env` command-line tool by running `pip install seed-env uv`. Or follow the instructions in the
135
+
First, you need to install the `seed-env` command-line tool. We recommend installing `uv` first and then using it to install `seed-env`:
136
+
137
+
```bash
138
+
# Install uv
139
+
pip install uv
140
+
# Alternatively, if pip install fails:
141
+
# curl -LsSf https://astral.sh/uv/install.sh | sh
142
+
143
+
uv venv --python 3.12 --seed seed_venv
144
+
source seed_venv/bin/activate
145
+
146
+
# Install seed-env using uv
147
+
uv pip install seed-env
148
+
```
149
+
150
+
Alternatively, follow the instructions in the
132
151
[seed-env repository](https://github.com/google-ml-infra/actions/tree/main/python_seed_env#install-the-seed-env-tool) if you want to build `seed-env` from source.
0 commit comments