Skip to content

Commit 6f2d0b9

Browse files
committed
Fixing nits
Signed-off-by: Vladimir Suvorov <[email protected]>
1 parent 4184042 commit 6f2d0b9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/MaxText/examples/grpo_llama3_demo.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"source": [
7373
"## Configuration\n",
7474
"\n",
75-
"Set up the training parameters. We do not use Pathways and do use a single host. Defaults are hardcoded for Llama3.1-8B:"
75+
"Set up the training parameters. We use a single host TPU. Defaults are hardcoded for Llama3.1-8B:"
7676
]
7777
},
7878
{
@@ -99,6 +99,7 @@
9999
"import os\n",
100100
"import MaxText\n",
101101
"from huggingface_hub import login\n",
102+
"import jax\n",
102103
"\n",
103104
"# Set up paths (adjust if needed)\n",
104105
"MAXTEXT_REPO_ROOT = os.path.dirname(MaxText.__file__)\n",
@@ -158,9 +159,8 @@
158159
"\n",
159160
"from MaxText import pyconfig, max_utils\n",
160161
"from MaxText.rl.train_rl import rl_train, setup_configs_and_devices\n",
161-
"import jax\n",
162162
"\n",
163-
"# Initialize JAX and Pathways\n",
163+
"# Initialize JAX \n",
164164
"os.environ[\"TF_CPP_MIN_LOG_LEVEL\"] = \"0\"\n",
165165
"os.environ[\"SKIP_JAX_PRECOMPILE\"] = \"1\" # Faster startup for vLLM\n",
166166
"\n",

0 commit comments

Comments
 (0)