

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

# SageMaker Profiler UI アプリケーションを開く
<a name="profiler-access-smprofiler-ui"></a>

SageMaker Profiler UI アプリケーションには、以下のオプションを使用してアクセスできます。

**Topics**
+ [オプション 1: ドメイン詳細ページからの SageMaker Profiler UI の起動](#profiler-access-smprofiler-ui-console-smdomain)
+ [オプション 2: SageMaker AI コンソールの SageMaker Profiler のランディングページから SageMaker Profiler UI アプリケーションを起動](#profiler-access-smprofiler-ui-console-profiler-landing-page)
+ [オプション 3: SageMaker AI Python SDK でアプリケーションランチャー関数を使用](#profiler-access-smprofiler-ui-app-launcher-function)

## オプション 1: ドメイン詳細ページからの SageMaker Profiler UI の起動
<a name="profiler-access-smprofiler-ui-console-smdomain"></a>

SageMaker AI コンソールにアクセスできる場合は、このオプションを使用できます。

**ドメインの詳細ページに移動する**

 以下の手順は、ドメインの詳細ページに移動する方法を示しています。

1. Amazon SageMaker AI コンソール ([https://console.aws.amazon.com/sagemaker/](https://console.aws.amazon.com/sagemaker/)) を開きます。

1. 左側のナビゲーションペインで、**[ドメイン]** を選択します。

1. ドメインのリストから、SageMaker Profiler アプリケーションを起動するドメインを選択します。

**SageMaker Profiler UI アプリケーションの起動**

以下の手順は、ユーザープロファイルをスコープする SageMaker Profiler アプリケーションを起動する方法を示しています。

1. ドメインの詳細ページで、**[ユーザープロファイル]** タブを選択します。

1. SageMaker Profiler UI アプリケーションを起動するユーザープロファイルを特定します。

1. 選択したユーザープロファイルの **[起動]** を選択し、**[Profiler]** を選択します。

## オプション 2: SageMaker AI コンソールの SageMaker Profiler のランディングページから SageMaker Profiler UI アプリケーションを起動
<a name="profiler-access-smprofiler-ui-console-profiler-landing-page"></a>

以下の手順では、SageMaker AI コンソールの SageMaker Profiler ランディングページから SageMaker Profiler UI アプリケーションを起動する方法について説明します。SageMaker AI コンソールにアクセスできる場合は、このオプションを使用できます。

1. Amazon SageMaker AI コンソール ([https://console.aws.amazon.com/sagemaker/](https://console.aws.amazon.com/sagemaker/)) を開きます。

1. 左側のナビゲーションペインで、**[Profiler]** を選択します。

1. **[使用を開始]** で、Studio Classic アプリケーションを起動するドメインを選択します。ユーザープロファイルが 1 つのドメインにのみ属している場合、ドメインの選択オプションは表示されません。

1. SageMaker Profiler UI アプリケーションを起動するユーザープロファイルを選択します。ドメインにユーザープロファイルがない場合は、**[ユーザープロファイルを作成]** を選択します。新しいユーザープロファイルの作成の詳細は、「[Add user profiles](https://docs.aws.amazon.com/sagemaker/latest/dg/domain-user-profile-add.html)」を参照してください。

1. **[Profiler を開く]** を選択します。

## オプション 3: SageMaker AI Python SDK でアプリケーションランチャー関数を使用
<a name="profiler-access-smprofiler-ui-app-launcher-function"></a>

SageMaker AI ドメインユーザーで、SageMaker Studio にのみアクセスできる場合は、[https://sagemaker.readthedocs.io/en/stable/api/utility/interactive_apps.html#module-sagemaker.interactive_apps.detail_profiler_app](https://sagemaker.readthedocs.io/en/stable/api/utility/interactive_apps.html#module-sagemaker.interactive_apps.detail_profiler_app) 関数を実行して、SageMaker Studio Classic から SageMaker Profiler UI アプリケーションにアクセスできます。

SageMaker Studio Classic は re:Invent 2023 以前の Studio UI エクスペリエンスであり、re:Invent 2023 で新しく設計された Studio UI にアプリケーションとして移行されることに注意してください。SageMaker Profiler UI アプリケーションは SageMaker AI ドメインレベルで利用できるため、ドメイン ID とユーザープロファイル名が必要です。現在、この `DetailedProfilerApp` 関数は SageMaker Studio Classic アプリケーション内でのみ動作します。この関数は SageMaker Studio Classic からドメインとユーザープロファイル情報を適切に取得します。

re:Invent 2023 より前に作成されたドメイン、ドメインユーザー、および Studio の場合、「[Migrating from Amazon SageMaker Studio Classic](https://docs.aws.amazon.com/sagemaker/latest/dg/studio-updated-migrate.html)」の指示に従って更新しない限り、Studio Classic がデフォルトのエクスペリエンスになります。この場合、これ以上のアクションは必要ありません。`DetailProfilerApp` 関数を実行して SageMaker Profiler UI アプリケーションを直接起動できます。

re:Invent 2023 後に新しいドメインと Studio を作成した場合は、Studio UI 内で Studio Classic アプリケーションを起動し、`DetailProfilerApp` 関数を実行して SageMaker Profiler UI アプリケーションを起動します。

`DetailedProfilerApp` 関数は、SageMaker Studio JupyterLab アプリケーション、SageMaker Studio Code Editor アプリケーション、SageMaker Notebook インスタンスなど、他の SageMaker AI 機械学習 IDE では機能しないことに注意してください。これらの IDE で `DetailedProfilerApp` 関数を実行すると、Profiler UI アプリケーションを開くための直接リンクではなく、SageMaker AI コンソールの Profiler ランディングページの URL が返されます。