总结内容，中文回复：2024-08-20
TPU memory usage and utilization can now be checked with !tpu-info

Gemini Chat responses are now grounded in relevant sources

Added a new "Create Gemini API key" link in the user secrets panel

Added a new "Gemini: Creating a prompt" snippet and touched up the existing "Gemini: Connecting to Gemini" snippet

Added the ability to specify custom placeholder text for various interactive form params (see examples)

Keyboard navigation a11y improvements to comments UI

Various minor rendering improvements to interactive forms UI

A11y improvements for the run button and header

Updated tooltip styling

A11y improvements for the file browser’s disk usage bar

On mobile, tooltips now trigger on long press

On mobile, release notes updates will no longer display automatically

Python package upgrades

astropy 5.3.4 -> 6.1.2
bigframes 1.11.1 -> 1.14.0
bokeh 3.3.4 -> 3.4.3
dask 2023.8.1 -> 2024.7.1
earthengine-api 0.1.412 -> 0.1.416
geopandas 0.13.2 -> 0.14.4
kagglehub 0.2.8 -> 0.2.9
keras 2.15.0 -> 3.4.1
lightgbm 4.1.0 -> 4.4.0
malloy 2023.1067 -> 2024.1067
numba 0.58.1 -> 0.60.0
numpy 1.25.2 -> 1.26.4
opencv-python 4.8.0.76 -> 4.10.0.84
pandas 2.0.3 -> 2.1.4
pandas-gbq 0.19.2 -> 0.23.1
panel 1.3.8 -> 1.4.5
requests 2.31.0 -> 2.32.3
scikit-learn 1.2.2. -> 1.3.2
scipy 1.11.4 -> 1.13.1
tensorboard 2.15.2 -> 2.17.0
tensorflow 2.15.0 -> 2.17.0
tf-keras 2.15.1 -> 2.17.0
xarray 2023.7.0 -> 2024.6.0
xgboost 2.0.3 -> 2.1.1
Python package inclusions

einops 0.8.0
2024-07-22
You can now embed Google sheets directly into Colab to streamline interactions with data with InteractiveSheet.

Example:

from google.colab import sheets
sh = sheets.InteractiveSheet()
df = sh.as_df()
Fixed multiple rendering bugs in cell editors with wide text content (i.e. text is no longer hidden or clipped)

Fixed multiple accessibility issues in Colab's comments feature (e.g. proper keyboard focus management, added accessibility landmarks, etc)

Fixed bug where AI code generation would fail for extremely long broken code snippets

Fixed multiple scrollbar bugs in the user secrets panel

Added the ability for workspace admin to purchase Colab Pro and Pro+ Subscriptions for users

Fixed bug where user secrets couldn’t be moved to a tab

Fixed several focus management accessibility issues in tabs, the table of contents, the left toolbar, and the run button

Fixed bug where overflowing cells may be omitted when pasting from Google Sheets

Fixed bug where the generate code button did not activate on touch

Python package upgrades

bigframes 1.9.0 -> 1.11.1
cvxpy 1.3.4 -> 1.5.2
earthengine-api 0.1.408 -> 0.1.412
google-api-core 2.11.1 -> 2.19.1
google-api-python-client 2.84.0 -> 2.137.0
google-cloud-aiplatform 1.56.0 -> 1.59.0
google-cloud-bigquery 3.21.0 -> 3.25.0
google-cloud-core 2.3.3 -> 2.4.1
google-cloud-datastore 2.15.2 -> 2.19.0
google-cloud-firestore 2.11.1 -> 2.16.1
google-cloud-functions 1.13.3 -> 1.16.4
google-generativeai 0.5.4 -> 0.7.2
kagglehub 0.2.5 -> 0.2.8
pip 23.1.2 -> 24.1.2
setuptools 67.7.2 -> 71.0.4
sympy 1.12.1 -> 1.13.1
torch 2.3.0 -> 2.3.1
transformers 4.41.2 -> 4.42.4
Python package inclusions

accelerate 0.32.1
2024-06-18
Inline AI completions are now available to users on the free-of-charge tier

Reduced latency for LSP and terminal connections

Improved quality of inline completions

Visual improvements to switch controls across Colab

Various bug fixes, performance and a11y improvements to the user secrets panel

Improved tooltip UX behavior

Improved behavior when copying data from Google Sheets and pasting in Colab

Scroll to cell fixes for single tabbed view and jump to cell command

Improved tab header behavior

A11y improvements for notebook-focused cells

Python package upgrades

torch 2.2.1 -> 2.3.0
torchaudio 2.2.1 -> 2.3.0
torchvision 0.17.1 -> 0.18.0
torchtext 0.17.1 -> 0.18.0
google-cloud-aiplatform 1.51.0 -> 1.56.0
bigframes 1.5.0 -> 1.8.0
regex 2023.12.25 -> 2024.5.15
2024-05-13
Code actions are now supported to automatically improve and refactor code. Code actions can be triggered by the keyboard shortcut "Ctrl/⌘ + ."

