Dokumen ini menjelaskan cara mengaktifkan runtime default dengan GPU untuk
pengguna Colab Enterprise dalam suatu project. Setelah mengaktifkan runtime default dengan GPU, pengguna dapat beralih dari runtime default biasa ke runtime default dengan GPU dengan mengklik tombol di notebook mereka.
Dokumen ini ditujukan bagi administrator Colab Enterprise yang ingin mengaktifkan runtime default dengan GPU untuk pengguna lain di organisasi mereka. Tutorial ini mengasumsikan bahwa Anda memiliki pengetahuan tentang hal berikut:
Cara mengelola runtime dan template runtime Colab Enterprise.
Cara menggunakan Identity and Access Management (IAM) untuk mengontrol akses.
Ringkasan
Agar pengguna dapat beralih ke runtime default dengan GPU, administrator
(roles/aiplatform.colabEnterpriseAdmin)
atau akun pengguna dengan izin aiplatform.notebookRuntimeTemplates.create
harus membuat runtime default dengan GPU terlebih dahulu.
Saat Anda membuat runtime default dengan GPU untuk pertama kalinya, Colab Enterprise akan membuat template runtime default baru yang menyertakan GPU dalam spesifikasinya. Runtime default asli tidak
terpengaruh dan ada hingga masa berlakunya berakhir atau dihapus. Setelah template runtime default baru dengan GPU dibuat, setiap pengguna dengan izin aiplatform.notebookRuntimes.assign di project dan izin aiplatform.notebookRuntimeTemplates.apply di template runtime dapat membuat dan menggunakan runtime default dengan GPU. Izin ini disertakan dalam peran Colab Enterprise User (roles/aiplatform.colabEnterpriseUser).
Spesifikasi
Runtime default dengan GPU memiliki spesifikasi yang berbeda dengan
runtime default asli. Jenis mesin, GPU, dan jenis disk data yang tersedia bervariasi menurut region, sehingga beberapa spesifikasi dapat berbeda dari runtime default asli Anda.
Tabel berikut menjelaskan spesifikasi untuk
runtime default dengan GPU berdasarkan region runtime default.
Deskripsi region
Spesifikasi runtime default
Region yang mendukung GPU L4
Machine type: g2-standard-4
Akselerator: 1 akselerator NVIDIA_L4
Disk data: 100 GB pd-balanced
Region yang tidak mendukung GPU L4, tetapi mendukung GPU T4
Machine type: n1-standard-4
Akselerator: 1 akselerator NVIDIA_TESLA_T4
Disk data: 100 GB pd-standard
Region yang tidak mendukung GPU L4 atau T4
Runtime default dengan GPU tidak didukung.
Ketersediaan akselerator
Colab Enterprise mendukung runtime default dengan jenis akselerator berikut:
L4
T4
Untuk mempelajari ketersediaan regional akselerator ini, lihat bagian Menggunakan akselerator.
Sebelum memulai
Sign in to your Google Cloud account. If you're new to
Google Cloud,
create an account to evaluate how our products perform in
real-world scenarios. New customers also get $300 in free credits to
run, test, and deploy workloads.
In the Google Cloud console, on the project selector page,
select or create a Google Cloud project.
Untuk memastikan bahwa akun pengguna Anda memiliki izin yang diperlukan untuk mengaktifkan runtime default dengan GPU di Colab Enterprise, minta administrator untuk memberi akun pengguna Anda peran IAM Colab Enterprise Admin (roles/aiplatform.colabEnterpriseAdmin)
IAM role on the project.
) di project itu.
In the Region menu, select the region that contains your notebook.
Click the notebook that you want to open. If you haven't created a notebook yet,
create a notebook.
In your notebook, click Connect.
After Colab Enterprise connects to the default runtime, in the
top right corner of your notebook, click the button to switch to
a default runtime with GPUs. For example, if your notebook is in
a region that supports L4 accelerators, click
Switch to L4.
Colab Enterprise creates a new default runtime that has
GPUs, and then connects to the runtime. The ability to switch to a
default runtime with GPUs is enabled for other users in the project.
Turn off GPUs for default runtimes
To turn off the ability to switch to a default runtime with GPUs, you
must delete the runtime template named Default with GPU.
See Delete a runtime template.
Limitations
Default runtimes with GPUs are only available in regions that support
specific accelerator availability. See
Accelerator availability.
You must first connect a notebook to a default runtime to be able to switch to
a default runtime with GPUs.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-08-19 UTC."],[],[],null,["# Enable default runtimes with GPUs\n=================================\n\n|\n| **Preview**\n|\n|\n| This feature is subject to the \"Pre-GA Offerings Terms\" in the General Service Terms section\n| of the [Service Specific Terms](/terms/service-terms#1).\n|\n| Pre-GA features are available \"as is\" and might have limited support.\n|\n| For more information, see the\n| [launch stage descriptions](/products#product-launch-stages).\n\nFor support during the preview, email\n[vertex-notebooks-previews-external@google.com](mailto:vertex-notebooks-previews-external@google.com).\n\nThis document describes how to enable a default runtime with GPUs for\nColab Enterprise users in a project. After enabling a\ndefault runtime with GPUs, users can switch from a regular default runtime\nto a default runtime with GPUs by clicking a button in their notebook.\n\nThis document is intended for Colab Enterprise administrators who\nwant to enable default runtimes with GPUs for other users in their\norganization. It assumes you have knowledge of the following:\n\n- How to manage Colab Enterprise runtimes and runtime templates.\n- How to use Identity and Access Management (IAM) to control access.\n\nOverview\n--------\n\nTo enable users to switch to a default runtime with GPUs, an administrator\n([`roles/aiplatform.colabEnterpriseAdmin`](/colab/docs/access-control#aiplatform.colabEnterpriseAdmin))\nor a user account with the `aiplatform.notebookRuntimeTemplates.create`\npermission must first create a default runtime with GPUs.\n\nThe first time that you create a default runtime with GPUs,\nColab Enterprise creates a new default runtime template that\nincludes GPUs in its specifications. The original default runtime isn't\naffected and exists until it expires or it's deleted. After the\nnew default runtime template with GPUs is created, any user with\nthe `aiplatform.notebookRuntimes.assign` permission on the project\nand the `aiplatform.notebookRuntimeTemplates.apply` permission on the\nruntime template can create and use a default runtime with GPUs. These\npermissions are included in the Colab Enterprise User\n([`roles/aiplatform.colabEnterpriseUser`](/colab/docs/access-control#aiplatform.colabEnterpriseUser))\nrole.\n\n### Specifications\n\nThe default runtime with GPUs has different specifications than\nthe original default runtime. The machine types, GPUs, and data disk types\nthat are available vary by region, so some specifications can be different\nfrom your original default runtime.\n\nThe following table describes the specifications for\na default runtime with GPUs based on the region of the default runtime.\n\n### Accelerator availability\n\nColab Enterprise supports default runtimes with the following\naccelerator types:\n\n- L4\n- T4\n\nTo learn about the regional availability of these accelerators, see\n[Using accelerators](/vertex-ai/docs/general/locations#accelerators).\n\nBefore you begin\n----------------\n\n- Sign in to your Google Cloud account. If you're new to Google Cloud, [create an account](https://console.cloud.google.com/freetrial) to evaluate how our products perform in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads.\n- In the Google Cloud console, on the project selector page,\n select or create a Google Cloud project.\n\n | **Note**: If you don't plan to keep the resources that you create in this procedure, create a project instead of selecting an existing project. After you finish these steps, you can delete the project, removing all resources associated with the project.\n\n [Go to project selector](https://console.cloud.google.com/projectselector2/home/dashboard)\n-\n [Verify that billing is enabled for your Google Cloud project](/billing/docs/how-to/verify-billing-enabled#confirm_billing_is_enabled_on_a_project).\n\n-\n\n\n Enable the Vertex AI, Dataform, and Compute Engine APIs.\n\n\n [Enable the APIs](https://console.cloud.google.com/flows/enableapi?apiid=aiplatform.googleapis.com, dataform.googleapis.com, compute.googleapis.com&redirect=https://console.cloud.google.com)\n\n- In the Google Cloud console, on the project selector page,\n select or create a Google Cloud project.\n\n | **Note**: If you don't plan to keep the resources that you create in this procedure, create a project instead of selecting an existing project. After you finish these steps, you can delete the project, removing all resources associated with the project.\n\n [Go to project selector](https://console.cloud.google.com/projectselector2/home/dashboard)\n-\n [Verify that billing is enabled for your Google Cloud project](/billing/docs/how-to/verify-billing-enabled#confirm_billing_is_enabled_on_a_project).\n\n-\n\n\n Enable the Vertex AI, Dataform, and Compute Engine APIs.\n\n\n [Enable the APIs](https://console.cloud.google.com/flows/enableapi?apiid=aiplatform.googleapis.com, dataform.googleapis.com, compute.googleapis.com&redirect=https://console.cloud.google.com)\n\n### Required roles\n\n\nTo ensure that your user account has the necessary\npermissions to enable default runtimes with GPUs in Colab Enterprise,\n\nask your administrator to grant your user account the\n\n\nColab Enterprise Admin ([`roles/aiplatform.colabEnterpriseAdmin`](/vertex-ai/docs/general/access-control#aiplatform.colabEnterpriseAdmin)`)\nIAM role on the project.\n\n\n`\n| `\n| `**Important:**` You must grant this role\n| to your user account, `*not*` to your user account. Failure to grant the role to the correct principal might result in permission errors.\n| `\n`\n\n\nFor more information about granting roles, see `[Manage access to projects, folders, and organizations](/iam/docs/granting-changing-revoking-access)`.\n\n`\n\n\u003cbr /\u003e\n\n`\n\n\n`\n\n\nYour administrator might also be able to give your user account\nthe required permissions through [custom\nroles](/iam/docs/creating-custom-roles) or other [predefined\nroles](/iam/docs/roles-overview#predefined).\n`\n\n\n` One or more of the required roles includes the `dataform.repositories.list` permission. Users who are granted the `dataform.repositories.list` permission or the [Code Creator\n| (`roles/dataform.codeCreator`)](/iam/docs/understanding-roles#dataform.codeCreator) role in a project can list the names of code assets in that project by using the Dataform API or the Dataform command-line interface (CLI). Non-administrators using BigQuery Studio can only see code assets that they created or that were shared with them.\n`\n\n\n`\n\nEnable GPUs for default runtimes\n--------------------------------\n\n`\n\n\n`\n\nTo enable GPUs for default runtimes, do the following:\n`\n\n\n`\n\n1. In the Google Cloud console, go to\n the Colab Enterprise **My notebooks** page.\n\n [Go to My notebooks](https://console.cloud.google.com/vertex-ai/colab/notebooks)\n2. In the **Region** menu, select the region that contains your notebook.\n\n3. Click the notebook that you want to open. If you haven't created a notebook yet,\n [create a notebook](/colab/docs/create-console-quickstart#create).\n\n4. In your notebook, click **Connect** . \n\n\n5. After Colab Enterprise connects to the default runtime, in the\n top right corner of your notebook, click the button to switch to\n a default runtime with GPUs. For example, if your notebook is in\n a region that supports L4 accelerators, click\n **Switch to L4** . \n\n\n`\n\n\n`\n\nColab Enterprise creates a new default runtime that has\nGPUs, and then connects to the runtime. The ability to switch to a\ndefault runtime with GPUs is enabled for other users in the project.\n`\n\n\n`\n\nTurn off GPUs for default runtimes\n----------------------------------\n\n`\n\n`\n\nTo turn off the ability to switch to a default runtime with GPUs, you\nmust delete the runtime template named `Default with GPU`.\nSee [Delete a runtime template](/colab/docs/create-runtime-template#delete).\n`\n\n`\n\nLimitations\n-----------\n\n`\n\n`\n\n- Default runtimes with GPUs are only available in regions that support\n specific accelerator availability. See\n [Accelerator availability](#accelerator-availability).\n\n- You must first connect a notebook to a default runtime to be able to switch to\n a default runtime with GPUs.\n\n`\n\n`\n\nWhat's next\n-----------\n\n`\n\n`\n\n- To manage your runtime, see [Manage runtimes](/colab/docs/manage-runtimes).\n- Learn more about [runtimes and runtime templates](/colab/docs/runtimes).\n\n`\n\n\n``\n\n`"]]