重要
此功能目前以公共预览版提供。
本页概述了无服务器 GPU 环境版本 5 的系统环境信息。 此计算产品/服务是 AI 运行时的一部分,专为新式 AI 和深度学习工作负载而设计。
无服务器 GPU 环境 5 基于无服务器环境 5 (CPU) 构建。 查看 无服务器环境 5(CPU)中的新增功能。 它包括以下环境:
- 默认基本环境:具有稳定客户端 API 的最小环境。
为了确保应用程序的兼容性,无服务器 GPU 工作负载使用版本控制 API(称为环境版本),该 API 与较新的服务器版本保持兼容。
可以使用无服务器笔记本中的 “环境 ”端面板选择包含此环境版本的基本环境。 参见交互式(笔记本)。
新功能和改进
在版本 5 中,Databricks 提供仅支持无服务器 GPU API、Databricks 依赖项和 MLflow 的最低环境。 用户可以根据需要自定义环境。 版本 5 中的默认基本环境不包括 CPU 环境中存在的某些包,以便提供最小的功能 GPU 环境。 想要具有全面 AI 库的完整环境的用户应使用 Databricks AI 环境。
API 更新
2026 年 4 月 14 日
无服务器 GPU Python API 升级到 0.5.15
无服务器 GPU Python API 0.5.15 包含以下 API 更新:
-
新功能:
- 为本地无服务器 GPU API 运行向 MLflow 添加了日志传播。 本地运行的训练日志现在会自动上传到 MLflow。
-
Bug 修复:
- 未安装 PyTorch 时,错误消息现在正确指示标准 v5 基础环境不包括火炬。
-
安全性:
- 将所有Python依赖项版本固定到确切版本,以防止供应链攻击来自新发布的恶意包版本。
2026 年 3 月 17 日
无服务器 GPU Python API 升级到 0.5.14
无服务器 GPU Python API 0.5.14 包含以下 API 更新:
-
Bug 修复:
- 修复了无服务器 GPU API 在没有 MAPI 可用的情况下在控制平面上失败的问题。 当 MAPI 无法访问时,API 现在可正常回退到按需计算。
2026 年 3 月 2 日
无服务器 GPU Python API 升级到 0.5.13
无服务器 GPU Python API 0.5.13 包含以下 API 更新:
-
Bug 修复:
- 修复了本地模式下 Azure A10 GPU 设备名称解析的问题。 API 现在处理特定于Azure的格式,例如“A10-24Q”。
- 修复了本地执行完成后 MLflow 活动运行未关闭的问题。
- 修正了 MLflow 日志流处理与 MLflow 3.x 的兼容问题。 MLflow 3.x 中工件下载路径行为的更改导致日志流传输中断。 日志流式处理现在在 MLflow 2.x 和 3.x 上都能正确运行。
- 修复了导致训练过程停止响应的问题。 在先前版本中引入的跨层级 MLflow 状态同步功能已被撤销。
基本环境中未包含的包
以下包不包括在基本环境中,但在 CPU 环境中仍可用:
scipyseabornscikit-learn
由于客户反馈请求控制 PyTorch 的版本管理,torch 未包含在版本 5 的基础环境中。 这样,就可以安装最适合工作负荷的版本。 若要使用 Databricks 测试的版本,请在笔记本单元中运行%pip install torch==2.9.0或使用torch==2.9.0端面板的“依赖项”部分进行安装。
系统环境
- 操作系统:Ubuntu 24.04.2 LTS
- Python:3.12.3
- Databricks Connect:18.0.0
- NVIDIA CUDA 工具包:12.9
已安装的 Python 库
默认基础环境
若要在本地 Python 虚拟环境中重现无服务器 GPU 环境 5,请下载 requirements-env-gpu-5.txt 文件并运行 pip install -r requirements-env-gpu-5.txt。 此命令安装所有来自第五版无服务器环境的开源库。
| 图书馆 | 版本 | 图书馆 | 版本 | 图书馆 | 版本 |
|---|---|---|---|---|---|
| aiohappyeyeballs | 2.4.4 | aiohttp | 3.11.10 | aiosignal | 1.2.0 |
| 标注文档 | 0.0.4 | 注释类型 | 0.7.0 | anyio | 4.7.0 |
| argon2-cffi | 21.3.0 | argon2-cffi-bindings | 21.2.0 | arro3-core | 0.6.5 |
| 箭头 | 1.3.0 | asttokens | 3.0.0 | astunparse | 1.6.3 |
| async-lru | 2.0.4 | 属性 | 24.3.0 | Azure 通用库 | 1.1.28 |
| azure-core | 1.37.0 | Azure 身份识别 | 1.20.0 | azure-mgmt-core | 1.6.0 |
| azure-mgmt-web | 8.0.0 | azure-storage-blob | 12.28.0 | azure-storage-file-datalake (Azure 存储文件数据湖) | 12.22.0 |
| 巴别塔 | 2.16.0 | beautifulsoup4 | 4.12.3 | 黑色 | 24.10.0 |
| 漂白剂 | 6.2.0 | 闪烁器 | 1.7.0 | boto3 | 1.40.45 |
| botocore | 1.40.45 | cachetools (缓存工具) | 5.5.1 | certifi | 2025.4.26 |
| cffi | 1.17.1 | chardet | 4.0.0 | charset-normalizer (字符集正常化工具) | 3.3.2 |
| click | 8.1.8 | cloudpickle | 3.0.0 | 通讯 | 0.2.1 |
| contourpy | 1.3.1 | 加密 | 44.0.1 | 骑行者 | 0.11.0 |
| Cython | 3.1.5 | databricks代理 | 1.9.1 | databricks-connect | 18.0.0 |
| Databricks软件开发工具包 (databricks-sdk) | 0.67.0 | Databricks.无服务器GPU | 0.5.11 | dataclasses-json | 0.6.7 |
| dbus-python | 1.3.2 | debugpy | 1.8.11 | 修饰器 | 5.1.1 |
| defusedxml | 0.7.1 | deltalake | 1.1.4 | 已弃用 | 1.2.18 |
| distlib | 0.3.9 | 发行版 | 1.9.0 | distro-info | 1.7+build1 |
| docstring-to-markdown | 0.11 | 执行中 | 1.2.0 | 各个方面概述 | 1.1.1 |
| fastapi | 0.128.0 | fastjsonschema | 2.21.1 | 文件锁 (filelock) | 3.17.0 |
| fonttools(字体工具) | 4.55.3 | fqdn | 1.5.1 | frozenlist | 1.5.0 |
| fsspec | 2023.5.0 | 未来 | 1.0.0 | gitdb (Git数据库) | 4.0.11 |
| GitPython | 3.1.43 | google-api-core (谷歌 API 核心库) | 2.28.1 | google-auth (谷歌身份验证) | 2.47.0 |
| google-cloud-core (Google云核心) | 2.5.0 | Google 云存储 (Google Cloud Storage) | 3.7.0 | google-crc32c | 1.8.0 |
| google-resumable-media (谷歌可恢复媒体) | 2.8.0 | googleapis-common-protos | 1.65.0 | grpcio | 1.67.0 |
| grpcio-status | 1.67.0 | h11 | 0.16.0 | hf-xet | 1.2.0 |
| httpcore | 1.0.9 | httplib2 | 0.20.4 | httpx | 0.28.1 |
| huggingface_hub | 1.2.4 | idna | 3.7 | importlib_metadata | 8.5.0 |
| iniconfig | 1.1.1 | ipyflow-core | 0.0.209 | ipykernel | 6.29.5 |
| ipython | 8.30.0 | ipython-genutils(IPython通用工具) | 0.2.0 | ipywidgets | 7.8.1 |
| isodate (ISO标准日期) | 0.7.2 | isoduration | 20.11.0 | jedi | 0.19.2 |
| Jinja2 | 3.1.6 | jiter | 0.12.0 | jmespath | 1.0.1 |
| joblib | 1.4.2 | json5 | 0.9.25 | JSON补丁 | 1.33 |
| jsonpointer | 3.0.0 | jsonschema | 4.23.0 | JSON模式规范 | 2023年7月1日 |
| jupyter_client(Jupyter 客户端) | 8.6.3 | jupyter_core(Jupyter核心) | 5.7.2 | jupyter-events | 0.12.0 |
| jupyter-lsp | 2.2.5 | Jupyter服务器 | 2.15.0 | Jupyter服务器终端 | 0.5.3 |
| jupyterlab | 4.3.4 | jupyterlab_pygments | 0.3.0 | jupyterlab_server (JupyterLab 服务器) | 2.27.3 |
| jupyterlab_widgets | 1.1.11 | kiwisolver | 1.4.8 | langchain-core | 1.2.6 |
| langchain-openai | 1.1.6 | langsmith | 0.6.1 | launchpadlib | 1.11.0 |
| lazr.restfulclient | 0.14.6 | lazr.uri | 1.0.6 | litellm | 1.75.9 |
| markdown-it-py | 2.2.0 | MarkupSafe | 3.0.2 | 棉花糖 | 3.26.2 |
| matplotlib | 3.10.0 | matplotlib-inline | 0.1.7 | 麦卡贝 | 0.7.0 |
| mdurl | 0.1.0 | mistune(一个用于Markdown解析的Python库) | 3.1.2 | mlflow-skinny | 3.8.1 |
| mmh3 | 5.2.0 | msal | 1.34.0 | msal-extensions | 1.3.1 |
| multidict | 6.1.0 | mypy-extensions | 1.0.0 | nbclient | 0.10.2 |
| nbconvert | 7.16.6 | nbformat | 5.10.4 | nest-asyncio | 1.6.0 |
| nodeenv | 1.10.0 | 笔记本 | 7.3.2 | notebook_shim | 0.2.4 |
| numpy | 2.1.3 | nvidia-ml-py | 13.590.44 | oauthlib | 3.2.2 |
| openai | 2.14.0 | OpenTelemetry API | 1.39.1 | opentelemetry-proto | 1.39.1 |
| opentelemetry-sdk(开源遥测软件开发工具包) | 1.39.1 | opentelemetry-semantic-conventions | 0.60b1 | orjson | 3.11.5 |
| overrides | 7.4.0 | 包装 | 24.2 | 熊猫 | 2.2.3 |
| pandocfilters | 1.5.0 | 提供参数测试培训通信工具 | 0.0.0 | 帕尔索 | 0.8.4 |
| pathspec | 0.10.3 | 替罪羊 | 1.0.1 | pexpect | 4.8.0 |
| 枕头 | 11.1.0 | pip | 25.0.1 | platformdirs | 4.3.7 |
| plotly | 5.24.1 | Pluggy (Python库) | 1.5.0 | prometheus_client | 0.21.1 |
| 提示工具包 (prompt-toolkit) | 3.0.43 | propcache | 0.3.1 | proto-plus | 1.27.0 |
| protobuf | 5.29.4 | psutil | 5.9.0 | psycopg2 | 2.9.11 |
| ptyprocess | 0.7.0 | pure-eval | 0.2.2 | py4j | 0.10.9.9 |
| pyarrow | 21.0.0 | pyasn1 | 0.4.8 | pyasn1-modules | 0.2.8 |
| pyccolo | 0.0.71 | Python代码解析器 | 2.21 | pydantic (Python 数据验证库) | 2.10.6 |
| pydantic_core | 2.27.2 | pydot | 4.0.0 | pyflakes | 3.2.0 |
| Pygments | 2.19.1 | PyGObject | 3.48.2 | pyiceberg | 0.10.0 |
| PyJWT | 2.10.1 | pyodbc | 5.2.0 | pyparsing Python解析库 | 3.2.0 |
| pyright | 1.1.394 | 火化 | 1.0.3 | pyspark | 4.1.0+databricks.connect.18.0.0 |
| pytest(Python 测试框架) | 8.3.5 | python-apt | 2.7.7+ubuntu5.1 | python-dateutil | 2.9.0.post0 |
| python-dotenv | 1.2.1 | python-json-logger | 3.2.1 | python-lsp-jsonrpc | 1.1.2 |
| python-lsp-server | 1.12.2 | pytoolconfig | 1.2.6 | pytz | 2024.1 |
| PyYAML | 6.0.2 | pyzmq | 26.2.0 | referencing | 0.30.2 |
| regex | 2024.11.6 | 请求 | 2.32.3 | requests-toolbelt | 1.0.0 |
| rfc3339-validator | 0.1.4 | rfc3986验证器 | 0.1.1 | rich | 13.9.4 |
| 绳子 | 1.13.0 | rpds-py | 0.22.3 | RSA加密算法 | 4.9.1 |
| s3transfer | 0.14.0 | Send2Trash | 1.8.2 | setuptools | 78.1.1 |
| 谢灵汉姆 | 1.5.4 | 6 | 1.17.0 | smmap | 5.0.0 |
| sniffio | 1.3.0 | 排序容器 | 2.4.0 | soupsieve | 2.5 |
| sqlparse | 0.5.5 | ssh-import-id | 5.11 | 堆栈数据 | 0.6.3 |
| starlette | 0.50.0 | strictyaml | 1.7.3 | 毅力 | 9.0.0 |
| terminado | 0.17.1 | threadpoolctl | 3.5.0 | tiktoken | 0.12.0 |
| tinycss2 | 1.4.0 | tokenize_rt | 6.1.0 | 分词器 | 0.22.2 |
| tomli | 2.0.1 | 龙卷风 | 6.5.1 | tqdm | 4.67.1 |
| traitlets | 5.14.3 | typer-slim | 0.21.1 | types-python-dateutil | 2.9.0.20251115 |
| 输入扩展 (typing_extensions) | 4.12.2 | 输入检查 | 0.9.0 | tzdata | 2024.1 |
| ujson | 5.10.0 | unattended-upgrades | 0.1 | URI 模板 | 1.3.0 |
| urllib3 | 2.3.0 | uuid_utils | 0.12.0 | uvicorn | 0.40.0 |
| virtualenv | 20.29.3 | wadllib | 1.3.6 | wcwidth | 0.2.5 |
| webcolors | 25.10.0 | Web编码 | 0.5.1 | WebSocket客户端 | 1.8.0 |
| whatthepatch (一种用于查看和编辑补丁文件的工具) | 1.0.2 | wheel | 0.45.1 | 每当 | 0.7.3 |
| widgetsnbextension | 3.6.6 | 封装 | 1.17.0 | yapf | 0.40.2 |
| yarl | 1.18.0 | 齐普 | 3.21.0 | zstandard | 0.23.0 |