File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7373 # 2. Install MaxText package and all the post training dependencies
7474 uv pip install ${maxtext_wheel}[tpu-post-train] --resolution=lowest
7575 install_tpu_post_train_extra_deps
76-
76+
7777 python3 -m pip freeze
7878 - name : Run Post-Training Notebooks
7979 shell : bash
@@ -115,7 +115,7 @@ jobs:
115115 echo "Running $filename ..."
116116 echo "------------------------------------------------------"
117117
118- $PAPERMILL_EXE "$notebook" "$output_name" -k maxtext_venv
118+ $PAPERMILL_EXE "$notebook" "$output_name" -k maxtext_venv --log-output --log-level INFO
119119 done
120120 - name : Upload Outputs
121121 if : always()
Original file line number Diff line number Diff line change 117117 " \n " ,
118118 " # Install uv, a fast Python package installer\n " ,
119119 " !pip install uv\n " ,
120- " \n " ,
120+ " \n " ,
121121 " # Install MaxText and post-training dependencies\n " ,
122122 " !uv pip install -e .[tpu-post-train] --resolution=lowest\n " ,
123123 " !install_tpu_post_train_extra_deps"
188188 " try:\n " ,
189189 " from google.colab import userdata\n " ,
190190 " HF_TOKEN = userdata.get(\" HF_TOKEN\" )\n " ,
191+ " print(f\" get HF_TOKEN=f{HF_TOKEN} from google.colab\" )\n " ,
191192 " except ImportError:\n " ,
192193 " HF_TOKEN = os.environ.get(\" HF_TOKEN\" , \"\" )\n " ,
194+ " print(f\" get HF_TOKEN=f{HF_TOKEN} from env\" )\n " ,
193195 " \n " ,
194196 " # If not found in the environment, prompt the user for input securely\n " ,
195197 " # getpass function ensures the token is hidden while you type\n " ,
You can’t perform that action at this time.
0 commit comments