Skip to content

Commit

Permalink
Update colab to TPUv2.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 628160440
  • Loading branch information
MarkDaoust authored and copybara-github committed Apr 25, 2024
1 parent e520630 commit 880385b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 3 additions & 1 deletion site/en/guide/tpu.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,9 @@
"accelerator": "TPU",
"colab": {
"name": "tpu.ipynb",
"toc_visible": true
"toc_visible": true,
"machine_shape": "hm",
"gpuType": "V28"
},
"kernelspec": {
"display_name": "Python 3",
Expand Down
4 changes: 1 addition & 3 deletions tools/tensorflow_docs/tools/nblint/style/tensorflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,7 @@ def not_translation(args):

# Button checks

# Look for class="tfo-notebook-buttons" (CSS used on website versions) or the
# run-in-colab logo (for notebooks that stick to GitHub/Colab).
is_button_cell_re = re.compile(r"class.*tfo-notebook-buttons|colab_logo_32px\.png")
is_button_cell_re = re.compile(r"class.*tfo-notebook-buttons")


def get_arg_or_fail(user_args, arg_name, arg_fmt):
Expand Down

0 comments on commit 880385b

Please sign in to comment.