Skip to content
TheChatArchiveThe Chat Archive
o1-mini-2024-09-12· OpenAIAi2 WildChat-4.8M (AI2)

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

  1. User

    总结内容,中文回复: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

  2. Assistant

    Colab 更新总结(截至2024年8月20日)

    新功能与改进:

    • TPU管理:新增命令!tpu-info,可实时查看TPU的内存使用情况和利用率。
    • Gemini 集成:
      • Gemini Chat的响应现基于相关来源,提升回答的准确性。
      • 用户秘密面板新增“创建Gemini API密钥”链接,简化API密钥的生成过程。
      • 新增“Gemini: Creating a prompt”代码片段,并优化现有的“Gemini: Connecting to Gemini”片段。
      • 推出多个与Gemini相关的教程和Notebook,展示其API功能。
    • 嵌入Google Sheets:允许用户直接在Colab中嵌入Google Sheets,通过InteractiveSheet实现数据的流畅交互。
    • 内嵌AI补全:免费用户现可使用内嵌AI代码补全功能,提升编程效率。
    • Kaggle Notebooks 集成:
      • 支持直接导入Kaggle Notebooks,无需下载或重新上传。
      • 支持通过链接上传,以及一键将Kaggle Notebooks导出并在Colab上运行。
    • 自定义表单:新增功能,允许为各种交互式表单参数指定自定义占位符文本。
    • 键盘导航与无障碍改进(a11y):
      • 评论界面、运行按钮、头部、文件浏览器等多处界面提升了键盘导航和无障碍性。
      • 移动端工具提示触发方式改为长按,提升用户体验。
    • 用户界面优化:
      • 改进工具提示的样式和行为,提高可用性。
      • 修复了交互式表单和单元格编辑器中的多个渲染问题,确保内容显示完整。
      • 支持通过快捷键(Ctrl/⌘ + .)触发代码操作,自动改进和重构代码。
      • 支持使用⌘/Ctrl+L选择编辑器中的整行,提升编辑效率。

    性能提升与错误修复:

    • 延迟优化:减少了LSP和终端连接的延迟,提升了整体性能。
    • 稳定性增强:修复了多个与AI代码生成、滚动条、文件上传、数据粘贴等相关的错误,确保平台运行更加稳定。
    • 滚动与焦点管理:优化了单标签视图的滚动行为,改进了标签页、目录、左侧工具栏和运行按钮的焦点管理,提升无障碍性。

    Python 包升级与新增包:

    • 频繁更新了多种Python包,包括astropy、numpy、pandas、tensorflow、torch、google-cloud-aiplatform等,确保用户能够使用最新的功能和性能优化。
    • 新增包如einops、accelerate、cudf、sentencepiece等,扩展了Colab的功能和兼容性。

    其他更新:

    • 订阅管理:工作空间管理员现可为用户购买Colab Pro和Pro+订阅,简化了订阅管理流程。
    • 文档与支持:在显示函数时增加了展示文档和源代码链接,帮助用户更好地理解和使用函数。
    • 视觉与用户体验:改进了快速图表的用户体验,优化了数据复制粘贴行为,提升了整体视觉效果。

    此次更新涵盖了功能扩展、用户体验优化、性能提升以及多项错误修复,旨在为用户提供更加高效、便捷和稳定的编程环境。