BookmarkSubscribeRSS Feed

Running a scoring test for a Python model registered through register_model of sasctl failed

Started ‎02-24-2023 by
Modified ‎02-24-2023 by
Views 315

Question

I registered a Python model using register_model of python-sasctl   into a model repository.  I created a scoring test for the registered model in SAS Model Manager. When I ran the scoring test, it failed with the following error in the sas log.

NOTE: Created package xxx in data set "x.y"
NOTE: Execution succeeded. No rows affected.
NOTE: Running 'modelPublishing' action set with 0 workers.
NOTE: Execution of model 'TempModel_xxx ' succeeded.
ERROR: There is no session-scope table Test_xxx_output in caslib xxx of Cloud Analytic Services.

Answer

The issue is most likely caused by the Score code type of the registered model being DS2 multi-type. Change the Score code type to DS2 Package. Run the scoring test again. 

PythonModelScoreCodetype.jpg

Version history
Last update:
‎02-24-2023 10:00 AM
Updated by:
Contributors

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

Free course: Data Literacy Essentials

Data Literacy is for all, even absolute beginners. Jump on board with this free e-learning  and boost your career prospects.

Get Started

Article Tags