File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6767 echo "No files changed"
6868 echo "run_tests=true" >> $GITHUB_OUTPUT
6969 echo "run_notebooks=true" >> $GITHUB_OUTPUT
70+ exit 0
7071 fi
7172
7273 # Check for source code changes (anything not .md and not .ipynb)
8788 echo "run_notebooks=false" >> $GITHUB_OUTPUT
8889 fi
8990
91+ exit 0
92+
9093 build_and_upload_maxtext_package :
9194 needs : doc_only_check
9295 # Run if either tests or notebooks need to run
Original file line number Diff line number Diff line change 363363 "name" : " python" ,
364364 "nbconvert_exporter" : " python" ,
365365 "pygments_lexer" : " ipython3" ,
366- "version" : " 3.8.5 "
366+ "version" : " 3.12.11 "
367367 }
368368 },
369369 "nbformat" : 4 ,
Original file line number Diff line number Diff line change 173173 "cell_type" : " code" ,
174174 "execution_count" : null ,
175175 "metadata" : {},
176- "outputs" : [],
177176 "source" : [
178177 " if IN_COLAB:\n " ,
179178 " HF_TOKEN = userdata.get(\" HF_TOKEN\" )\n " ,
345344 "provenance" : []
346345 },
347346 "kernelspec" : {
348- "display_name" : " base " ,
347+ "display_name" : " Python 3 " ,
349348 "language" : " python" ,
350349 "name" : " python3"
351350 },
Original file line number Diff line number Diff line change 111111 " **⚠️ Note:** The installation process in following cell may take a few minutes to complete. Please be patient."
112112 ]
113113 },
114+ {
115+ "cell_type" : " code" ,
116+ "execution_count" : null ,
117+ "metadata" : {},
118+ "outputs" : [],
119+ "source" : [
120+ " try:\n " ,
121+ " import google.colab\n " ,
122+ " print(\" Running the notebook in Google Colab\" )\n " ,
123+ " IN_COLAB = True\n " ,
124+ " except ImportError:\n " ,
125+ " print(\" Running the notebook on JupyterLab\" )\n " ,
126+ " IN_COLAB = False"
127+ ]
128+ },
114129 {
115130 "cell_type" : " code" ,
116131 "execution_count" : null ,
586601 "provenance" : []
587602 },
588603 "kernelspec" : {
589- "display_name" : " Python 3 (ipykernel) " ,
604+ "display_name" : " Python 3" ,
590605 "language" : " python" ,
591606 "name" : " python3"
592607 },
You can’t perform that action at this time.
0 commit comments