打开 SageMaker Profiler 用户界面应用程序 - 亚马逊 SageMaker AI
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

打开 SageMaker Profiler 用户界面应用程序

您可以通过以下选项访问 SageMaker Profiler 用户界面应用程序。

选项 1:从域名详情页面启动 SageMaker Profiler 用户界面

如果您有权访问 SageMaker AI 控制台,则可以选择此选项。

导航到域详细信息页面

以下过程展示如何导航到域详细信息页面。

  1. 打开 Amazon A SageMaker I 控制台,网址为https://console.aws.amazon.com/sagemaker/

  2. 在左侧导航窗格上,选择

  3. 从域列表中,选择要在其中启动 SageMaker Profiler 应用程序的域。

启动 SageMaker Profiler 用户界面应用程序

以下过程说明如何启动范围为用户 SageMaker 配置文件的 Profiler 应用程序。

  1. 在域详细信息页面上,选择用户配置文件选项卡。

  2. 确定要为其启动 P SageMaker rofiler UI 应用程序的用户个人资料。

  3. 为选定的用户配置文件选择启动,然后选择探查器

选项 2:从 AI 控制台的 SageMaker Profiler 登录页面启动 SageMaker Profiler 用户界面应用程序 SageMaker

以下过程介绍如何从 SageMaker AI 控制台的 SageMaker Profiler 登录页面启动 SageMaker Profiler 用户界面应用程序。如果您有权访问 SageMaker AI 控制台,则可以选择此选项。

  1. 打开 Amazon A SageMaker I 控制台,网址为https://console.aws.amazon.com/sagemaker/

  2. 在左侧导航窗格中,选择探查器

  3. 开始使用下,选择要在其中启动 Studio Classic 应用程序的域。如果您的用户配置文件仅属于一个域,则看不到用于选择域的选项。

  4. 选择要为其启动 P SageMaker rofiler UI 应用程序的用户配置文件。如果域中没有用户配置文件,请选择创建用户配置文件。有关创建新的用户配置文件的更多信息,请参阅添加用户配置文件

  5. 选择打开探查器

选项 3:使用 SageMaker AI Python SDK 中的应用程序启动器功能

如果您是 A SageMaker I 域用户并且只能访问 SageMaker Studio,则可以通过运行该sagemaker.interactive_apps.detail_profiler_app.DetailProfilerApp功能通过 SageMaker Studio Classic 访问 SageMaker Profiler 用户界面应用程序。

请注意, SageMaker Studio Classic 是 re: Invent 2023 之前的 Studio 用户界面体验,在 re: Invent 2023 上作为应用程序迁移到新设计的 Studio 用户界面中。 SageMaker Profiler UI 应用程序在 SageMaker AI 域级别可用,因此需要您的域 ID 和用户配置文件名称。目前,该DetailedProfilerApp功能仅在 SageMaker Studio Classic 应用程序中运行;该功能可以正确接收 Studio Class SageMaker ic 中的域和用户配置文件信息。

对于 re: Invent 2023 之前创建的域名、域名用户和 Studio,除非您按照从亚马 SageMaker 逊 Studio Classic 迁移中的说明进行更新,否则 Studio Classic 将是默认体验。如果是这种情况,则无需执行进一步的操作,您可以通过运行该DetailProfilerApp函数直接启动 SageMaker Profiler UI 应用程序。

如果你在 re: Invent 2023 之后创建了新的域名和 Studio,请在 Studio 用户界面中启动 Studio Classic 应用程序,然后运行该DetailProfilerApp函数以启动 SageMaker Profiler 用户界面应用程序。

请注意,该DetailedProfilerApp功能不适用于其他 SageMaker AI 机器学习 IDEs,例如 SageMaker Studio JupyterLab 应用程序、St SageMaker udio 代码编辑器应用程序和 SageMaker 笔记本实例。如果你在其中运行该DetailedProfilerApp函数 IDEs,它会返回指向 SageMaker AI 控制台中 Profiler 登录页面的 URL,而不是打开 Profiler UI 应用程序的直接链接。