Deploy DeepSeek-R1/V3 inference services on PPU

Updated at:

The DeepSeek R1 and V3 are high-performance inference models from DeepSeek. PAI Model Gallery now supports deploying inference services for these models on PPU resources.

Procedure

This topic uses the DeepSeek-R1 model as an example. The same procedure applies to deploying other models on PPU.

  1. Log on to the PAI console. In the upper-left corner, select a region that supports PPU resources. This topic uses China (Ulanqab) as an example.

    Note

    Currently, the regions that support PPU resources include China (Ulanqab), China (Beijing), China (Shanghai), and China (Hangzhou).

  2. In the navigation pane on the left, click Workspaces and select a workspace. If you have a PPU resource quota, choose the workspace that contains the quota.

  3. In the navigation pane on the left, click Model Gallery. In the model list, search for and select the DeepSeek-R1 model card.

  4. Click the card to open the model details page. In the upper-right corner, click Deploy.

  5. On the deployment page, configure the following parameters and leave the others at their default settings.

    • Inference Engine: Select vLLM.

    • Deployment Template: Select Standalone - GP7V Instance.

    • Resource Type: Select Public Resources, or select Resource Quota if you have a PPU resource quota.

      • Public Resources: This option uses the pay-as-you-go billing method. For the resource specification, select ml.gp7vf.16.40xlarge or ml.gp7va.16.48xlarge.

      • Resource Quota: Select a PPU resource quota and configure the deployment resources as follows:

        • GPUs: 16

        • vCPUs: 176

        • Memory (GB): 1800

      • Virtual Private Cloud (VPC): If you select Public Resources, you must configure a VPC, vSwitch, and security group.

    Click Deploy and wait for the service deployment to complete.

    The postpaid PPU inventory for public resources is limited, which may cause a delay in resource allocation. To check the deployment status, click More > More Information in the upper-right corner of the details page.

  6. After the service is deployed, you can call it by using the API examples on the model details page or by following the instructions in Call over the internet or an internal network through a gateway (default).