File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 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 {
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 " ,
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 " ,
You can’t perform that action at this time.
0 commit comments