Python package upgrades

bigframes 1.0.0 -> 1.5.0
google-cloud-aiplatform 1.47.0 -> 1.51.0
jax[tpu] 0.4.23 -> 0.4.26
Python package inclusions

cudf 24.4.1
2024-04-15
TPU v2 runtime is now available

L4 runtime is now available for paid users

New distributed fine-tuning Gemma tutorial on TPUs (GitHub)

Symbol rename is now supported with keyboard shortcut F2

Fixed bug causing inability to re-upload deleted files

Fixed breaking bug in colabtools %upload_files_async

Added syntax highlighting to %%writefile cells

Cuda dependencies that come with Torch are cached for faster downloads for packages that require Torch and its dependencies (GitHub issue)

Python package upgrades

bigframes 0.24.0 -> 1.0.0
duckdb 0.9.2 -> 0.10.1
google-cloud-aiplatform 1.43.0 -> 1.47.0
jax 0.4.23 -> 0.4.26
2024-03-13
Fixed bug that sometimes caused UserSecrets to move / disappear

Improved messaging for mounting drive in an unsupported environment (GitHub issue)

Python package upgrades

torch 2.1.0 -> 2.2.1
torchaudio 2.1.0 -> 2.2.1
torchvision 0.16.0 -> 0.17.1
torchtext 0.16.0 -> 0.17.1
PyMC 5.7.2 -> 5.10.4
BigFrames 0.21.0 -> 0.24.0
google-cloud-aiplatform 1.42.1 -> 1.43.0
tornado 6.3.2 -> 6.3.3
2024-02-21
Try out Gemma on Colab!

Allow unicode in form text inputs

Display documentation and link to source when displaying functions

Display image-like ndarrays as images

Improved UX around quick charts and execution error suggestions

Released Marketplace image for the month of February (GitHub issue)

Python package upgrades

bigframes 0.19.2 -> 0.21.0
regex 2023.6.3 -> 2023.12.25
spacy 3.6.1 -> 3.7.4
beautifulsoup4 4.11.2 -> 4.12.3
tensorflow-probability 0.22.0 -> 0.23.0
google-cloud-language 2.9.1 -> 2.13.1
google-cloud-aiplatform 1.39.0 -> 1.42.1
transformers 4.35.2 -> 4..37.2
pyarrow 10.0.1 -> 14.0.2
2024-01-29
New Kaggle Notebooks <> Colab updates! Now you can:

Import directly from Colab without having to download/re-upload
Upload via link, by pasting Google Drive or Colab URLs
Export & run Kaggle Notebooks on Colab with 1 click
Try these notebooks that talk to Gemini:

Gemini and Stable Diffusion
Learning with Gemini and ChatGPT
Talk to Gemini with Google's Speech to Text API
Sell lemonade with Gemini and Sheets
Generate images with Gemini and Vertex
Python package upgrades

google-cloud-aiplatform 1.38.1 -> 1.39.0
bigframes 0.18.0 -> 0.19.2
polars 0.17.3 -> 0.20.2
gdown 4.6.6 -> 4.7.3 (GitHub issue)
tensorflow-hub 0.15.0 -> 0.16.0
flax 0.7.5 -> 0.8.0
Python package inclusions

sentencepiece 0.1.99
2024-01-08
Avoid nested scrollbars for large outputs by using google.colab.output.no_vertical_scroll() Example notebook

Fix bug where downloading models from Hugging Face could freeze

Python package upgrades

huggingface-hub 0.19.4 -> 0.20.2
bigframes 0.17.0 -> 0.18.0
2023-12-18
Expanded access to AI coding has arrived in Colab across 175 locales for all tiers of Colab users

Improvements to display of ML-based inline completions (for eligible Pro/Pro+ users)

Started a series of notebooks highlighting Gemini API capabilities

Enable ⌘/Ctrl+L to select the full line in an editor

Fixed bug where we weren't correctly formatting output from multiple execution results

Python package upgrades

CUDA 11.8 to CUDA 12.2
tensorflow 2.14.0 -> 2.15.0
tensorboard 2.14.0 -> 2.15.0
keras 2.14.0 -> 2.15.0
Nvidia drivers 525.105.17 -> 535.104.05
tensorflow-gcs-config 2.14.0 -> 2.15.0
bigframes 0.13.0 -> 0.17.0
geemap 0.28.2 -> 0.29.6
pyarrow 9.0.0 -> 10.0.1
google-generativeai 0.2.2 -> 0.3.1
jax 0.4.20 —> 0.4.23
jaxlib 0.4.20 —> 0.4.23
Python package inclusions

kagglehub 0.1.4
google-cloud-aiplatform 1.38.1