Profiler les performances d'entraînement des modèles à l'aide de Cloud Profiler lors d'un entraînement personnalisé avec un conteneur prédéfini : Notebook
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Dans ce tutoriel, vous allez apprendre à activer Profiler dans Vertex AI pour des jobs d'entraînement personnalisé avec un conteneur prédéfini.
Notebook : Profiler les performances d'entraînement des modèles à l'aide de Cloud Profiler dans un conteneur prédéfini
Ce tutoriel utilise les services et ressources de ML Google Cloud suivants :
Vertex AI Training
Vertex AI TensorBoard
La procédure comprend les étapes suivantes :
Préparer votre code d'entraînement personnalisé et le charger en tant que package Python dans un conteneur prédéfini.
Créer et exécuter un job d'entraînement personnalisé qui active Profiler
Afficher le tableau de bord Profiler pour déboguer les performances d'entraînement de votre modèle.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2024/11/22 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2024/11/22 (UTC)."],[],[],null,["# Profile model training performance using Cloud Profiler in custom training with prebuilt container: Notebook\n\nIn this tutorial, you learn how to enable Profiler in Vertex AI for\ncustom training jobs with a prebuilt container.\n\nNotebook: Profile model training performance using Cloud Profiler in prebuilt container\n---------------------------------------------------------------------------------------\n\n| To see an example of profile model training performance,\n| run the \"Profile model training performance using Cloud Profiler in custom training with prebuilt container\" notebook in one of the following\n| environments:\n|\n| [Open in Colab](https://colab.research.google.com/github/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/official/tensorboard/tensorboard_profiler_custom_training_with_prebuilt_container.ipynb)\n|\n|\n| \\|\n|\n| [Open in Colab Enterprise](https://console.cloud.google.com/vertex-ai/colab/import/https%3A%2F%2Fraw.githubusercontent.com%2FGoogleCloudPlatform%2Fvertex-ai-samples%2Fmain%2Fnotebooks%2Fofficial%2Ftensorboard%2Ftensorboard_profiler_custom_training_with_prebuilt_container.ipynb)\n|\n|\n| \\|\n|\n| [Open\n| in Vertex AI Workbench](https://console.cloud.google.com/vertex-ai/workbench/deploy-notebook?download_url=https%3A%2F%2Fraw.githubusercontent.com%2FGoogleCloudPlatform%2Fvertex-ai-samples%2Fmain%2Fnotebooks%2Fofficial%2Ftensorboard%2Ftensorboard_profiler_custom_training_with_prebuilt_container.ipynb)\n|\n|\n| \\|\n|\n| [View on GitHub](https://github.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/official/tensorboard/tensorboard_profiler_custom_training_with_prebuilt_container.ipynb)\n\nThis tutorial uses the following Google Cloud ML services and resources:\n\n- Vertex AI training\n- Vertex AI TensorBoard\n\nThe steps performed include:\n\n- Prepare your custom training code and load your training code as a Python package to a prebuilt container.\n- Create and run a custom training job that enables Profiler.\n- View the Profiler dashboard to debug your model training performance.\n\nRelevant content\n----------------\n\n- [Profile model training performance using Profiler](/vertex-ai/docs/training/tensorboard-profiler)"]]