nvidia-smi in a Serverless AI job. As a result, you receive information about the GPUs of the container over a virtual machine in which the job is running. In the web console, Quick start Serverless job runs the same kind of workload with settings already filled in.
Prerequisites
The preparations for this guide depend on your preferred interface.- Web console
- CLI
-
Make sure you are in a group that has the
adminrole within your tenant; for example, the defaultadminsgroup. You can check this in the Administration → IAM section of the web console. - On the Administration → Limits → Quotas page of the web console, check the Number of virtual machines (VMs) quota, under Compute: it should have at least one VM available. If necessary, increase the quota.
Steps
Run a Serverless AI job
- Web console
- CLI
- In the sidebar, go to
AI Services → Jobs.
- Click Quick start Serverless job. The flow uses a verified container image and prefilled job settings.
- Click Create job.
Check the job results
- Web console
- CLI
- In the sidebar, go to
AI Services → Jobs.
- Next to the job, click View logs. Alternatively, select the job that you want to view the logs for and switch to the Logs tab.
(Optional) Delete the job
When the job is complete, Serverless AI automatically releases all allocated computing resources and the container disk of the job. When you delete a complete job, you remove it from the list of Serverless AI jobs. If you delete a running job, all the resources are released as well.- Web console
- CLI
- In the sidebar, go to
AI Services → Jobs.
- Locate the job and then click
→ Delete.
- In the window that opens, confirm deleting the job.