set_runtime_accelerator
Select an accelerator like T4 or A100 GPU in Google Colab. Applying restarts the runtime, so reconnect afterward to verify.
Instructions
Uses the controlled Colab browser to choose an accelerator such as T4 GPU. Applying may restart/disconnect the runtime; always call open_colab_browser_connection, connect_runtime, then check_gpu afterwards.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accelerator | No | Visible accelerator option to choose, for example T4 GPU, L4 GPU, A100 GPU, H100 GPU, GPU, TPU, or CPU. | T4 GPU |
| apply | No | If true, press Save/Apply and confirm restart dialogs. If false, only select the option in the dialog. |