Deploy a model to PAI-EAS
Introduction
After completing data backfilling and model training, deploy the model to PAI-EAS for online scoring.
Procedure
-
In DataWorks, locate the deployment script.
-
Click Unlock to modify the script.
-
Comment out the last line of code (the model update command) and uncomment the second-to-last line (the PAI-EAS service creation command). Run the creation command for the initial deployment. For subsequent routine scheduling, run the model update command.
-
Click the Run button, enter the runtime parameters, and click Run.
Note: For the Image field, select the official image:
dataworks_pairec_task_pod. (The image includesfeature-store-python-sdk,pyfg, andeascmd64.)For more information about the parameters, see EasyRec Processor.
-
After the model is deployed, go to the PAI-EAS console to view the model service.